]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/html_wrap.cpp
reSWIGged for WebKitCtrl
[wxWidgets.git] / wxPython / src / gtk / 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_TypePrettyName SWIG_Python_TypePrettyName
47 #define SWIG_TypeQuery SWIG_Python_TypeQuery
48 #define SWIG_TypeClientData SWIG_Python_TypeClientData
49 #define SWIG_PackData SWIG_Python_PackData
50 #define SWIG_UnpackData SWIG_Python_UnpackData
51
52
53 /***********************************************************************
54 * common.swg for wxPython
55 *
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
59 * anyway.
60 *
61 ************************************************************************/
62
63 #include <string.h>
64
65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66 # if defined(_MSC_VER) || defined(__GNUC__)
67 # if defined(STATIC_LINKED)
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) extern a
70 # else
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
73 # endif
74 # else
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
78 # else
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
81 # endif
82 # endif
83 #else
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
86 #endif
87
88 #ifdef SWIG_GLOBAL
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 #else
91 # define SWIGRUNTIME(a) static a
92 #endif
93
94 #ifdef __cplusplus
95 extern "C" {
96 #endif
97
98 typedef void *(*swig_converter_func)(void *);
99 typedef struct swig_type_info *(*swig_dycast_func)(void **);
100
101 typedef struct swig_type_info {
102 const char *name;
103 swig_converter_func converter;
104 const char *str;
105 void *clientdata;
106 swig_dycast_func dcast;
107 struct swig_type_info *next;
108 struct swig_type_info *prev;
109 } swig_type_info;
110
111
112 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
113 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
115 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info *);
118 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
122
123
124 #ifdef __cplusplus
125 }
126 #endif
127
128
129 /***********************************************************************
130 * pyrun.swg for wxPython
131 *
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 * anyway.
136 *
137 ************************************************************************/
138
139 #ifdef __cplusplus
140 extern "C" {
141 #endif
142
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
148
149 /* Flags for pointer conversion */
150
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
153
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
156
157 /* Constant information structure */
158 typedef struct swig_const_info {
159 int type;
160 char *name;
161 long lvalue;
162 double dvalue;
163 void *pvalue;
164 swig_type_info **ptype;
165 } swig_const_info;
166
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
187 typedef double (*py_objasdbl_conv)(PyObject *obj);
188
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
197
198
199 /* Contract support */
200
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
202
203 #ifdef __cplusplus
204 }
205 #endif
206
207
208
209 /* -------- TYPES TABLE (BEGIN) -------- */
210
211 #define SWIGTYPE_p_wxHtmlDCRenderer swig_types[0]
212 #define SWIGTYPE_p_wxColour swig_types[1]
213 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[2]
214 #define SWIGTYPE_p_wxDC swig_types[3]
215 #define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[4]
216 #define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[5]
217 #define SWIGTYPE_p_wxMouseEvent swig_types[6]
218 #define SWIGTYPE_p_wxHtmlWordCell swig_types[7]
219 #define SWIGTYPE_p_wxVisualAttributes swig_types[8]
220 #define SWIGTYPE_p_wxHtmlHelpData swig_types[9]
221 #define SWIGTYPE_p_char swig_types[10]
222 #define SWIGTYPE_p_wxHtmlWinParser swig_types[11]
223 #define SWIGTYPE_p_wxHtmlParser swig_types[12]
224 #define SWIGTYPE_p_wxPanel swig_types[13]
225 #define SWIGTYPE_p_wxFont swig_types[14]
226 #define SWIGTYPE_p_wxPyHtmlWindow swig_types[15]
227 #define SWIGTYPE_p_wxScrolledWindow swig_types[16]
228 #define SWIGTYPE_p_wxWindow swig_types[17]
229 #define SWIGTYPE_p_wxTopLevelWindow swig_types[18]
230 #define SWIGTYPE_p_wxHtmlColourCell swig_types[19]
231 #define SWIGTYPE_p_wxHtmlFontCell swig_types[20]
232 #define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[21]
233 #define SWIGTYPE_p_wxHtmlSelection swig_types[22]
234 #define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[23]
235 #define SWIGTYPE_p_wxHtmlWidgetCell swig_types[24]
236 #define SWIGTYPE_p_wxObject swig_types[25]
237 #define SWIGTYPE_p_wxString swig_types[26]
238 #define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[27]
239 #define SWIGTYPE_p_wxHtmlTagHandler swig_types[28]
240 #define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[29]
241 #define SWIGTYPE_p_wxEvtHandler swig_types[30]
242 #define SWIGTYPE_p_wxPoint swig_types[31]
243 #define SWIGTYPE_p_wxHtmlHelpController swig_types[32]
244 #define SWIGTYPE_p_wxCursor swig_types[33]
245 #define SWIGTYPE_p_wxFileSystem swig_types[34]
246 #define SWIGTYPE_p_wxHtmlBookRecArray swig_types[35]
247 #define SWIGTYPE_p_wxPyPrintout swig_types[36]
248 #define SWIGTYPE_p_wxHtmlPrintout swig_types[37]
249 #define SWIGTYPE_p_wxHtmlSearchStatus swig_types[38]
250 #define SWIGTYPE_p_wxHtmlContentsItem swig_types[39]
251 #define SWIGTYPE_p_wxConfigBase swig_types[40]
252 #define SWIGTYPE_p_wxPrintData swig_types[41]
253 #define SWIGTYPE_p_wxHtmlHelpFrame swig_types[42]
254 #define SWIGTYPE_p_wxHtmlRenderingState swig_types[43]
255 #define SWIGTYPE_p_wxFrame swig_types[44]
256 #define SWIGTYPE_p_wxPyHtmlFilter swig_types[45]
257 #define SWIGTYPE_p_wxHtmlFilter swig_types[46]
258 #define SWIGTYPE_p_wxHtmlCell swig_types[47]
259 #define SWIGTYPE_p_wxHtmlContainerCell swig_types[48]
260 #define SWIGTYPE_p_wxHtmlTag swig_types[49]
261 #define SWIGTYPE_p_int swig_types[50]
262 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[51]
263 #define SWIGTYPE_p_wxHtmlBookRecord swig_types[52]
264 static swig_type_info *swig_types[54];
265
266 /* -------- TYPES TABLE (END) -------- */
267
268
269 /*-----------------------------------------------
270 @(target):= _html.so
271 ------------------------------------------------*/
272 #define SWIG_init init_html
273
274 #define SWIG_name "_html"
275
276 /* Auxiliar swig macros that appear in the header */
277
278 #define SWIG_OLDOBJ 1
279 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
280 #define SWIG_PYSTR SWIG_NEWOBJ + 1
281
282 #ifdef __cplusplus
283 #define SWIGSTATICINLINE(a) static inline a
284 #define SWIGSTATIC(a) static a
285 #define swig_new_array(size,Type) (new Type[(size)])
286 #define swig_delete(cptr) delete cptr
287 #define swig_delete_array(cptr) delete[] cptr
288 #define swig_const_cast(a,Type) const_cast<Type >(a)
289 #define swig_static_cast(a,Type) static_cast<Type >(a)
290 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
291 #define swig_new_copy(ptr,Type) (new Type(*ptr))
292 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
293
294 #else /* C case */
295
296 #define SWIGSTATICINLINE(a) static a
297 #define SWIGSTATIC(a) static a
298 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
299 #define swig_delete(cptr) free((char*)cptr)
300 #define swig_delete_array(cptr) free((char*)cptr)
301 #define swig_const_cast(a,Type) (Type)(a)
302 #define swig_static_cast(a,Type) (Type)(a)
303 #define swig_reinterpret_cast(a,Type) (Type)(a)
304 #define swig_numeric_cast(a,Type) (Type)(a)
305 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
306
307 #endif /* __cplusplus */
308
309
310 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
311 #define SWIG_From_signed_SS_char PyInt_FromLong
312 /*@@*/
313 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
314 #define SWIG_From_unsigned_SS_char PyInt_FromLong
315 /*@@*/
316 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
317 #define SWIG_From_short PyInt_FromLong
318 /*@@*/
319 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
320 #define SWIG_From_unsigned_SS_short PyInt_FromLong
321 /*@@*/
322 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
323 #define SWIG_From_int PyInt_FromLong
324 /*@@*/
325 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
326 #define SWIG_From_long PyInt_FromLong
327 /*@@*/
328 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
329 #define SWIG_From_float PyFloat_FromDouble
330 /*@@*/
331 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
332 #define SWIG_From_double PyFloat_FromDouble
333 /*@@*/
334
335
336 #include "wx/wxPython/wxPython.h"
337 #include "wx/wxPython/pyclasses.h"
338 #include "wx/wxPython/pyistream.h"
339 #include "wx/wxPython/printfw.h"
340
341 #include <wx/html/htmlwin.h>
342 #include <wx/html/htmprint.h>
343 #include <wx/html/helpctrl.h>
344
345
346 static const wxString wxPyEmptyString(wxEmptyString);
347 static const wxString wxPyHtmlWindowNameStr(wxT("htmlWindow"));
348 static const wxString wxPyHtmlPrintoutTitleStr(wxT("Printout"));
349 static const wxString wxPyHtmlPrintingTitleStr(wxT("Printing"));
350
351 #include <limits.h>
352
353
354 SWIGSTATICINLINE(int)
355 SWIG_CheckLongInRange(long value, long min_value, long max_value,
356 const char *errmsg)
357 {
358 if (value < min_value) {
359 if (errmsg) {
360 PyErr_Format(PyExc_OverflowError,
361 "value %ld is less than '%s' minimum %ld",
362 value, errmsg, min_value);
363 }
364 return 0;
365 } else if (value > max_value) {
366 if (errmsg) {
367 PyErr_Format(PyExc_OverflowError,
368 "value %ld is greater than '%s' maximum %ld",
369 value, errmsg, max_value);
370 }
371 return 0;
372 }
373 return 1;
374 }
375
376
377 // See my_fragments.i
378 SWIGSTATICINLINE(int)
379 SWIG_AsVal_long(PyObject* obj, long* val)
380 {
381 if (PyNumber_Check(obj)) {
382 if (val) *val = PyInt_AsLong(obj);
383 return 1;
384 }
385 else {
386 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
387 obj->ob_type->tp_name);
388 PyErr_SetObject(PyExc_TypeError, errmsg);
389 Py_DECREF(errmsg);
390 }
391 return 0;
392 }
393
394
395 #if INT_MAX != LONG_MAX
396 SWIGSTATICINLINE(int)
397 SWIG_AsVal_int(PyObject *obj, int *val)
398 {
399 const char* errmsg = val ? "int" : 0;
400 long v;
401 if (SWIG_AsVal_long(obj, &v)) {
402 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
403 if (val) *val = swig_numeric_cast(v, int);
404 return 1;
405 } else {
406 return 0;
407 }
408 } else {
409 PyErr_Clear();
410 }
411 if (val) {
412 PyErr_SetString(PyExc_TypeError, "an int is expected");
413 }
414 return 0;
415 }
416 #else
417 SWIGSTATICINLINE(int)
418 SWIG_AsVal_int(PyObject *obj, int *val)
419 {
420 return SWIG_AsVal_long(obj,(long*)val);
421 }
422 #endif
423
424
425 SWIGSTATICINLINE(int)
426 SWIG_As_int(PyObject* obj)
427 {
428 int v;
429 if (!SWIG_AsVal_int(obj, &v)) {
430 /*
431 this is needed to make valgrind/purify happier. the other
432 solution is throw an exception, but since this code should work
433 with plain C ....
434 */
435 memset((void*)&v, 0, sizeof(int));
436 }
437 return v;
438 }
439
440
441 SWIGSTATICINLINE(int)
442 SWIG_Check_int(PyObject* obj)
443 {
444 return SWIG_AsVal_int(obj, (int*)0);
445 }
446
447 void wxHtmlWinParser_SetFonts(wxHtmlWinParser *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
448 int* temp = NULL;
449 if (sizes) temp = int_LIST_helper(sizes);
450 self->SetFonts(normal_face, fixed_face, temp);
451 if (temp)
452 delete [] temp;
453 }
454
455 class wxPyHtmlTagHandler : public wxHtmlTagHandler {
456 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler);
457 public:
458 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
459
460 wxHtmlParser* GetParser() { return m_Parser; }
461 void ParseInner(const wxHtmlTag& tag) { wxHtmlTagHandler::ParseInner(tag); }
462
463 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
464 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
465
466 PYPRIVATE;
467 };
468
469 IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler, wxHtmlTagHandler);
470
471 IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler, wxHtmlTagHandler, GetSupportedTags);
472 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag);
473
474
475 class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler {
476 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler);
477 public:
478 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
479
480 wxHtmlWinParser* GetParser() { return m_WParser; }
481 void ParseInner(const wxHtmlTag& tag)
482 { wxHtmlWinTagHandler::ParseInner(tag); }
483
484 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
485 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
486
487 PYPRIVATE;
488 };
489
490 IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler, wxHtmlWinTagHandler);
491
492 IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, GetSupportedTags);
493 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, HandleTag);
494
495
496
497 class wxPyHtmlTagsModule : public wxHtmlTagsModule {
498 public:
499 wxPyHtmlTagsModule(PyObject* thc) : wxHtmlTagsModule() {
500 m_tagHandlerClass = thc;
501 Py_INCREF(m_tagHandlerClass);
502 RegisterModule(this);
503 wxHtmlWinParser::AddModule(this);
504 }
505
506 void OnExit() {
507 bool blocked = wxPyBeginBlockThreads();
508 Py_DECREF(m_tagHandlerClass);
509 m_tagHandlerClass = NULL;
510 for (size_t x=0; x < m_objArray.GetCount(); x++) {
511 PyObject* obj = (PyObject*)m_objArray.Item(x);
512 Py_DECREF(obj);
513 }
514 wxPyEndBlockThreads(blocked);
515 };
516
517 void FillHandlersTable(wxHtmlWinParser *parser) {
518 // Wave our magic wand... (if it works it's a miracle! ;-)
519
520 // First, make a new instance of the tag handler
521 bool blocked = wxPyBeginBlockThreads();
522 PyObject* arg = PyTuple_New(0);
523 PyObject* obj = PyObject_CallObject(m_tagHandlerClass, arg);
524 Py_DECREF(arg);
525
526 // now figure out where it's C++ object is...
527 wxPyHtmlWinTagHandler* thPtr;
528 if (! wxPyConvertSwigPtr(obj, (void **)&thPtr, wxT("wxPyHtmlWinTagHandler"))) {
529 wxPyEndBlockThreads(blocked);
530 return;
531 }
532 wxPyEndBlockThreads(blocked);
533
534 // add it,
535 parser->AddTagHandler(thPtr);
536
537 // and track it.
538 m_objArray.Add(obj);
539 }
540
541 private:
542 PyObject* m_tagHandlerClass;
543 wxArrayPtrVoid m_objArray;
544
545 };
546
547
548 void wxHtmlWinParser_AddTagHandler(PyObject* tagHandlerClass) {
549 // Dynamically create a new wxModule. Refcounts tagHandlerClass
550 // and adds itself to the wxModules list and to the wxHtmlWinParser.
551 new wxPyHtmlTagsModule(tagHandlerClass);
552 }
553
554
555 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
556 PyObject* o2;
557 PyObject* o3;
558
559 if (!target) {
560 target = o;
561 } else if (target == Py_None) {
562 Py_DECREF(Py_None);
563 target = o;
564 } else {
565 if (!PyTuple_Check(target)) {
566 o2 = target;
567 target = PyTuple_New(1);
568 PyTuple_SetItem(target, 0, o2);
569 }
570 o3 = PyTuple_New(1);
571 PyTuple_SetItem(o3, 0, o);
572
573 o2 = target;
574 target = PySequence_Concat(o2, o3);
575 Py_DECREF(o2);
576 Py_DECREF(o3);
577 }
578 return target;
579 }
580
581
582
583 SWIGSTATICINLINE(int)
584 SWIG_AsVal_bool(PyObject *obj, bool *val)
585 {
586 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
587 if (obj == Py_True) {
588 if (val) *val = true;
589 return 1;
590 }
591 if (obj == Py_False) {
592 if (val) *val = false;
593 return 1;
594 }
595 int res = 0;
596 if (SWIG_AsVal_int(obj, &res)) {
597 if (val) *val = (bool)res;
598 return 1;
599 }
600 if (val) {
601 PyErr_SetString(PyExc_TypeError, "a bool is expected");
602 }
603 return 0;
604 }
605
606
607 SWIGSTATICINLINE(bool)
608 SWIG_As_bool(PyObject* obj)
609 {
610 bool v;
611 if (!SWIG_AsVal_bool(obj, &v)) {
612 /*
613 this is needed to make valgrind/purify happier. the other
614 solution is throw an exception, but since this code should work
615 with plain C ....
616 */
617 memset((void*)&v, 0, sizeof(bool));
618 }
619 return v;
620 }
621
622
623 SWIGSTATICINLINE(int)
624 SWIG_Check_bool(PyObject* obj)
625 {
626 return SWIG_AsVal_bool(obj, (bool*)0);
627 }
628
629
630 SWIGSTATICINLINE(int)
631 SWIG_CheckUnsignedLongInRange(unsigned long value,
632 unsigned long max_value,
633 const char *errmsg)
634 {
635 if (value > max_value) {
636 if (errmsg) {
637 PyErr_Format(PyExc_OverflowError,
638 "value %ld is greater than '%s' minimum %ld",
639 value, errmsg, max_value);
640 }
641 return 0;
642 }
643 return 1;
644 }
645
646
647 // See my_fragments.i
648 SWIGSTATICINLINE(int)
649 SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
650 {
651 long v = 0;
652 if (SWIG_AsVal_long(obj, &v) && v < 0) {
653 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
654 return 0;
655 }
656 else if (val)
657 *val = (unsigned long)v;
658 return 1;
659 }
660
661
662 #if UINT_MAX != ULONG_MAX
663 SWIGSTATICINLINE(int)
664 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
665 {
666 const char* errmsg = val ? "unsigned int" : 0;
667 unsigned long v;
668 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
669 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
670 if (val) *val = swig_numeric_cast(v, unsigned int);
671 return 1;
672 }
673 } else {
674 PyErr_Clear();
675 }
676 if (val) {
677 PyErr_SetString(PyExc_TypeError, "an unsigned int is expected");
678 }
679 return 0;
680 }
681 #else
682 SWIGSTATICINLINE(unsigned int)
683 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
684 {
685 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
686 }
687 #endif
688
689
690 SWIGSTATICINLINE(unsigned int)
691 SWIG_As_unsigned_SS_int(PyObject* obj)
692 {
693 unsigned int v;
694 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
695 /*
696 this is needed to make valgrind/purify happier. the other
697 solution is throw an exception, but since this code should work
698 with plain C ....
699 */
700 memset((void*)&v, 0, sizeof(unsigned int));
701 }
702 return v;
703 }
704
705
706 SWIGSTATICINLINE(int)
707 SWIG_Check_unsigned_SS_int(PyObject* obj)
708 {
709 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
710 }
711
712
713 SWIGSTATICINLINE(PyObject* )
714 SWIG_From_unsigned_SS_long(unsigned long value)
715 {
716 return (value > LONG_MAX) ?
717 PyLong_FromUnsignedLong(value)
718 : PyInt_FromLong(swig_numeric_cast(value,long));
719 }
720
721
722 #if UINT_MAX < LONG_MAX
723 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
724 #define SWIG_From_unsigned_SS_int SWIG_From_long
725 /*@@*/
726 #else
727 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
728 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
729 /*@@*/
730 #endif
731
732 // here's the C++ version
733 class wxPyHtmlFilter : public wxHtmlFilter {
734 DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter);
735 public:
736 wxPyHtmlFilter() : wxHtmlFilter() {}
737
738 // returns True if this filter is able to open&read given file
739 virtual bool CanRead(const wxFSFile& file) const {
740 bool rval = false;
741 bool found;
742 bool blocked = wxPyBeginBlockThreads();
743 if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) {
744 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const
745 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
746 Py_DECREF(obj);
747 }
748 wxPyEndBlockThreads(blocked);
749 return rval;
750 }
751
752
753 // Reads given file and returns HTML document.
754 // Returns empty string if opening failed
755 virtual wxString ReadFile(const wxFSFile& file) const {
756 wxString rval;
757 bool found;
758 bool blocked = wxPyBeginBlockThreads();
759 if ((found = wxPyCBH_findCallback(m_myInst, "ReadFile"))) {
760 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const
761 PyObject* ro;
762 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(O)", obj));
763 Py_DECREF(obj);
764 if (ro) {
765 rval = Py2wxString(ro);
766 Py_DECREF(ro);
767 }
768 }
769 wxPyEndBlockThreads(blocked);
770 return rval;
771 }
772
773 PYPRIVATE;
774 };
775
776 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter, wxHtmlFilter);
777
778
779 class wxPyHtmlWindow : public wxHtmlWindow {
780 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow);
781 public:
782 wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1,
783 const wxPoint& pos = wxDefaultPosition,
784 const wxSize& size = wxDefaultSize,
785 long style = wxHW_DEFAULT_STYLE,
786 const wxString& name = wxPyHtmlWindowNameStr)
787 : wxHtmlWindow(parent, id, pos, size, style, name) {};
788 wxPyHtmlWindow() : wxHtmlWindow() {};
789
790 bool ScrollToAnchor(const wxString& anchor) {
791 return wxHtmlWindow::ScrollToAnchor(anchor);
792 }
793
794 bool HasAnchor(const wxString& anchor) {
795 const wxHtmlCell *c = m_Cell->Find(wxHTML_COND_ISANCHOR, &anchor);
796 return c!=NULL;
797 }
798
799 void OnLinkClicked(const wxHtmlLinkInfo& link);
800 void base_OnLinkClicked(const wxHtmlLinkInfo& link);
801
802 wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type,
803 const wxString& url,
804 wxString *redirect) const;
805
806 DEC_PYCALLBACK__STRING(OnSetTitle);
807 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover);
808 DEC_PYCALLBACK__CELLINTINTME(OnCellClicked);
809 PYPRIVATE;
810 };
811
812 IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow, wxHtmlWindow );
813 IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnSetTitle);
814 IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow, wxHtmlWindow, OnCellMouseHover);
815 IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow, wxHtmlWindow, OnCellClicked);
816
817
818 void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) {
819 bool found;
820 bool blocked = wxPyBeginBlockThreads();
821 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
822 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
823 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
824 Py_DECREF(obj);
825 }
826 wxPyEndBlockThreads(blocked);
827 if (! found)
828 wxHtmlWindow::OnLinkClicked(link);
829 }
830 void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo& link) {
831 wxHtmlWindow::OnLinkClicked(link);
832 }
833
834
835 wxHtmlOpeningStatus wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type,
836 const wxString& url,
837 wxString *redirect) const {
838 bool found;
839 wxHtmlOpeningStatus rval;
840 bool blocked = wxPyBeginBlockThreads();
841 if ((found = wxPyCBH_findCallback(m_myInst, "OnOpeningURL"))) {
842 PyObject* ro;
843 PyObject* s = wx2PyString(url);
844 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iO)", type, s));
845 Py_DECREF(s);
846 if (PyString_Check(ro)
847 #if PYTHON_API_VERSION >= 1009
848 || PyUnicode_Check(ro)
849 #endif
850 ) {
851 *redirect = Py2wxString(ro);
852 rval = wxHTML_REDIRECT;
853 }
854 else {
855 PyObject* num = PyNumber_Int(ro);
856 rval = (wxHtmlOpeningStatus)PyInt_AsLong(num);
857 Py_DECREF(num);
858 }
859 Py_DECREF(ro);
860 }
861 wxPyEndBlockThreads(blocked);
862 if (! found)
863 rval = wxHtmlWindow::OnOpeningURL(type, url, redirect);
864 return rval;
865 }
866
867
868
869 void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
870 int* temp = NULL;
871 if (sizes) temp = int_LIST_helper(sizes);
872 self->SetFonts(normal_face, fixed_face, temp);
873 if (temp)
874 delete [] temp;
875 }
876 void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
877 int* temp = NULL;
878 if (sizes) temp = int_LIST_helper(sizes);
879 self->SetFonts(normal_face, fixed_face, temp);
880 if (temp)
881 delete [] temp;
882 }
883 void wxHtmlPrintout_SetFonts(wxHtmlPrintout *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
884 int* temp = NULL;
885 if (sizes) temp = int_LIST_helper(sizes);
886 self->SetFonts(normal_face, fixed_face, temp);
887 if (temp)
888 delete [] temp;
889 }
890
891 #include <float.h>
892 SWIGSTATICINLINE(int)
893 SWIG_CheckDoubleInRange(double value, double min_value,
894 double max_value, const char* errmsg)
895 {
896 if (value < min_value) {
897 if (errmsg) {
898 PyErr_Format(PyExc_OverflowError,
899 "value %g is less than %s minimum %g",
900 value, errmsg, min_value);
901 }
902 return 0;
903 } else if (value > max_value) {
904 if (errmsg) {
905 PyErr_Format(PyExc_OverflowError,
906 "value %g is greater than %s maximum %g",
907 value, errmsg, max_value);
908 }
909 return 0;
910 }
911 return 1;
912 }
913
914
915 // See my_fragments.i
916 SWIGSTATICINLINE(int)
917 SWIG_AsVal_double(PyObject *obj, double* val)
918 {
919 if (PyNumber_Check(obj)) {
920 if (val) *val = PyFloat_AsDouble(obj);
921 return 1;
922 }
923 else {
924 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
925 obj->ob_type->tp_name);
926 PyErr_SetObject(PyExc_TypeError, errmsg);
927 Py_DECREF(errmsg);
928 }
929 return 0;
930 }
931
932
933 SWIGSTATICINLINE(int)
934 SWIG_AsVal_float(PyObject *obj, float *val)
935 {
936 const char* errmsg = val ? "float" : 0;
937 double v;
938 if (SWIG_AsVal_double(obj, &v)) {
939 if (SWIG_CheckDoubleInRange(v, -FLT_MAX, FLT_MAX, errmsg)) {
940 if (val) *val = v;
941 return 1;
942 } else {
943 return 0;
944 }
945 } else {
946 PyErr_Clear();
947 }
948 if (val) {
949 PyErr_SetString(PyExc_TypeError, "a float is expected");
950 }
951 return 0;
952 }
953
954
955 SWIGSTATICINLINE(float)
956 SWIG_As_float(PyObject* obj)
957 {
958 float v;
959 if (!SWIG_AsVal_float(obj, &v)) {
960 /*
961 this is needed to make valgrind/purify happier. the other
962 solution is throw an exception, but since this code should work
963 with plain C ....
964 */
965 memset((void*)&v, 0, sizeof(float));
966 }
967 return v;
968 }
969
970
971 SWIGSTATICINLINE(int)
972 SWIG_Check_float(PyObject* obj)
973 {
974 return SWIG_AsVal_float(obj, (float*)0);
975 }
976
977 void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
978 int* temp = NULL;
979 if (sizes) temp = int_LIST_helper(sizes);
980 self->SetFonts(normal_face, fixed_face, temp);
981 if (temp)
982 delete [] temp;
983 }
984 int wxHtmlContentsItem_GetLevel(wxHtmlContentsItem *self){ return self->m_Level; }
985 int wxHtmlContentsItem_GetID(wxHtmlContentsItem *self){ return self->m_ID; }
986 wxString wxHtmlContentsItem_GetName(wxHtmlContentsItem *self){ return self->m_Name; }
987 wxString wxHtmlContentsItem_GetPage(wxHtmlContentsItem *self){ return self->m_Page; }
988 wxHtmlBookRecord *wxHtmlContentsItem_GetBook(wxHtmlContentsItem *self){ return self->m_Book; }
989 #ifdef __cplusplus
990 extern "C" {
991 #endif
992 static int _wrap_HtmlWindowNameStr_set(PyObject *) {
993 PyErr_SetString(PyExc_TypeError,"Variable HtmlWindowNameStr is read-only.");
994 return 1;
995 }
996
997
998 static PyObject *_wrap_HtmlWindowNameStr_get() {
999 PyObject *pyobj;
1000
1001 {
1002 #if wxUSE_UNICODE
1003 pyobj = PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
1004 #else
1005 pyobj = PyString_FromStringAndSize((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
1006 #endif
1007 }
1008 return pyobj;
1009 }
1010
1011
1012 static int _wrap_HtmlPrintoutTitleStr_set(PyObject *) {
1013 PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintoutTitleStr is read-only.");
1014 return 1;
1015 }
1016
1017
1018 static PyObject *_wrap_HtmlPrintoutTitleStr_get() {
1019 PyObject *pyobj;
1020
1021 {
1022 #if wxUSE_UNICODE
1023 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
1024 #else
1025 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
1026 #endif
1027 }
1028 return pyobj;
1029 }
1030
1031
1032 static int _wrap_HtmlPrintingTitleStr_set(PyObject *) {
1033 PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintingTitleStr is read-only.");
1034 return 1;
1035 }
1036
1037
1038 static PyObject *_wrap_HtmlPrintingTitleStr_get() {
1039 PyObject *pyobj;
1040
1041 {
1042 #if wxUSE_UNICODE
1043 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
1044 #else
1045 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
1046 #endif
1047 }
1048 return pyobj;
1049 }
1050
1051
1052 static PyObject *_wrap_new_HtmlLinkInfo(PyObject *, PyObject *args, PyObject *kwargs) {
1053 PyObject *resultobj;
1054 wxString *arg1 = 0 ;
1055 wxString const &arg2_defvalue = wxPyEmptyString ;
1056 wxString *arg2 = (wxString *) &arg2_defvalue ;
1057 wxHtmlLinkInfo *result;
1058 bool temp1 = false ;
1059 bool temp2 = false ;
1060 PyObject * obj0 = 0 ;
1061 PyObject * obj1 = 0 ;
1062 char *kwnames[] = {
1063 (char *) "href",(char *) "target", NULL
1064 };
1065
1066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlLinkInfo",kwnames,&obj0,&obj1)) goto fail;
1067 {
1068 arg1 = wxString_in_helper(obj0);
1069 if (arg1 == NULL) SWIG_fail;
1070 temp1 = true;
1071 }
1072 if (obj1) {
1073 {
1074 arg2 = wxString_in_helper(obj1);
1075 if (arg2 == NULL) SWIG_fail;
1076 temp2 = true;
1077 }
1078 }
1079 {
1080 PyThreadState* __tstate = wxPyBeginAllowThreads();
1081 result = (wxHtmlLinkInfo *)new wxHtmlLinkInfo((wxString const &)*arg1,(wxString const &)*arg2);
1082
1083 wxPyEndAllowThreads(__tstate);
1084 if (PyErr_Occurred()) SWIG_fail;
1085 }
1086 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlLinkInfo, 1);
1087 {
1088 if (temp1)
1089 delete arg1;
1090 }
1091 {
1092 if (temp2)
1093 delete arg2;
1094 }
1095 return resultobj;
1096 fail:
1097 {
1098 if (temp1)
1099 delete arg1;
1100 }
1101 {
1102 if (temp2)
1103 delete arg2;
1104 }
1105 return NULL;
1106 }
1107
1108
1109 static PyObject *_wrap_HtmlLinkInfo_GetHref(PyObject *, PyObject *args, PyObject *kwargs) {
1110 PyObject *resultobj;
1111 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
1112 wxString result;
1113 PyObject * obj0 = 0 ;
1114 char *kwnames[] = {
1115 (char *) "self", NULL
1116 };
1117
1118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHref",kwnames,&obj0)) goto fail;
1119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo,
1120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1121 {
1122 PyThreadState* __tstate = wxPyBeginAllowThreads();
1123 result = (arg1)->GetHref();
1124
1125 wxPyEndAllowThreads(__tstate);
1126 if (PyErr_Occurred()) SWIG_fail;
1127 }
1128 {
1129 #if wxUSE_UNICODE
1130 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1131 #else
1132 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1133 #endif
1134 }
1135 return resultobj;
1136 fail:
1137 return NULL;
1138 }
1139
1140
1141 static PyObject *_wrap_HtmlLinkInfo_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
1142 PyObject *resultobj;
1143 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
1144 wxString result;
1145 PyObject * obj0 = 0 ;
1146 char *kwnames[] = {
1147 (char *) "self", NULL
1148 };
1149
1150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetTarget",kwnames,&obj0)) goto fail;
1151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo,
1152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1153 {
1154 PyThreadState* __tstate = wxPyBeginAllowThreads();
1155 result = (arg1)->GetTarget();
1156
1157 wxPyEndAllowThreads(__tstate);
1158 if (PyErr_Occurred()) SWIG_fail;
1159 }
1160 {
1161 #if wxUSE_UNICODE
1162 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1163 #else
1164 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1165 #endif
1166 }
1167 return resultobj;
1168 fail:
1169 return NULL;
1170 }
1171
1172
1173 static PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *, PyObject *args, PyObject *kwargs) {
1174 PyObject *resultobj;
1175 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
1176 wxMouseEvent *result;
1177 PyObject * obj0 = 0 ;
1178 char *kwnames[] = {
1179 (char *) "self", NULL
1180 };
1181
1182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetEvent",kwnames,&obj0)) goto fail;
1183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo,
1184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1185 {
1186 PyThreadState* __tstate = wxPyBeginAllowThreads();
1187 result = (wxMouseEvent *)(arg1)->GetEvent();
1188
1189 wxPyEndAllowThreads(__tstate);
1190 if (PyErr_Occurred()) SWIG_fail;
1191 }
1192 {
1193 resultobj = wxPyMake_wxObject(result, 0);
1194 }
1195 return resultobj;
1196 fail:
1197 return NULL;
1198 }
1199
1200
1201 static PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *, PyObject *args, PyObject *kwargs) {
1202 PyObject *resultobj;
1203 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
1204 wxHtmlCell *result;
1205 PyObject * obj0 = 0 ;
1206 char *kwnames[] = {
1207 (char *) "self", NULL
1208 };
1209
1210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHtmlCell",kwnames,&obj0)) goto fail;
1211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo,
1212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1213 {
1214 PyThreadState* __tstate = wxPyBeginAllowThreads();
1215 result = (wxHtmlCell *)(arg1)->GetHtmlCell();
1216
1217 wxPyEndAllowThreads(__tstate);
1218 if (PyErr_Occurred()) SWIG_fail;
1219 }
1220 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
1221 return resultobj;
1222 fail:
1223 return NULL;
1224 }
1225
1226
1227 static PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *, PyObject *args, PyObject *kwargs) {
1228 PyObject *resultobj;
1229 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
1230 wxMouseEvent *arg2 = (wxMouseEvent *) 0 ;
1231 PyObject * obj0 = 0 ;
1232 PyObject * obj1 = 0 ;
1233 char *kwnames[] = {
1234 (char *) "self",(char *) "e", NULL
1235 };
1236
1237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames,&obj0,&obj1)) goto fail;
1238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo,
1239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1240 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMouseEvent,
1241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1242 {
1243 PyThreadState* __tstate = wxPyBeginAllowThreads();
1244 (arg1)->SetEvent((wxMouseEvent const *)arg2);
1245
1246 wxPyEndAllowThreads(__tstate);
1247 if (PyErr_Occurred()) SWIG_fail;
1248 }
1249 Py_INCREF(Py_None); resultobj = Py_None;
1250 return resultobj;
1251 fail:
1252 return NULL;
1253 }
1254
1255
1256 static PyObject *_wrap_HtmlLinkInfo_SetHtmlCell(PyObject *, PyObject *args, PyObject *kwargs) {
1257 PyObject *resultobj;
1258 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
1259 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
1260 PyObject * obj0 = 0 ;
1261 PyObject * obj1 = 0 ;
1262 char *kwnames[] = {
1263 (char *) "self",(char *) "e", NULL
1264 };
1265
1266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames,&obj0,&obj1)) goto fail;
1267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo,
1268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1269 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
1270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1271 {
1272 PyThreadState* __tstate = wxPyBeginAllowThreads();
1273 (arg1)->SetHtmlCell((wxHtmlCell const *)arg2);
1274
1275 wxPyEndAllowThreads(__tstate);
1276 if (PyErr_Occurred()) SWIG_fail;
1277 }
1278 Py_INCREF(Py_None); resultobj = Py_None;
1279 return resultobj;
1280 fail:
1281 return NULL;
1282 }
1283
1284
1285 static PyObject * HtmlLinkInfo_swigregister(PyObject *, PyObject *args) {
1286 PyObject *obj;
1287 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1288 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlLinkInfo, obj);
1289 Py_INCREF(obj);
1290 return Py_BuildValue((char *)"");
1291 }
1292 static PyObject *_wrap_HtmlTag_GetName(PyObject *, 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_GetName",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)->GetName();
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_HasParam(PyObject *, PyObject *args, PyObject *kwargs) {
1325 PyObject *resultobj;
1326 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1327 wxString *arg2 = 0 ;
1328 bool result;
1329 bool temp2 = false ;
1330 PyObject * obj0 = 0 ;
1331 PyObject * obj1 = 0 ;
1332 char *kwnames[] = {
1333 (char *) "self",(char *) "par", NULL
1334 };
1335
1336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTag_HasParam",kwnames,&obj0,&obj1)) goto fail;
1337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1339 {
1340 arg2 = wxString_in_helper(obj1);
1341 if (arg2 == NULL) SWIG_fail;
1342 temp2 = true;
1343 }
1344 {
1345 PyThreadState* __tstate = wxPyBeginAllowThreads();
1346 result = (bool)(arg1)->HasParam((wxString const &)*arg2);
1347
1348 wxPyEndAllowThreads(__tstate);
1349 if (PyErr_Occurred()) SWIG_fail;
1350 }
1351 {
1352 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1353 }
1354 {
1355 if (temp2)
1356 delete arg2;
1357 }
1358 return resultobj;
1359 fail:
1360 {
1361 if (temp2)
1362 delete arg2;
1363 }
1364 return NULL;
1365 }
1366
1367
1368 static PyObject *_wrap_HtmlTag_GetParam(PyObject *, PyObject *args, PyObject *kwargs) {
1369 PyObject *resultobj;
1370 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1371 wxString *arg2 = 0 ;
1372 int arg3 = (int) false ;
1373 wxString result;
1374 bool temp2 = false ;
1375 PyObject * obj0 = 0 ;
1376 PyObject * obj1 = 0 ;
1377 PyObject * obj2 = 0 ;
1378 char *kwnames[] = {
1379 (char *) "self",(char *) "par",(char *) "with_commas", NULL
1380 };
1381
1382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlTag_GetParam",kwnames,&obj0,&obj1,&obj2)) goto fail;
1383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1385 {
1386 arg2 = wxString_in_helper(obj1);
1387 if (arg2 == NULL) SWIG_fail;
1388 temp2 = true;
1389 }
1390 if (obj2) {
1391 arg3 = (int)SWIG_As_int(obj2);
1392 if (PyErr_Occurred()) SWIG_fail;
1393 }
1394 {
1395 PyThreadState* __tstate = wxPyBeginAllowThreads();
1396 result = (arg1)->GetParam((wxString const &)*arg2,arg3);
1397
1398 wxPyEndAllowThreads(__tstate);
1399 if (PyErr_Occurred()) SWIG_fail;
1400 }
1401 {
1402 #if wxUSE_UNICODE
1403 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1404 #else
1405 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1406 #endif
1407 }
1408 {
1409 if (temp2)
1410 delete arg2;
1411 }
1412 return resultobj;
1413 fail:
1414 {
1415 if (temp2)
1416 delete arg2;
1417 }
1418 return NULL;
1419 }
1420
1421
1422 static PyObject *_wrap_HtmlTag_GetAllParams(PyObject *, PyObject *args, PyObject *kwargs) {
1423 PyObject *resultobj;
1424 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1425 wxString result;
1426 PyObject * obj0 = 0 ;
1427 char *kwnames[] = {
1428 (char *) "self", NULL
1429 };
1430
1431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetAllParams",kwnames,&obj0)) goto fail;
1432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1434 {
1435 PyThreadState* __tstate = wxPyBeginAllowThreads();
1436 result = (arg1)->GetAllParams();
1437
1438 wxPyEndAllowThreads(__tstate);
1439 if (PyErr_Occurred()) SWIG_fail;
1440 }
1441 {
1442 #if wxUSE_UNICODE
1443 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1444 #else
1445 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1446 #endif
1447 }
1448 return resultobj;
1449 fail:
1450 return NULL;
1451 }
1452
1453
1454 static PyObject *_wrap_HtmlTag_HasEnding(PyObject *, PyObject *args, PyObject *kwargs) {
1455 PyObject *resultobj;
1456 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1457 bool result;
1458 PyObject * obj0 = 0 ;
1459 char *kwnames[] = {
1460 (char *) "self", NULL
1461 };
1462
1463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_HasEnding",kwnames,&obj0)) goto fail;
1464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1466 {
1467 PyThreadState* __tstate = wxPyBeginAllowThreads();
1468 result = (bool)(arg1)->HasEnding();
1469
1470 wxPyEndAllowThreads(__tstate);
1471 if (PyErr_Occurred()) SWIG_fail;
1472 }
1473 {
1474 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1475 }
1476 return resultobj;
1477 fail:
1478 return NULL;
1479 }
1480
1481
1482 static PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *, PyObject *args, PyObject *kwargs) {
1483 PyObject *resultobj;
1484 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1485 int result;
1486 PyObject * obj0 = 0 ;
1487 char *kwnames[] = {
1488 (char *) "self", NULL
1489 };
1490
1491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetBeginPos",kwnames,&obj0)) goto fail;
1492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1494 {
1495 PyThreadState* __tstate = wxPyBeginAllowThreads();
1496 result = (int)(arg1)->GetBeginPos();
1497
1498 wxPyEndAllowThreads(__tstate);
1499 if (PyErr_Occurred()) SWIG_fail;
1500 }
1501 resultobj = SWIG_From_int((int)result);
1502 return resultobj;
1503 fail:
1504 return NULL;
1505 }
1506
1507
1508 static PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *, PyObject *args, PyObject *kwargs) {
1509 PyObject *resultobj;
1510 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1511 int result;
1512 PyObject * obj0 = 0 ;
1513 char *kwnames[] = {
1514 (char *) "self", NULL
1515 };
1516
1517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos1",kwnames,&obj0)) goto fail;
1518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1520 {
1521 PyThreadState* __tstate = wxPyBeginAllowThreads();
1522 result = (int)(arg1)->GetEndPos1();
1523
1524 wxPyEndAllowThreads(__tstate);
1525 if (PyErr_Occurred()) SWIG_fail;
1526 }
1527 resultobj = SWIG_From_int((int)result);
1528 return resultobj;
1529 fail:
1530 return NULL;
1531 }
1532
1533
1534 static PyObject *_wrap_HtmlTag_GetEndPos2(PyObject *, PyObject *args, PyObject *kwargs) {
1535 PyObject *resultobj;
1536 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1537 int result;
1538 PyObject * obj0 = 0 ;
1539 char *kwnames[] = {
1540 (char *) "self", NULL
1541 };
1542
1543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos2",kwnames,&obj0)) goto fail;
1544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1546 {
1547 PyThreadState* __tstate = wxPyBeginAllowThreads();
1548 result = (int)(arg1)->GetEndPos2();
1549
1550 wxPyEndAllowThreads(__tstate);
1551 if (PyErr_Occurred()) SWIG_fail;
1552 }
1553 resultobj = SWIG_From_int((int)result);
1554 return resultobj;
1555 fail:
1556 return NULL;
1557 }
1558
1559
1560 static PyObject * HtmlTag_swigregister(PyObject *, PyObject *args) {
1561 PyObject *obj;
1562 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1563 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlTag, obj);
1564 Py_INCREF(obj);
1565 return Py_BuildValue((char *)"");
1566 }
1567 static PyObject *_wrap_HtmlParser_SetFS(PyObject *, PyObject *args, PyObject *kwargs) {
1568 PyObject *resultobj;
1569 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1570 wxFileSystem *arg2 = (wxFileSystem *) 0 ;
1571 PyObject * obj0 = 0 ;
1572 PyObject * obj1 = 0 ;
1573 char *kwnames[] = {
1574 (char *) "self",(char *) "fs", NULL
1575 };
1576
1577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_SetFS",kwnames,&obj0,&obj1)) goto fail;
1578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1580 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
1581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1582 {
1583 PyThreadState* __tstate = wxPyBeginAllowThreads();
1584 (arg1)->SetFS(arg2);
1585
1586 wxPyEndAllowThreads(__tstate);
1587 if (PyErr_Occurred()) SWIG_fail;
1588 }
1589 Py_INCREF(Py_None); resultobj = Py_None;
1590 return resultobj;
1591 fail:
1592 return NULL;
1593 }
1594
1595
1596 static PyObject *_wrap_HtmlParser_GetFS(PyObject *, PyObject *args, PyObject *kwargs) {
1597 PyObject *resultobj;
1598 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1599 wxFileSystem *result;
1600 PyObject * obj0 = 0 ;
1601 char *kwnames[] = {
1602 (char *) "self", NULL
1603 };
1604
1605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetFS",kwnames,&obj0)) goto fail;
1606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1608 {
1609 PyThreadState* __tstate = wxPyBeginAllowThreads();
1610 result = (wxFileSystem *)(arg1)->GetFS();
1611
1612 wxPyEndAllowThreads(__tstate);
1613 if (PyErr_Occurred()) SWIG_fail;
1614 }
1615 {
1616 resultobj = wxPyMake_wxObject(result, 0);
1617 }
1618 return resultobj;
1619 fail:
1620 return NULL;
1621 }
1622
1623
1624 static PyObject *_wrap_HtmlParser_Parse(PyObject *, PyObject *args, PyObject *kwargs) {
1625 PyObject *resultobj;
1626 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1627 wxString *arg2 = 0 ;
1628 wxObject *result;
1629 bool temp2 = false ;
1630 PyObject * obj0 = 0 ;
1631 PyObject * obj1 = 0 ;
1632 char *kwnames[] = {
1633 (char *) "self",(char *) "source", NULL
1634 };
1635
1636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_Parse",kwnames,&obj0,&obj1)) goto fail;
1637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1639 {
1640 arg2 = wxString_in_helper(obj1);
1641 if (arg2 == NULL) SWIG_fail;
1642 temp2 = true;
1643 }
1644 {
1645 PyThreadState* __tstate = wxPyBeginAllowThreads();
1646 result = (wxObject *)(arg1)->Parse((wxString const &)*arg2);
1647
1648 wxPyEndAllowThreads(__tstate);
1649 if (PyErr_Occurred()) SWIG_fail;
1650 }
1651 {
1652 resultobj = wxPyMake_wxObject(result, 0);
1653 }
1654 {
1655 if (temp2)
1656 delete arg2;
1657 }
1658 return resultobj;
1659 fail:
1660 {
1661 if (temp2)
1662 delete arg2;
1663 }
1664 return NULL;
1665 }
1666
1667
1668 static PyObject *_wrap_HtmlParser_InitParser(PyObject *, PyObject *args, PyObject *kwargs) {
1669 PyObject *resultobj;
1670 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1671 wxString *arg2 = 0 ;
1672 bool temp2 = false ;
1673 PyObject * obj0 = 0 ;
1674 PyObject * obj1 = 0 ;
1675 char *kwnames[] = {
1676 (char *) "self",(char *) "source", NULL
1677 };
1678
1679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_InitParser",kwnames,&obj0,&obj1)) goto fail;
1680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1682 {
1683 arg2 = wxString_in_helper(obj1);
1684 if (arg2 == NULL) SWIG_fail;
1685 temp2 = true;
1686 }
1687 {
1688 PyThreadState* __tstate = wxPyBeginAllowThreads();
1689 (arg1)->InitParser((wxString const &)*arg2);
1690
1691 wxPyEndAllowThreads(__tstate);
1692 if (PyErr_Occurred()) SWIG_fail;
1693 }
1694 Py_INCREF(Py_None); resultobj = Py_None;
1695 {
1696 if (temp2)
1697 delete arg2;
1698 }
1699 return resultobj;
1700 fail:
1701 {
1702 if (temp2)
1703 delete arg2;
1704 }
1705 return NULL;
1706 }
1707
1708
1709 static PyObject *_wrap_HtmlParser_DoneParser(PyObject *, PyObject *args, PyObject *kwargs) {
1710 PyObject *resultobj;
1711 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1712 PyObject * obj0 = 0 ;
1713 char *kwnames[] = {
1714 (char *) "self", NULL
1715 };
1716
1717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_DoneParser",kwnames,&obj0)) goto fail;
1718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1720 {
1721 PyThreadState* __tstate = wxPyBeginAllowThreads();
1722 (arg1)->DoneParser();
1723
1724 wxPyEndAllowThreads(__tstate);
1725 if (PyErr_Occurred()) SWIG_fail;
1726 }
1727 Py_INCREF(Py_None); resultobj = Py_None;
1728 return resultobj;
1729 fail:
1730 return NULL;
1731 }
1732
1733
1734 static PyObject *_wrap_HtmlParser_DoParsing(PyObject *, PyObject *args, PyObject *kwargs) {
1735 PyObject *resultobj;
1736 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1737 int arg2 ;
1738 int arg3 ;
1739 PyObject * obj0 = 0 ;
1740 PyObject * obj1 = 0 ;
1741 PyObject * obj2 = 0 ;
1742 char *kwnames[] = {
1743 (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
1744 };
1745
1746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_DoParsing",kwnames,&obj0,&obj1,&obj2)) goto fail;
1747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1749 arg2 = (int)SWIG_As_int(obj1);
1750 if (PyErr_Occurred()) SWIG_fail;
1751 arg3 = (int)SWIG_As_int(obj2);
1752 if (PyErr_Occurred()) SWIG_fail;
1753 {
1754 PyThreadState* __tstate = wxPyBeginAllowThreads();
1755 (arg1)->DoParsing(arg2,arg3);
1756
1757 wxPyEndAllowThreads(__tstate);
1758 if (PyErr_Occurred()) SWIG_fail;
1759 }
1760 Py_INCREF(Py_None); resultobj = Py_None;
1761 return resultobj;
1762 fail:
1763 return NULL;
1764 }
1765
1766
1767 static PyObject *_wrap_HtmlParser_StopParsing(PyObject *, PyObject *args, PyObject *kwargs) {
1768 PyObject *resultobj;
1769 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1770 PyObject * obj0 = 0 ;
1771 char *kwnames[] = {
1772 (char *) "self", NULL
1773 };
1774
1775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_StopParsing",kwnames,&obj0)) goto fail;
1776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1778 {
1779 PyThreadState* __tstate = wxPyBeginAllowThreads();
1780 (arg1)->StopParsing();
1781
1782 wxPyEndAllowThreads(__tstate);
1783 if (PyErr_Occurred()) SWIG_fail;
1784 }
1785 Py_INCREF(Py_None); resultobj = Py_None;
1786 return resultobj;
1787 fail:
1788 return NULL;
1789 }
1790
1791
1792 static PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
1793 PyObject *resultobj;
1794 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1795 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
1796 PyObject * obj0 = 0 ;
1797 PyObject * obj1 = 0 ;
1798 char *kwnames[] = {
1799 (char *) "self",(char *) "handler", NULL
1800 };
1801
1802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_AddTagHandler",kwnames,&obj0,&obj1)) goto fail;
1803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1805 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTagHandler,
1806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1807 {
1808 PyThreadState* __tstate = wxPyBeginAllowThreads();
1809 (arg1)->AddTagHandler(arg2);
1810
1811 wxPyEndAllowThreads(__tstate);
1812 if (PyErr_Occurred()) SWIG_fail;
1813 }
1814 Py_INCREF(Py_None); resultobj = Py_None;
1815 return resultobj;
1816 fail:
1817 return NULL;
1818 }
1819
1820
1821 static PyObject *_wrap_HtmlParser_GetSource(PyObject *, PyObject *args, PyObject *kwargs) {
1822 PyObject *resultobj;
1823 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1824 wxString *result;
1825 PyObject * obj0 = 0 ;
1826 char *kwnames[] = {
1827 (char *) "self", NULL
1828 };
1829
1830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetSource",kwnames,&obj0)) goto fail;
1831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1833 {
1834 PyThreadState* __tstate = wxPyBeginAllowThreads();
1835 result = (wxString *)(arg1)->GetSource();
1836
1837 wxPyEndAllowThreads(__tstate);
1838 if (PyErr_Occurred()) SWIG_fail;
1839 }
1840 {
1841 #if wxUSE_UNICODE
1842 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
1843 #else
1844 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
1845 #endif
1846 }
1847 return resultobj;
1848 fail:
1849 return NULL;
1850 }
1851
1852
1853 static PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
1854 PyObject *resultobj;
1855 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1856 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
1857 wxString arg3 ;
1858 PyObject * obj0 = 0 ;
1859 PyObject * obj1 = 0 ;
1860 PyObject * obj2 = 0 ;
1861 char *kwnames[] = {
1862 (char *) "self",(char *) "handler",(char *) "tags", NULL
1863 };
1864
1865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_PushTagHandler",kwnames,&obj0,&obj1,&obj2)) goto fail;
1866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1868 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTagHandler,
1869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1870 {
1871 wxString* sptr = wxString_in_helper(obj2);
1872 if (sptr == NULL) SWIG_fail;
1873 arg3 = *sptr;
1874 delete sptr;
1875 }
1876 {
1877 PyThreadState* __tstate = wxPyBeginAllowThreads();
1878 (arg1)->PushTagHandler(arg2,arg3);
1879
1880 wxPyEndAllowThreads(__tstate);
1881 if (PyErr_Occurred()) SWIG_fail;
1882 }
1883 Py_INCREF(Py_None); resultobj = Py_None;
1884 return resultobj;
1885 fail:
1886 return NULL;
1887 }
1888
1889
1890 static PyObject *_wrap_HtmlParser_PopTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
1891 PyObject *resultobj;
1892 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1893 PyObject * obj0 = 0 ;
1894 char *kwnames[] = {
1895 (char *) "self", NULL
1896 };
1897
1898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_PopTagHandler",kwnames,&obj0)) goto fail;
1899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1901 {
1902 PyThreadState* __tstate = wxPyBeginAllowThreads();
1903 (arg1)->PopTagHandler();
1904
1905 wxPyEndAllowThreads(__tstate);
1906 if (PyErr_Occurred()) SWIG_fail;
1907 }
1908 Py_INCREF(Py_None); resultobj = Py_None;
1909 return resultobj;
1910 fail:
1911 return NULL;
1912 }
1913
1914
1915 static PyObject * HtmlParser_swigregister(PyObject *, PyObject *args) {
1916 PyObject *obj;
1917 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1918 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlParser, obj);
1919 Py_INCREF(obj);
1920 return Py_BuildValue((char *)"");
1921 }
1922 static PyObject *_wrap_new_HtmlWinParser(PyObject *, PyObject *args, PyObject *kwargs) {
1923 PyObject *resultobj;
1924 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) NULL ;
1925 wxHtmlWinParser *result;
1926 PyObject * obj0 = 0 ;
1927 char *kwnames[] = {
1928 (char *) "wnd", NULL
1929 };
1930
1931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlWinParser",kwnames,&obj0)) goto fail;
1932 if (obj0) {
1933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
1934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1935 }
1936 {
1937 PyThreadState* __tstate = wxPyBeginAllowThreads();
1938 result = (wxHtmlWinParser *)new wxHtmlWinParser(arg1);
1939
1940 wxPyEndAllowThreads(__tstate);
1941 if (PyErr_Occurred()) SWIG_fail;
1942 }
1943 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 1);
1944 return resultobj;
1945 fail:
1946 return NULL;
1947 }
1948
1949
1950 static PyObject *_wrap_HtmlWinParser_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
1951 PyObject *resultobj;
1952 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1953 wxDC *arg2 = (wxDC *) 0 ;
1954 PyObject * obj0 = 0 ;
1955 PyObject * obj1 = 0 ;
1956 char *kwnames[] = {
1957 (char *) "self",(char *) "dc", NULL
1958 };
1959
1960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetDC",kwnames,&obj0,&obj1)) goto fail;
1961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
1962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1963 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
1964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1965 {
1966 PyThreadState* __tstate = wxPyBeginAllowThreads();
1967 (arg1)->SetDC(arg2);
1968
1969 wxPyEndAllowThreads(__tstate);
1970 if (PyErr_Occurred()) SWIG_fail;
1971 }
1972 Py_INCREF(Py_None); resultobj = Py_None;
1973 return resultobj;
1974 fail:
1975 return NULL;
1976 }
1977
1978
1979 static PyObject *_wrap_HtmlWinParser_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
1980 PyObject *resultobj;
1981 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1982 wxDC *result;
1983 PyObject * obj0 = 0 ;
1984 char *kwnames[] = {
1985 (char *) "self", NULL
1986 };
1987
1988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetDC",kwnames,&obj0)) goto fail;
1989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
1990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1991 {
1992 PyThreadState* __tstate = wxPyBeginAllowThreads();
1993 result = (wxDC *)(arg1)->GetDC();
1994
1995 wxPyEndAllowThreads(__tstate);
1996 if (PyErr_Occurred()) SWIG_fail;
1997 }
1998 {
1999 resultobj = wxPyMake_wxObject(result, 0);
2000 }
2001 return resultobj;
2002 fail:
2003 return NULL;
2004 }
2005
2006
2007 static PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *, PyObject *args, PyObject *kwargs) {
2008 PyObject *resultobj;
2009 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2010 int result;
2011 PyObject * obj0 = 0 ;
2012 char *kwnames[] = {
2013 (char *) "self", NULL
2014 };
2015
2016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharHeight",kwnames,&obj0)) goto fail;
2017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2019 {
2020 PyThreadState* __tstate = wxPyBeginAllowThreads();
2021 result = (int)(arg1)->GetCharHeight();
2022
2023 wxPyEndAllowThreads(__tstate);
2024 if (PyErr_Occurred()) SWIG_fail;
2025 }
2026 resultobj = SWIG_From_int((int)result);
2027 return resultobj;
2028 fail:
2029 return NULL;
2030 }
2031
2032
2033 static PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *, PyObject *args, PyObject *kwargs) {
2034 PyObject *resultobj;
2035 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2036 int result;
2037 PyObject * obj0 = 0 ;
2038 char *kwnames[] = {
2039 (char *) "self", NULL
2040 };
2041
2042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharWidth",kwnames,&obj0)) goto fail;
2043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2045 {
2046 PyThreadState* __tstate = wxPyBeginAllowThreads();
2047 result = (int)(arg1)->GetCharWidth();
2048
2049 wxPyEndAllowThreads(__tstate);
2050 if (PyErr_Occurred()) SWIG_fail;
2051 }
2052 resultobj = SWIG_From_int((int)result);
2053 return resultobj;
2054 fail:
2055 return NULL;
2056 }
2057
2058
2059 static PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2060 PyObject *resultobj;
2061 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2062 wxPyHtmlWindow *result;
2063 PyObject * obj0 = 0 ;
2064 char *kwnames[] = {
2065 (char *) "self", NULL
2066 };
2067
2068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetWindow",kwnames,&obj0)) goto fail;
2069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2071 {
2072 PyThreadState* __tstate = wxPyBeginAllowThreads();
2073 result = (wxPyHtmlWindow *)(arg1)->GetWindow();
2074
2075 wxPyEndAllowThreads(__tstate);
2076 if (PyErr_Occurred()) SWIG_fail;
2077 }
2078 {
2079 resultobj = wxPyMake_wxObject(result, 0);
2080 }
2081 return resultobj;
2082 fail:
2083 return NULL;
2084 }
2085
2086
2087 static PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
2088 PyObject *resultobj;
2089 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2090 wxString arg2 ;
2091 wxString arg3 ;
2092 PyObject *arg4 = (PyObject *) NULL ;
2093 PyObject * obj0 = 0 ;
2094 PyObject * obj1 = 0 ;
2095 PyObject * obj2 = 0 ;
2096 PyObject * obj3 = 0 ;
2097 char *kwnames[] = {
2098 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
2099 };
2100
2101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2104 {
2105 wxString* sptr = wxString_in_helper(obj1);
2106 if (sptr == NULL) SWIG_fail;
2107 arg2 = *sptr;
2108 delete sptr;
2109 }
2110 {
2111 wxString* sptr = wxString_in_helper(obj2);
2112 if (sptr == NULL) SWIG_fail;
2113 arg3 = *sptr;
2114 delete sptr;
2115 }
2116 if (obj3) {
2117 arg4 = obj3;
2118 }
2119 {
2120 PyThreadState* __tstate = wxPyBeginAllowThreads();
2121 wxHtmlWinParser_SetFonts(arg1,arg2,arg3,arg4);
2122
2123 wxPyEndAllowThreads(__tstate);
2124 if (PyErr_Occurred()) SWIG_fail;
2125 }
2126 Py_INCREF(Py_None); resultobj = Py_None;
2127 return resultobj;
2128 fail:
2129 return NULL;
2130 }
2131
2132
2133 static PyObject *_wrap_HtmlWinParser_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
2134 PyObject *resultobj;
2135 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2136 int arg2 = (int) -1 ;
2137 wxString const &arg3_defvalue = wxPyEmptyString ;
2138 wxString *arg3 = (wxString *) &arg3_defvalue ;
2139 wxString const &arg4_defvalue = wxPyEmptyString ;
2140 wxString *arg4 = (wxString *) &arg4_defvalue ;
2141 bool temp3 = false ;
2142 bool temp4 = false ;
2143 PyObject * obj0 = 0 ;
2144 PyObject * obj1 = 0 ;
2145 PyObject * obj2 = 0 ;
2146 PyObject * obj3 = 0 ;
2147 char *kwnames[] = {
2148 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
2149 };
2150
2151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWinParser_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2154 if (obj1) {
2155 arg2 = (int)SWIG_As_int(obj1);
2156 if (PyErr_Occurred()) SWIG_fail;
2157 }
2158 if (obj2) {
2159 {
2160 arg3 = wxString_in_helper(obj2);
2161 if (arg3 == NULL) SWIG_fail;
2162 temp3 = true;
2163 }
2164 }
2165 if (obj3) {
2166 {
2167 arg4 = wxString_in_helper(obj3);
2168 if (arg4 == NULL) SWIG_fail;
2169 temp4 = true;
2170 }
2171 }
2172 {
2173 PyThreadState* __tstate = wxPyBeginAllowThreads();
2174 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
2175
2176 wxPyEndAllowThreads(__tstate);
2177 if (PyErr_Occurred()) SWIG_fail;
2178 }
2179 Py_INCREF(Py_None); resultobj = Py_None;
2180 {
2181 if (temp3)
2182 delete arg3;
2183 }
2184 {
2185 if (temp4)
2186 delete arg4;
2187 }
2188 return resultobj;
2189 fail:
2190 {
2191 if (temp3)
2192 delete arg3;
2193 }
2194 {
2195 if (temp4)
2196 delete arg4;
2197 }
2198 return NULL;
2199 }
2200
2201
2202 static PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *, PyObject *args, PyObject *kwargs) {
2203 PyObject *resultobj;
2204 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2205 wxHtmlContainerCell *result;
2206 PyObject * obj0 = 0 ;
2207 char *kwnames[] = {
2208 (char *) "self", NULL
2209 };
2210
2211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetContainer",kwnames,&obj0)) goto fail;
2212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2214 {
2215 PyThreadState* __tstate = wxPyBeginAllowThreads();
2216 result = (wxHtmlContainerCell *)(arg1)->GetContainer();
2217
2218 wxPyEndAllowThreads(__tstate);
2219 if (PyErr_Occurred()) SWIG_fail;
2220 }
2221 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
2222 return resultobj;
2223 fail:
2224 return NULL;
2225 }
2226
2227
2228 static PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *, PyObject *args, PyObject *kwargs) {
2229 PyObject *resultobj;
2230 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2231 wxHtmlContainerCell *result;
2232 PyObject * obj0 = 0 ;
2233 char *kwnames[] = {
2234 (char *) "self", NULL
2235 };
2236
2237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_OpenContainer",kwnames,&obj0)) goto fail;
2238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2240 {
2241 PyThreadState* __tstate = wxPyBeginAllowThreads();
2242 result = (wxHtmlContainerCell *)(arg1)->OpenContainer();
2243
2244 wxPyEndAllowThreads(__tstate);
2245 if (PyErr_Occurred()) SWIG_fail;
2246 }
2247 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
2248 return resultobj;
2249 fail:
2250 return NULL;
2251 }
2252
2253
2254 static PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *, PyObject *args, PyObject *kwargs) {
2255 PyObject *resultobj;
2256 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2257 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
2258 wxHtmlContainerCell *result;
2259 PyObject * obj0 = 0 ;
2260 PyObject * obj1 = 0 ;
2261 char *kwnames[] = {
2262 (char *) "self",(char *) "c", NULL
2263 };
2264
2265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetContainer",kwnames,&obj0,&obj1)) goto fail;
2266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2268 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlContainerCell,
2269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2270 {
2271 PyThreadState* __tstate = wxPyBeginAllowThreads();
2272 result = (wxHtmlContainerCell *)(arg1)->SetContainer(arg2);
2273
2274 wxPyEndAllowThreads(__tstate);
2275 if (PyErr_Occurred()) SWIG_fail;
2276 }
2277 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
2278 return resultobj;
2279 fail:
2280 return NULL;
2281 }
2282
2283
2284 static PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *, PyObject *args, PyObject *kwargs) {
2285 PyObject *resultobj;
2286 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2287 wxHtmlContainerCell *result;
2288 PyObject * obj0 = 0 ;
2289 char *kwnames[] = {
2290 (char *) "self", NULL
2291 };
2292
2293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CloseContainer",kwnames,&obj0)) goto fail;
2294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2296 {
2297 PyThreadState* __tstate = wxPyBeginAllowThreads();
2298 result = (wxHtmlContainerCell *)(arg1)->CloseContainer();
2299
2300 wxPyEndAllowThreads(__tstate);
2301 if (PyErr_Occurred()) SWIG_fail;
2302 }
2303 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
2304 return resultobj;
2305 fail:
2306 return NULL;
2307 }
2308
2309
2310 static PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *, PyObject *args, PyObject *kwargs) {
2311 PyObject *resultobj;
2312 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2313 int result;
2314 PyObject * obj0 = 0 ;
2315 char *kwnames[] = {
2316 (char *) "self", NULL
2317 };
2318
2319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontSize",kwnames,&obj0)) goto fail;
2320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2322 {
2323 PyThreadState* __tstate = wxPyBeginAllowThreads();
2324 result = (int)(arg1)->GetFontSize();
2325
2326 wxPyEndAllowThreads(__tstate);
2327 if (PyErr_Occurred()) SWIG_fail;
2328 }
2329 resultobj = SWIG_From_int((int)result);
2330 return resultobj;
2331 fail:
2332 return NULL;
2333 }
2334
2335
2336 static PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *, PyObject *args, PyObject *kwargs) {
2337 PyObject *resultobj;
2338 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2339 int arg2 ;
2340 PyObject * obj0 = 0 ;
2341 PyObject * obj1 = 0 ;
2342 char *kwnames[] = {
2343 (char *) "self",(char *) "s", NULL
2344 };
2345
2346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontSize",kwnames,&obj0,&obj1)) goto fail;
2347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2349 arg2 = (int)SWIG_As_int(obj1);
2350 if (PyErr_Occurred()) SWIG_fail;
2351 {
2352 PyThreadState* __tstate = wxPyBeginAllowThreads();
2353 (arg1)->SetFontSize(arg2);
2354
2355 wxPyEndAllowThreads(__tstate);
2356 if (PyErr_Occurred()) SWIG_fail;
2357 }
2358 Py_INCREF(Py_None); resultobj = Py_None;
2359 return resultobj;
2360 fail:
2361 return NULL;
2362 }
2363
2364
2365 static PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *, PyObject *args, PyObject *kwargs) {
2366 PyObject *resultobj;
2367 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2368 int result;
2369 PyObject * obj0 = 0 ;
2370 char *kwnames[] = {
2371 (char *) "self", NULL
2372 };
2373
2374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontBold",kwnames,&obj0)) goto fail;
2375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2377 {
2378 PyThreadState* __tstate = wxPyBeginAllowThreads();
2379 result = (int)(arg1)->GetFontBold();
2380
2381 wxPyEndAllowThreads(__tstate);
2382 if (PyErr_Occurred()) SWIG_fail;
2383 }
2384 resultobj = SWIG_From_int((int)result);
2385 return resultobj;
2386 fail:
2387 return NULL;
2388 }
2389
2390
2391 static PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *, PyObject *args, PyObject *kwargs) {
2392 PyObject *resultobj;
2393 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2394 int arg2 ;
2395 PyObject * obj0 = 0 ;
2396 PyObject * obj1 = 0 ;
2397 char *kwnames[] = {
2398 (char *) "self",(char *) "x", NULL
2399 };
2400
2401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontBold",kwnames,&obj0,&obj1)) goto fail;
2402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2404 arg2 = (int)SWIG_As_int(obj1);
2405 if (PyErr_Occurred()) SWIG_fail;
2406 {
2407 PyThreadState* __tstate = wxPyBeginAllowThreads();
2408 (arg1)->SetFontBold(arg2);
2409
2410 wxPyEndAllowThreads(__tstate);
2411 if (PyErr_Occurred()) SWIG_fail;
2412 }
2413 Py_INCREF(Py_None); resultobj = Py_None;
2414 return resultobj;
2415 fail:
2416 return NULL;
2417 }
2418
2419
2420 static PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *, PyObject *args, PyObject *kwargs) {
2421 PyObject *resultobj;
2422 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2423 int result;
2424 PyObject * obj0 = 0 ;
2425 char *kwnames[] = {
2426 (char *) "self", NULL
2427 };
2428
2429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontItalic",kwnames,&obj0)) goto fail;
2430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2432 {
2433 PyThreadState* __tstate = wxPyBeginAllowThreads();
2434 result = (int)(arg1)->GetFontItalic();
2435
2436 wxPyEndAllowThreads(__tstate);
2437 if (PyErr_Occurred()) SWIG_fail;
2438 }
2439 resultobj = SWIG_From_int((int)result);
2440 return resultobj;
2441 fail:
2442 return NULL;
2443 }
2444
2445
2446 static PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *, PyObject *args, PyObject *kwargs) {
2447 PyObject *resultobj;
2448 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2449 int arg2 ;
2450 PyObject * obj0 = 0 ;
2451 PyObject * obj1 = 0 ;
2452 char *kwnames[] = {
2453 (char *) "self",(char *) "x", NULL
2454 };
2455
2456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames,&obj0,&obj1)) goto fail;
2457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2459 arg2 = (int)SWIG_As_int(obj1);
2460 if (PyErr_Occurred()) SWIG_fail;
2461 {
2462 PyThreadState* __tstate = wxPyBeginAllowThreads();
2463 (arg1)->SetFontItalic(arg2);
2464
2465 wxPyEndAllowThreads(__tstate);
2466 if (PyErr_Occurred()) SWIG_fail;
2467 }
2468 Py_INCREF(Py_None); resultobj = Py_None;
2469 return resultobj;
2470 fail:
2471 return NULL;
2472 }
2473
2474
2475 static PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
2476 PyObject *resultobj;
2477 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2478 int result;
2479 PyObject * obj0 = 0 ;
2480 char *kwnames[] = {
2481 (char *) "self", NULL
2482 };
2483
2484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontUnderlined",kwnames,&obj0)) goto fail;
2485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2487 {
2488 PyThreadState* __tstate = wxPyBeginAllowThreads();
2489 result = (int)(arg1)->GetFontUnderlined();
2490
2491 wxPyEndAllowThreads(__tstate);
2492 if (PyErr_Occurred()) SWIG_fail;
2493 }
2494 resultobj = SWIG_From_int((int)result);
2495 return resultobj;
2496 fail:
2497 return NULL;
2498 }
2499
2500
2501 static PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
2502 PyObject *resultobj;
2503 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2504 int arg2 ;
2505 PyObject * obj0 = 0 ;
2506 PyObject * obj1 = 0 ;
2507 char *kwnames[] = {
2508 (char *) "self",(char *) "x", NULL
2509 };
2510
2511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames,&obj0,&obj1)) goto fail;
2512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2514 arg2 = (int)SWIG_As_int(obj1);
2515 if (PyErr_Occurred()) SWIG_fail;
2516 {
2517 PyThreadState* __tstate = wxPyBeginAllowThreads();
2518 (arg1)->SetFontUnderlined(arg2);
2519
2520 wxPyEndAllowThreads(__tstate);
2521 if (PyErr_Occurred()) SWIG_fail;
2522 }
2523 Py_INCREF(Py_None); resultobj = Py_None;
2524 return resultobj;
2525 fail:
2526 return NULL;
2527 }
2528
2529
2530 static PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *, PyObject *args, PyObject *kwargs) {
2531 PyObject *resultobj;
2532 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2533 int result;
2534 PyObject * obj0 = 0 ;
2535 char *kwnames[] = {
2536 (char *) "self", NULL
2537 };
2538
2539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontFixed",kwnames,&obj0)) goto fail;
2540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2542 {
2543 PyThreadState* __tstate = wxPyBeginAllowThreads();
2544 result = (int)(arg1)->GetFontFixed();
2545
2546 wxPyEndAllowThreads(__tstate);
2547 if (PyErr_Occurred()) SWIG_fail;
2548 }
2549 resultobj = SWIG_From_int((int)result);
2550 return resultobj;
2551 fail:
2552 return NULL;
2553 }
2554
2555
2556 static PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *, PyObject *args, PyObject *kwargs) {
2557 PyObject *resultobj;
2558 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2559 int arg2 ;
2560 PyObject * obj0 = 0 ;
2561 PyObject * obj1 = 0 ;
2562 char *kwnames[] = {
2563 (char *) "self",(char *) "x", NULL
2564 };
2565
2566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames,&obj0,&obj1)) goto fail;
2567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2569 arg2 = (int)SWIG_As_int(obj1);
2570 if (PyErr_Occurred()) SWIG_fail;
2571 {
2572 PyThreadState* __tstate = wxPyBeginAllowThreads();
2573 (arg1)->SetFontFixed(arg2);
2574
2575 wxPyEndAllowThreads(__tstate);
2576 if (PyErr_Occurred()) SWIG_fail;
2577 }
2578 Py_INCREF(Py_None); resultobj = Py_None;
2579 return resultobj;
2580 fail:
2581 return NULL;
2582 }
2583
2584
2585 static PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
2586 PyObject *resultobj;
2587 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2588 int result;
2589 PyObject * obj0 = 0 ;
2590 char *kwnames[] = {
2591 (char *) "self", NULL
2592 };
2593
2594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetAlign",kwnames,&obj0)) goto fail;
2595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2597 {
2598 PyThreadState* __tstate = wxPyBeginAllowThreads();
2599 result = (int)(arg1)->GetAlign();
2600
2601 wxPyEndAllowThreads(__tstate);
2602 if (PyErr_Occurred()) SWIG_fail;
2603 }
2604 resultobj = SWIG_From_int((int)result);
2605 return resultobj;
2606 fail:
2607 return NULL;
2608 }
2609
2610
2611 static PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
2612 PyObject *resultobj;
2613 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2614 int arg2 ;
2615 PyObject * obj0 = 0 ;
2616 PyObject * obj1 = 0 ;
2617 char *kwnames[] = {
2618 (char *) "self",(char *) "a", NULL
2619 };
2620
2621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetAlign",kwnames,&obj0,&obj1)) goto fail;
2622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2624 arg2 = (int)SWIG_As_int(obj1);
2625 if (PyErr_Occurred()) SWIG_fail;
2626 {
2627 PyThreadState* __tstate = wxPyBeginAllowThreads();
2628 (arg1)->SetAlign(arg2);
2629
2630 wxPyEndAllowThreads(__tstate);
2631 if (PyErr_Occurred()) SWIG_fail;
2632 }
2633 Py_INCREF(Py_None); resultobj = Py_None;
2634 return resultobj;
2635 fail:
2636 return NULL;
2637 }
2638
2639
2640 static PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *, PyObject *args, PyObject *kwargs) {
2641 PyObject *resultobj;
2642 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2643 wxColour result;
2644 PyObject * obj0 = 0 ;
2645 char *kwnames[] = {
2646 (char *) "self", NULL
2647 };
2648
2649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLinkColor",kwnames,&obj0)) goto fail;
2650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2652 {
2653 PyThreadState* __tstate = wxPyBeginAllowThreads();
2654 result = (arg1)->GetLinkColor();
2655
2656 wxPyEndAllowThreads(__tstate);
2657 if (PyErr_Occurred()) SWIG_fail;
2658 }
2659 {
2660 wxColour * resultptr;
2661 resultptr = new wxColour((wxColour &) result);
2662 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
2663 }
2664 return resultobj;
2665 fail:
2666 return NULL;
2667 }
2668
2669
2670 static PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *, PyObject *args, PyObject *kwargs) {
2671 PyObject *resultobj;
2672 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2673 wxColour *arg2 = 0 ;
2674 wxColour temp2 ;
2675 PyObject * obj0 = 0 ;
2676 PyObject * obj1 = 0 ;
2677 char *kwnames[] = {
2678 (char *) "self",(char *) "clr", NULL
2679 };
2680
2681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames,&obj0,&obj1)) goto fail;
2682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2684 {
2685 arg2 = &temp2;
2686 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2687 }
2688 {
2689 PyThreadState* __tstate = wxPyBeginAllowThreads();
2690 (arg1)->SetLinkColor((wxColour const &)*arg2);
2691
2692 wxPyEndAllowThreads(__tstate);
2693 if (PyErr_Occurred()) SWIG_fail;
2694 }
2695 Py_INCREF(Py_None); resultobj = Py_None;
2696 return resultobj;
2697 fail:
2698 return NULL;
2699 }
2700
2701
2702 static PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *, PyObject *args, PyObject *kwargs) {
2703 PyObject *resultobj;
2704 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2705 wxColour result;
2706 PyObject * obj0 = 0 ;
2707 char *kwnames[] = {
2708 (char *) "self", NULL
2709 };
2710
2711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetActualColor",kwnames,&obj0)) goto fail;
2712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2714 {
2715 PyThreadState* __tstate = wxPyBeginAllowThreads();
2716 result = (arg1)->GetActualColor();
2717
2718 wxPyEndAllowThreads(__tstate);
2719 if (PyErr_Occurred()) SWIG_fail;
2720 }
2721 {
2722 wxColour * resultptr;
2723 resultptr = new wxColour((wxColour &) result);
2724 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
2725 }
2726 return resultobj;
2727 fail:
2728 return NULL;
2729 }
2730
2731
2732 static PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *, PyObject *args, PyObject *kwargs) {
2733 PyObject *resultobj;
2734 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2735 wxColour *arg2 = 0 ;
2736 wxColour temp2 ;
2737 PyObject * obj0 = 0 ;
2738 PyObject * obj1 = 0 ;
2739 char *kwnames[] = {
2740 (char *) "self",(char *) "clr", NULL
2741 };
2742
2743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetActualColor",kwnames,&obj0,&obj1)) goto fail;
2744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2746 {
2747 arg2 = &temp2;
2748 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2749 }
2750 {
2751 PyThreadState* __tstate = wxPyBeginAllowThreads();
2752 (arg1)->SetActualColor((wxColour const &)*arg2);
2753
2754 wxPyEndAllowThreads(__tstate);
2755 if (PyErr_Occurred()) SWIG_fail;
2756 }
2757 Py_INCREF(Py_None); resultobj = Py_None;
2758 return resultobj;
2759 fail:
2760 return NULL;
2761 }
2762
2763
2764 static PyObject *_wrap_HtmlWinParser_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
2765 PyObject *resultobj;
2766 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2767 wxString *arg2 = 0 ;
2768 bool temp2 = false ;
2769 PyObject * obj0 = 0 ;
2770 PyObject * obj1 = 0 ;
2771 char *kwnames[] = {
2772 (char *) "self",(char *) "link", NULL
2773 };
2774
2775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLink",kwnames,&obj0,&obj1)) goto fail;
2776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2778 {
2779 arg2 = wxString_in_helper(obj1);
2780 if (arg2 == NULL) SWIG_fail;
2781 temp2 = true;
2782 }
2783 {
2784 PyThreadState* __tstate = wxPyBeginAllowThreads();
2785 (arg1)->SetLink((wxString const &)*arg2);
2786
2787 wxPyEndAllowThreads(__tstate);
2788 if (PyErr_Occurred()) SWIG_fail;
2789 }
2790 Py_INCREF(Py_None); resultobj = Py_None;
2791 {
2792 if (temp2)
2793 delete arg2;
2794 }
2795 return resultobj;
2796 fail:
2797 {
2798 if (temp2)
2799 delete arg2;
2800 }
2801 return NULL;
2802 }
2803
2804
2805 static PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *, PyObject *args, PyObject *kwargs) {
2806 PyObject *resultobj;
2807 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2808 wxFont *result;
2809 PyObject * obj0 = 0 ;
2810 char *kwnames[] = {
2811 (char *) "self", NULL
2812 };
2813
2814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CreateCurrentFont",kwnames,&obj0)) goto fail;
2815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2817 {
2818 PyThreadState* __tstate = wxPyBeginAllowThreads();
2819 result = (wxFont *)(arg1)->CreateCurrentFont();
2820
2821 wxPyEndAllowThreads(__tstate);
2822 if (PyErr_Occurred()) SWIG_fail;
2823 }
2824 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
2825 return resultobj;
2826 fail:
2827 return NULL;
2828 }
2829
2830
2831 static PyObject *_wrap_HtmlWinParser_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
2832 PyObject *resultobj;
2833 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2834 SwigValueWrapper< wxHtmlLinkInfo > result;
2835 PyObject * obj0 = 0 ;
2836 char *kwnames[] = {
2837 (char *) "self", NULL
2838 };
2839
2840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLink",kwnames,&obj0)) goto fail;
2841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2843 {
2844 PyThreadState* __tstate = wxPyBeginAllowThreads();
2845 result = (arg1)->GetLink();
2846
2847 wxPyEndAllowThreads(__tstate);
2848 if (PyErr_Occurred()) SWIG_fail;
2849 }
2850 {
2851 wxHtmlLinkInfo * resultptr;
2852 resultptr = new wxHtmlLinkInfo((wxHtmlLinkInfo &) result);
2853 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxHtmlLinkInfo, 1);
2854 }
2855 return resultobj;
2856 fail:
2857 return NULL;
2858 }
2859
2860
2861 static PyObject * HtmlWinParser_swigregister(PyObject *, PyObject *args) {
2862 PyObject *obj;
2863 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2864 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWinParser, obj);
2865 Py_INCREF(obj);
2866 return Py_BuildValue((char *)"");
2867 }
2868 static PyObject *_wrap_new_HtmlTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
2869 PyObject *resultobj;
2870 wxPyHtmlTagHandler *result;
2871 char *kwnames[] = {
2872 NULL
2873 };
2874
2875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlTagHandler",kwnames)) goto fail;
2876 {
2877 PyThreadState* __tstate = wxPyBeginAllowThreads();
2878 result = (wxPyHtmlTagHandler *)new wxPyHtmlTagHandler();
2879
2880 wxPyEndAllowThreads(__tstate);
2881 if (PyErr_Occurred()) SWIG_fail;
2882 }
2883 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlTagHandler, 1);
2884 return resultobj;
2885 fail:
2886 return NULL;
2887 }
2888
2889
2890 static PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
2891 PyObject *resultobj;
2892 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
2893 PyObject *arg2 = (PyObject *) 0 ;
2894 PyObject *arg3 = (PyObject *) 0 ;
2895 PyObject * obj0 = 0 ;
2896 PyObject * obj1 = 0 ;
2897 PyObject * obj2 = 0 ;
2898 char *kwnames[] = {
2899 (char *) "self",(char *) "self",(char *) "_class", NULL
2900 };
2901
2902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler,
2904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2905 arg2 = obj1;
2906 arg3 = obj2;
2907 {
2908 PyThreadState* __tstate = wxPyBeginAllowThreads();
2909 (arg1)->_setCallbackInfo(arg2,arg3);
2910
2911 wxPyEndAllowThreads(__tstate);
2912 if (PyErr_Occurred()) SWIG_fail;
2913 }
2914 Py_INCREF(Py_None); resultobj = Py_None;
2915 return resultobj;
2916 fail:
2917 return NULL;
2918 }
2919
2920
2921 static PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *, PyObject *args, PyObject *kwargs) {
2922 PyObject *resultobj;
2923 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
2924 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
2925 PyObject * obj0 = 0 ;
2926 PyObject * obj1 = 0 ;
2927 char *kwnames[] = {
2928 (char *) "self",(char *) "parser", NULL
2929 };
2930
2931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail;
2932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler,
2933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2934 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlParser,
2935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2936 {
2937 PyThreadState* __tstate = wxPyBeginAllowThreads();
2938 (arg1)->SetParser(arg2);
2939
2940 wxPyEndAllowThreads(__tstate);
2941 if (PyErr_Occurred()) SWIG_fail;
2942 }
2943 Py_INCREF(Py_None); resultobj = Py_None;
2944 return resultobj;
2945 fail:
2946 return NULL;
2947 }
2948
2949
2950 static PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *, PyObject *args, PyObject *kwargs) {
2951 PyObject *resultobj;
2952 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
2953 wxHtmlParser *result;
2954 PyObject * obj0 = 0 ;
2955 char *kwnames[] = {
2956 (char *) "self", NULL
2957 };
2958
2959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTagHandler_GetParser",kwnames,&obj0)) goto fail;
2960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler,
2961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2962 {
2963 PyThreadState* __tstate = wxPyBeginAllowThreads();
2964 result = (wxHtmlParser *)(arg1)->GetParser();
2965
2966 wxPyEndAllowThreads(__tstate);
2967 if (PyErr_Occurred()) SWIG_fail;
2968 }
2969 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlParser, 0);
2970 return resultobj;
2971 fail:
2972 return NULL;
2973 }
2974
2975
2976 static PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *, PyObject *args, PyObject *kwargs) {
2977 PyObject *resultobj;
2978 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
2979 wxHtmlTag *arg2 = 0 ;
2980 PyObject * obj0 = 0 ;
2981 PyObject * obj1 = 0 ;
2982 char *kwnames[] = {
2983 (char *) "self",(char *) "tag", NULL
2984 };
2985
2986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail;
2987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler,
2988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2989 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag,
2990 SWIG_POINTER_EXCEPTION | 0)) == -1)
2991 SWIG_fail;
2992 if (arg2 == NULL) {
2993 PyErr_SetString(PyExc_TypeError,"null reference");
2994 SWIG_fail;
2995 }
2996 {
2997 PyThreadState* __tstate = wxPyBeginAllowThreads();
2998 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
2999
3000 wxPyEndAllowThreads(__tstate);
3001 if (PyErr_Occurred()) SWIG_fail;
3002 }
3003 Py_INCREF(Py_None); resultobj = Py_None;
3004 return resultobj;
3005 fail:
3006 return NULL;
3007 }
3008
3009
3010 static PyObject * HtmlTagHandler_swigregister(PyObject *, PyObject *args) {
3011 PyObject *obj;
3012 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3013 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlTagHandler, obj);
3014 Py_INCREF(obj);
3015 return Py_BuildValue((char *)"");
3016 }
3017 static PyObject *_wrap_new_HtmlWinTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
3018 PyObject *resultobj;
3019 wxPyHtmlWinTagHandler *result;
3020 char *kwnames[] = {
3021 NULL
3022 };
3023
3024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlWinTagHandler",kwnames)) goto fail;
3025 {
3026 PyThreadState* __tstate = wxPyBeginAllowThreads();
3027 result = (wxPyHtmlWinTagHandler *)new wxPyHtmlWinTagHandler();
3028
3029 wxPyEndAllowThreads(__tstate);
3030 if (PyErr_Occurred()) SWIG_fail;
3031 }
3032 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWinTagHandler, 1);
3033 return resultobj;
3034 fail:
3035 return NULL;
3036 }
3037
3038
3039 static PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
3040 PyObject *resultobj;
3041 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
3042 PyObject *arg2 = (PyObject *) 0 ;
3043 PyObject *arg3 = (PyObject *) 0 ;
3044 PyObject * obj0 = 0 ;
3045 PyObject * obj1 = 0 ;
3046 PyObject * obj2 = 0 ;
3047 char *kwnames[] = {
3048 (char *) "self",(char *) "self",(char *) "_class", NULL
3049 };
3050
3051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
3052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler,
3053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3054 arg2 = obj1;
3055 arg3 = obj2;
3056 {
3057 PyThreadState* __tstate = wxPyBeginAllowThreads();
3058 (arg1)->_setCallbackInfo(arg2,arg3);
3059
3060 wxPyEndAllowThreads(__tstate);
3061 if (PyErr_Occurred()) SWIG_fail;
3062 }
3063 Py_INCREF(Py_None); resultobj = Py_None;
3064 return resultobj;
3065 fail:
3066 return NULL;
3067 }
3068
3069
3070 static PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *, PyObject *args, PyObject *kwargs) {
3071 PyObject *resultobj;
3072 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
3073 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
3074 PyObject * obj0 = 0 ;
3075 PyObject * obj1 = 0 ;
3076 char *kwnames[] = {
3077 (char *) "self",(char *) "parser", NULL
3078 };
3079
3080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail;
3081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler,
3082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3083 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlParser,
3084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3085 {
3086 PyThreadState* __tstate = wxPyBeginAllowThreads();
3087 (arg1)->SetParser(arg2);
3088
3089 wxPyEndAllowThreads(__tstate);
3090 if (PyErr_Occurred()) SWIG_fail;
3091 }
3092 Py_INCREF(Py_None); resultobj = Py_None;
3093 return resultobj;
3094 fail:
3095 return NULL;
3096 }
3097
3098
3099 static PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *, PyObject *args, PyObject *kwargs) {
3100 PyObject *resultobj;
3101 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
3102 wxHtmlWinParser *result;
3103 PyObject * obj0 = 0 ;
3104 char *kwnames[] = {
3105 (char *) "self", NULL
3106 };
3107
3108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinTagHandler_GetParser",kwnames,&obj0)) goto fail;
3109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler,
3110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3111 {
3112 PyThreadState* __tstate = wxPyBeginAllowThreads();
3113 result = (wxHtmlWinParser *)(arg1)->GetParser();
3114
3115 wxPyEndAllowThreads(__tstate);
3116 if (PyErr_Occurred()) SWIG_fail;
3117 }
3118 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0);
3119 return resultobj;
3120 fail:
3121 return NULL;
3122 }
3123
3124
3125 static PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *, PyObject *args, PyObject *kwargs) {
3126 PyObject *resultobj;
3127 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
3128 wxHtmlTag *arg2 = 0 ;
3129 PyObject * obj0 = 0 ;
3130 PyObject * obj1 = 0 ;
3131 char *kwnames[] = {
3132 (char *) "self",(char *) "tag", NULL
3133 };
3134
3135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail;
3136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler,
3137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3138 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag,
3139 SWIG_POINTER_EXCEPTION | 0)) == -1)
3140 SWIG_fail;
3141 if (arg2 == NULL) {
3142 PyErr_SetString(PyExc_TypeError,"null reference");
3143 SWIG_fail;
3144 }
3145 {
3146 PyThreadState* __tstate = wxPyBeginAllowThreads();
3147 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
3148
3149 wxPyEndAllowThreads(__tstate);
3150 if (PyErr_Occurred()) SWIG_fail;
3151 }
3152 Py_INCREF(Py_None); resultobj = Py_None;
3153 return resultobj;
3154 fail:
3155 return NULL;
3156 }
3157
3158
3159 static PyObject * HtmlWinTagHandler_swigregister(PyObject *, PyObject *args) {
3160 PyObject *obj;
3161 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3162 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler, obj);
3163 Py_INCREF(obj);
3164 return Py_BuildValue((char *)"");
3165 }
3166 static PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
3167 PyObject *resultobj;
3168 PyObject *arg1 = (PyObject *) 0 ;
3169 PyObject * obj0 = 0 ;
3170 char *kwnames[] = {
3171 (char *) "tagHandlerClass", NULL
3172 };
3173
3174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_AddTagHandler",kwnames,&obj0)) goto fail;
3175 arg1 = obj0;
3176 {
3177 PyThreadState* __tstate = wxPyBeginAllowThreads();
3178 wxHtmlWinParser_AddTagHandler(arg1);
3179
3180 wxPyEndAllowThreads(__tstate);
3181 if (PyErr_Occurred()) SWIG_fail;
3182 }
3183 Py_INCREF(Py_None); resultobj = Py_None;
3184 return resultobj;
3185 fail:
3186 return NULL;
3187 }
3188
3189
3190 static PyObject *_wrap_new_HtmlSelection(PyObject *, PyObject *args, PyObject *kwargs) {
3191 PyObject *resultobj;
3192 wxHtmlSelection *result;
3193 char *kwnames[] = {
3194 NULL
3195 };
3196
3197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlSelection",kwnames)) goto fail;
3198 {
3199 PyThreadState* __tstate = wxPyBeginAllowThreads();
3200 result = (wxHtmlSelection *)new wxHtmlSelection();
3201
3202 wxPyEndAllowThreads(__tstate);
3203 if (PyErr_Occurred()) SWIG_fail;
3204 }
3205 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 1);
3206 return resultobj;
3207 fail:
3208 return NULL;
3209 }
3210
3211
3212 static PyObject *_wrap_delete_HtmlSelection(PyObject *, PyObject *args, PyObject *kwargs) {
3213 PyObject *resultobj;
3214 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3215 PyObject * obj0 = 0 ;
3216 char *kwnames[] = {
3217 (char *) "self", NULL
3218 };
3219
3220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlSelection",kwnames,&obj0)) goto fail;
3221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3223 {
3224 PyThreadState* __tstate = wxPyBeginAllowThreads();
3225 delete arg1;
3226
3227 wxPyEndAllowThreads(__tstate);
3228 if (PyErr_Occurred()) SWIG_fail;
3229 }
3230 Py_INCREF(Py_None); resultobj = Py_None;
3231 return resultobj;
3232 fail:
3233 return NULL;
3234 }
3235
3236
3237 static PyObject *_wrap_HtmlSelection_Set(PyObject *, PyObject *args, PyObject *kwargs) {
3238 PyObject *resultobj;
3239 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3240 wxPoint *arg2 = 0 ;
3241 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
3242 wxPoint *arg4 = 0 ;
3243 wxHtmlCell *arg5 = (wxHtmlCell *) 0 ;
3244 wxPoint temp2 ;
3245 wxPoint temp4 ;
3246 PyObject * obj0 = 0 ;
3247 PyObject * obj1 = 0 ;
3248 PyObject * obj2 = 0 ;
3249 PyObject * obj3 = 0 ;
3250 PyObject * obj4 = 0 ;
3251 char *kwnames[] = {
3252 (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
3253 };
3254
3255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlSelection_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3258 {
3259 arg2 = &temp2;
3260 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3261 }
3262 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxHtmlCell,
3263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3264 {
3265 arg4 = &temp4;
3266 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3267 }
3268 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxHtmlCell,
3269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3270 {
3271 PyThreadState* __tstate = wxPyBeginAllowThreads();
3272 (arg1)->Set((wxPoint const &)*arg2,(wxHtmlCell const *)arg3,(wxPoint const &)*arg4,(wxHtmlCell const *)arg5);
3273
3274 wxPyEndAllowThreads(__tstate);
3275 if (PyErr_Occurred()) SWIG_fail;
3276 }
3277 Py_INCREF(Py_None); resultobj = Py_None;
3278 return resultobj;
3279 fail:
3280 return NULL;
3281 }
3282
3283
3284 static PyObject *_wrap_HtmlSelection_SetCells(PyObject *, PyObject *args, PyObject *kwargs) {
3285 PyObject *resultobj;
3286 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3287 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
3288 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
3289 PyObject * obj0 = 0 ;
3290 PyObject * obj1 = 0 ;
3291 PyObject * obj2 = 0 ;
3292 char *kwnames[] = {
3293 (char *) "self",(char *) "fromCell",(char *) "toCell", NULL
3294 };
3295
3296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlSelection_SetCells",kwnames,&obj0,&obj1,&obj2)) goto fail;
3297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3299 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
3300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3301 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxHtmlCell,
3302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3303 {
3304 PyThreadState* __tstate = wxPyBeginAllowThreads();
3305 (arg1)->Set((wxHtmlCell const *)arg2,(wxHtmlCell const *)arg3);
3306
3307 wxPyEndAllowThreads(__tstate);
3308 if (PyErr_Occurred()) SWIG_fail;
3309 }
3310 Py_INCREF(Py_None); resultobj = Py_None;
3311 return resultobj;
3312 fail:
3313 return NULL;
3314 }
3315
3316
3317 static PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *, PyObject *args, PyObject *kwargs) {
3318 PyObject *resultobj;
3319 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3320 wxHtmlCell *result;
3321 PyObject * obj0 = 0 ;
3322 char *kwnames[] = {
3323 (char *) "self", NULL
3324 };
3325
3326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromCell",kwnames,&obj0)) goto fail;
3327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3329 {
3330 PyThreadState* __tstate = wxPyBeginAllowThreads();
3331 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetFromCell();
3332
3333 wxPyEndAllowThreads(__tstate);
3334 if (PyErr_Occurred()) SWIG_fail;
3335 }
3336 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
3337 return resultobj;
3338 fail:
3339 return NULL;
3340 }
3341
3342
3343 static PyObject *_wrap_HtmlSelection_GetToCell(PyObject *, PyObject *args, PyObject *kwargs) {
3344 PyObject *resultobj;
3345 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3346 wxHtmlCell *result;
3347 PyObject * obj0 = 0 ;
3348 char *kwnames[] = {
3349 (char *) "self", NULL
3350 };
3351
3352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToCell",kwnames,&obj0)) goto fail;
3353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3355 {
3356 PyThreadState* __tstate = wxPyBeginAllowThreads();
3357 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetToCell();
3358
3359 wxPyEndAllowThreads(__tstate);
3360 if (PyErr_Occurred()) SWIG_fail;
3361 }
3362 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
3363 return resultobj;
3364 fail:
3365 return NULL;
3366 }
3367
3368
3369 static PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *, PyObject *args, PyObject *kwargs) {
3370 PyObject *resultobj;
3371 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3372 wxPoint *result;
3373 PyObject * obj0 = 0 ;
3374 char *kwnames[] = {
3375 (char *) "self", NULL
3376 };
3377
3378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPos",kwnames,&obj0)) goto fail;
3379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3381 {
3382 PyThreadState* __tstate = wxPyBeginAllowThreads();
3383 {
3384 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPos();
3385 result = (wxPoint *) &_result_ref;
3386 }
3387
3388 wxPyEndAllowThreads(__tstate);
3389 if (PyErr_Occurred()) SWIG_fail;
3390 }
3391 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
3392 return resultobj;
3393 fail:
3394 return NULL;
3395 }
3396
3397
3398 static PyObject *_wrap_HtmlSelection_GetToPos(PyObject *, PyObject *args, PyObject *kwargs) {
3399 PyObject *resultobj;
3400 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3401 wxPoint *result;
3402 PyObject * obj0 = 0 ;
3403 char *kwnames[] = {
3404 (char *) "self", NULL
3405 };
3406
3407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPos",kwnames,&obj0)) goto fail;
3408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3410 {
3411 PyThreadState* __tstate = wxPyBeginAllowThreads();
3412 {
3413 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPos();
3414 result = (wxPoint *) &_result_ref;
3415 }
3416
3417 wxPyEndAllowThreads(__tstate);
3418 if (PyErr_Occurred()) SWIG_fail;
3419 }
3420 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
3421 return resultobj;
3422 fail:
3423 return NULL;
3424 }
3425
3426
3427 static PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
3428 PyObject *resultobj;
3429 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3430 wxPoint *result;
3431 PyObject * obj0 = 0 ;
3432 char *kwnames[] = {
3433 (char *) "self", NULL
3434 };
3435
3436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPrivPos",kwnames,&obj0)) goto fail;
3437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3439 {
3440 PyThreadState* __tstate = wxPyBeginAllowThreads();
3441 {
3442 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPrivPos();
3443 result = (wxPoint *) &_result_ref;
3444 }
3445
3446 wxPyEndAllowThreads(__tstate);
3447 if (PyErr_Occurred()) SWIG_fail;
3448 }
3449 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
3450 return resultobj;
3451 fail:
3452 return NULL;
3453 }
3454
3455
3456 static PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
3457 PyObject *resultobj;
3458 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3459 wxPoint *result;
3460 PyObject * obj0 = 0 ;
3461 char *kwnames[] = {
3462 (char *) "self", NULL
3463 };
3464
3465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPrivPos",kwnames,&obj0)) goto fail;
3466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3468 {
3469 PyThreadState* __tstate = wxPyBeginAllowThreads();
3470 {
3471 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPrivPos();
3472 result = (wxPoint *) &_result_ref;
3473 }
3474
3475 wxPyEndAllowThreads(__tstate);
3476 if (PyErr_Occurred()) SWIG_fail;
3477 }
3478 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
3479 return resultobj;
3480 fail:
3481 return NULL;
3482 }
3483
3484
3485 static PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
3486 PyObject *resultobj;
3487 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3488 wxPoint *arg2 = 0 ;
3489 wxPoint temp2 ;
3490 PyObject * obj0 = 0 ;
3491 PyObject * obj1 = 0 ;
3492 char *kwnames[] = {
3493 (char *) "self",(char *) "pos", NULL
3494 };
3495
3496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames,&obj0,&obj1)) goto fail;
3497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3499 {
3500 arg2 = &temp2;
3501 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3502 }
3503 {
3504 PyThreadState* __tstate = wxPyBeginAllowThreads();
3505 (arg1)->SetFromPrivPos((wxPoint const &)*arg2);
3506
3507 wxPyEndAllowThreads(__tstate);
3508 if (PyErr_Occurred()) SWIG_fail;
3509 }
3510 Py_INCREF(Py_None); resultobj = Py_None;
3511 return resultobj;
3512 fail:
3513 return NULL;
3514 }
3515
3516
3517 static PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
3518 PyObject *resultobj;
3519 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3520 wxPoint *arg2 = 0 ;
3521 wxPoint temp2 ;
3522 PyObject * obj0 = 0 ;
3523 PyObject * obj1 = 0 ;
3524 char *kwnames[] = {
3525 (char *) "self",(char *) "pos", NULL
3526 };
3527
3528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames,&obj0,&obj1)) goto fail;
3529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3531 {
3532 arg2 = &temp2;
3533 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3534 }
3535 {
3536 PyThreadState* __tstate = wxPyBeginAllowThreads();
3537 (arg1)->SetToPrivPos((wxPoint const &)*arg2);
3538
3539 wxPyEndAllowThreads(__tstate);
3540 if (PyErr_Occurred()) SWIG_fail;
3541 }
3542 Py_INCREF(Py_None); resultobj = Py_None;
3543 return resultobj;
3544 fail:
3545 return NULL;
3546 }
3547
3548
3549 static PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
3550 PyObject *resultobj;
3551 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3552 PyObject * obj0 = 0 ;
3553 char *kwnames[] = {
3554 (char *) "self", NULL
3555 };
3556
3557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_ClearPrivPos",kwnames,&obj0)) goto fail;
3558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3560 {
3561 PyThreadState* __tstate = wxPyBeginAllowThreads();
3562 (arg1)->ClearPrivPos();
3563
3564 wxPyEndAllowThreads(__tstate);
3565 if (PyErr_Occurred()) SWIG_fail;
3566 }
3567 Py_INCREF(Py_None); resultobj = Py_None;
3568 return resultobj;
3569 fail:
3570 return NULL;
3571 }
3572
3573
3574 static PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) {
3575 PyObject *resultobj;
3576 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3577 bool result;
3578 PyObject * obj0 = 0 ;
3579 char *kwnames[] = {
3580 (char *) "self", NULL
3581 };
3582
3583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_IsEmpty",kwnames,&obj0)) goto fail;
3584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3586 {
3587 PyThreadState* __tstate = wxPyBeginAllowThreads();
3588 result = (bool)((wxHtmlSelection const *)arg1)->IsEmpty();
3589
3590 wxPyEndAllowThreads(__tstate);
3591 if (PyErr_Occurred()) SWIG_fail;
3592 }
3593 {
3594 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3595 }
3596 return resultobj;
3597 fail:
3598 return NULL;
3599 }
3600
3601
3602 static PyObject * HtmlSelection_swigregister(PyObject *, PyObject *args) {
3603 PyObject *obj;
3604 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3605 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSelection, obj);
3606 Py_INCREF(obj);
3607 return Py_BuildValue((char *)"");
3608 }
3609 static PyObject *_wrap_new_HtmlRenderingState(PyObject *, PyObject *args, PyObject *kwargs) {
3610 PyObject *resultobj;
3611 wxHtmlRenderingState *result;
3612 char *kwnames[] = {
3613 NULL
3614 };
3615
3616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingState",kwnames)) goto fail;
3617 {
3618 PyThreadState* __tstate = wxPyBeginAllowThreads();
3619 result = (wxHtmlRenderingState *)new wxHtmlRenderingState();
3620
3621 wxPyEndAllowThreads(__tstate);
3622 if (PyErr_Occurred()) SWIG_fail;
3623 }
3624 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 1);
3625 return resultobj;
3626 fail:
3627 return NULL;
3628 }
3629
3630
3631 static PyObject *_wrap_delete_HtmlRenderingState(PyObject *, PyObject *args, PyObject *kwargs) {
3632 PyObject *resultobj;
3633 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3634 PyObject * obj0 = 0 ;
3635 char *kwnames[] = {
3636 (char *) "self", NULL
3637 };
3638
3639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingState",kwnames,&obj0)) goto fail;
3640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3642 {
3643 PyThreadState* __tstate = wxPyBeginAllowThreads();
3644 delete arg1;
3645
3646 wxPyEndAllowThreads(__tstate);
3647 if (PyErr_Occurred()) SWIG_fail;
3648 }
3649 Py_INCREF(Py_None); resultobj = Py_None;
3650 return resultobj;
3651 fail:
3652 return NULL;
3653 }
3654
3655
3656 static PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *, PyObject *args, PyObject *kwargs) {
3657 PyObject *resultobj;
3658 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3659 int arg2 ;
3660 PyObject * obj0 = 0 ;
3661 PyObject * obj1 = 0 ;
3662 char *kwnames[] = {
3663 (char *) "self",(char *) "s", NULL
3664 };
3665
3666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames,&obj0,&obj1)) goto fail;
3667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3669 arg2 = (int)SWIG_As_int(obj1);
3670 if (PyErr_Occurred()) SWIG_fail;
3671 {
3672 PyThreadState* __tstate = wxPyBeginAllowThreads();
3673 (arg1)->SetSelectionState((wxHtmlSelectionState )arg2);
3674
3675 wxPyEndAllowThreads(__tstate);
3676 if (PyErr_Occurred()) SWIG_fail;
3677 }
3678 Py_INCREF(Py_None); resultobj = Py_None;
3679 return resultobj;
3680 fail:
3681 return NULL;
3682 }
3683
3684
3685 static PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *, PyObject *args, PyObject *kwargs) {
3686 PyObject *resultobj;
3687 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3688 int result;
3689 PyObject * obj0 = 0 ;
3690 char *kwnames[] = {
3691 (char *) "self", NULL
3692 };
3693
3694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetSelectionState",kwnames,&obj0)) goto fail;
3695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3697 {
3698 PyThreadState* __tstate = wxPyBeginAllowThreads();
3699 result = (int)((wxHtmlRenderingState const *)arg1)->GetSelectionState();
3700
3701 wxPyEndAllowThreads(__tstate);
3702 if (PyErr_Occurred()) SWIG_fail;
3703 }
3704 resultobj = SWIG_From_int((int)result);
3705 return resultobj;
3706 fail:
3707 return NULL;
3708 }
3709
3710
3711 static PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *, PyObject *args, PyObject *kwargs) {
3712 PyObject *resultobj;
3713 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3714 wxColour *arg2 = 0 ;
3715 wxColour temp2 ;
3716 PyObject * obj0 = 0 ;
3717 PyObject * obj1 = 0 ;
3718 char *kwnames[] = {
3719 (char *) "self",(char *) "c", NULL
3720 };
3721
3722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames,&obj0,&obj1)) goto fail;
3723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3725 {
3726 arg2 = &temp2;
3727 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3728 }
3729 {
3730 PyThreadState* __tstate = wxPyBeginAllowThreads();
3731 (arg1)->SetFgColour((wxColour const &)*arg2);
3732
3733 wxPyEndAllowThreads(__tstate);
3734 if (PyErr_Occurred()) SWIG_fail;
3735 }
3736 Py_INCREF(Py_None); resultobj = Py_None;
3737 return resultobj;
3738 fail:
3739 return NULL;
3740 }
3741
3742
3743 static PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *, PyObject *args, PyObject *kwargs) {
3744 PyObject *resultobj;
3745 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3746 wxColour *result;
3747 PyObject * obj0 = 0 ;
3748 char *kwnames[] = {
3749 (char *) "self", NULL
3750 };
3751
3752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetFgColour",kwnames,&obj0)) goto fail;
3753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3755 {
3756 PyThreadState* __tstate = wxPyBeginAllowThreads();
3757 {
3758 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetFgColour();
3759 result = (wxColour *) &_result_ref;
3760 }
3761
3762 wxPyEndAllowThreads(__tstate);
3763 if (PyErr_Occurred()) SWIG_fail;
3764 }
3765 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
3766 return resultobj;
3767 fail:
3768 return NULL;
3769 }
3770
3771
3772 static PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
3773 PyObject *resultobj;
3774 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3775 wxColour *arg2 = 0 ;
3776 wxColour temp2 ;
3777 PyObject * obj0 = 0 ;
3778 PyObject * obj1 = 0 ;
3779 char *kwnames[] = {
3780 (char *) "self",(char *) "c", NULL
3781 };
3782
3783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames,&obj0,&obj1)) goto fail;
3784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3786 {
3787 arg2 = &temp2;
3788 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3789 }
3790 {
3791 PyThreadState* __tstate = wxPyBeginAllowThreads();
3792 (arg1)->SetBgColour((wxColour const &)*arg2);
3793
3794 wxPyEndAllowThreads(__tstate);
3795 if (PyErr_Occurred()) SWIG_fail;
3796 }
3797 Py_INCREF(Py_None); resultobj = Py_None;
3798 return resultobj;
3799 fail:
3800 return NULL;
3801 }
3802
3803
3804 static PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
3805 PyObject *resultobj;
3806 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3807 wxColour *result;
3808 PyObject * obj0 = 0 ;
3809 char *kwnames[] = {
3810 (char *) "self", NULL
3811 };
3812
3813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetBgColour",kwnames,&obj0)) goto fail;
3814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3816 {
3817 PyThreadState* __tstate = wxPyBeginAllowThreads();
3818 {
3819 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetBgColour();
3820 result = (wxColour *) &_result_ref;
3821 }
3822
3823 wxPyEndAllowThreads(__tstate);
3824 if (PyErr_Occurred()) SWIG_fail;
3825 }
3826 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
3827 return resultobj;
3828 fail:
3829 return NULL;
3830 }
3831
3832
3833 static PyObject * HtmlRenderingState_swigregister(PyObject *, PyObject *args) {
3834 PyObject *obj;
3835 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3836 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingState, obj);
3837 Py_INCREF(obj);
3838 return Py_BuildValue((char *)"");
3839 }
3840 static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
3841 PyObject *resultobj;
3842 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
3843 wxColour *arg2 = 0 ;
3844 wxColour result;
3845 wxColour temp2 ;
3846 PyObject * obj0 = 0 ;
3847 PyObject * obj1 = 0 ;
3848 char *kwnames[] = {
3849 (char *) "self",(char *) "clr", NULL
3850 };
3851
3852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail;
3853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingStyle,
3854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3855 {
3856 arg2 = &temp2;
3857 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3858 }
3859 {
3860 PyThreadState* __tstate = wxPyBeginAllowThreads();
3861 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
3862
3863 wxPyEndAllowThreads(__tstate);
3864 if (PyErr_Occurred()) SWIG_fail;
3865 }
3866 {
3867 wxColour * resultptr;
3868 resultptr = new wxColour((wxColour &) result);
3869 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
3870 }
3871 return resultobj;
3872 fail:
3873 return NULL;
3874 }
3875
3876
3877 static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
3878 PyObject *resultobj;
3879 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
3880 wxColour *arg2 = 0 ;
3881 wxColour result;
3882 wxColour temp2 ;
3883 PyObject * obj0 = 0 ;
3884 PyObject * obj1 = 0 ;
3885 char *kwnames[] = {
3886 (char *) "self",(char *) "clr", NULL
3887 };
3888
3889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail;
3890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingStyle,
3891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3892 {
3893 arg2 = &temp2;
3894 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3895 }
3896 {
3897 PyThreadState* __tstate = wxPyBeginAllowThreads();
3898 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
3899
3900 wxPyEndAllowThreads(__tstate);
3901 if (PyErr_Occurred()) SWIG_fail;
3902 }
3903 {
3904 wxColour * resultptr;
3905 resultptr = new wxColour((wxColour &) result);
3906 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
3907 }
3908 return resultobj;
3909 fail:
3910 return NULL;
3911 }
3912
3913
3914 static PyObject * HtmlRenderingStyle_swigregister(PyObject *, PyObject *args) {
3915 PyObject *obj;
3916 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3917 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingStyle, obj);
3918 Py_INCREF(obj);
3919 return Py_BuildValue((char *)"");
3920 }
3921 static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
3922 PyObject *resultobj;
3923 wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ;
3924 wxColour *arg2 = 0 ;
3925 wxColour result;
3926 wxColour temp2 ;
3927 PyObject * obj0 = 0 ;
3928 PyObject * obj1 = 0 ;
3929 char *kwnames[] = {
3930 (char *) "self",(char *) "clr", NULL
3931 };
3932
3933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail;
3934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDefaultHtmlRenderingStyle,
3935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3936 {
3937 arg2 = &temp2;
3938 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3939 }
3940 {
3941 PyThreadState* __tstate = wxPyBeginAllowThreads();
3942 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
3943
3944 wxPyEndAllowThreads(__tstate);
3945 if (PyErr_Occurred()) SWIG_fail;
3946 }
3947 {
3948 wxColour * resultptr;
3949 resultptr = new wxColour((wxColour &) result);
3950 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
3951 }
3952 return resultobj;
3953 fail:
3954 return NULL;
3955 }
3956
3957
3958 static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
3959 PyObject *resultobj;
3960 wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ;
3961 wxColour *arg2 = 0 ;
3962 wxColour result;
3963 wxColour temp2 ;
3964 PyObject * obj0 = 0 ;
3965 PyObject * obj1 = 0 ;
3966 char *kwnames[] = {
3967 (char *) "self",(char *) "clr", NULL
3968 };
3969
3970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail;
3971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDefaultHtmlRenderingStyle,
3972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3973 {
3974 arg2 = &temp2;
3975 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3976 }
3977 {
3978 PyThreadState* __tstate = wxPyBeginAllowThreads();
3979 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
3980
3981 wxPyEndAllowThreads(__tstate);
3982 if (PyErr_Occurred()) SWIG_fail;
3983 }
3984 {
3985 wxColour * resultptr;
3986 resultptr = new wxColour((wxColour &) result);
3987 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
3988 }
3989 return resultobj;
3990 fail:
3991 return NULL;
3992 }
3993
3994
3995 static PyObject * DefaultHtmlRenderingStyle_swigregister(PyObject *, PyObject *args) {
3996 PyObject *obj;
3997 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3998 SWIG_TypeClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle, obj);
3999 Py_INCREF(obj);
4000 return Py_BuildValue((char *)"");
4001 }
4002 static PyObject *_wrap_new_HtmlRenderingInfo(PyObject *, PyObject *args, PyObject *kwargs) {
4003 PyObject *resultobj;
4004 wxHtmlRenderingInfo *result;
4005 char *kwnames[] = {
4006 NULL
4007 };
4008
4009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingInfo",kwnames)) goto fail;
4010 {
4011 PyThreadState* __tstate = wxPyBeginAllowThreads();
4012 result = (wxHtmlRenderingInfo *)new wxHtmlRenderingInfo();
4013
4014 wxPyEndAllowThreads(__tstate);
4015 if (PyErr_Occurred()) SWIG_fail;
4016 }
4017 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingInfo, 1);
4018 return resultobj;
4019 fail:
4020 return NULL;
4021 }
4022
4023
4024 static PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *, PyObject *args, PyObject *kwargs) {
4025 PyObject *resultobj;
4026 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
4027 PyObject * obj0 = 0 ;
4028 char *kwnames[] = {
4029 (char *) "self", NULL
4030 };
4031
4032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingInfo",kwnames,&obj0)) goto fail;
4033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo,
4034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4035 {
4036 PyThreadState* __tstate = wxPyBeginAllowThreads();
4037 delete arg1;
4038
4039 wxPyEndAllowThreads(__tstate);
4040 if (PyErr_Occurred()) SWIG_fail;
4041 }
4042 Py_INCREF(Py_None); resultobj = Py_None;
4043 return resultobj;
4044 fail:
4045 return NULL;
4046 }
4047
4048
4049 static PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
4050 PyObject *resultobj;
4051 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
4052 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
4053 PyObject * obj0 = 0 ;
4054 PyObject * obj1 = 0 ;
4055 char *kwnames[] = {
4056 (char *) "self",(char *) "s", NULL
4057 };
4058
4059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames,&obj0,&obj1)) goto fail;
4060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo,
4061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4062 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlSelection,
4063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4064 {
4065 PyThreadState* __tstate = wxPyBeginAllowThreads();
4066 (arg1)->SetSelection(arg2);
4067
4068 wxPyEndAllowThreads(__tstate);
4069 if (PyErr_Occurred()) SWIG_fail;
4070 }
4071 Py_INCREF(Py_None); resultobj = Py_None;
4072 return resultobj;
4073 fail:
4074 return NULL;
4075 }
4076
4077
4078 static PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
4079 PyObject *resultobj;
4080 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
4081 wxHtmlSelection *result;
4082 PyObject * obj0 = 0 ;
4083 char *kwnames[] = {
4084 (char *) "self", NULL
4085 };
4086
4087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetSelection",kwnames,&obj0)) goto fail;
4088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo,
4089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4090 {
4091 PyThreadState* __tstate = wxPyBeginAllowThreads();
4092 result = (wxHtmlSelection *)((wxHtmlRenderingInfo const *)arg1)->GetSelection();
4093
4094 wxPyEndAllowThreads(__tstate);
4095 if (PyErr_Occurred()) SWIG_fail;
4096 }
4097 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 0);
4098 return resultobj;
4099 fail:
4100 return NULL;
4101 }
4102
4103
4104 static PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
4105 PyObject *resultobj;
4106 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
4107 wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ;
4108 PyObject * obj0 = 0 ;
4109 PyObject * obj1 = 0 ;
4110 char *kwnames[] = {
4111 (char *) "self",(char *) "style", NULL
4112 };
4113
4114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames,&obj0,&obj1)) goto fail;
4115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo,
4116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4117 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlRenderingStyle,
4118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4119 {
4120 PyThreadState* __tstate = wxPyBeginAllowThreads();
4121 (arg1)->SetStyle(arg2);
4122
4123 wxPyEndAllowThreads(__tstate);
4124 if (PyErr_Occurred()) SWIG_fail;
4125 }
4126 Py_INCREF(Py_None); resultobj = Py_None;
4127 return resultobj;
4128 fail:
4129 return NULL;
4130 }
4131
4132
4133 static PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
4134 PyObject *resultobj;
4135 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
4136 wxHtmlRenderingStyle *result;
4137 PyObject * obj0 = 0 ;
4138 char *kwnames[] = {
4139 (char *) "self", NULL
4140 };
4141
4142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetStyle",kwnames,&obj0)) goto fail;
4143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo,
4144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4145 {
4146 PyThreadState* __tstate = wxPyBeginAllowThreads();
4147 {
4148 wxHtmlRenderingStyle &_result_ref = (arg1)->GetStyle();
4149 result = (wxHtmlRenderingStyle *) &_result_ref;
4150 }
4151
4152 wxPyEndAllowThreads(__tstate);
4153 if (PyErr_Occurred()) SWIG_fail;
4154 }
4155 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingStyle, 0);
4156 return resultobj;
4157 fail:
4158 return NULL;
4159 }
4160
4161
4162 static PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
4163 PyObject *resultobj;
4164 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
4165 wxHtmlRenderingState *result;
4166 PyObject * obj0 = 0 ;
4167 char *kwnames[] = {
4168 (char *) "self", NULL
4169 };
4170
4171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetState",kwnames,&obj0)) goto fail;
4172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo,
4173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4174 {
4175 PyThreadState* __tstate = wxPyBeginAllowThreads();
4176 {
4177 wxHtmlRenderingState &_result_ref = (arg1)->GetState();
4178 result = (wxHtmlRenderingState *) &_result_ref;
4179 }
4180
4181 wxPyEndAllowThreads(__tstate);
4182 if (PyErr_Occurred()) SWIG_fail;
4183 }
4184 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 0);
4185 return resultobj;
4186 fail:
4187 return NULL;
4188 }
4189
4190
4191 static PyObject * HtmlRenderingInfo_swigregister(PyObject *, PyObject *args) {
4192 PyObject *obj;
4193 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4194 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingInfo, obj);
4195 Py_INCREF(obj);
4196 return Py_BuildValue((char *)"");
4197 }
4198 static PyObject *_wrap_new_HtmlCell(PyObject *, PyObject *args, PyObject *kwargs) {
4199 PyObject *resultobj;
4200 wxHtmlCell *result;
4201 char *kwnames[] = {
4202 NULL
4203 };
4204
4205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlCell",kwnames)) goto fail;
4206 {
4207 PyThreadState* __tstate = wxPyBeginAllowThreads();
4208 result = (wxHtmlCell *)new wxHtmlCell();
4209
4210 wxPyEndAllowThreads(__tstate);
4211 if (PyErr_Occurred()) SWIG_fail;
4212 }
4213 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 1);
4214 return resultobj;
4215 fail:
4216 return NULL;
4217 }
4218
4219
4220 static PyObject *_wrap_HtmlCell_GetPosX(PyObject *, PyObject *args, PyObject *kwargs) {
4221 PyObject *resultobj;
4222 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4223 int result;
4224 PyObject * obj0 = 0 ;
4225 char *kwnames[] = {
4226 (char *) "self", NULL
4227 };
4228
4229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosX",kwnames,&obj0)) goto fail;
4230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4232 {
4233 PyThreadState* __tstate = wxPyBeginAllowThreads();
4234 result = (int)(arg1)->GetPosX();
4235
4236 wxPyEndAllowThreads(__tstate);
4237 if (PyErr_Occurred()) SWIG_fail;
4238 }
4239 resultobj = SWIG_From_int((int)result);
4240 return resultobj;
4241 fail:
4242 return NULL;
4243 }
4244
4245
4246 static PyObject *_wrap_HtmlCell_GetPosY(PyObject *, PyObject *args, PyObject *kwargs) {
4247 PyObject *resultobj;
4248 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4249 int result;
4250 PyObject * obj0 = 0 ;
4251 char *kwnames[] = {
4252 (char *) "self", NULL
4253 };
4254
4255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosY",kwnames,&obj0)) goto fail;
4256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4258 {
4259 PyThreadState* __tstate = wxPyBeginAllowThreads();
4260 result = (int)(arg1)->GetPosY();
4261
4262 wxPyEndAllowThreads(__tstate);
4263 if (PyErr_Occurred()) SWIG_fail;
4264 }
4265 resultobj = SWIG_From_int((int)result);
4266 return resultobj;
4267 fail:
4268 return NULL;
4269 }
4270
4271
4272 static PyObject *_wrap_HtmlCell_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
4273 PyObject *resultobj;
4274 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4275 int result;
4276 PyObject * obj0 = 0 ;
4277 char *kwnames[] = {
4278 (char *) "self", NULL
4279 };
4280
4281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetWidth",kwnames,&obj0)) goto fail;
4282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4284 {
4285 PyThreadState* __tstate = wxPyBeginAllowThreads();
4286 result = (int)(arg1)->GetWidth();
4287
4288 wxPyEndAllowThreads(__tstate);
4289 if (PyErr_Occurred()) SWIG_fail;
4290 }
4291 resultobj = SWIG_From_int((int)result);
4292 return resultobj;
4293 fail:
4294 return NULL;
4295 }
4296
4297
4298 static PyObject *_wrap_HtmlCell_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
4299 PyObject *resultobj;
4300 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4301 int result;
4302 PyObject * obj0 = 0 ;
4303 char *kwnames[] = {
4304 (char *) "self", NULL
4305 };
4306
4307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetHeight",kwnames,&obj0)) goto fail;
4308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4310 {
4311 PyThreadState* __tstate = wxPyBeginAllowThreads();
4312 result = (int)(arg1)->GetHeight();
4313
4314 wxPyEndAllowThreads(__tstate);
4315 if (PyErr_Occurred()) SWIG_fail;
4316 }
4317 resultobj = SWIG_From_int((int)result);
4318 return resultobj;
4319 fail:
4320 return NULL;
4321 }
4322
4323
4324 static PyObject *_wrap_HtmlCell_GetDescent(PyObject *, PyObject *args, PyObject *kwargs) {
4325 PyObject *resultobj;
4326 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4327 int result;
4328 PyObject * obj0 = 0 ;
4329 char *kwnames[] = {
4330 (char *) "self", NULL
4331 };
4332
4333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDescent",kwnames,&obj0)) goto fail;
4334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4336 {
4337 PyThreadState* __tstate = wxPyBeginAllowThreads();
4338 result = (int)(arg1)->GetDescent();
4339
4340 wxPyEndAllowThreads(__tstate);
4341 if (PyErr_Occurred()) SWIG_fail;
4342 }
4343 resultobj = SWIG_From_int((int)result);
4344 return resultobj;
4345 fail:
4346 return NULL;
4347 }
4348
4349
4350 static PyObject *_wrap_HtmlCell_GetMaxTotalWidth(PyObject *, PyObject *args, PyObject *kwargs) {
4351 PyObject *resultobj;
4352 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4353 int result;
4354 PyObject * obj0 = 0 ;
4355 char *kwnames[] = {
4356 (char *) "self", NULL
4357 };
4358
4359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetMaxTotalWidth",kwnames,&obj0)) goto fail;
4360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4362 {
4363 PyThreadState* __tstate = wxPyBeginAllowThreads();
4364 result = (int)((wxHtmlCell const *)arg1)->GetMaxTotalWidth();
4365
4366 wxPyEndAllowThreads(__tstate);
4367 if (PyErr_Occurred()) SWIG_fail;
4368 }
4369 resultobj = SWIG_From_int((int)result);
4370 return resultobj;
4371 fail:
4372 return NULL;
4373 }
4374
4375
4376 static PyObject *_wrap_HtmlCell_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
4377 PyObject *resultobj;
4378 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4379 wxString *result;
4380 PyObject * obj0 = 0 ;
4381 char *kwnames[] = {
4382 (char *) "self", NULL
4383 };
4384
4385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetId",kwnames,&obj0)) goto fail;
4386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4388 {
4389 PyThreadState* __tstate = wxPyBeginAllowThreads();
4390 {
4391 wxString const &_result_ref = ((wxHtmlCell const *)arg1)->GetId();
4392 result = (wxString *) &_result_ref;
4393 }
4394
4395 wxPyEndAllowThreads(__tstate);
4396 if (PyErr_Occurred()) SWIG_fail;
4397 }
4398 {
4399 #if wxUSE_UNICODE
4400 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
4401 #else
4402 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
4403 #endif
4404 }
4405 return resultobj;
4406 fail:
4407 return NULL;
4408 }
4409
4410
4411 static PyObject *_wrap_HtmlCell_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
4412 PyObject *resultobj;
4413 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4414 wxString *arg2 = 0 ;
4415 bool temp2 = false ;
4416 PyObject * obj0 = 0 ;
4417 PyObject * obj1 = 0 ;
4418 char *kwnames[] = {
4419 (char *) "self",(char *) "id", NULL
4420 };
4421
4422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetId",kwnames,&obj0,&obj1)) goto fail;
4423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4425 {
4426 arg2 = wxString_in_helper(obj1);
4427 if (arg2 == NULL) SWIG_fail;
4428 temp2 = true;
4429 }
4430 {
4431 PyThreadState* __tstate = wxPyBeginAllowThreads();
4432 (arg1)->SetId((wxString const &)*arg2);
4433
4434 wxPyEndAllowThreads(__tstate);
4435 if (PyErr_Occurred()) SWIG_fail;
4436 }
4437 Py_INCREF(Py_None); resultobj = Py_None;
4438 {
4439 if (temp2)
4440 delete arg2;
4441 }
4442 return resultobj;
4443 fail:
4444 {
4445 if (temp2)
4446 delete arg2;
4447 }
4448 return NULL;
4449 }
4450
4451
4452 static PyObject *_wrap_HtmlCell_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
4453 PyObject *resultobj;
4454 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4455 int arg2 = (int) 0 ;
4456 int arg3 = (int) 0 ;
4457 wxHtmlLinkInfo *result;
4458 PyObject * obj0 = 0 ;
4459 PyObject * obj1 = 0 ;
4460 PyObject * obj2 = 0 ;
4461 char *kwnames[] = {
4462 (char *) "self",(char *) "x",(char *) "y", NULL
4463 };
4464
4465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:HtmlCell_GetLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
4466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4468 if (obj1) {
4469 arg2 = (int)SWIG_As_int(obj1);
4470 if (PyErr_Occurred()) SWIG_fail;
4471 }
4472 if (obj2) {
4473 arg3 = (int)SWIG_As_int(obj2);
4474 if (PyErr_Occurred()) SWIG_fail;
4475 }
4476 {
4477 PyThreadState* __tstate = wxPyBeginAllowThreads();
4478 result = (wxHtmlLinkInfo *)(arg1)->GetLink(arg2,arg3);
4479
4480 wxPyEndAllowThreads(__tstate);
4481 if (PyErr_Occurred()) SWIG_fail;
4482 }
4483 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlLinkInfo, 0);
4484 return resultobj;
4485 fail:
4486 return NULL;
4487 }
4488
4489
4490 static PyObject *_wrap_HtmlCell_GetNext(PyObject *, PyObject *args, PyObject *kwargs) {
4491 PyObject *resultobj;
4492 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4493 wxHtmlCell *result;
4494 PyObject * obj0 = 0 ;
4495 char *kwnames[] = {
4496 (char *) "self", NULL
4497 };
4498
4499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetNext",kwnames,&obj0)) goto fail;
4500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4502 {
4503 PyThreadState* __tstate = wxPyBeginAllowThreads();
4504 result = (wxHtmlCell *)(arg1)->GetNext();
4505
4506 wxPyEndAllowThreads(__tstate);
4507 if (PyErr_Occurred()) SWIG_fail;
4508 }
4509 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
4510 return resultobj;
4511 fail:
4512 return NULL;
4513 }
4514
4515
4516 static PyObject *_wrap_HtmlCell_GetParent(PyObject *, PyObject *args, PyObject *kwargs) {
4517 PyObject *resultobj;
4518 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4519 wxHtmlContainerCell *result;
4520 PyObject * obj0 = 0 ;
4521 char *kwnames[] = {
4522 (char *) "self", NULL
4523 };
4524
4525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetParent",kwnames,&obj0)) goto fail;
4526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4528 {
4529 PyThreadState* __tstate = wxPyBeginAllowThreads();
4530 result = (wxHtmlContainerCell *)(arg1)->GetParent();
4531
4532 wxPyEndAllowThreads(__tstate);
4533 if (PyErr_Occurred()) SWIG_fail;
4534 }
4535 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
4536 return resultobj;
4537 fail:
4538 return NULL;
4539 }
4540
4541
4542 static PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
4543 PyObject *resultobj;
4544 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4545 wxHtmlCell *result;
4546 PyObject * obj0 = 0 ;
4547 char *kwnames[] = {
4548 (char *) "self", NULL
4549 };
4550
4551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstChild",kwnames,&obj0)) goto fail;
4552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4554 {
4555 PyThreadState* __tstate = wxPyBeginAllowThreads();
4556 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstChild();
4557
4558 wxPyEndAllowThreads(__tstate);
4559 if (PyErr_Occurred()) SWIG_fail;
4560 }
4561 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
4562 return resultobj;
4563 fail:
4564 return NULL;
4565 }
4566
4567
4568 static PyObject *_wrap_HtmlCell_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
4569 PyObject *resultobj;
4570 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4571 wxCursor result;
4572 PyObject * obj0 = 0 ;
4573 char *kwnames[] = {
4574 (char *) "self", NULL
4575 };
4576
4577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetCursor",kwnames,&obj0)) goto fail;
4578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4580 {
4581 PyThreadState* __tstate = wxPyBeginAllowThreads();
4582 result = ((wxHtmlCell const *)arg1)->GetCursor();
4583
4584 wxPyEndAllowThreads(__tstate);
4585 if (PyErr_Occurred()) SWIG_fail;
4586 }
4587 {
4588 wxCursor * resultptr;
4589 resultptr = new wxCursor((wxCursor &) result);
4590 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxCursor, 1);
4591 }
4592 return resultobj;
4593 fail:
4594 return NULL;
4595 }
4596
4597
4598 static PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *, PyObject *args, PyObject *kwargs) {
4599 PyObject *resultobj;
4600 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4601 bool result;
4602 PyObject * obj0 = 0 ;
4603 char *kwnames[] = {
4604 (char *) "self", NULL
4605 };
4606
4607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsFormattingCell",kwnames,&obj0)) goto fail;
4608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4610 {
4611 PyThreadState* __tstate = wxPyBeginAllowThreads();
4612 result = (bool)((wxHtmlCell const *)arg1)->IsFormattingCell();
4613
4614 wxPyEndAllowThreads(__tstate);
4615 if (PyErr_Occurred()) SWIG_fail;
4616 }
4617 {
4618 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4619 }
4620 return resultobj;
4621 fail:
4622 return NULL;
4623 }
4624
4625
4626 static PyObject *_wrap_HtmlCell_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
4627 PyObject *resultobj;
4628 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4629 wxHtmlLinkInfo *arg2 = 0 ;
4630 PyObject * obj0 = 0 ;
4631 PyObject * obj1 = 0 ;
4632 char *kwnames[] = {
4633 (char *) "self",(char *) "link", NULL
4634 };
4635
4636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetLink",kwnames,&obj0,&obj1)) goto fail;
4637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4639 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlLinkInfo,
4640 SWIG_POINTER_EXCEPTION | 0)) == -1)
4641 SWIG_fail;
4642 if (arg2 == NULL) {
4643 PyErr_SetString(PyExc_TypeError,"null reference");
4644 SWIG_fail;
4645 }
4646 {
4647 PyThreadState* __tstate = wxPyBeginAllowThreads();
4648 (arg1)->SetLink((wxHtmlLinkInfo const &)*arg2);
4649
4650 wxPyEndAllowThreads(__tstate);
4651 if (PyErr_Occurred()) SWIG_fail;
4652 }
4653 Py_INCREF(Py_None); resultobj = Py_None;
4654 return resultobj;
4655 fail:
4656 return NULL;
4657 }
4658
4659
4660 static PyObject *_wrap_HtmlCell_SetNext(PyObject *, PyObject *args, PyObject *kwargs) {
4661 PyObject *resultobj;
4662 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4663 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
4664 PyObject * obj0 = 0 ;
4665 PyObject * obj1 = 0 ;
4666 char *kwnames[] = {
4667 (char *) "self",(char *) "cell", NULL
4668 };
4669
4670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetNext",kwnames,&obj0,&obj1)) goto fail;
4671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4673 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
4674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4675 {
4676 PyThreadState* __tstate = wxPyBeginAllowThreads();
4677 (arg1)->SetNext(arg2);
4678
4679 wxPyEndAllowThreads(__tstate);
4680 if (PyErr_Occurred()) SWIG_fail;
4681 }
4682 Py_INCREF(Py_None); resultobj = Py_None;
4683 return resultobj;
4684 fail:
4685 return NULL;
4686 }
4687
4688
4689 static PyObject *_wrap_HtmlCell_SetParent(PyObject *, PyObject *args, PyObject *kwargs) {
4690 PyObject *resultobj;
4691 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4692 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
4693 PyObject * obj0 = 0 ;
4694 PyObject * obj1 = 0 ;
4695 char *kwnames[] = {
4696 (char *) "self",(char *) "p", NULL
4697 };
4698
4699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetParent",kwnames,&obj0,&obj1)) goto fail;
4700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4702 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlContainerCell,
4703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4704 {
4705 PyThreadState* __tstate = wxPyBeginAllowThreads();
4706 (arg1)->SetParent(arg2);
4707
4708 wxPyEndAllowThreads(__tstate);
4709 if (PyErr_Occurred()) SWIG_fail;
4710 }
4711 Py_INCREF(Py_None); resultobj = Py_None;
4712 return resultobj;
4713 fail:
4714 return NULL;
4715 }
4716
4717
4718 static PyObject *_wrap_HtmlCell_SetPos(PyObject *, PyObject *args, PyObject *kwargs) {
4719 PyObject *resultobj;
4720 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4721 int arg2 ;
4722 int arg3 ;
4723 PyObject * obj0 = 0 ;
4724 PyObject * obj1 = 0 ;
4725 PyObject * obj2 = 0 ;
4726 char *kwnames[] = {
4727 (char *) "self",(char *) "x",(char *) "y", NULL
4728 };
4729
4730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_SetPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
4731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4733 arg2 = (int)SWIG_As_int(obj1);
4734 if (PyErr_Occurred()) SWIG_fail;
4735 arg3 = (int)SWIG_As_int(obj2);
4736 if (PyErr_Occurred()) SWIG_fail;
4737 {
4738 PyThreadState* __tstate = wxPyBeginAllowThreads();
4739 (arg1)->SetPos(arg2,arg3);
4740
4741 wxPyEndAllowThreads(__tstate);
4742 if (PyErr_Occurred()) SWIG_fail;
4743 }
4744 Py_INCREF(Py_None); resultobj = Py_None;
4745 return resultobj;
4746 fail:
4747 return NULL;
4748 }
4749
4750
4751 static PyObject *_wrap_HtmlCell_Layout(PyObject *, PyObject *args, PyObject *kwargs) {
4752 PyObject *resultobj;
4753 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4754 int arg2 ;
4755 PyObject * obj0 = 0 ;
4756 PyObject * obj1 = 0 ;
4757 char *kwnames[] = {
4758 (char *) "self",(char *) "w", NULL
4759 };
4760
4761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_Layout",kwnames,&obj0,&obj1)) goto fail;
4762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4764 arg2 = (int)SWIG_As_int(obj1);
4765 if (PyErr_Occurred()) SWIG_fail;
4766 {
4767 PyThreadState* __tstate = wxPyBeginAllowThreads();
4768 (arg1)->Layout(arg2);
4769
4770 wxPyEndAllowThreads(__tstate);
4771 if (PyErr_Occurred()) SWIG_fail;
4772 }
4773 Py_INCREF(Py_None); resultobj = Py_None;
4774 return resultobj;
4775 fail:
4776 return NULL;
4777 }
4778
4779
4780 static PyObject *_wrap_HtmlCell_Draw(PyObject *, PyObject *args, PyObject *kwargs) {
4781 PyObject *resultobj;
4782 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4783 wxDC *arg2 = 0 ;
4784 int arg3 ;
4785 int arg4 ;
4786 int arg5 ;
4787 int arg6 ;
4788 wxHtmlRenderingInfo *arg7 = 0 ;
4789 PyObject * obj0 = 0 ;
4790 PyObject * obj1 = 0 ;
4791 PyObject * obj2 = 0 ;
4792 PyObject * obj3 = 0 ;
4793 PyObject * obj4 = 0 ;
4794 PyObject * obj5 = 0 ;
4795 PyObject * obj6 = 0 ;
4796 char *kwnames[] = {
4797 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
4798 };
4799
4800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:HtmlCell_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4803 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
4804 SWIG_POINTER_EXCEPTION | 0)) == -1)
4805 SWIG_fail;
4806 if (arg2 == NULL) {
4807 PyErr_SetString(PyExc_TypeError,"null reference");
4808 SWIG_fail;
4809 }
4810 arg3 = (int)SWIG_As_int(obj2);
4811 if (PyErr_Occurred()) SWIG_fail;
4812 arg4 = (int)SWIG_As_int(obj3);
4813 if (PyErr_Occurred()) SWIG_fail;
4814 arg5 = (int)SWIG_As_int(obj4);
4815 if (PyErr_Occurred()) SWIG_fail;
4816 arg6 = (int)SWIG_As_int(obj5);
4817 if (PyErr_Occurred()) SWIG_fail;
4818 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxHtmlRenderingInfo,
4819 SWIG_POINTER_EXCEPTION | 0)) == -1)
4820 SWIG_fail;
4821 if (arg7 == NULL) {
4822 PyErr_SetString(PyExc_TypeError,"null reference");
4823 SWIG_fail;
4824 }
4825 {
4826 PyThreadState* __tstate = wxPyBeginAllowThreads();
4827 (arg1)->Draw(*arg2,arg3,arg4,arg5,arg6,*arg7);
4828
4829 wxPyEndAllowThreads(__tstate);
4830 if (PyErr_Occurred()) SWIG_fail;
4831 }
4832 Py_INCREF(Py_None); resultobj = Py_None;
4833 return resultobj;
4834 fail:
4835 return NULL;
4836 }
4837
4838
4839 static PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *, PyObject *args, PyObject *kwargs) {
4840 PyObject *resultobj;
4841 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4842 wxDC *arg2 = 0 ;
4843 int arg3 ;
4844 int arg4 ;
4845 wxHtmlRenderingInfo *arg5 = 0 ;
4846 PyObject * obj0 = 0 ;
4847 PyObject * obj1 = 0 ;
4848 PyObject * obj2 = 0 ;
4849 PyObject * obj3 = 0 ;
4850 PyObject * obj4 = 0 ;
4851 char *kwnames[] = {
4852 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
4853 };
4854
4855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4858 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
4859 SWIG_POINTER_EXCEPTION | 0)) == -1)
4860 SWIG_fail;
4861 if (arg2 == NULL) {
4862 PyErr_SetString(PyExc_TypeError,"null reference");
4863 SWIG_fail;
4864 }
4865 arg3 = (int)SWIG_As_int(obj2);
4866 if (PyErr_Occurred()) SWIG_fail;
4867 arg4 = (int)SWIG_As_int(obj3);
4868 if (PyErr_Occurred()) SWIG_fail;
4869 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxHtmlRenderingInfo,
4870 SWIG_POINTER_EXCEPTION | 0)) == -1)
4871 SWIG_fail;
4872 if (arg5 == NULL) {
4873 PyErr_SetString(PyExc_TypeError,"null reference");
4874 SWIG_fail;
4875 }
4876 {
4877 PyThreadState* __tstate = wxPyBeginAllowThreads();
4878 (arg1)->DrawInvisible(*arg2,arg3,arg4,*arg5);
4879
4880 wxPyEndAllowThreads(__tstate);
4881 if (PyErr_Occurred()) SWIG_fail;
4882 }
4883 Py_INCREF(Py_None); resultobj = Py_None;
4884 return resultobj;
4885 fail:
4886 return NULL;
4887 }
4888
4889
4890 static PyObject *_wrap_HtmlCell_Find(PyObject *, PyObject *args, PyObject *kwargs) {
4891 PyObject *resultobj;
4892 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4893 int arg2 ;
4894 void *arg3 = (void *) 0 ;
4895 wxHtmlCell *result;
4896 PyObject * obj0 = 0 ;
4897 PyObject * obj1 = 0 ;
4898 PyObject * obj2 = 0 ;
4899 char *kwnames[] = {
4900 (char *) "self",(char *) "condition",(char *) "param", NULL
4901 };
4902
4903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_Find",kwnames,&obj0,&obj1,&obj2)) goto fail;
4904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4906 arg2 = (int)SWIG_As_int(obj1);
4907 if (PyErr_Occurred()) SWIG_fail;
4908 if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4909 {
4910 PyThreadState* __tstate = wxPyBeginAllowThreads();
4911 result = (wxHtmlCell *)(arg1)->Find(arg2,(void const *)arg3);
4912
4913 wxPyEndAllowThreads(__tstate);
4914 if (PyErr_Occurred()) SWIG_fail;
4915 }
4916 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
4917 return resultobj;
4918 fail:
4919 return NULL;
4920 }
4921
4922
4923 static PyObject *_wrap_HtmlCell_AdjustPagebreak(PyObject *, PyObject *args, PyObject *kwargs) {
4924 PyObject *resultobj;
4925 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4926 int *arg2 = (int *) 0 ;
4927 bool result;
4928 int temp2 ;
4929 int res2 = 0 ;
4930 PyObject * obj0 = 0 ;
4931 PyObject * obj1 = 0 ;
4932 char *kwnames[] = {
4933 (char *) "self",(char *) "INOUT", NULL
4934 };
4935
4936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_AdjustPagebreak",kwnames,&obj0,&obj1)) goto fail;
4937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4939 {
4940 if (!(SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_int,0) != -1)) {
4941 temp2 = SWIG_As_int(obj1);
4942 if (PyErr_Occurred()) SWIG_fail;
4943 arg2 = &temp2;
4944 res2 = SWIG_NEWOBJ;
4945 }
4946 }
4947 {
4948 PyThreadState* __tstate = wxPyBeginAllowThreads();
4949 result = (bool)(arg1)->AdjustPagebreak(arg2);
4950
4951 wxPyEndAllowThreads(__tstate);
4952 if (PyErr_Occurred()) SWIG_fail;
4953 }
4954 {
4955 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4956 }
4957 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
4958 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
4959 return resultobj;
4960 fail:
4961 return NULL;
4962 }
4963
4964
4965 static PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *, PyObject *args, PyObject *kwargs) {
4966 PyObject *resultobj;
4967 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4968 bool arg2 ;
4969 PyObject * obj0 = 0 ;
4970 PyObject * obj1 = 0 ;
4971 char *kwnames[] = {
4972 (char *) "self",(char *) "can", NULL
4973 };
4974
4975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames,&obj0,&obj1)) goto fail;
4976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4978 arg2 = (bool)SWIG_As_bool(obj1);
4979 if (PyErr_Occurred()) SWIG_fail;
4980 {
4981 PyThreadState* __tstate = wxPyBeginAllowThreads();
4982 (arg1)->SetCanLiveOnPagebreak(arg2);
4983
4984 wxPyEndAllowThreads(__tstate);
4985 if (PyErr_Occurred()) SWIG_fail;
4986 }
4987 Py_INCREF(Py_None); resultobj = Py_None;
4988 return resultobj;
4989 fail:
4990 return NULL;
4991 }
4992
4993
4994 static PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *, PyObject *args, PyObject *kwargs) {
4995 PyObject *resultobj;
4996 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4997 bool result;
4998 PyObject * obj0 = 0 ;
4999 char *kwnames[] = {
5000 (char *) "self", NULL
5001 };
5002
5003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsLinebreakAllowed",kwnames,&obj0)) goto fail;
5004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
5005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5006 {
5007 PyThreadState* __tstate = wxPyBeginAllowThreads();
5008 result = (bool)((wxHtmlCell const *)arg1)->IsLinebreakAllowed();
5009
5010 wxPyEndAllowThreads(__tstate);
5011 if (PyErr_Occurred()) SWIG_fail;
5012 }
5013 {
5014 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5015 }
5016 return resultobj;
5017 fail:
5018 return NULL;
5019 }
5020
5021
5022 static PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *, PyObject *args, PyObject *kwargs) {
5023 PyObject *resultobj;
5024 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5025 bool result;
5026 PyObject * obj0 = 0 ;
5027 char *kwnames[] = {
5028 (char *) "self", NULL
5029 };
5030
5031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsTerminalCell",kwnames,&obj0)) goto fail;
5032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
5033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5034 {
5035 PyThreadState* __tstate = wxPyBeginAllowThreads();
5036 result = (bool)((wxHtmlCell const *)arg1)->IsTerminalCell();
5037
5038 wxPyEndAllowThreads(__tstate);
5039 if (PyErr_Occurred()) SWIG_fail;
5040 }
5041 {
5042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5043 }
5044 return resultobj;
5045 fail:
5046 return NULL;
5047 }
5048
5049
5050 static PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *, PyObject *args, PyObject *kwargs) {
5051 PyObject *resultobj;
5052 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5053 int arg2 ;
5054 int arg3 ;
5055 unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ;
5056 wxHtmlCell *result;
5057 PyObject * obj0 = 0 ;
5058 PyObject * obj1 = 0 ;
5059 PyObject * obj2 = 0 ;
5060 PyObject * obj3 = 0 ;
5061 char *kwnames[] = {
5062 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
5063 };
5064
5065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
5067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5068 arg2 = (int)SWIG_As_int(obj1);
5069 if (PyErr_Occurred()) SWIG_fail;
5070 arg3 = (int)SWIG_As_int(obj2);
5071 if (PyErr_Occurred()) SWIG_fail;
5072 if (obj3) {
5073 arg4 = (unsigned int)SWIG_As_unsigned_SS_int(obj3);
5074 if (PyErr_Occurred()) SWIG_fail;
5075 }
5076 {
5077 PyThreadState* __tstate = wxPyBeginAllowThreads();
5078 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->FindCellByPos(arg2,arg3,arg4);
5079
5080 wxPyEndAllowThreads(__tstate);
5081 if (PyErr_Occurred()) SWIG_fail;
5082 }
5083 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
5084 return resultobj;
5085 fail:
5086 return NULL;
5087 }
5088
5089
5090 static PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *, PyObject *args, PyObject *kwargs) {
5091 PyObject *resultobj;
5092 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5093 wxPoint result;
5094 PyObject * obj0 = 0 ;
5095 char *kwnames[] = {
5096 (char *) "self", NULL
5097 };
5098
5099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetAbsPos",kwnames,&obj0)) goto fail;
5100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
5101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5102 {
5103 PyThreadState* __tstate = wxPyBeginAllowThreads();
5104 result = ((wxHtmlCell const *)arg1)->GetAbsPos();
5105
5106 wxPyEndAllowThreads(__tstate);
5107 if (PyErr_Occurred()) SWIG_fail;
5108 }
5109 {
5110 wxPoint * resultptr;
5111 resultptr = new wxPoint((wxPoint &) result);
5112 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
5113 }
5114 return resultobj;
5115 fail:
5116 return NULL;
5117 }
5118
5119
5120 static PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *, PyObject *args, PyObject *kwargs) {
5121 PyObject *resultobj;
5122 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5123 wxHtmlCell *result;
5124 PyObject * obj0 = 0 ;
5125 char *kwnames[] = {
5126 (char *) "self", NULL
5127 };
5128
5129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstTerminal",kwnames,&obj0)) goto fail;
5130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
5131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5132 {
5133 PyThreadState* __tstate = wxPyBeginAllowThreads();
5134 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstTerminal();
5135
5136 wxPyEndAllowThreads(__tstate);
5137 if (PyErr_Occurred()) SWIG_fail;
5138 }
5139 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
5140 return resultobj;
5141 fail:
5142 return NULL;
5143 }
5144
5145
5146 static PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *, PyObject *args, PyObject *kwargs) {
5147 PyObject *resultobj;
5148 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5149 wxHtmlCell *result;
5150 PyObject * obj0 = 0 ;
5151 char *kwnames[] = {
5152 (char *) "self", NULL
5153 };
5154
5155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetLastTerminal",kwnames,&obj0)) goto fail;
5156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
5157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5158 {
5159 PyThreadState* __tstate = wxPyBeginAllowThreads();
5160 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetLastTerminal();
5161
5162 wxPyEndAllowThreads(__tstate);
5163 if (PyErr_Occurred()) SWIG_fail;
5164 }
5165 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
5166 return resultobj;
5167 fail:
5168 return NULL;
5169 }
5170
5171
5172 static PyObject *_wrap_HtmlCell_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
5173 PyObject *resultobj;
5174 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5175 unsigned int result;
5176 PyObject * obj0 = 0 ;
5177 char *kwnames[] = {
5178 (char *) "self", NULL
5179 };
5180
5181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDepth",kwnames,&obj0)) goto fail;
5182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
5183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5184 {
5185 PyThreadState* __tstate = wxPyBeginAllowThreads();
5186 result = (unsigned int)((wxHtmlCell const *)arg1)->GetDepth();
5187
5188 wxPyEndAllowThreads(__tstate);
5189 if (PyErr_Occurred()) SWIG_fail;
5190 }
5191 resultobj = SWIG_From_unsigned_SS_int((unsigned int)result);
5192 return resultobj;
5193 fail:
5194 return NULL;
5195 }
5196
5197
5198 static PyObject *_wrap_HtmlCell_IsBefore(PyObject *, PyObject *args, PyObject *kwargs) {
5199 PyObject *resultobj;
5200 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5201 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
5202 bool result;
5203 PyObject * obj0 = 0 ;
5204 PyObject * obj1 = 0 ;
5205 char *kwnames[] = {
5206 (char *) "self",(char *) "cell", NULL
5207 };
5208
5209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_IsBefore",kwnames,&obj0,&obj1)) goto fail;
5210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
5211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5212 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
5213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5214 {
5215 PyThreadState* __tstate = wxPyBeginAllowThreads();
5216 result = (bool)((wxHtmlCell const *)arg1)->IsBefore(arg2);
5217
5218 wxPyEndAllowThreads(__tstate);
5219 if (PyErr_Occurred()) SWIG_fail;
5220 }
5221 {
5222 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5223 }
5224 return resultobj;
5225 fail:
5226 return NULL;
5227 }
5228
5229
5230 static PyObject *_wrap_HtmlCell_ConvertToText(PyObject *, PyObject *args, PyObject *kwargs) {
5231 PyObject *resultobj;
5232 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5233 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
5234 wxString result;
5235 PyObject * obj0 = 0 ;
5236 PyObject * obj1 = 0 ;
5237 char *kwnames[] = {
5238 (char *) "self",(char *) "sel", NULL
5239 };
5240
5241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_ConvertToText",kwnames,&obj0,&obj1)) goto fail;
5242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
5243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5244 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlSelection,
5245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5246 {
5247 PyThreadState* __tstate = wxPyBeginAllowThreads();
5248 result = ((wxHtmlCell const *)arg1)->ConvertToText(arg2);
5249
5250 wxPyEndAllowThreads(__tstate);
5251 if (PyErr_Occurred()) SWIG_fail;
5252 }
5253 {
5254 #if wxUSE_UNICODE
5255 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5256 #else
5257 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5258 #endif
5259 }
5260 return resultobj;
5261 fail:
5262 return NULL;
5263 }
5264
5265
5266 static PyObject * HtmlCell_swigregister(PyObject *, PyObject *args) {
5267 PyObject *obj;
5268 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5269 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlCell, obj);
5270 Py_INCREF(obj);
5271 return Py_BuildValue((char *)"");
5272 }
5273 static PyObject *_wrap_new_HtmlWordCell(PyObject *, PyObject *args, PyObject *kwargs) {
5274 PyObject *resultobj;
5275 wxString *arg1 = 0 ;
5276 wxDC *arg2 = 0 ;
5277 wxHtmlWordCell *result;
5278 bool temp1 = false ;
5279 PyObject * obj0 = 0 ;
5280 PyObject * obj1 = 0 ;
5281 char *kwnames[] = {
5282 (char *) "word",(char *) "dc", NULL
5283 };
5284
5285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlWordCell",kwnames,&obj0,&obj1)) goto fail;
5286 {
5287 arg1 = wxString_in_helper(obj0);
5288 if (arg1 == NULL) SWIG_fail;
5289 temp1 = true;
5290 }
5291 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5292 SWIG_POINTER_EXCEPTION | 0)) == -1)
5293 SWIG_fail;
5294 if (arg2 == NULL) {
5295 PyErr_SetString(PyExc_TypeError,"null reference");
5296 SWIG_fail;
5297 }
5298 {
5299 PyThreadState* __tstate = wxPyBeginAllowThreads();
5300 result = (wxHtmlWordCell *)new wxHtmlWordCell((wxString const &)*arg1,*arg2);
5301
5302 wxPyEndAllowThreads(__tstate);
5303 if (PyErr_Occurred()) SWIG_fail;
5304 }
5305 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWordCell, 1);
5306 {
5307 if (temp1)
5308 delete arg1;
5309 }
5310 return resultobj;
5311 fail:
5312 {
5313 if (temp1)
5314 delete arg1;
5315 }
5316 return NULL;
5317 }
5318
5319
5320 static PyObject * HtmlWordCell_swigregister(PyObject *, PyObject *args) {
5321 PyObject *obj;
5322 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5323 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWordCell, obj);
5324 Py_INCREF(obj);
5325 return Py_BuildValue((char *)"");
5326 }
5327 static PyObject *_wrap_new_HtmlContainerCell(PyObject *, PyObject *args, PyObject *kwargs) {
5328 PyObject *resultobj;
5329 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5330 wxHtmlContainerCell *result;
5331 PyObject * obj0 = 0 ;
5332 char *kwnames[] = {
5333 (char *) "parent", NULL
5334 };
5335
5336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlContainerCell",kwnames,&obj0)) goto fail;
5337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5339 {
5340 PyThreadState* __tstate = wxPyBeginAllowThreads();
5341 result = (wxHtmlContainerCell *)new wxHtmlContainerCell(arg1);
5342
5343 wxPyEndAllowThreads(__tstate);
5344 if (PyErr_Occurred()) SWIG_fail;
5345 }
5346 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 1);
5347 return resultobj;
5348 fail:
5349 return NULL;
5350 }
5351
5352
5353 static PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *, PyObject *args, PyObject *kwargs) {
5354 PyObject *resultobj;
5355 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5356 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
5357 PyObject * obj0 = 0 ;
5358 PyObject * obj1 = 0 ;
5359 char *kwnames[] = {
5360 (char *) "self",(char *) "cell", NULL
5361 };
5362
5363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_InsertCell",kwnames,&obj0,&obj1)) goto fail;
5364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5366 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
5367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5368 {
5369 PyThreadState* __tstate = wxPyBeginAllowThreads();
5370 (arg1)->InsertCell(arg2);
5371
5372 wxPyEndAllowThreads(__tstate);
5373 if (PyErr_Occurred()) SWIG_fail;
5374 }
5375 Py_INCREF(Py_None); resultobj = Py_None;
5376 return resultobj;
5377 fail:
5378 return NULL;
5379 }
5380
5381
5382 static PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *, PyObject *args, PyObject *kwargs) {
5383 PyObject *resultobj;
5384 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5385 int arg2 ;
5386 PyObject * obj0 = 0 ;
5387 PyObject * obj1 = 0 ;
5388 char *kwnames[] = {
5389 (char *) "self",(char *) "al", NULL
5390 };
5391
5392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames,&obj0,&obj1)) goto fail;
5393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5395 arg2 = (int)SWIG_As_int(obj1);
5396 if (PyErr_Occurred()) SWIG_fail;
5397 {
5398 PyThreadState* __tstate = wxPyBeginAllowThreads();
5399 (arg1)->SetAlignHor(arg2);
5400
5401 wxPyEndAllowThreads(__tstate);
5402 if (PyErr_Occurred()) SWIG_fail;
5403 }
5404 Py_INCREF(Py_None); resultobj = Py_None;
5405 return resultobj;
5406 fail:
5407 return NULL;
5408 }
5409
5410
5411 static PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *, PyObject *args, PyObject *kwargs) {
5412 PyObject *resultobj;
5413 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5414 int result;
5415 PyObject * obj0 = 0 ;
5416 char *kwnames[] = {
5417 (char *) "self", NULL
5418 };
5419
5420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignHor",kwnames,&obj0)) goto fail;
5421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5423 {
5424 PyThreadState* __tstate = wxPyBeginAllowThreads();
5425 result = (int)(arg1)->GetAlignHor();
5426
5427 wxPyEndAllowThreads(__tstate);
5428 if (PyErr_Occurred()) SWIG_fail;
5429 }
5430 resultobj = SWIG_From_int((int)result);
5431 return resultobj;
5432 fail:
5433 return NULL;
5434 }
5435
5436
5437 static PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *, PyObject *args, PyObject *kwargs) {
5438 PyObject *resultobj;
5439 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5440 int arg2 ;
5441 PyObject * obj0 = 0 ;
5442 PyObject * obj1 = 0 ;
5443 char *kwnames[] = {
5444 (char *) "self",(char *) "al", NULL
5445 };
5446
5447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames,&obj0,&obj1)) goto fail;
5448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5450 arg2 = (int)SWIG_As_int(obj1);
5451 if (PyErr_Occurred()) SWIG_fail;
5452 {
5453 PyThreadState* __tstate = wxPyBeginAllowThreads();
5454 (arg1)->SetAlignVer(arg2);
5455
5456 wxPyEndAllowThreads(__tstate);
5457 if (PyErr_Occurred()) SWIG_fail;
5458 }
5459 Py_INCREF(Py_None); resultobj = Py_None;
5460 return resultobj;
5461 fail:
5462 return NULL;
5463 }
5464
5465
5466 static PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *, PyObject *args, PyObject *kwargs) {
5467 PyObject *resultobj;
5468 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5469 int result;
5470 PyObject * obj0 = 0 ;
5471 char *kwnames[] = {
5472 (char *) "self", NULL
5473 };
5474
5475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignVer",kwnames,&obj0)) goto fail;
5476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5478 {
5479 PyThreadState* __tstate = wxPyBeginAllowThreads();
5480 result = (int)(arg1)->GetAlignVer();
5481
5482 wxPyEndAllowThreads(__tstate);
5483 if (PyErr_Occurred()) SWIG_fail;
5484 }
5485 resultobj = SWIG_From_int((int)result);
5486 return resultobj;
5487 fail:
5488 return NULL;
5489 }
5490
5491
5492 static PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
5493 PyObject *resultobj;
5494 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5495 int arg2 ;
5496 int arg3 ;
5497 int arg4 = (int) wxHTML_UNITS_PIXELS ;
5498 PyObject * obj0 = 0 ;
5499 PyObject * obj1 = 0 ;
5500 PyObject * obj2 = 0 ;
5501 PyObject * obj3 = 0 ;
5502 char *kwnames[] = {
5503 (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
5504 };
5505
5506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5509 arg2 = (int)SWIG_As_int(obj1);
5510 if (PyErr_Occurred()) SWIG_fail;
5511 arg3 = (int)SWIG_As_int(obj2);
5512 if (PyErr_Occurred()) SWIG_fail;
5513 if (obj3) {
5514 arg4 = (int)SWIG_As_int(obj3);
5515 if (PyErr_Occurred()) SWIG_fail;
5516 }
5517 {
5518 PyThreadState* __tstate = wxPyBeginAllowThreads();
5519 (arg1)->SetIndent(arg2,arg3,arg4);
5520
5521 wxPyEndAllowThreads(__tstate);
5522 if (PyErr_Occurred()) SWIG_fail;
5523 }
5524 Py_INCREF(Py_None); resultobj = Py_None;
5525 return resultobj;
5526 fail:
5527 return NULL;
5528 }
5529
5530
5531 static PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
5532 PyObject *resultobj;
5533 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5534 int arg2 ;
5535 int result;
5536 PyObject * obj0 = 0 ;
5537 PyObject * obj1 = 0 ;
5538 char *kwnames[] = {
5539 (char *) "self",(char *) "ind", NULL
5540 };
5541
5542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndent",kwnames,&obj0,&obj1)) goto fail;
5543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5545 arg2 = (int)SWIG_As_int(obj1);
5546 if (PyErr_Occurred()) SWIG_fail;
5547 {
5548 PyThreadState* __tstate = wxPyBeginAllowThreads();
5549 result = (int)(arg1)->GetIndent(arg2);
5550
5551 wxPyEndAllowThreads(__tstate);
5552 if (PyErr_Occurred()) SWIG_fail;
5553 }
5554 resultobj = SWIG_From_int((int)result);
5555 return resultobj;
5556 fail:
5557 return NULL;
5558 }
5559
5560
5561 static PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *, PyObject *args, PyObject *kwargs) {
5562 PyObject *resultobj;
5563 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5564 int arg2 ;
5565 int result;
5566 PyObject * obj0 = 0 ;
5567 PyObject * obj1 = 0 ;
5568 char *kwnames[] = {
5569 (char *) "self",(char *) "ind", NULL
5570 };
5571
5572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames,&obj0,&obj1)) goto fail;
5573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5575 arg2 = (int)SWIG_As_int(obj1);
5576 if (PyErr_Occurred()) SWIG_fail;
5577 {
5578 PyThreadState* __tstate = wxPyBeginAllowThreads();
5579 result = (int)(arg1)->GetIndentUnits(arg2);
5580
5581 wxPyEndAllowThreads(__tstate);
5582 if (PyErr_Occurred()) SWIG_fail;
5583 }
5584 resultobj = SWIG_From_int((int)result);
5585 return resultobj;
5586 fail:
5587 return NULL;
5588 }
5589
5590
5591 static PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
5592 PyObject *resultobj;
5593 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5594 wxHtmlTag *arg2 = 0 ;
5595 PyObject * obj0 = 0 ;
5596 PyObject * obj1 = 0 ;
5597 char *kwnames[] = {
5598 (char *) "self",(char *) "tag", NULL
5599 };
5600
5601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlign",kwnames,&obj0,&obj1)) goto fail;
5602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5604 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag,
5605 SWIG_POINTER_EXCEPTION | 0)) == -1)
5606 SWIG_fail;
5607 if (arg2 == NULL) {
5608 PyErr_SetString(PyExc_TypeError,"null reference");
5609 SWIG_fail;
5610 }
5611 {
5612 PyThreadState* __tstate = wxPyBeginAllowThreads();
5613 (arg1)->SetAlign((wxHtmlTag const &)*arg2);
5614
5615 wxPyEndAllowThreads(__tstate);
5616 if (PyErr_Occurred()) SWIG_fail;
5617 }
5618 Py_INCREF(Py_None); resultobj = Py_None;
5619 return resultobj;
5620 fail:
5621 return NULL;
5622 }
5623
5624
5625 static PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *, PyObject *args, PyObject *kwargs) {
5626 PyObject *resultobj;
5627 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5628 int arg2 ;
5629 int arg3 ;
5630 PyObject * obj0 = 0 ;
5631 PyObject * obj1 = 0 ;
5632 PyObject * obj2 = 0 ;
5633 char *kwnames[] = {
5634 (char *) "self",(char *) "w",(char *) "units", NULL
5635 };
5636
5637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
5638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5640 arg2 = (int)SWIG_As_int(obj1);
5641 if (PyErr_Occurred()) SWIG_fail;
5642 arg3 = (int)SWIG_As_int(obj2);
5643 if (PyErr_Occurred()) SWIG_fail;
5644 {
5645 PyThreadState* __tstate = wxPyBeginAllowThreads();
5646 (arg1)->SetWidthFloat(arg2,arg3);
5647
5648 wxPyEndAllowThreads(__tstate);
5649 if (PyErr_Occurred()) SWIG_fail;
5650 }
5651 Py_INCREF(Py_None); resultobj = Py_None;
5652 return resultobj;
5653 fail:
5654 return NULL;
5655 }
5656
5657
5658 static PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *, PyObject *args, PyObject *kwargs) {
5659 PyObject *resultobj;
5660 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5661 wxHtmlTag *arg2 = 0 ;
5662 PyObject * obj0 = 0 ;
5663 PyObject * obj1 = 0 ;
5664 char *kwnames[] = {
5665 (char *) "self",(char *) "tag", NULL
5666 };
5667
5668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames,&obj0,&obj1)) goto fail;
5669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5671 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag,
5672 SWIG_POINTER_EXCEPTION | 0)) == -1)
5673 SWIG_fail;
5674 if (arg2 == NULL) {
5675 PyErr_SetString(PyExc_TypeError,"null reference");
5676 SWIG_fail;
5677 }
5678 {
5679 PyThreadState* __tstate = wxPyBeginAllowThreads();
5680 (arg1)->SetWidthFloat((wxHtmlTag const &)*arg2);
5681
5682 wxPyEndAllowThreads(__tstate);
5683 if (PyErr_Occurred()) SWIG_fail;
5684 }
5685 Py_INCREF(Py_None); resultobj = Py_None;
5686 return resultobj;
5687 fail:
5688 return NULL;
5689 }
5690
5691
5692 static PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
5693 PyObject *resultobj;
5694 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5695 int arg2 ;
5696 int arg3 = (int) wxHTML_ALIGN_TOP ;
5697 PyObject * obj0 = 0 ;
5698 PyObject * obj1 = 0 ;
5699 PyObject * obj2 = 0 ;
5700 char *kwnames[] = {
5701 (char *) "self",(char *) "h",(char *) "align", NULL
5702 };
5703
5704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames,&obj0,&obj1,&obj2)) goto fail;
5705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5707 arg2 = (int)SWIG_As_int(obj1);
5708 if (PyErr_Occurred()) SWIG_fail;
5709 if (obj2) {
5710 arg3 = (int)SWIG_As_int(obj2);
5711 if (PyErr_Occurred()) SWIG_fail;
5712 }
5713 {
5714 PyThreadState* __tstate = wxPyBeginAllowThreads();
5715 (arg1)->SetMinHeight(arg2,arg3);
5716
5717 wxPyEndAllowThreads(__tstate);
5718 if (PyErr_Occurred()) SWIG_fail;
5719 }
5720 Py_INCREF(Py_None); resultobj = Py_None;
5721 return resultobj;
5722 fail:
5723 return NULL;
5724 }
5725
5726
5727 static PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
5728 PyObject *resultobj;
5729 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5730 wxColour *arg2 = 0 ;
5731 wxColour temp2 ;
5732 PyObject * obj0 = 0 ;
5733 PyObject * obj1 = 0 ;
5734 char *kwnames[] = {
5735 (char *) "self",(char *) "clr", NULL
5736 };
5737
5738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
5739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5741 {
5742 arg2 = &temp2;
5743 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5744 }
5745 {
5746 PyThreadState* __tstate = wxPyBeginAllowThreads();
5747 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
5748
5749 wxPyEndAllowThreads(__tstate);
5750 if (PyErr_Occurred()) SWIG_fail;
5751 }
5752 Py_INCREF(Py_None); resultobj = Py_None;
5753 return resultobj;
5754 fail:
5755 return NULL;
5756 }
5757
5758
5759 static PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
5760 PyObject *resultobj;
5761 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5762 wxColour result;
5763 PyObject * obj0 = 0 ;
5764 char *kwnames[] = {
5765 (char *) "self", NULL
5766 };
5767
5768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetBackgroundColour",kwnames,&obj0)) goto fail;
5769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5771 {
5772 PyThreadState* __tstate = wxPyBeginAllowThreads();
5773 result = (arg1)->GetBackgroundColour();
5774
5775 wxPyEndAllowThreads(__tstate);
5776 if (PyErr_Occurred()) SWIG_fail;
5777 }
5778 {
5779 wxColour * resultptr;
5780 resultptr = new wxColour((wxColour &) result);
5781 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
5782 }
5783 return resultobj;
5784 fail:
5785 return NULL;
5786 }
5787
5788
5789 static PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *, PyObject *args, PyObject *kwargs) {
5790 PyObject *resultobj;
5791 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5792 wxColour *arg2 = 0 ;
5793 wxColour *arg3 = 0 ;
5794 wxColour temp2 ;
5795 wxColour temp3 ;
5796 PyObject * obj0 = 0 ;
5797 PyObject * obj1 = 0 ;
5798 PyObject * obj2 = 0 ;
5799 char *kwnames[] = {
5800 (char *) "self",(char *) "clr1",(char *) "clr2", NULL
5801 };
5802
5803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
5804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5806 {
5807 arg2 = &temp2;
5808 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5809 }
5810 {
5811 arg3 = &temp3;
5812 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5813 }
5814 {
5815 PyThreadState* __tstate = wxPyBeginAllowThreads();
5816 (arg1)->SetBorder((wxColour const &)*arg2,(wxColour const &)*arg3);
5817
5818 wxPyEndAllowThreads(__tstate);
5819 if (PyErr_Occurred()) SWIG_fail;
5820 }
5821 Py_INCREF(Py_None); resultobj = Py_None;
5822 return resultobj;
5823 fail:
5824 return NULL;
5825 }
5826
5827
5828 static PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
5829 PyObject *resultobj;
5830 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5831 wxHtmlCell *result;
5832 PyObject * obj0 = 0 ;
5833 char *kwnames[] = {
5834 (char *) "self", NULL
5835 };
5836
5837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetFirstChild",kwnames,&obj0)) goto fail;
5838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5840 {
5841 PyThreadState* __tstate = wxPyBeginAllowThreads();
5842 result = (wxHtmlCell *)(arg1)->GetFirstChild();
5843
5844 wxPyEndAllowThreads(__tstate);
5845 if (PyErr_Occurred()) SWIG_fail;
5846 }
5847 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
5848 return resultobj;
5849 fail:
5850 return NULL;
5851 }
5852
5853
5854 static PyObject * HtmlContainerCell_swigregister(PyObject *, PyObject *args) {
5855 PyObject *obj;
5856 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5857 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContainerCell, obj);
5858 Py_INCREF(obj);
5859 return Py_BuildValue((char *)"");
5860 }
5861 static PyObject *_wrap_new_HtmlColourCell(PyObject *, PyObject *args, PyObject *kwargs) {
5862 PyObject *resultobj;
5863 wxColour arg1 ;
5864 int arg2 = (int) wxHTML_CLR_FOREGROUND ;
5865 wxHtmlColourCell *result;
5866 wxColour *argp1 ;
5867 PyObject * obj0 = 0 ;
5868 PyObject * obj1 = 0 ;
5869 char *kwnames[] = {
5870 (char *) "clr",(char *) "flags", NULL
5871 };
5872
5873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlColourCell",kwnames,&obj0,&obj1)) goto fail;
5874 if ((SWIG_ConvertPtr(obj0,(void **)(&argp1),SWIGTYPE_p_wxColour,
5875 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5876 arg1 = *argp1;
5877 if (obj1) {
5878 arg2 = (int)SWIG_As_int(obj1);
5879 if (PyErr_Occurred()) SWIG_fail;
5880 }
5881 {
5882 PyThreadState* __tstate = wxPyBeginAllowThreads();
5883 result = (wxHtmlColourCell *)new wxHtmlColourCell(arg1,arg2);
5884
5885 wxPyEndAllowThreads(__tstate);
5886 if (PyErr_Occurred()) SWIG_fail;
5887 }
5888 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlColourCell, 1);
5889 return resultobj;
5890 fail:
5891 return NULL;
5892 }
5893
5894
5895 static PyObject * HtmlColourCell_swigregister(PyObject *, PyObject *args) {
5896 PyObject *obj;
5897 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5898 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlColourCell, obj);
5899 Py_INCREF(obj);
5900 return Py_BuildValue((char *)"");
5901 }
5902 static PyObject *_wrap_new_HtmlFontCell(PyObject *, PyObject *args, PyObject *kwargs) {
5903 PyObject *resultobj;
5904 wxFont *arg1 = (wxFont *) 0 ;
5905 wxHtmlFontCell *result;
5906 PyObject * obj0 = 0 ;
5907 char *kwnames[] = {
5908 (char *) "font", NULL
5909 };
5910
5911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlFontCell",kwnames,&obj0)) goto fail;
5912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
5913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5914 {
5915 PyThreadState* __tstate = wxPyBeginAllowThreads();
5916 result = (wxHtmlFontCell *)new wxHtmlFontCell(arg1);
5917
5918 wxPyEndAllowThreads(__tstate);
5919 if (PyErr_Occurred()) SWIG_fail;
5920 }
5921 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlFontCell, 1);
5922 return resultobj;
5923 fail:
5924 return NULL;
5925 }
5926
5927
5928 static PyObject * HtmlFontCell_swigregister(PyObject *, PyObject *args) {
5929 PyObject *obj;
5930 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5931 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlFontCell, obj);
5932 Py_INCREF(obj);
5933 return Py_BuildValue((char *)"");
5934 }
5935 static PyObject *_wrap_new_HtmlWidgetCell(PyObject *, PyObject *args, PyObject *kwargs) {
5936 PyObject *resultobj;
5937 wxWindow *arg1 = (wxWindow *) 0 ;
5938 int arg2 = (int) 0 ;
5939 wxHtmlWidgetCell *result;
5940 PyObject * obj0 = 0 ;
5941 PyObject * obj1 = 0 ;
5942 char *kwnames[] = {
5943 (char *) "wnd",(char *) "w", NULL
5944 };
5945
5946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlWidgetCell",kwnames,&obj0,&obj1)) goto fail;
5947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5949 if (obj1) {
5950 arg2 = (int)SWIG_As_int(obj1);
5951 if (PyErr_Occurred()) SWIG_fail;
5952 }
5953 {
5954 PyThreadState* __tstate = wxPyBeginAllowThreads();
5955 result = (wxHtmlWidgetCell *)new wxHtmlWidgetCell(arg1,arg2);
5956
5957 wxPyEndAllowThreads(__tstate);
5958 if (PyErr_Occurred()) SWIG_fail;
5959 }
5960 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWidgetCell, 1);
5961 return resultobj;
5962 fail:
5963 return NULL;
5964 }
5965
5966
5967 static PyObject * HtmlWidgetCell_swigregister(PyObject *, PyObject *args) {
5968 PyObject *obj;
5969 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5970 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWidgetCell, obj);
5971 Py_INCREF(obj);
5972 return Py_BuildValue((char *)"");
5973 }
5974 static PyObject *_wrap_new_HtmlFilter(PyObject *, PyObject *args, PyObject *kwargs) {
5975 PyObject *resultobj;
5976 wxPyHtmlFilter *result;
5977 char *kwnames[] = {
5978 NULL
5979 };
5980
5981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlFilter",kwnames)) goto fail;
5982 {
5983 PyThreadState* __tstate = wxPyBeginAllowThreads();
5984 result = (wxPyHtmlFilter *)new wxPyHtmlFilter();
5985
5986 wxPyEndAllowThreads(__tstate);
5987 if (PyErr_Occurred()) SWIG_fail;
5988 }
5989 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlFilter, 1);
5990 return resultobj;
5991 fail:
5992 return NULL;
5993 }
5994
5995
5996 static PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
5997 PyObject *resultobj;
5998 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
5999 PyObject *arg2 = (PyObject *) 0 ;
6000 PyObject *arg3 = (PyObject *) 0 ;
6001 PyObject * obj0 = 0 ;
6002 PyObject * obj1 = 0 ;
6003 PyObject * obj2 = 0 ;
6004 char *kwnames[] = {
6005 (char *) "self",(char *) "self",(char *) "_class", NULL
6006 };
6007
6008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
6009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlFilter,
6010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6011 arg2 = obj1;
6012 arg3 = obj2;
6013 {
6014 PyThreadState* __tstate = wxPyBeginAllowThreads();
6015 (arg1)->_setCallbackInfo(arg2,arg3);
6016
6017 wxPyEndAllowThreads(__tstate);
6018 if (PyErr_Occurred()) SWIG_fail;
6019 }
6020 Py_INCREF(Py_None); resultobj = Py_None;
6021 return resultobj;
6022 fail:
6023 return NULL;
6024 }
6025
6026
6027 static PyObject * HtmlFilter_swigregister(PyObject *, PyObject *args) {
6028 PyObject *obj;
6029 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6030 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlFilter, obj);
6031 Py_INCREF(obj);
6032 return Py_BuildValue((char *)"");
6033 }
6034 static PyObject *_wrap_new_HtmlWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6035 PyObject *resultobj;
6036 wxWindow *arg1 = (wxWindow *) 0 ;
6037 int arg2 = (int) -1 ;
6038 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6039 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6040 wxSize const &arg4_defvalue = wxDefaultSize ;
6041 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6042 int arg5 = (int) wxHW_DEFAULT_STYLE ;
6043 wxString const &arg6_defvalue = wxPyHtmlWindowNameStr ;
6044 wxString *arg6 = (wxString *) &arg6_defvalue ;
6045 wxPyHtmlWindow *result;
6046 wxPoint temp3 ;
6047 wxSize temp4 ;
6048 bool temp6 = false ;
6049 PyObject * obj0 = 0 ;
6050 PyObject * obj1 = 0 ;
6051 PyObject * obj2 = 0 ;
6052 PyObject * obj3 = 0 ;
6053 PyObject * obj4 = 0 ;
6054 PyObject * obj5 = 0 ;
6055 char *kwnames[] = {
6056 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6057 };
6058
6059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6062 if (obj1) {
6063 arg2 = (int)SWIG_As_int(obj1);
6064 if (PyErr_Occurred()) SWIG_fail;
6065 }
6066 if (obj2) {
6067 {
6068 arg3 = &temp3;
6069 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6070 }
6071 }
6072 if (obj3) {
6073 {
6074 arg4 = &temp4;
6075 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6076 }
6077 }
6078 if (obj4) {
6079 arg5 = (int)SWIG_As_int(obj4);
6080 if (PyErr_Occurred()) SWIG_fail;
6081 }
6082 if (obj5) {
6083 {
6084 arg6 = wxString_in_helper(obj5);
6085 if (arg6 == NULL) SWIG_fail;
6086 temp6 = true;
6087 }
6088 }
6089 {
6090 if (!wxPyCheckForApp()) SWIG_fail;
6091 PyThreadState* __tstate = wxPyBeginAllowThreads();
6092 result = (wxPyHtmlWindow *)new wxPyHtmlWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6093
6094 wxPyEndAllowThreads(__tstate);
6095 if (PyErr_Occurred()) SWIG_fail;
6096 }
6097 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWindow, 1);
6098 {
6099 if (temp6)
6100 delete arg6;
6101 }
6102 return resultobj;
6103 fail:
6104 {
6105 if (temp6)
6106 delete arg6;
6107 }
6108 return NULL;
6109 }
6110
6111
6112 static PyObject *_wrap_new_PreHtmlWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6113 PyObject *resultobj;
6114 wxPyHtmlWindow *result;
6115 char *kwnames[] = {
6116 NULL
6117 };
6118
6119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlWindow",kwnames)) goto fail;
6120 {
6121 if (!wxPyCheckForApp()) SWIG_fail;
6122 PyThreadState* __tstate = wxPyBeginAllowThreads();
6123 result = (wxPyHtmlWindow *)new wxPyHtmlWindow();
6124
6125 wxPyEndAllowThreads(__tstate);
6126 if (PyErr_Occurred()) SWIG_fail;
6127 }
6128 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWindow, 1);
6129 return resultobj;
6130 fail:
6131 return NULL;
6132 }
6133
6134
6135 static PyObject *_wrap_HtmlWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6136 PyObject *resultobj;
6137 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6138 wxWindow *arg2 = (wxWindow *) 0 ;
6139 int arg3 = (int) -1 ;
6140 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6141 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6142 wxSize const &arg5_defvalue = wxDefaultSize ;
6143 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6144 int arg6 = (int) wxHW_SCROLLBAR_AUTO ;
6145 wxString const &arg7_defvalue = wxPyHtmlWindowNameStr ;
6146 wxString *arg7 = (wxString *) &arg7_defvalue ;
6147 bool result;
6148 wxPoint temp4 ;
6149 wxSize temp5 ;
6150 bool temp7 = false ;
6151 PyObject * obj0 = 0 ;
6152 PyObject * obj1 = 0 ;
6153 PyObject * obj2 = 0 ;
6154 PyObject * obj3 = 0 ;
6155 PyObject * obj4 = 0 ;
6156 PyObject * obj5 = 0 ;
6157 PyObject * obj6 = 0 ;
6158 char *kwnames[] = {
6159 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6160 };
6161
6162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6165 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6167 if (obj2) {
6168 arg3 = (int)SWIG_As_int(obj2);
6169 if (PyErr_Occurred()) SWIG_fail;
6170 }
6171 if (obj3) {
6172 {
6173 arg4 = &temp4;
6174 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6175 }
6176 }
6177 if (obj4) {
6178 {
6179 arg5 = &temp5;
6180 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6181 }
6182 }
6183 if (obj5) {
6184 arg6 = (int)SWIG_As_int(obj5);
6185 if (PyErr_Occurred()) SWIG_fail;
6186 }
6187 if (obj6) {
6188 {
6189 arg7 = wxString_in_helper(obj6);
6190 if (arg7 == NULL) SWIG_fail;
6191 temp7 = true;
6192 }
6193 }
6194 {
6195 PyThreadState* __tstate = wxPyBeginAllowThreads();
6196 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6197
6198 wxPyEndAllowThreads(__tstate);
6199 if (PyErr_Occurred()) SWIG_fail;
6200 }
6201 {
6202 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6203 }
6204 {
6205 if (temp7)
6206 delete arg7;
6207 }
6208 return resultobj;
6209 fail:
6210 {
6211 if (temp7)
6212 delete arg7;
6213 }
6214 return NULL;
6215 }
6216
6217
6218 static PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
6219 PyObject *resultobj;
6220 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6221 PyObject *arg2 = (PyObject *) 0 ;
6222 PyObject *arg3 = (PyObject *) 0 ;
6223 PyObject * obj0 = 0 ;
6224 PyObject * obj1 = 0 ;
6225 PyObject * obj2 = 0 ;
6226 char *kwnames[] = {
6227 (char *) "self",(char *) "self",(char *) "_class", NULL
6228 };
6229
6230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
6231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6233 arg2 = obj1;
6234 arg3 = obj2;
6235 {
6236 PyThreadState* __tstate = wxPyBeginAllowThreads();
6237 (arg1)->_setCallbackInfo(arg2,arg3);
6238
6239 wxPyEndAllowThreads(__tstate);
6240 if (PyErr_Occurred()) SWIG_fail;
6241 }
6242 Py_INCREF(Py_None); resultobj = Py_None;
6243 return resultobj;
6244 fail:
6245 return NULL;
6246 }
6247
6248
6249 static PyObject *_wrap_HtmlWindow_SetPage(PyObject *, PyObject *args, PyObject *kwargs) {
6250 PyObject *resultobj;
6251 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6252 wxString *arg2 = 0 ;
6253 bool result;
6254 bool temp2 = false ;
6255 PyObject * obj0 = 0 ;
6256 PyObject * obj1 = 0 ;
6257 char *kwnames[] = {
6258 (char *) "self",(char *) "source", NULL
6259 };
6260
6261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetPage",kwnames,&obj0,&obj1)) goto fail;
6262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6264 {
6265 arg2 = wxString_in_helper(obj1);
6266 if (arg2 == NULL) SWIG_fail;
6267 temp2 = true;
6268 }
6269 {
6270 PyThreadState* __tstate = wxPyBeginAllowThreads();
6271 result = (bool)(arg1)->SetPage((wxString const &)*arg2);
6272
6273 wxPyEndAllowThreads(__tstate);
6274 if (PyErr_Occurred()) SWIG_fail;
6275 }
6276 {
6277 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6278 }
6279 {
6280 if (temp2)
6281 delete arg2;
6282 }
6283 return resultobj;
6284 fail:
6285 {
6286 if (temp2)
6287 delete arg2;
6288 }
6289 return NULL;
6290 }
6291
6292
6293 static PyObject *_wrap_HtmlWindow_LoadPage(PyObject *, PyObject *args, PyObject *kwargs) {
6294 PyObject *resultobj;
6295 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6296 wxString *arg2 = 0 ;
6297 bool result;
6298 bool temp2 = false ;
6299 PyObject * obj0 = 0 ;
6300 PyObject * obj1 = 0 ;
6301 char *kwnames[] = {
6302 (char *) "self",(char *) "location", NULL
6303 };
6304
6305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadPage",kwnames,&obj0,&obj1)) goto fail;
6306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6308 {
6309 arg2 = wxString_in_helper(obj1);
6310 if (arg2 == NULL) SWIG_fail;
6311 temp2 = true;
6312 }
6313 {
6314 PyThreadState* __tstate = wxPyBeginAllowThreads();
6315 result = (bool)(arg1)->LoadPage((wxString const &)*arg2);
6316
6317 wxPyEndAllowThreads(__tstate);
6318 if (PyErr_Occurred()) SWIG_fail;
6319 }
6320 {
6321 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6322 }
6323 {
6324 if (temp2)
6325 delete arg2;
6326 }
6327 return resultobj;
6328 fail:
6329 {
6330 if (temp2)
6331 delete arg2;
6332 }
6333 return NULL;
6334 }
6335
6336
6337 static PyObject *_wrap_HtmlWindow_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
6338 PyObject *resultobj;
6339 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6340 wxString *arg2 = 0 ;
6341 bool result;
6342 bool temp2 = false ;
6343 PyObject * obj0 = 0 ;
6344 PyObject * obj1 = 0 ;
6345 char *kwnames[] = {
6346 (char *) "self",(char *) "filename", NULL
6347 };
6348
6349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadFile",kwnames,&obj0,&obj1)) goto fail;
6350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6352 {
6353 arg2 = wxString_in_helper(obj1);
6354 if (arg2 == NULL) SWIG_fail;
6355 temp2 = true;
6356 }
6357 {
6358 PyThreadState* __tstate = wxPyBeginAllowThreads();
6359 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
6360
6361 wxPyEndAllowThreads(__tstate);
6362 if (PyErr_Occurred()) SWIG_fail;
6363 }
6364 {
6365 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6366 }
6367 {
6368 if (temp2)
6369 delete arg2;
6370 }
6371 return resultobj;
6372 fail:
6373 {
6374 if (temp2)
6375 delete arg2;
6376 }
6377 return NULL;
6378 }
6379
6380
6381 static PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *, PyObject *args, PyObject *kwargs) {
6382 PyObject *resultobj;
6383 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6384 wxString *arg2 = 0 ;
6385 bool result;
6386 bool temp2 = false ;
6387 PyObject * obj0 = 0 ;
6388 PyObject * obj1 = 0 ;
6389 char *kwnames[] = {
6390 (char *) "self",(char *) "source", NULL
6391 };
6392
6393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_AppendToPage",kwnames,&obj0,&obj1)) goto fail;
6394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6396 {
6397 arg2 = wxString_in_helper(obj1);
6398 if (arg2 == NULL) SWIG_fail;
6399 temp2 = true;
6400 }
6401 {
6402 PyThreadState* __tstate = wxPyBeginAllowThreads();
6403 result = (bool)(arg1)->AppendToPage((wxString const &)*arg2);
6404
6405 wxPyEndAllowThreads(__tstate);
6406 if (PyErr_Occurred()) SWIG_fail;
6407 }
6408 {
6409 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6410 }
6411 {
6412 if (temp2)
6413 delete arg2;
6414 }
6415 return resultobj;
6416 fail:
6417 {
6418 if (temp2)
6419 delete arg2;
6420 }
6421 return NULL;
6422 }
6423
6424
6425 static PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *, PyObject *args, PyObject *kwargs) {
6426 PyObject *resultobj;
6427 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6428 wxString result;
6429 PyObject * obj0 = 0 ;
6430 char *kwnames[] = {
6431 (char *) "self", NULL
6432 };
6433
6434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPage",kwnames,&obj0)) goto fail;
6435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6437 {
6438 PyThreadState* __tstate = wxPyBeginAllowThreads();
6439 result = (arg1)->GetOpenedPage();
6440
6441 wxPyEndAllowThreads(__tstate);
6442 if (PyErr_Occurred()) SWIG_fail;
6443 }
6444 {
6445 #if wxUSE_UNICODE
6446 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6447 #else
6448 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6449 #endif
6450 }
6451 return resultobj;
6452 fail:
6453 return NULL;
6454 }
6455
6456
6457 static PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
6458 PyObject *resultobj;
6459 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6460 wxString result;
6461 PyObject * obj0 = 0 ;
6462 char *kwnames[] = {
6463 (char *) "self", NULL
6464 };
6465
6466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedAnchor",kwnames,&obj0)) goto fail;
6467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6469 {
6470 PyThreadState* __tstate = wxPyBeginAllowThreads();
6471 result = (arg1)->GetOpenedAnchor();
6472
6473 wxPyEndAllowThreads(__tstate);
6474 if (PyErr_Occurred()) SWIG_fail;
6475 }
6476 {
6477 #if wxUSE_UNICODE
6478 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6479 #else
6480 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6481 #endif
6482 }
6483 return resultobj;
6484 fail:
6485 return NULL;
6486 }
6487
6488
6489 static PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *, PyObject *args, PyObject *kwargs) {
6490 PyObject *resultobj;
6491 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6492 wxString result;
6493 PyObject * obj0 = 0 ;
6494 char *kwnames[] = {
6495 (char *) "self", NULL
6496 };
6497
6498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPageTitle",kwnames,&obj0)) goto fail;
6499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6501 {
6502 PyThreadState* __tstate = wxPyBeginAllowThreads();
6503 result = (arg1)->GetOpenedPageTitle();
6504
6505 wxPyEndAllowThreads(__tstate);
6506 if (PyErr_Occurred()) SWIG_fail;
6507 }
6508 {
6509 #if wxUSE_UNICODE
6510 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6511 #else
6512 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6513 #endif
6514 }
6515 return resultobj;
6516 fail:
6517 return NULL;
6518 }
6519
6520
6521 static PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *, PyObject *args, PyObject *kwargs) {
6522 PyObject *resultobj;
6523 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6524 wxFrame *arg2 = (wxFrame *) 0 ;
6525 wxString *arg3 = 0 ;
6526 bool temp3 = false ;
6527 PyObject * obj0 = 0 ;
6528 PyObject * obj1 = 0 ;
6529 PyObject * obj2 = 0 ;
6530 char *kwnames[] = {
6531 (char *) "self",(char *) "frame",(char *) "format", NULL
6532 };
6533
6534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
6535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6537 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
6538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6539 {
6540 arg3 = wxString_in_helper(obj2);
6541 if (arg3 == NULL) SWIG_fail;
6542 temp3 = true;
6543 }
6544 {
6545 PyThreadState* __tstate = wxPyBeginAllowThreads();
6546 (arg1)->SetRelatedFrame(arg2,(wxString const &)*arg3);
6547
6548 wxPyEndAllowThreads(__tstate);
6549 if (PyErr_Occurred()) SWIG_fail;
6550 }
6551 Py_INCREF(Py_None); resultobj = Py_None;
6552 {
6553 if (temp3)
6554 delete arg3;
6555 }
6556 return resultobj;
6557 fail:
6558 {
6559 if (temp3)
6560 delete arg3;
6561 }
6562 return NULL;
6563 }
6564
6565
6566 static PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *, PyObject *args, PyObject *kwargs) {
6567 PyObject *resultobj;
6568 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6569 wxFrame *result;
6570 PyObject * obj0 = 0 ;
6571 char *kwnames[] = {
6572 (char *) "self", NULL
6573 };
6574
6575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetRelatedFrame",kwnames,&obj0)) goto fail;
6576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6578 {
6579 PyThreadState* __tstate = wxPyBeginAllowThreads();
6580 result = (wxFrame *)(arg1)->GetRelatedFrame();
6581
6582 wxPyEndAllowThreads(__tstate);
6583 if (PyErr_Occurred()) SWIG_fail;
6584 }
6585 {
6586 resultobj = wxPyMake_wxObject(result, 0);
6587 }
6588 return resultobj;
6589 fail:
6590 return NULL;
6591 }
6592
6593
6594 static PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
6595 PyObject *resultobj;
6596 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6597 int arg2 ;
6598 PyObject * obj0 = 0 ;
6599 PyObject * obj1 = 0 ;
6600 char *kwnames[] = {
6601 (char *) "self",(char *) "bar", NULL
6602 };
6603
6604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames,&obj0,&obj1)) goto fail;
6605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6607 arg2 = (int)SWIG_As_int(obj1);
6608 if (PyErr_Occurred()) SWIG_fail;
6609 {
6610 PyThreadState* __tstate = wxPyBeginAllowThreads();
6611 (arg1)->SetRelatedStatusBar(arg2);
6612
6613 wxPyEndAllowThreads(__tstate);
6614 if (PyErr_Occurred()) SWIG_fail;
6615 }
6616 Py_INCREF(Py_None); resultobj = Py_None;
6617 return resultobj;
6618 fail:
6619 return NULL;
6620 }
6621
6622
6623 static PyObject *_wrap_HtmlWindow_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
6624 PyObject *resultobj;
6625 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6626 wxString arg2 ;
6627 wxString arg3 ;
6628 PyObject *arg4 = (PyObject *) NULL ;
6629 PyObject * obj0 = 0 ;
6630 PyObject * obj1 = 0 ;
6631 PyObject * obj2 = 0 ;
6632 PyObject * obj3 = 0 ;
6633 char *kwnames[] = {
6634 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
6635 };
6636
6637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6640 {
6641 wxString* sptr = wxString_in_helper(obj1);
6642 if (sptr == NULL) SWIG_fail;
6643 arg2 = *sptr;
6644 delete sptr;
6645 }
6646 {
6647 wxString* sptr = wxString_in_helper(obj2);
6648 if (sptr == NULL) SWIG_fail;
6649 arg3 = *sptr;
6650 delete sptr;
6651 }
6652 if (obj3) {
6653 arg4 = obj3;
6654 }
6655 {
6656 PyThreadState* __tstate = wxPyBeginAllowThreads();
6657 wxPyHtmlWindow_SetFonts(arg1,arg2,arg3,arg4);
6658
6659 wxPyEndAllowThreads(__tstate);
6660 if (PyErr_Occurred()) SWIG_fail;
6661 }
6662 Py_INCREF(Py_None); resultobj = Py_None;
6663 return resultobj;
6664 fail:
6665 return NULL;
6666 }
6667
6668
6669 static PyObject *_wrap_HtmlWindow_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
6670 PyObject *resultobj;
6671 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6672 int arg2 = (int) -1 ;
6673 wxString const &arg3_defvalue = wxPyEmptyString ;
6674 wxString *arg3 = (wxString *) &arg3_defvalue ;
6675 wxString const &arg4_defvalue = wxPyEmptyString ;
6676 wxString *arg4 = (wxString *) &arg4_defvalue ;
6677 bool temp3 = false ;
6678 bool temp4 = false ;
6679 PyObject * obj0 = 0 ;
6680 PyObject * obj1 = 0 ;
6681 PyObject * obj2 = 0 ;
6682 PyObject * obj3 = 0 ;
6683 char *kwnames[] = {
6684 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
6685 };
6686
6687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWindow_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6690 if (obj1) {
6691 arg2 = (int)SWIG_As_int(obj1);
6692 if (PyErr_Occurred()) SWIG_fail;
6693 }
6694 if (obj2) {
6695 {
6696 arg3 = wxString_in_helper(obj2);
6697 if (arg3 == NULL) SWIG_fail;
6698 temp3 = true;
6699 }
6700 }
6701 if (obj3) {
6702 {
6703 arg4 = wxString_in_helper(obj3);
6704 if (arg4 == NULL) SWIG_fail;
6705 temp4 = true;
6706 }
6707 }
6708 {
6709 PyThreadState* __tstate = wxPyBeginAllowThreads();
6710 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
6711
6712 wxPyEndAllowThreads(__tstate);
6713 if (PyErr_Occurred()) SWIG_fail;
6714 }
6715 Py_INCREF(Py_None); resultobj = Py_None;
6716 {
6717 if (temp3)
6718 delete arg3;
6719 }
6720 {
6721 if (temp4)
6722 delete arg4;
6723 }
6724 return resultobj;
6725 fail:
6726 {
6727 if (temp3)
6728 delete arg3;
6729 }
6730 {
6731 if (temp4)
6732 delete arg4;
6733 }
6734 return NULL;
6735 }
6736
6737
6738 static PyObject *_wrap_HtmlWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
6739 PyObject *resultobj;
6740 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6741 wxString *arg2 = 0 ;
6742 bool temp2 = false ;
6743 PyObject * obj0 = 0 ;
6744 PyObject * obj1 = 0 ;
6745 char *kwnames[] = {
6746 (char *) "self",(char *) "title", NULL
6747 };
6748
6749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
6750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6752 {
6753 arg2 = wxString_in_helper(obj1);
6754 if (arg2 == NULL) SWIG_fail;
6755 temp2 = true;
6756 }
6757 {
6758 PyThreadState* __tstate = wxPyBeginAllowThreads();
6759 (arg1)->SetTitle((wxString const &)*arg2);
6760
6761 wxPyEndAllowThreads(__tstate);
6762 if (PyErr_Occurred()) SWIG_fail;
6763 }
6764 Py_INCREF(Py_None); resultobj = Py_None;
6765 {
6766 if (temp2)
6767 delete arg2;
6768 }
6769 return resultobj;
6770 fail:
6771 {
6772 if (temp2)
6773 delete arg2;
6774 }
6775 return NULL;
6776 }
6777
6778
6779 static PyObject *_wrap_HtmlWindow_SetBorders(PyObject *, PyObject *args, PyObject *kwargs) {
6780 PyObject *resultobj;
6781 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6782 int arg2 ;
6783 PyObject * obj0 = 0 ;
6784 PyObject * obj1 = 0 ;
6785 char *kwnames[] = {
6786 (char *) "self",(char *) "b", NULL
6787 };
6788
6789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBorders",kwnames,&obj0,&obj1)) goto fail;
6790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6792 arg2 = (int)SWIG_As_int(obj1);
6793 if (PyErr_Occurred()) SWIG_fail;
6794 {
6795 PyThreadState* __tstate = wxPyBeginAllowThreads();
6796 (arg1)->SetBorders(arg2);
6797
6798 wxPyEndAllowThreads(__tstate);
6799 if (PyErr_Occurred()) SWIG_fail;
6800 }
6801 Py_INCREF(Py_None); resultobj = Py_None;
6802 return resultobj;
6803 fail:
6804 return NULL;
6805 }
6806
6807
6808 static PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
6809 PyObject *resultobj;
6810 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6811 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
6812 wxString arg3 = (wxString) wxPyEmptyString ;
6813 PyObject * obj0 = 0 ;
6814 PyObject * obj1 = 0 ;
6815 PyObject * obj2 = 0 ;
6816 char *kwnames[] = {
6817 (char *) "self",(char *) "cfg",(char *) "path", NULL
6818 };
6819
6820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
6821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6823 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
6824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6825 if (obj2) {
6826 {
6827 wxString* sptr = wxString_in_helper(obj2);
6828 if (sptr == NULL) SWIG_fail;
6829 arg3 = *sptr;
6830 delete sptr;
6831 }
6832 }
6833 {
6834 PyThreadState* __tstate = wxPyBeginAllowThreads();
6835 (arg1)->ReadCustomization(arg2,arg3);
6836
6837 wxPyEndAllowThreads(__tstate);
6838 if (PyErr_Occurred()) SWIG_fail;
6839 }
6840 Py_INCREF(Py_None); resultobj = Py_None;
6841 return resultobj;
6842 fail:
6843 return NULL;
6844 }
6845
6846
6847 static PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
6848 PyObject *resultobj;
6849 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6850 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
6851 wxString arg3 = (wxString) wxPyEmptyString ;
6852 PyObject * obj0 = 0 ;
6853 PyObject * obj1 = 0 ;
6854 PyObject * obj2 = 0 ;
6855 char *kwnames[] = {
6856 (char *) "self",(char *) "cfg",(char *) "path", NULL
6857 };
6858
6859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
6860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6862 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
6863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6864 if (obj2) {
6865 {
6866 wxString* sptr = wxString_in_helper(obj2);
6867 if (sptr == NULL) SWIG_fail;
6868 arg3 = *sptr;
6869 delete sptr;
6870 }
6871 }
6872 {
6873 PyThreadState* __tstate = wxPyBeginAllowThreads();
6874 (arg1)->WriteCustomization(arg2,arg3);
6875
6876 wxPyEndAllowThreads(__tstate);
6877 if (PyErr_Occurred()) SWIG_fail;
6878 }
6879 Py_INCREF(Py_None); resultobj = Py_None;
6880 return resultobj;
6881 fail:
6882 return NULL;
6883 }
6884
6885
6886 static PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *, PyObject *args, PyObject *kwargs) {
6887 PyObject *resultobj;
6888 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6889 bool result;
6890 PyObject * obj0 = 0 ;
6891 char *kwnames[] = {
6892 (char *) "self", NULL
6893 };
6894
6895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryBack",kwnames,&obj0)) goto fail;
6896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6898 {
6899 PyThreadState* __tstate = wxPyBeginAllowThreads();
6900 result = (bool)(arg1)->HistoryBack();
6901
6902 wxPyEndAllowThreads(__tstate);
6903 if (PyErr_Occurred()) SWIG_fail;
6904 }
6905 {
6906 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6907 }
6908 return resultobj;
6909 fail:
6910 return NULL;
6911 }
6912
6913
6914 static PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *, PyObject *args, PyObject *kwargs) {
6915 PyObject *resultobj;
6916 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6917 bool result;
6918 PyObject * obj0 = 0 ;
6919 char *kwnames[] = {
6920 (char *) "self", NULL
6921 };
6922
6923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryForward",kwnames,&obj0)) goto fail;
6924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6926 {
6927 PyThreadState* __tstate = wxPyBeginAllowThreads();
6928 result = (bool)(arg1)->HistoryForward();
6929
6930 wxPyEndAllowThreads(__tstate);
6931 if (PyErr_Occurred()) SWIG_fail;
6932 }
6933 {
6934 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6935 }
6936 return resultobj;
6937 fail:
6938 return NULL;
6939 }
6940
6941
6942 static PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *, PyObject *args, PyObject *kwargs) {
6943 PyObject *resultobj;
6944 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6945 bool result;
6946 PyObject * obj0 = 0 ;
6947 char *kwnames[] = {
6948 (char *) "self", NULL
6949 };
6950
6951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanBack",kwnames,&obj0)) goto fail;
6952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6954 {
6955 PyThreadState* __tstate = wxPyBeginAllowThreads();
6956 result = (bool)(arg1)->HistoryCanBack();
6957
6958 wxPyEndAllowThreads(__tstate);
6959 if (PyErr_Occurred()) SWIG_fail;
6960 }
6961 {
6962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6963 }
6964 return resultobj;
6965 fail:
6966 return NULL;
6967 }
6968
6969
6970 static PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *, PyObject *args, PyObject *kwargs) {
6971 PyObject *resultobj;
6972 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6973 bool result;
6974 PyObject * obj0 = 0 ;
6975 char *kwnames[] = {
6976 (char *) "self", NULL
6977 };
6978
6979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanForward",kwnames,&obj0)) goto fail;
6980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6982 {
6983 PyThreadState* __tstate = wxPyBeginAllowThreads();
6984 result = (bool)(arg1)->HistoryCanForward();
6985
6986 wxPyEndAllowThreads(__tstate);
6987 if (PyErr_Occurred()) SWIG_fail;
6988 }
6989 {
6990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6991 }
6992 return resultobj;
6993 fail:
6994 return NULL;
6995 }
6996
6997
6998 static PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *, PyObject *args, PyObject *kwargs) {
6999 PyObject *resultobj;
7000 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7001 PyObject * obj0 = 0 ;
7002 char *kwnames[] = {
7003 (char *) "self", NULL
7004 };
7005
7006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryClear",kwnames,&obj0)) goto fail;
7007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7009 {
7010 PyThreadState* __tstate = wxPyBeginAllowThreads();
7011 (arg1)->HistoryClear();
7012
7013 wxPyEndAllowThreads(__tstate);
7014 if (PyErr_Occurred()) SWIG_fail;
7015 }
7016 Py_INCREF(Py_None); resultobj = Py_None;
7017 return resultobj;
7018 fail:
7019 return NULL;
7020 }
7021
7022
7023 static PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *, PyObject *args, PyObject *kwargs) {
7024 PyObject *resultobj;
7025 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7026 wxHtmlContainerCell *result;
7027 PyObject * obj0 = 0 ;
7028 char *kwnames[] = {
7029 (char *) "self", NULL
7030 };
7031
7032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetInternalRepresentation",kwnames,&obj0)) goto fail;
7033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7035 {
7036 PyThreadState* __tstate = wxPyBeginAllowThreads();
7037 result = (wxHtmlContainerCell *)(arg1)->GetInternalRepresentation();
7038
7039 wxPyEndAllowThreads(__tstate);
7040 if (PyErr_Occurred()) SWIG_fail;
7041 }
7042 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
7043 return resultobj;
7044 fail:
7045 return NULL;
7046 }
7047
7048
7049 static PyObject *_wrap_HtmlWindow_GetParser(PyObject *, PyObject *args, PyObject *kwargs) {
7050 PyObject *resultobj;
7051 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7052 wxHtmlWinParser *result;
7053 PyObject * obj0 = 0 ;
7054 char *kwnames[] = {
7055 (char *) "self", NULL
7056 };
7057
7058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetParser",kwnames,&obj0)) goto fail;
7059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7061 {
7062 PyThreadState* __tstate = wxPyBeginAllowThreads();
7063 result = (wxHtmlWinParser *)(arg1)->GetParser();
7064
7065 wxPyEndAllowThreads(__tstate);
7066 if (PyErr_Occurred()) SWIG_fail;
7067 }
7068 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0);
7069 return resultobj;
7070 fail:
7071 return NULL;
7072 }
7073
7074
7075 static PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
7076 PyObject *resultobj;
7077 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7078 wxString *arg2 = 0 ;
7079 bool result;
7080 bool temp2 = false ;
7081 PyObject * obj0 = 0 ;
7082 PyObject * obj1 = 0 ;
7083 char *kwnames[] = {
7084 (char *) "self",(char *) "anchor", NULL
7085 };
7086
7087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames,&obj0,&obj1)) goto fail;
7088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7090 {
7091 arg2 = wxString_in_helper(obj1);
7092 if (arg2 == NULL) SWIG_fail;
7093 temp2 = true;
7094 }
7095 {
7096 PyThreadState* __tstate = wxPyBeginAllowThreads();
7097 result = (bool)(arg1)->ScrollToAnchor((wxString const &)*arg2);
7098
7099 wxPyEndAllowThreads(__tstate);
7100 if (PyErr_Occurred()) SWIG_fail;
7101 }
7102 {
7103 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7104 }
7105 {
7106 if (temp2)
7107 delete arg2;
7108 }
7109 return resultobj;
7110 fail:
7111 {
7112 if (temp2)
7113 delete arg2;
7114 }
7115 return NULL;
7116 }
7117
7118
7119 static PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
7120 PyObject *resultobj;
7121 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7122 wxString *arg2 = 0 ;
7123 bool result;
7124 bool temp2 = false ;
7125 PyObject * obj0 = 0 ;
7126 PyObject * obj1 = 0 ;
7127 char *kwnames[] = {
7128 (char *) "self",(char *) "anchor", NULL
7129 };
7130
7131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_HasAnchor",kwnames,&obj0,&obj1)) goto fail;
7132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7134 {
7135 arg2 = wxString_in_helper(obj1);
7136 if (arg2 == NULL) SWIG_fail;
7137 temp2 = true;
7138 }
7139 {
7140 PyThreadState* __tstate = wxPyBeginAllowThreads();
7141 result = (bool)(arg1)->HasAnchor((wxString const &)*arg2);
7142
7143 wxPyEndAllowThreads(__tstate);
7144 if (PyErr_Occurred()) SWIG_fail;
7145 }
7146 {
7147 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7148 }
7149 {
7150 if (temp2)
7151 delete arg2;
7152 }
7153 return resultobj;
7154 fail:
7155 {
7156 if (temp2)
7157 delete arg2;
7158 }
7159 return NULL;
7160 }
7161
7162
7163 static PyObject *_wrap_HtmlWindow_AddFilter(PyObject *, PyObject *args, PyObject *kwargs) {
7164 PyObject *resultobj;
7165 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
7166 PyObject * obj0 = 0 ;
7167 char *kwnames[] = {
7168 (char *) "filter", NULL
7169 };
7170
7171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_AddFilter",kwnames,&obj0)) goto fail;
7172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlFilter,
7173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7174 {
7175 PyThreadState* __tstate = wxPyBeginAllowThreads();
7176 wxPyHtmlWindow::AddFilter(arg1);
7177
7178 wxPyEndAllowThreads(__tstate);
7179 if (PyErr_Occurred()) SWIG_fail;
7180 }
7181 Py_INCREF(Py_None); resultobj = Py_None;
7182 return resultobj;
7183 fail:
7184 return NULL;
7185 }
7186
7187
7188 static PyObject *_wrap_HtmlWindow_SelectWord(PyObject *, PyObject *args, PyObject *kwargs) {
7189 PyObject *resultobj;
7190 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7191 wxPoint *arg2 = 0 ;
7192 wxPoint temp2 ;
7193 PyObject * obj0 = 0 ;
7194 PyObject * obj1 = 0 ;
7195 char *kwnames[] = {
7196 (char *) "self",(char *) "pos", NULL
7197 };
7198
7199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectWord",kwnames,&obj0,&obj1)) goto fail;
7200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7202 {
7203 arg2 = &temp2;
7204 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
7205 }
7206 {
7207 PyThreadState* __tstate = wxPyBeginAllowThreads();
7208 (arg1)->SelectWord((wxPoint const &)*arg2);
7209
7210 wxPyEndAllowThreads(__tstate);
7211 if (PyErr_Occurred()) SWIG_fail;
7212 }
7213 Py_INCREF(Py_None); resultobj = Py_None;
7214 return resultobj;
7215 fail:
7216 return NULL;
7217 }
7218
7219
7220 static PyObject *_wrap_HtmlWindow_SelectLine(PyObject *, PyObject *args, PyObject *kwargs) {
7221 PyObject *resultobj;
7222 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7223 wxPoint *arg2 = 0 ;
7224 wxPoint temp2 ;
7225 PyObject * obj0 = 0 ;
7226 PyObject * obj1 = 0 ;
7227 char *kwnames[] = {
7228 (char *) "self",(char *) "pos", NULL
7229 };
7230
7231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectLine",kwnames,&obj0,&obj1)) goto fail;
7232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7234 {
7235 arg2 = &temp2;
7236 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
7237 }
7238 {
7239 PyThreadState* __tstate = wxPyBeginAllowThreads();
7240 (arg1)->SelectLine((wxPoint const &)*arg2);
7241
7242 wxPyEndAllowThreads(__tstate);
7243 if (PyErr_Occurred()) SWIG_fail;
7244 }
7245 Py_INCREF(Py_None); resultobj = Py_None;
7246 return resultobj;
7247 fail:
7248 return NULL;
7249 }
7250
7251
7252 static PyObject *_wrap_HtmlWindow_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
7253 PyObject *resultobj;
7254 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7255 PyObject * obj0 = 0 ;
7256 char *kwnames[] = {
7257 (char *) "self", NULL
7258 };
7259
7260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_SelectAll",kwnames,&obj0)) goto fail;
7261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7263 {
7264 PyThreadState* __tstate = wxPyBeginAllowThreads();
7265 (arg1)->SelectAll();
7266
7267 wxPyEndAllowThreads(__tstate);
7268 if (PyErr_Occurred()) SWIG_fail;
7269 }
7270 Py_INCREF(Py_None); resultobj = Py_None;
7271 return resultobj;
7272 fail:
7273 return NULL;
7274 }
7275
7276
7277 static PyObject *_wrap_HtmlWindow_SelectionToText(PyObject *, PyObject *args, PyObject *kwargs) {
7278 PyObject *resultobj;
7279 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7280 wxString result;
7281 PyObject * obj0 = 0 ;
7282 char *kwnames[] = {
7283 (char *) "self", NULL
7284 };
7285
7286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_SelectionToText",kwnames,&obj0)) goto fail;
7287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7289 {
7290 PyThreadState* __tstate = wxPyBeginAllowThreads();
7291 result = (arg1)->SelectionToText();
7292
7293 wxPyEndAllowThreads(__tstate);
7294 if (PyErr_Occurred()) SWIG_fail;
7295 }
7296 {
7297 #if wxUSE_UNICODE
7298 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7299 #else
7300 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7301 #endif
7302 }
7303 return resultobj;
7304 fail:
7305 return NULL;
7306 }
7307
7308
7309 static PyObject *_wrap_HtmlWindow_ToText(PyObject *, PyObject *args, PyObject *kwargs) {
7310 PyObject *resultobj;
7311 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7312 wxString result;
7313 PyObject * obj0 = 0 ;
7314 char *kwnames[] = {
7315 (char *) "self", NULL
7316 };
7317
7318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_ToText",kwnames,&obj0)) goto fail;
7319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7321 {
7322 PyThreadState* __tstate = wxPyBeginAllowThreads();
7323 result = (arg1)->ToText();
7324
7325 wxPyEndAllowThreads(__tstate);
7326 if (PyErr_Occurred()) SWIG_fail;
7327 }
7328 {
7329 #if wxUSE_UNICODE
7330 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7331 #else
7332 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7333 #endif
7334 }
7335 return resultobj;
7336 fail:
7337 return NULL;
7338 }
7339
7340
7341 static PyObject *_wrap_HtmlWindow_base_OnLinkClicked(PyObject *, PyObject *args, PyObject *kwargs) {
7342 PyObject *resultobj;
7343 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7344 wxHtmlLinkInfo *arg2 = 0 ;
7345 PyObject * obj0 = 0 ;
7346 PyObject * obj1 = 0 ;
7347 char *kwnames[] = {
7348 (char *) "self",(char *) "link", NULL
7349 };
7350
7351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnLinkClicked",kwnames,&obj0,&obj1)) goto fail;
7352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7354 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlLinkInfo,
7355 SWIG_POINTER_EXCEPTION | 0)) == -1)
7356 SWIG_fail;
7357 if (arg2 == NULL) {
7358 PyErr_SetString(PyExc_TypeError,"null reference");
7359 SWIG_fail;
7360 }
7361 {
7362 PyThreadState* __tstate = wxPyBeginAllowThreads();
7363 (arg1)->base_OnLinkClicked((wxHtmlLinkInfo const &)*arg2);
7364
7365 wxPyEndAllowThreads(__tstate);
7366 if (PyErr_Occurred()) SWIG_fail;
7367 }
7368 Py_INCREF(Py_None); resultobj = Py_None;
7369 return resultobj;
7370 fail:
7371 return NULL;
7372 }
7373
7374
7375 static PyObject *_wrap_HtmlWindow_base_OnSetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
7376 PyObject *resultobj;
7377 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7378 wxString *arg2 = 0 ;
7379 bool temp2 = false ;
7380 PyObject * obj0 = 0 ;
7381 PyObject * obj1 = 0 ;
7382 char *kwnames[] = {
7383 (char *) "self",(char *) "title", NULL
7384 };
7385
7386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnSetTitle",kwnames,&obj0,&obj1)) goto fail;
7387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7389 {
7390 arg2 = wxString_in_helper(obj1);
7391 if (arg2 == NULL) SWIG_fail;
7392 temp2 = true;
7393 }
7394 {
7395 PyThreadState* __tstate = wxPyBeginAllowThreads();
7396 (arg1)->base_OnSetTitle((wxString const &)*arg2);
7397
7398 wxPyEndAllowThreads(__tstate);
7399 if (PyErr_Occurred()) SWIG_fail;
7400 }
7401 Py_INCREF(Py_None); resultobj = Py_None;
7402 {
7403 if (temp2)
7404 delete arg2;
7405 }
7406 return resultobj;
7407 fail:
7408 {
7409 if (temp2)
7410 delete arg2;
7411 }
7412 return NULL;
7413 }
7414
7415
7416 static PyObject *_wrap_HtmlWindow_base_OnCellMouseHover(PyObject *, PyObject *args, PyObject *kwargs) {
7417 PyObject *resultobj;
7418 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7419 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
7420 int arg3 ;
7421 int arg4 ;
7422 PyObject * obj0 = 0 ;
7423 PyObject * obj1 = 0 ;
7424 PyObject * obj2 = 0 ;
7425 PyObject * obj3 = 0 ;
7426 char *kwnames[] = {
7427 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
7428 };
7429
7430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_base_OnCellMouseHover",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7433 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
7434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7435 arg3 = (int)SWIG_As_int(obj2);
7436 if (PyErr_Occurred()) SWIG_fail;
7437 arg4 = (int)SWIG_As_int(obj3);
7438 if (PyErr_Occurred()) SWIG_fail;
7439 {
7440 PyThreadState* __tstate = wxPyBeginAllowThreads();
7441 (arg1)->base_OnCellMouseHover(arg2,arg3,arg4);
7442
7443 wxPyEndAllowThreads(__tstate);
7444 if (PyErr_Occurred()) SWIG_fail;
7445 }
7446 Py_INCREF(Py_None); resultobj = Py_None;
7447 return resultobj;
7448 fail:
7449 return NULL;
7450 }
7451
7452
7453 static PyObject *_wrap_HtmlWindow_base_OnCellClicked(PyObject *, PyObject *args, PyObject *kwargs) {
7454 PyObject *resultobj;
7455 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7456 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
7457 int arg3 ;
7458 int arg4 ;
7459 wxMouseEvent *arg5 = 0 ;
7460 PyObject * obj0 = 0 ;
7461 PyObject * obj1 = 0 ;
7462 PyObject * obj2 = 0 ;
7463 PyObject * obj3 = 0 ;
7464 PyObject * obj4 = 0 ;
7465 char *kwnames[] = {
7466 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
7467 };
7468
7469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlWindow_base_OnCellClicked",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
7470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7472 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
7473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7474 arg3 = (int)SWIG_As_int(obj2);
7475 if (PyErr_Occurred()) SWIG_fail;
7476 arg4 = (int)SWIG_As_int(obj3);
7477 if (PyErr_Occurred()) SWIG_fail;
7478 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxMouseEvent,
7479 SWIG_POINTER_EXCEPTION | 0)) == -1)
7480 SWIG_fail;
7481 if (arg5 == NULL) {
7482 PyErr_SetString(PyExc_TypeError,"null reference");
7483 SWIG_fail;
7484 }
7485 {
7486 PyThreadState* __tstate = wxPyBeginAllowThreads();
7487 (arg1)->base_OnCellClicked(arg2,arg3,arg4,(wxMouseEvent const &)*arg5);
7488
7489 wxPyEndAllowThreads(__tstate);
7490 if (PyErr_Occurred()) SWIG_fail;
7491 }
7492 Py_INCREF(Py_None); resultobj = Py_None;
7493 return resultobj;
7494 fail:
7495 return NULL;
7496 }
7497
7498
7499 static PyObject *_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7500 PyObject *resultobj;
7501 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
7502 wxVisualAttributes result;
7503 PyObject * obj0 = 0 ;
7504 char *kwnames[] = {
7505 (char *) "variant", NULL
7506 };
7507
7508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7509 if (obj0) {
7510 arg1 = (int)SWIG_As_int(obj0);
7511 if (PyErr_Occurred()) SWIG_fail;
7512 }
7513 {
7514 if (!wxPyCheckForApp()) SWIG_fail;
7515 PyThreadState* __tstate = wxPyBeginAllowThreads();
7516 result = wxPyHtmlWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
7517
7518 wxPyEndAllowThreads(__tstate);
7519 if (PyErr_Occurred()) SWIG_fail;
7520 }
7521 {
7522 wxVisualAttributes * resultptr;
7523 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
7524 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7525 }
7526 return resultobj;
7527 fail:
7528 return NULL;
7529 }
7530
7531
7532 static PyObject * HtmlWindow_swigregister(PyObject *, PyObject *args) {
7533 PyObject *obj;
7534 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7535 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWindow, obj);
7536 Py_INCREF(obj);
7537 return Py_BuildValue((char *)"");
7538 }
7539 static PyObject *_wrap_new_HtmlDCRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
7540 PyObject *resultobj;
7541 wxHtmlDCRenderer *result;
7542 char *kwnames[] = {
7543 NULL
7544 };
7545
7546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlDCRenderer",kwnames)) goto fail;
7547 {
7548 if (!wxPyCheckForApp()) SWIG_fail;
7549 PyThreadState* __tstate = wxPyBeginAllowThreads();
7550 result = (wxHtmlDCRenderer *)new wxHtmlDCRenderer();
7551
7552 wxPyEndAllowThreads(__tstate);
7553 if (PyErr_Occurred()) SWIG_fail;
7554 }
7555 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlDCRenderer, 1);
7556 return resultobj;
7557 fail:
7558 return NULL;
7559 }
7560
7561
7562 static PyObject *_wrap_delete_HtmlDCRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
7563 PyObject *resultobj;
7564 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7565 PyObject * obj0 = 0 ;
7566 char *kwnames[] = {
7567 (char *) "self", NULL
7568 };
7569
7570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlDCRenderer",kwnames,&obj0)) goto fail;
7571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7573 {
7574 PyThreadState* __tstate = wxPyBeginAllowThreads();
7575 delete arg1;
7576
7577 wxPyEndAllowThreads(__tstate);
7578 if (PyErr_Occurred()) SWIG_fail;
7579 }
7580 Py_INCREF(Py_None); resultobj = Py_None;
7581 return resultobj;
7582 fail:
7583 return NULL;
7584 }
7585
7586
7587 static PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
7588 PyObject *resultobj;
7589 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7590 wxDC *arg2 = (wxDC *) 0 ;
7591 int arg3 ;
7592 PyObject * obj0 = 0 ;
7593 PyObject * obj1 = 0 ;
7594 PyObject * obj2 = 0 ;
7595 char *kwnames[] = {
7596 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
7597 };
7598
7599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames,&obj0,&obj1,&obj2)) goto fail;
7600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7602 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
7603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7604 arg3 = (int)SWIG_As_int(obj2);
7605 if (PyErr_Occurred()) SWIG_fail;
7606 {
7607 PyThreadState* __tstate = wxPyBeginAllowThreads();
7608 (arg1)->SetDC(arg2,arg3);
7609
7610 wxPyEndAllowThreads(__tstate);
7611 if (PyErr_Occurred()) SWIG_fail;
7612 }
7613 Py_INCREF(Py_None); resultobj = Py_None;
7614 return resultobj;
7615 fail:
7616 return NULL;
7617 }
7618
7619
7620 static PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
7621 PyObject *resultobj;
7622 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7623 int arg2 ;
7624 int arg3 ;
7625 PyObject * obj0 = 0 ;
7626 PyObject * obj1 = 0 ;
7627 PyObject * obj2 = 0 ;
7628 char *kwnames[] = {
7629 (char *) "self",(char *) "width",(char *) "height", NULL
7630 };
7631
7632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
7633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7635 arg2 = (int)SWIG_As_int(obj1);
7636 if (PyErr_Occurred()) SWIG_fail;
7637 arg3 = (int)SWIG_As_int(obj2);
7638 if (PyErr_Occurred()) SWIG_fail;
7639 {
7640 PyThreadState* __tstate = wxPyBeginAllowThreads();
7641 (arg1)->SetSize(arg2,arg3);
7642
7643 wxPyEndAllowThreads(__tstate);
7644 if (PyErr_Occurred()) SWIG_fail;
7645 }
7646 Py_INCREF(Py_None); resultobj = Py_None;
7647 return resultobj;
7648 fail:
7649 return NULL;
7650 }
7651
7652
7653 static PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *, PyObject *args, PyObject *kwargs) {
7654 PyObject *resultobj;
7655 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7656 wxString *arg2 = 0 ;
7657 wxString const &arg3_defvalue = wxPyEmptyString ;
7658 wxString *arg3 = (wxString *) &arg3_defvalue ;
7659 bool arg4 = (bool) true ;
7660 bool temp2 = false ;
7661 bool temp3 = false ;
7662 PyObject * obj0 = 0 ;
7663 PyObject * obj1 = 0 ;
7664 PyObject * obj2 = 0 ;
7665 PyObject * obj3 = 0 ;
7666 char *kwnames[] = {
7667 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
7668 };
7669
7670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7673 {
7674 arg2 = wxString_in_helper(obj1);
7675 if (arg2 == NULL) SWIG_fail;
7676 temp2 = true;
7677 }
7678 if (obj2) {
7679 {
7680 arg3 = wxString_in_helper(obj2);
7681 if (arg3 == NULL) SWIG_fail;
7682 temp3 = true;
7683 }
7684 }
7685 if (obj3) {
7686 arg4 = (bool)SWIG_As_bool(obj3);
7687 if (PyErr_Occurred()) SWIG_fail;
7688 }
7689 {
7690 PyThreadState* __tstate = wxPyBeginAllowThreads();
7691 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
7692
7693 wxPyEndAllowThreads(__tstate);
7694 if (PyErr_Occurred()) SWIG_fail;
7695 }
7696 Py_INCREF(Py_None); resultobj = Py_None;
7697 {
7698 if (temp2)
7699 delete arg2;
7700 }
7701 {
7702 if (temp3)
7703 delete arg3;
7704 }
7705 return resultobj;
7706 fail:
7707 {
7708 if (temp2)
7709 delete arg2;
7710 }
7711 {
7712 if (temp3)
7713 delete arg3;
7714 }
7715 return NULL;
7716 }
7717
7718
7719 static PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
7720 PyObject *resultobj;
7721 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7722 wxString arg2 ;
7723 wxString arg3 ;
7724 PyObject *arg4 = (PyObject *) NULL ;
7725 PyObject * obj0 = 0 ;
7726 PyObject * obj1 = 0 ;
7727 PyObject * obj2 = 0 ;
7728 PyObject * obj3 = 0 ;
7729 char *kwnames[] = {
7730 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
7731 };
7732
7733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7736 {
7737 wxString* sptr = wxString_in_helper(obj1);
7738 if (sptr == NULL) SWIG_fail;
7739 arg2 = *sptr;
7740 delete sptr;
7741 }
7742 {
7743 wxString* sptr = wxString_in_helper(obj2);
7744 if (sptr == NULL) SWIG_fail;
7745 arg3 = *sptr;
7746 delete sptr;
7747 }
7748 if (obj3) {
7749 arg4 = obj3;
7750 }
7751 {
7752 PyThreadState* __tstate = wxPyBeginAllowThreads();
7753 wxHtmlDCRenderer_SetFonts(arg1,arg2,arg3,arg4);
7754
7755 wxPyEndAllowThreads(__tstate);
7756 if (PyErr_Occurred()) SWIG_fail;
7757 }
7758 Py_INCREF(Py_None); resultobj = Py_None;
7759 return resultobj;
7760 fail:
7761 return NULL;
7762 }
7763
7764
7765 static PyObject *_wrap_HtmlDCRenderer_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
7766 PyObject *resultobj;
7767 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7768 int arg2 = (int) -1 ;
7769 wxString const &arg3_defvalue = wxPyEmptyString ;
7770 wxString *arg3 = (wxString *) &arg3_defvalue ;
7771 wxString const &arg4_defvalue = wxPyEmptyString ;
7772 wxString *arg4 = (wxString *) &arg4_defvalue ;
7773 bool temp3 = false ;
7774 bool temp4 = false ;
7775 PyObject * obj0 = 0 ;
7776 PyObject * obj1 = 0 ;
7777 PyObject * obj2 = 0 ;
7778 PyObject * obj3 = 0 ;
7779 char *kwnames[] = {
7780 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
7781 };
7782
7783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlDCRenderer_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7786 if (obj1) {
7787 arg2 = (int)SWIG_As_int(obj1);
7788 if (PyErr_Occurred()) SWIG_fail;
7789 }
7790 if (obj2) {
7791 {
7792 arg3 = wxString_in_helper(obj2);
7793 if (arg3 == NULL) SWIG_fail;
7794 temp3 = true;
7795 }
7796 }
7797 if (obj3) {
7798 {
7799 arg4 = wxString_in_helper(obj3);
7800 if (arg4 == NULL) SWIG_fail;
7801 temp4 = true;
7802 }
7803 }
7804 {
7805 PyThreadState* __tstate = wxPyBeginAllowThreads();
7806 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
7807
7808 wxPyEndAllowThreads(__tstate);
7809 if (PyErr_Occurred()) SWIG_fail;
7810 }
7811 Py_INCREF(Py_None); resultobj = Py_None;
7812 {
7813 if (temp3)
7814 delete arg3;
7815 }
7816 {
7817 if (temp4)
7818 delete arg4;
7819 }
7820 return resultobj;
7821 fail:
7822 {
7823 if (temp3)
7824 delete arg3;
7825 }
7826 {
7827 if (temp4)
7828 delete arg4;
7829 }
7830 return NULL;
7831 }
7832
7833
7834 static PyObject *_wrap_HtmlDCRenderer_Render(PyObject *, PyObject *args, PyObject *kwargs) {
7835 PyObject *resultobj;
7836 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7837 int arg2 ;
7838 int arg3 ;
7839 int arg4 = (int) 0 ;
7840 int arg5 = (int) false ;
7841 int arg6 = (int) INT_MAX ;
7842 int *arg7 = (int *) NULL ;
7843 int arg8 = (int) 0 ;
7844 int result;
7845 PyObject * obj0 = 0 ;
7846 PyObject * obj1 = 0 ;
7847 PyObject * obj2 = 0 ;
7848 PyObject * obj3 = 0 ;
7849 PyObject * obj4 = 0 ;
7850 PyObject * obj5 = 0 ;
7851 PyObject * obj6 = 0 ;
7852 PyObject * obj7 = 0 ;
7853 char *kwnames[] = {
7854 (char *) "self",(char *) "x",(char *) "y",(char *) "from",(char *) "dont_render",(char *) "to",(char *) "choices",(char *) "LCOUNT", NULL
7855 };
7856
7857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:HtmlDCRenderer_Render",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7860 arg2 = (int)SWIG_As_int(obj1);
7861 if (PyErr_Occurred()) SWIG_fail;
7862 arg3 = (int)SWIG_As_int(obj2);
7863 if (PyErr_Occurred()) SWIG_fail;
7864 if (obj3) {
7865 arg4 = (int)SWIG_As_int(obj3);
7866 if (PyErr_Occurred()) SWIG_fail;
7867 }
7868 if (obj4) {
7869 arg5 = (int)SWIG_As_int(obj4);
7870 if (PyErr_Occurred()) SWIG_fail;
7871 }
7872 if (obj5) {
7873 arg6 = (int)SWIG_As_int(obj5);
7874 if (PyErr_Occurred()) SWIG_fail;
7875 }
7876 if (obj6) {
7877 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_int,
7878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7879 }
7880 if (obj7) {
7881 arg8 = (int)SWIG_As_int(obj7);
7882 if (PyErr_Occurred()) SWIG_fail;
7883 }
7884 {
7885 PyThreadState* __tstate = wxPyBeginAllowThreads();
7886 result = (int)(arg1)->Render(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
7887
7888 wxPyEndAllowThreads(__tstate);
7889 if (PyErr_Occurred()) SWIG_fail;
7890 }
7891 resultobj = SWIG_From_int((int)result);
7892 return resultobj;
7893 fail:
7894 return NULL;
7895 }
7896
7897
7898 static PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *, PyObject *args, PyObject *kwargs) {
7899 PyObject *resultobj;
7900 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7901 int result;
7902 PyObject * obj0 = 0 ;
7903 char *kwnames[] = {
7904 (char *) "self", NULL
7905 };
7906
7907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlDCRenderer_GetTotalHeight",kwnames,&obj0)) goto fail;
7908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7910 {
7911 PyThreadState* __tstate = wxPyBeginAllowThreads();
7912 result = (int)(arg1)->GetTotalHeight();
7913
7914 wxPyEndAllowThreads(__tstate);
7915 if (PyErr_Occurred()) SWIG_fail;
7916 }
7917 resultobj = SWIG_From_int((int)result);
7918 return resultobj;
7919 fail:
7920 return NULL;
7921 }
7922
7923
7924 static PyObject * HtmlDCRenderer_swigregister(PyObject *, PyObject *args) {
7925 PyObject *obj;
7926 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7927 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlDCRenderer, obj);
7928 Py_INCREF(obj);
7929 return Py_BuildValue((char *)"");
7930 }
7931 static PyObject *_wrap_new_HtmlPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
7932 PyObject *resultobj;
7933 wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ;
7934 wxString *arg1 = (wxString *) &arg1_defvalue ;
7935 wxHtmlPrintout *result;
7936 bool temp1 = false ;
7937 PyObject * obj0 = 0 ;
7938 char *kwnames[] = {
7939 (char *) "title", NULL
7940 };
7941
7942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlPrintout",kwnames,&obj0)) goto fail;
7943 if (obj0) {
7944 {
7945 arg1 = wxString_in_helper(obj0);
7946 if (arg1 == NULL) SWIG_fail;
7947 temp1 = true;
7948 }
7949 }
7950 {
7951 if (!wxPyCheckForApp()) SWIG_fail;
7952 PyThreadState* __tstate = wxPyBeginAllowThreads();
7953 result = (wxHtmlPrintout *)new wxHtmlPrintout((wxString const &)*arg1);
7954
7955 wxPyEndAllowThreads(__tstate);
7956 if (PyErr_Occurred()) SWIG_fail;
7957 }
7958 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlPrintout, 1);
7959 {
7960 if (temp1)
7961 delete arg1;
7962 }
7963 return resultobj;
7964 fail:
7965 {
7966 if (temp1)
7967 delete arg1;
7968 }
7969 return NULL;
7970 }
7971
7972
7973 static PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *, PyObject *args, PyObject *kwargs) {
7974 PyObject *resultobj;
7975 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7976 wxString *arg2 = 0 ;
7977 wxString const &arg3_defvalue = wxPyEmptyString ;
7978 wxString *arg3 = (wxString *) &arg3_defvalue ;
7979 bool arg4 = (bool) true ;
7980 bool temp2 = false ;
7981 bool temp3 = false ;
7982 PyObject * obj0 = 0 ;
7983 PyObject * obj1 = 0 ;
7984 PyObject * obj2 = 0 ;
7985 PyObject * obj3 = 0 ;
7986 char *kwnames[] = {
7987 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
7988 };
7989
7990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
7992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7993 {
7994 arg2 = wxString_in_helper(obj1);
7995 if (arg2 == NULL) SWIG_fail;
7996 temp2 = true;
7997 }
7998 if (obj2) {
7999 {
8000 arg3 = wxString_in_helper(obj2);
8001 if (arg3 == NULL) SWIG_fail;
8002 temp3 = true;
8003 }
8004 }
8005 if (obj3) {
8006 arg4 = (bool)SWIG_As_bool(obj3);
8007 if (PyErr_Occurred()) SWIG_fail;
8008 }
8009 {
8010 PyThreadState* __tstate = wxPyBeginAllowThreads();
8011 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
8012
8013 wxPyEndAllowThreads(__tstate);
8014 if (PyErr_Occurred()) SWIG_fail;
8015 }
8016 Py_INCREF(Py_None); resultobj = Py_None;
8017 {
8018 if (temp2)
8019 delete arg2;
8020 }
8021 {
8022 if (temp3)
8023 delete arg3;
8024 }
8025 return resultobj;
8026 fail:
8027 {
8028 if (temp2)
8029 delete arg2;
8030 }
8031 {
8032 if (temp3)
8033 delete arg3;
8034 }
8035 return NULL;
8036 }
8037
8038
8039 static PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *, PyObject *args, PyObject *kwargs) {
8040 PyObject *resultobj;
8041 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
8042 wxString *arg2 = 0 ;
8043 bool temp2 = false ;
8044 PyObject * obj0 = 0 ;
8045 PyObject * obj1 = 0 ;
8046 char *kwnames[] = {
8047 (char *) "self",(char *) "htmlfile", NULL
8048 };
8049
8050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames,&obj0,&obj1)) goto fail;
8051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
8052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8053 {
8054 arg2 = wxString_in_helper(obj1);
8055 if (arg2 == NULL) SWIG_fail;
8056 temp2 = true;
8057 }
8058 {
8059 PyThreadState* __tstate = wxPyBeginAllowThreads();
8060 (arg1)->SetHtmlFile((wxString const &)*arg2);
8061
8062 wxPyEndAllowThreads(__tstate);
8063 if (PyErr_Occurred()) SWIG_fail;
8064 }
8065 Py_INCREF(Py_None); resultobj = Py_None;
8066 {
8067 if (temp2)
8068 delete arg2;
8069 }
8070 return resultobj;
8071 fail:
8072 {
8073 if (temp2)
8074 delete arg2;
8075 }
8076 return NULL;
8077 }
8078
8079
8080 static PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *, PyObject *args, PyObject *kwargs) {
8081 PyObject *resultobj;
8082 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
8083 wxString *arg2 = 0 ;
8084 int arg3 = (int) wxPAGE_ALL ;
8085 bool temp2 = false ;
8086 PyObject * obj0 = 0 ;
8087 PyObject * obj1 = 0 ;
8088 PyObject * obj2 = 0 ;
8089 char *kwnames[] = {
8090 (char *) "self",(char *) "header",(char *) "pg", NULL
8091 };
8092
8093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail;
8094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
8095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8096 {
8097 arg2 = wxString_in_helper(obj1);
8098 if (arg2 == NULL) SWIG_fail;
8099 temp2 = true;
8100 }
8101 if (obj2) {
8102 arg3 = (int)SWIG_As_int(obj2);
8103 if (PyErr_Occurred()) SWIG_fail;
8104 }
8105 {
8106 PyThreadState* __tstate = wxPyBeginAllowThreads();
8107 (arg1)->SetHeader((wxString const &)*arg2,arg3);
8108
8109 wxPyEndAllowThreads(__tstate);
8110 if (PyErr_Occurred()) SWIG_fail;
8111 }
8112 Py_INCREF(Py_None); resultobj = Py_None;
8113 {
8114 if (temp2)
8115 delete arg2;
8116 }
8117 return resultobj;
8118 fail:
8119 {
8120 if (temp2)
8121 delete arg2;
8122 }
8123 return NULL;
8124 }
8125
8126
8127 static PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *, PyObject *args, PyObject *kwargs) {
8128 PyObject *resultobj;
8129 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
8130 wxString *arg2 = 0 ;
8131 int arg3 = (int) wxPAGE_ALL ;
8132 bool temp2 = false ;
8133 PyObject * obj0 = 0 ;
8134 PyObject * obj1 = 0 ;
8135 PyObject * obj2 = 0 ;
8136 char *kwnames[] = {
8137 (char *) "self",(char *) "footer",(char *) "pg", NULL
8138 };
8139
8140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail;
8141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
8142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8143 {
8144 arg2 = wxString_in_helper(obj1);
8145 if (arg2 == NULL) SWIG_fail;
8146 temp2 = true;
8147 }
8148 if (obj2) {
8149 arg3 = (int)SWIG_As_int(obj2);
8150 if (PyErr_Occurred()) SWIG_fail;
8151 }
8152 {
8153 PyThreadState* __tstate = wxPyBeginAllowThreads();
8154 (arg1)->SetFooter((wxString const &)*arg2,arg3);
8155
8156 wxPyEndAllowThreads(__tstate);
8157 if (PyErr_Occurred()) SWIG_fail;
8158 }
8159 Py_INCREF(Py_None); resultobj = Py_None;
8160 {
8161 if (temp2)
8162 delete arg2;
8163 }
8164 return resultobj;
8165 fail:
8166 {
8167 if (temp2)
8168 delete arg2;
8169 }
8170 return NULL;
8171 }
8172
8173
8174 static PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
8175 PyObject *resultobj;
8176 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
8177 wxString arg2 ;
8178 wxString arg3 ;
8179 PyObject *arg4 = (PyObject *) NULL ;
8180 PyObject * obj0 = 0 ;
8181 PyObject * obj1 = 0 ;
8182 PyObject * obj2 = 0 ;
8183 PyObject * obj3 = 0 ;
8184 char *kwnames[] = {
8185 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
8186 };
8187
8188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
8190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8191 {
8192 wxString* sptr = wxString_in_helper(obj1);
8193 if (sptr == NULL) SWIG_fail;
8194 arg2 = *sptr;
8195 delete sptr;
8196 }
8197 {
8198 wxString* sptr = wxString_in_helper(obj2);
8199 if (sptr == NULL) SWIG_fail;
8200 arg3 = *sptr;
8201 delete sptr;
8202 }
8203 if (obj3) {
8204 arg4 = obj3;
8205 }
8206 {
8207 PyThreadState* __tstate = wxPyBeginAllowThreads();
8208 wxHtmlPrintout_SetFonts(arg1,arg2,arg3,arg4);
8209
8210 wxPyEndAllowThreads(__tstate);
8211 if (PyErr_Occurred()) SWIG_fail;
8212 }
8213 Py_INCREF(Py_None); resultobj = Py_None;
8214 return resultobj;
8215 fail:
8216 return NULL;
8217 }
8218
8219
8220 static PyObject *_wrap_HtmlPrintout_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
8221 PyObject *resultobj;
8222 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
8223 int arg2 = (int) -1 ;
8224 wxString const &arg3_defvalue = wxPyEmptyString ;
8225 wxString *arg3 = (wxString *) &arg3_defvalue ;
8226 wxString const &arg4_defvalue = wxPyEmptyString ;
8227 wxString *arg4 = (wxString *) &arg4_defvalue ;
8228 bool temp3 = false ;
8229 bool temp4 = false ;
8230 PyObject * obj0 = 0 ;
8231 PyObject * obj1 = 0 ;
8232 PyObject * obj2 = 0 ;
8233 PyObject * obj3 = 0 ;
8234 char *kwnames[] = {
8235 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
8236 };
8237
8238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlPrintout_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
8240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8241 if (obj1) {
8242 arg2 = (int)SWIG_As_int(obj1);
8243 if (PyErr_Occurred()) SWIG_fail;
8244 }
8245 if (obj2) {
8246 {
8247 arg3 = wxString_in_helper(obj2);
8248 if (arg3 == NULL) SWIG_fail;
8249 temp3 = true;
8250 }
8251 }
8252 if (obj3) {
8253 {
8254 arg4 = wxString_in_helper(obj3);
8255 if (arg4 == NULL) SWIG_fail;
8256 temp4 = true;
8257 }
8258 }
8259 {
8260 PyThreadState* __tstate = wxPyBeginAllowThreads();
8261 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
8262
8263 wxPyEndAllowThreads(__tstate);
8264 if (PyErr_Occurred()) SWIG_fail;
8265 }
8266 Py_INCREF(Py_None); resultobj = Py_None;
8267 {
8268 if (temp3)
8269 delete arg3;
8270 }
8271 {
8272 if (temp4)
8273 delete arg4;
8274 }
8275 return resultobj;
8276 fail:
8277 {
8278 if (temp3)
8279 delete arg3;
8280 }
8281 {
8282 if (temp4)
8283 delete arg4;
8284 }
8285 return NULL;
8286 }
8287
8288
8289 static PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
8290 PyObject *resultobj;
8291 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
8292 float arg2 = (float) 25.2 ;
8293 float arg3 = (float) 25.2 ;
8294 float arg4 = (float) 25.2 ;
8295 float arg5 = (float) 25.2 ;
8296 float arg6 = (float) 5 ;
8297 PyObject * obj0 = 0 ;
8298 PyObject * obj1 = 0 ;
8299 PyObject * obj2 = 0 ;
8300 PyObject * obj3 = 0 ;
8301 PyObject * obj4 = 0 ;
8302 PyObject * obj5 = 0 ;
8303 char *kwnames[] = {
8304 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
8305 };
8306
8307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
8309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8310 if (obj1) {
8311 arg2 = (float)SWIG_As_float(obj1);
8312 if (PyErr_Occurred()) SWIG_fail;
8313 }
8314 if (obj2) {
8315 arg3 = (float)SWIG_As_float(obj2);
8316 if (PyErr_Occurred()) SWIG_fail;
8317 }
8318 if (obj3) {
8319 arg4 = (float)SWIG_As_float(obj3);
8320 if (PyErr_Occurred()) SWIG_fail;
8321 }
8322 if (obj4) {
8323 arg5 = (float)SWIG_As_float(obj4);
8324 if (PyErr_Occurred()) SWIG_fail;
8325 }
8326 if (obj5) {
8327 arg6 = (float)SWIG_As_float(obj5);
8328 if (PyErr_Occurred()) SWIG_fail;
8329 }
8330 {
8331 PyThreadState* __tstate = wxPyBeginAllowThreads();
8332 (arg1)->SetMargins(arg2,arg3,arg4,arg5,arg6);
8333
8334 wxPyEndAllowThreads(__tstate);
8335 if (PyErr_Occurred()) SWIG_fail;
8336 }
8337 Py_INCREF(Py_None); resultobj = Py_None;
8338 return resultobj;
8339 fail:
8340 return NULL;
8341 }
8342
8343
8344 static PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *, PyObject *args, PyObject *kwargs) {
8345 PyObject *resultobj;
8346 wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ;
8347 PyObject * obj0 = 0 ;
8348 char *kwnames[] = {
8349 (char *) "filter", NULL
8350 };
8351
8352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlPrintout_AddFilter",kwnames,&obj0)) goto fail;
8353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlFilter,
8354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8355 {
8356 PyThreadState* __tstate = wxPyBeginAllowThreads();
8357 wxHtmlPrintout::AddFilter(arg1);
8358
8359 wxPyEndAllowThreads(__tstate);
8360 if (PyErr_Occurred()) SWIG_fail;
8361 }
8362 Py_INCREF(Py_None); resultobj = Py_None;
8363 return resultobj;
8364 fail:
8365 return NULL;
8366 }
8367
8368
8369 static PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *, PyObject *args, PyObject *kwargs) {
8370 PyObject *resultobj;
8371 char *kwnames[] = {
8372 NULL
8373 };
8374
8375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HtmlPrintout_CleanUpStatics",kwnames)) goto fail;
8376 {
8377 PyThreadState* __tstate = wxPyBeginAllowThreads();
8378 wxHtmlPrintout::CleanUpStatics();
8379
8380 wxPyEndAllowThreads(__tstate);
8381 if (PyErr_Occurred()) SWIG_fail;
8382 }
8383 Py_INCREF(Py_None); resultobj = Py_None;
8384 return resultobj;
8385 fail:
8386 return NULL;
8387 }
8388
8389
8390 static PyObject * HtmlPrintout_swigregister(PyObject *, PyObject *args) {
8391 PyObject *obj;
8392 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8393 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlPrintout, obj);
8394 Py_INCREF(obj);
8395 return Py_BuildValue((char *)"");
8396 }
8397 static PyObject *_wrap_new_HtmlEasyPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
8398 PyObject *resultobj;
8399 wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ;
8400 wxString *arg1 = (wxString *) &arg1_defvalue ;
8401 wxWindow *arg2 = (wxWindow *) NULL ;
8402 wxHtmlEasyPrinting *result;
8403 bool temp1 = false ;
8404 PyObject * obj0 = 0 ;
8405 PyObject * obj1 = 0 ;
8406 char *kwnames[] = {
8407 (char *) "name",(char *) "parentWindow", NULL
8408 };
8409
8410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlEasyPrinting",kwnames,&obj0,&obj1)) goto fail;
8411 if (obj0) {
8412 {
8413 arg1 = wxString_in_helper(obj0);
8414 if (arg1 == NULL) SWIG_fail;
8415 temp1 = true;
8416 }
8417 }
8418 if (obj1) {
8419 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8421 }
8422 {
8423 if (!wxPyCheckForApp()) SWIG_fail;
8424 PyThreadState* __tstate = wxPyBeginAllowThreads();
8425 result = (wxHtmlEasyPrinting *)new wxHtmlEasyPrinting((wxString const &)*arg1,arg2);
8426
8427 wxPyEndAllowThreads(__tstate);
8428 if (PyErr_Occurred()) SWIG_fail;
8429 }
8430 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlEasyPrinting, 1);
8431 {
8432 if (temp1)
8433 delete arg1;
8434 }
8435 return resultobj;
8436 fail:
8437 {
8438 if (temp1)
8439 delete arg1;
8440 }
8441 return NULL;
8442 }
8443
8444
8445 static PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
8446 PyObject *resultobj;
8447 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8448 PyObject * obj0 = 0 ;
8449 char *kwnames[] = {
8450 (char *) "self", NULL
8451 };
8452
8453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlEasyPrinting",kwnames,&obj0)) goto fail;
8454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8456 {
8457 PyThreadState* __tstate = wxPyBeginAllowThreads();
8458 delete arg1;
8459
8460 wxPyEndAllowThreads(__tstate);
8461 if (PyErr_Occurred()) SWIG_fail;
8462 }
8463 Py_INCREF(Py_None); resultobj = Py_None;
8464 return resultobj;
8465 fail:
8466 return NULL;
8467 }
8468
8469
8470 static PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *, PyObject *args, PyObject *kwargs) {
8471 PyObject *resultobj;
8472 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8473 wxString *arg2 = 0 ;
8474 bool temp2 = false ;
8475 PyObject * obj0 = 0 ;
8476 PyObject * obj1 = 0 ;
8477 char *kwnames[] = {
8478 (char *) "self",(char *) "htmlfile", NULL
8479 };
8480
8481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames,&obj0,&obj1)) goto fail;
8482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8484 {
8485 arg2 = wxString_in_helper(obj1);
8486 if (arg2 == NULL) SWIG_fail;
8487 temp2 = true;
8488 }
8489 {
8490 PyThreadState* __tstate = wxPyBeginAllowThreads();
8491 (arg1)->PreviewFile((wxString const &)*arg2);
8492
8493 wxPyEndAllowThreads(__tstate);
8494 if (PyErr_Occurred()) SWIG_fail;
8495 }
8496 Py_INCREF(Py_None); resultobj = Py_None;
8497 {
8498 if (temp2)
8499 delete arg2;
8500 }
8501 return resultobj;
8502 fail:
8503 {
8504 if (temp2)
8505 delete arg2;
8506 }
8507 return NULL;
8508 }
8509
8510
8511 static PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *, PyObject *args, PyObject *kwargs) {
8512 PyObject *resultobj;
8513 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8514 wxString *arg2 = 0 ;
8515 wxString const &arg3_defvalue = wxPyEmptyString ;
8516 wxString *arg3 = (wxString *) &arg3_defvalue ;
8517 bool temp2 = false ;
8518 bool temp3 = false ;
8519 PyObject * obj0 = 0 ;
8520 PyObject * obj1 = 0 ;
8521 PyObject * obj2 = 0 ;
8522 char *kwnames[] = {
8523 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
8524 };
8525
8526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames,&obj0,&obj1,&obj2)) goto fail;
8527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8529 {
8530 arg2 = wxString_in_helper(obj1);
8531 if (arg2 == NULL) SWIG_fail;
8532 temp2 = true;
8533 }
8534 if (obj2) {
8535 {
8536 arg3 = wxString_in_helper(obj2);
8537 if (arg3 == NULL) SWIG_fail;
8538 temp3 = true;
8539 }
8540 }
8541 {
8542 PyThreadState* __tstate = wxPyBeginAllowThreads();
8543 (arg1)->PreviewText((wxString const &)*arg2,(wxString const &)*arg3);
8544
8545 wxPyEndAllowThreads(__tstate);
8546 if (PyErr_Occurred()) SWIG_fail;
8547 }
8548 Py_INCREF(Py_None); resultobj = Py_None;
8549 {
8550 if (temp2)
8551 delete arg2;
8552 }
8553 {
8554 if (temp3)
8555 delete arg3;
8556 }
8557 return resultobj;
8558 fail:
8559 {
8560 if (temp2)
8561 delete arg2;
8562 }
8563 {
8564 if (temp3)
8565 delete arg3;
8566 }
8567 return NULL;
8568 }
8569
8570
8571 static PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *, PyObject *args, PyObject *kwargs) {
8572 PyObject *resultobj;
8573 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8574 wxString *arg2 = 0 ;
8575 bool temp2 = false ;
8576 PyObject * obj0 = 0 ;
8577 PyObject * obj1 = 0 ;
8578 char *kwnames[] = {
8579 (char *) "self",(char *) "htmlfile", NULL
8580 };
8581
8582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames,&obj0,&obj1)) goto fail;
8583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8585 {
8586 arg2 = wxString_in_helper(obj1);
8587 if (arg2 == NULL) SWIG_fail;
8588 temp2 = true;
8589 }
8590 {
8591 PyThreadState* __tstate = wxPyBeginAllowThreads();
8592 (arg1)->PrintFile((wxString const &)*arg2);
8593
8594 wxPyEndAllowThreads(__tstate);
8595 if (PyErr_Occurred()) SWIG_fail;
8596 }
8597 Py_INCREF(Py_None); resultobj = Py_None;
8598 {
8599 if (temp2)
8600 delete arg2;
8601 }
8602 return resultobj;
8603 fail:
8604 {
8605 if (temp2)
8606 delete arg2;
8607 }
8608 return NULL;
8609 }
8610
8611
8612 static PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *, PyObject *args, PyObject *kwargs) {
8613 PyObject *resultobj;
8614 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8615 wxString *arg2 = 0 ;
8616 wxString const &arg3_defvalue = wxPyEmptyString ;
8617 wxString *arg3 = (wxString *) &arg3_defvalue ;
8618 bool temp2 = false ;
8619 bool temp3 = false ;
8620 PyObject * obj0 = 0 ;
8621 PyObject * obj1 = 0 ;
8622 PyObject * obj2 = 0 ;
8623 char *kwnames[] = {
8624 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
8625 };
8626
8627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames,&obj0,&obj1,&obj2)) goto fail;
8628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8630 {
8631 arg2 = wxString_in_helper(obj1);
8632 if (arg2 == NULL) SWIG_fail;
8633 temp2 = true;
8634 }
8635 if (obj2) {
8636 {
8637 arg3 = wxString_in_helper(obj2);
8638 if (arg3 == NULL) SWIG_fail;
8639 temp3 = true;
8640 }
8641 }
8642 {
8643 PyThreadState* __tstate = wxPyBeginAllowThreads();
8644 (arg1)->PrintText((wxString const &)*arg2,(wxString const &)*arg3);
8645
8646 wxPyEndAllowThreads(__tstate);
8647 if (PyErr_Occurred()) SWIG_fail;
8648 }
8649 Py_INCREF(Py_None); resultobj = Py_None;
8650 {
8651 if (temp2)
8652 delete arg2;
8653 }
8654 {
8655 if (temp3)
8656 delete arg3;
8657 }
8658 return resultobj;
8659 fail:
8660 {
8661 if (temp2)
8662 delete arg2;
8663 }
8664 {
8665 if (temp3)
8666 delete arg3;
8667 }
8668 return NULL;
8669 }
8670
8671
8672 static PyObject *_wrap_HtmlEasyPrinting_PrinterSetup(PyObject *, PyObject *args, PyObject *kwargs) {
8673 PyObject *resultobj;
8674 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8675 PyObject * obj0 = 0 ;
8676 char *kwnames[] = {
8677 (char *) "self", NULL
8678 };
8679
8680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PrinterSetup",kwnames,&obj0)) goto fail;
8681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8683 {
8684 PyThreadState* __tstate = wxPyBeginAllowThreads();
8685 (arg1)->PrinterSetup();
8686
8687 wxPyEndAllowThreads(__tstate);
8688 if (PyErr_Occurred()) SWIG_fail;
8689 }
8690 Py_INCREF(Py_None); resultobj = Py_None;
8691 return resultobj;
8692 fail:
8693 return NULL;
8694 }
8695
8696
8697 static PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *, PyObject *args, PyObject *kwargs) {
8698 PyObject *resultobj;
8699 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8700 PyObject * obj0 = 0 ;
8701 char *kwnames[] = {
8702 (char *) "self", NULL
8703 };
8704
8705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PageSetup",kwnames,&obj0)) goto fail;
8706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8708 {
8709 PyThreadState* __tstate = wxPyBeginAllowThreads();
8710 (arg1)->PageSetup();
8711
8712 wxPyEndAllowThreads(__tstate);
8713 if (PyErr_Occurred()) SWIG_fail;
8714 }
8715 Py_INCREF(Py_None); resultobj = Py_None;
8716 return resultobj;
8717 fail:
8718 return NULL;
8719 }
8720
8721
8722 static PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *, PyObject *args, PyObject *kwargs) {
8723 PyObject *resultobj;
8724 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8725 wxString *arg2 = 0 ;
8726 int arg3 = (int) wxPAGE_ALL ;
8727 bool temp2 = false ;
8728 PyObject * obj0 = 0 ;
8729 PyObject * obj1 = 0 ;
8730 PyObject * obj2 = 0 ;
8731 char *kwnames[] = {
8732 (char *) "self",(char *) "header",(char *) "pg", NULL
8733 };
8734
8735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail;
8736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8738 {
8739 arg2 = wxString_in_helper(obj1);
8740 if (arg2 == NULL) SWIG_fail;
8741 temp2 = true;
8742 }
8743 if (obj2) {
8744 arg3 = (int)SWIG_As_int(obj2);
8745 if (PyErr_Occurred()) SWIG_fail;
8746 }
8747 {
8748 PyThreadState* __tstate = wxPyBeginAllowThreads();
8749 (arg1)->SetHeader((wxString const &)*arg2,arg3);
8750
8751 wxPyEndAllowThreads(__tstate);
8752 if (PyErr_Occurred()) SWIG_fail;
8753 }
8754 Py_INCREF(Py_None); resultobj = Py_None;
8755 {
8756 if (temp2)
8757 delete arg2;
8758 }
8759 return resultobj;
8760 fail:
8761 {
8762 if (temp2)
8763 delete arg2;
8764 }
8765 return NULL;
8766 }
8767
8768
8769 static PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *, PyObject *args, PyObject *kwargs) {
8770 PyObject *resultobj;
8771 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8772 wxString *arg2 = 0 ;
8773 int arg3 = (int) wxPAGE_ALL ;
8774 bool temp2 = false ;
8775 PyObject * obj0 = 0 ;
8776 PyObject * obj1 = 0 ;
8777 PyObject * obj2 = 0 ;
8778 char *kwnames[] = {
8779 (char *) "self",(char *) "footer",(char *) "pg", NULL
8780 };
8781
8782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail;
8783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8785 {
8786 arg2 = wxString_in_helper(obj1);
8787 if (arg2 == NULL) SWIG_fail;
8788 temp2 = true;
8789 }
8790 if (obj2) {
8791 arg3 = (int)SWIG_As_int(obj2);
8792 if (PyErr_Occurred()) SWIG_fail;
8793 }
8794 {
8795 PyThreadState* __tstate = wxPyBeginAllowThreads();
8796 (arg1)->SetFooter((wxString const &)*arg2,arg3);
8797
8798 wxPyEndAllowThreads(__tstate);
8799 if (PyErr_Occurred()) SWIG_fail;
8800 }
8801 Py_INCREF(Py_None); resultobj = Py_None;
8802 {
8803 if (temp2)
8804 delete arg2;
8805 }
8806 return resultobj;
8807 fail:
8808 {
8809 if (temp2)
8810 delete arg2;
8811 }
8812 return NULL;
8813 }
8814
8815
8816 static PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
8817 PyObject *resultobj;
8818 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8819 wxString arg2 ;
8820 wxString arg3 ;
8821 PyObject *arg4 = (PyObject *) NULL ;
8822 PyObject * obj0 = 0 ;
8823 PyObject * obj1 = 0 ;
8824 PyObject * obj2 = 0 ;
8825 PyObject * obj3 = 0 ;
8826 char *kwnames[] = {
8827 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
8828 };
8829
8830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8833 {
8834 wxString* sptr = wxString_in_helper(obj1);
8835 if (sptr == NULL) SWIG_fail;
8836 arg2 = *sptr;
8837 delete sptr;
8838 }
8839 {
8840 wxString* sptr = wxString_in_helper(obj2);
8841 if (sptr == NULL) SWIG_fail;
8842 arg3 = *sptr;
8843 delete sptr;
8844 }
8845 if (obj3) {
8846 arg4 = obj3;
8847 }
8848 {
8849 PyThreadState* __tstate = wxPyBeginAllowThreads();
8850 wxHtmlEasyPrinting_SetFonts(arg1,arg2,arg3,arg4);
8851
8852 wxPyEndAllowThreads(__tstate);
8853 if (PyErr_Occurred()) SWIG_fail;
8854 }
8855 Py_INCREF(Py_None); resultobj = Py_None;
8856 return resultobj;
8857 fail:
8858 return NULL;
8859 }
8860
8861
8862 static PyObject *_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
8863 PyObject *resultobj;
8864 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8865 int arg2 = (int) -1 ;
8866 wxString const &arg3_defvalue = wxPyEmptyString ;
8867 wxString *arg3 = (wxString *) &arg3_defvalue ;
8868 wxString const &arg4_defvalue = wxPyEmptyString ;
8869 wxString *arg4 = (wxString *) &arg4_defvalue ;
8870 bool temp3 = false ;
8871 bool temp4 = false ;
8872 PyObject * obj0 = 0 ;
8873 PyObject * obj1 = 0 ;
8874 PyObject * obj2 = 0 ;
8875 PyObject * obj3 = 0 ;
8876 char *kwnames[] = {
8877 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
8878 };
8879
8880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlEasyPrinting_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8883 if (obj1) {
8884 arg2 = (int)SWIG_As_int(obj1);
8885 if (PyErr_Occurred()) SWIG_fail;
8886 }
8887 if (obj2) {
8888 {
8889 arg3 = wxString_in_helper(obj2);
8890 if (arg3 == NULL) SWIG_fail;
8891 temp3 = true;
8892 }
8893 }
8894 if (obj3) {
8895 {
8896 arg4 = wxString_in_helper(obj3);
8897 if (arg4 == NULL) SWIG_fail;
8898 temp4 = true;
8899 }
8900 }
8901 {
8902 PyThreadState* __tstate = wxPyBeginAllowThreads();
8903 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
8904
8905 wxPyEndAllowThreads(__tstate);
8906 if (PyErr_Occurred()) SWIG_fail;
8907 }
8908 Py_INCREF(Py_None); resultobj = Py_None;
8909 {
8910 if (temp3)
8911 delete arg3;
8912 }
8913 {
8914 if (temp4)
8915 delete arg4;
8916 }
8917 return resultobj;
8918 fail:
8919 {
8920 if (temp3)
8921 delete arg3;
8922 }
8923 {
8924 if (temp4)
8925 delete arg4;
8926 }
8927 return NULL;
8928 }
8929
8930
8931 static PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
8932 PyObject *resultobj;
8933 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8934 wxPrintData *result;
8935 PyObject * obj0 = 0 ;
8936 char *kwnames[] = {
8937 (char *) "self", NULL
8938 };
8939
8940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPrintData",kwnames,&obj0)) goto fail;
8941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8943 {
8944 PyThreadState* __tstate = wxPyBeginAllowThreads();
8945 result = (wxPrintData *)(arg1)->GetPrintData();
8946
8947 wxPyEndAllowThreads(__tstate);
8948 if (PyErr_Occurred()) SWIG_fail;
8949 }
8950 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
8951 return resultobj;
8952 fail:
8953 return NULL;
8954 }
8955
8956
8957 static PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
8958 PyObject *resultobj;
8959 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8960 wxPageSetupDialogData *result;
8961 PyObject * obj0 = 0 ;
8962 char *kwnames[] = {
8963 (char *) "self", NULL
8964 };
8965
8966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPageSetupData",kwnames,&obj0)) goto fail;
8967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8969 {
8970 PyThreadState* __tstate = wxPyBeginAllowThreads();
8971 result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData();
8972
8973 wxPyEndAllowThreads(__tstate);
8974 if (PyErr_Occurred()) SWIG_fail;
8975 }
8976 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
8977 return resultobj;
8978 fail:
8979 return NULL;
8980 }
8981
8982
8983 static PyObject * HtmlEasyPrinting_swigregister(PyObject *, PyObject *args) {
8984 PyObject *obj;
8985 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8986 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlEasyPrinting, obj);
8987 Py_INCREF(obj);
8988 return Py_BuildValue((char *)"");
8989 }
8990 static PyObject *_wrap_new_HtmlBookRecord(PyObject *, PyObject *args, PyObject *kwargs) {
8991 PyObject *resultobj;
8992 wxString *arg1 = 0 ;
8993 wxString *arg2 = 0 ;
8994 wxString *arg3 = 0 ;
8995 wxString *arg4 = 0 ;
8996 wxHtmlBookRecord *result;
8997 bool temp1 = false ;
8998 bool temp2 = false ;
8999 bool temp3 = false ;
9000 bool temp4 = false ;
9001 PyObject * obj0 = 0 ;
9002 PyObject * obj1 = 0 ;
9003 PyObject * obj2 = 0 ;
9004 PyObject * obj3 = 0 ;
9005 char *kwnames[] = {
9006 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
9007 };
9008
9009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_HtmlBookRecord",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9010 {
9011 arg1 = wxString_in_helper(obj0);
9012 if (arg1 == NULL) SWIG_fail;
9013 temp1 = true;
9014 }
9015 {
9016 arg2 = wxString_in_helper(obj1);
9017 if (arg2 == NULL) SWIG_fail;
9018 temp2 = true;
9019 }
9020 {
9021 arg3 = wxString_in_helper(obj2);
9022 if (arg3 == NULL) SWIG_fail;
9023 temp3 = true;
9024 }
9025 {
9026 arg4 = wxString_in_helper(obj3);
9027 if (arg4 == NULL) SWIG_fail;
9028 temp4 = true;
9029 }
9030 {
9031 PyThreadState* __tstate = wxPyBeginAllowThreads();
9032 result = (wxHtmlBookRecord *)new wxHtmlBookRecord((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
9033
9034 wxPyEndAllowThreads(__tstate);
9035 if (PyErr_Occurred()) SWIG_fail;
9036 }
9037 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecord, 1);
9038 {
9039 if (temp1)
9040 delete arg1;
9041 }
9042 {
9043 if (temp2)
9044 delete arg2;
9045 }
9046 {
9047 if (temp3)
9048 delete arg3;
9049 }
9050 {
9051 if (temp4)
9052 delete arg4;
9053 }
9054 return resultobj;
9055 fail:
9056 {
9057 if (temp1)
9058 delete arg1;
9059 }
9060 {
9061 if (temp2)
9062 delete arg2;
9063 }
9064 {
9065 if (temp3)
9066 delete arg3;
9067 }
9068 {
9069 if (temp4)
9070 delete arg4;
9071 }
9072 return NULL;
9073 }
9074
9075
9076 static PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *, PyObject *args, PyObject *kwargs) {
9077 PyObject *resultobj;
9078 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
9079 wxString result;
9080 PyObject * obj0 = 0 ;
9081 char *kwnames[] = {
9082 (char *) "self", NULL
9083 };
9084
9085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBookFile",kwnames,&obj0)) goto fail;
9086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
9087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9088 {
9089 PyThreadState* __tstate = wxPyBeginAllowThreads();
9090 result = (arg1)->GetBookFile();
9091
9092 wxPyEndAllowThreads(__tstate);
9093 if (PyErr_Occurred()) SWIG_fail;
9094 }
9095 {
9096 #if wxUSE_UNICODE
9097 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9098 #else
9099 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9100 #endif
9101 }
9102 return resultobj;
9103 fail:
9104 return NULL;
9105 }
9106
9107
9108 static PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
9109 PyObject *resultobj;
9110 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
9111 wxString result;
9112 PyObject * obj0 = 0 ;
9113 char *kwnames[] = {
9114 (char *) "self", NULL
9115 };
9116
9117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetTitle",kwnames,&obj0)) goto fail;
9118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
9119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9120 {
9121 PyThreadState* __tstate = wxPyBeginAllowThreads();
9122 result = (arg1)->GetTitle();
9123
9124 wxPyEndAllowThreads(__tstate);
9125 if (PyErr_Occurred()) SWIG_fail;
9126 }
9127 {
9128 #if wxUSE_UNICODE
9129 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9130 #else
9131 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9132 #endif
9133 }
9134 return resultobj;
9135 fail:
9136 return NULL;
9137 }
9138
9139
9140 static PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *, PyObject *args, PyObject *kwargs) {
9141 PyObject *resultobj;
9142 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
9143 wxString result;
9144 PyObject * obj0 = 0 ;
9145 char *kwnames[] = {
9146 (char *) "self", NULL
9147 };
9148
9149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetStart",kwnames,&obj0)) goto fail;
9150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
9151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9152 {
9153 PyThreadState* __tstate = wxPyBeginAllowThreads();
9154 result = (arg1)->GetStart();
9155
9156 wxPyEndAllowThreads(__tstate);
9157 if (PyErr_Occurred()) SWIG_fail;
9158 }
9159 {
9160 #if wxUSE_UNICODE
9161 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9162 #else
9163 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9164 #endif
9165 }
9166 return resultobj;
9167 fail:
9168 return NULL;
9169 }
9170
9171
9172 static PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *, PyObject *args, PyObject *kwargs) {
9173 PyObject *resultobj;
9174 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
9175 wxString result;
9176 PyObject * obj0 = 0 ;
9177 char *kwnames[] = {
9178 (char *) "self", NULL
9179 };
9180
9181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBasePath",kwnames,&obj0)) goto fail;
9182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
9183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9184 {
9185 PyThreadState* __tstate = wxPyBeginAllowThreads();
9186 result = (arg1)->GetBasePath();
9187
9188 wxPyEndAllowThreads(__tstate);
9189 if (PyErr_Occurred()) SWIG_fail;
9190 }
9191 {
9192 #if wxUSE_UNICODE
9193 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9194 #else
9195 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9196 #endif
9197 }
9198 return resultobj;
9199 fail:
9200 return NULL;
9201 }
9202
9203
9204 static PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *, PyObject *args, PyObject *kwargs) {
9205 PyObject *resultobj;
9206 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
9207 int arg2 ;
9208 int arg3 ;
9209 PyObject * obj0 = 0 ;
9210 PyObject * obj1 = 0 ;
9211 PyObject * obj2 = 0 ;
9212 char *kwnames[] = {
9213 (char *) "self",(char *) "start",(char *) "end", NULL
9214 };
9215
9216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
9217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
9218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9219 arg2 = (int)SWIG_As_int(obj1);
9220 if (PyErr_Occurred()) SWIG_fail;
9221 arg3 = (int)SWIG_As_int(obj2);
9222 if (PyErr_Occurred()) SWIG_fail;
9223 {
9224 PyThreadState* __tstate = wxPyBeginAllowThreads();
9225 (arg1)->SetContentsRange(arg2,arg3);
9226
9227 wxPyEndAllowThreads(__tstate);
9228 if (PyErr_Occurred()) SWIG_fail;
9229 }
9230 Py_INCREF(Py_None); resultobj = Py_None;
9231 return resultobj;
9232 fail:
9233 return NULL;
9234 }
9235
9236
9237 static PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *, PyObject *args, PyObject *kwargs) {
9238 PyObject *resultobj;
9239 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
9240 int result;
9241 PyObject * obj0 = 0 ;
9242 char *kwnames[] = {
9243 (char *) "self", NULL
9244 };
9245
9246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsStart",kwnames,&obj0)) goto fail;
9247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
9248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9249 {
9250 PyThreadState* __tstate = wxPyBeginAllowThreads();
9251 result = (int)(arg1)->GetContentsStart();
9252
9253 wxPyEndAllowThreads(__tstate);
9254 if (PyErr_Occurred()) SWIG_fail;
9255 }
9256 resultobj = SWIG_From_int((int)result);
9257 return resultobj;
9258 fail:
9259 return NULL;
9260 }
9261
9262
9263 static PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *, PyObject *args, PyObject *kwargs) {
9264 PyObject *resultobj;
9265 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
9266 int result;
9267 PyObject * obj0 = 0 ;
9268 char *kwnames[] = {
9269 (char *) "self", NULL
9270 };
9271
9272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsEnd",kwnames,&obj0)) goto fail;
9273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
9274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9275 {
9276 PyThreadState* __tstate = wxPyBeginAllowThreads();
9277 result = (int)(arg1)->GetContentsEnd();
9278
9279 wxPyEndAllowThreads(__tstate);
9280 if (PyErr_Occurred()) SWIG_fail;
9281 }
9282 resultobj = SWIG_From_int((int)result);
9283 return resultobj;
9284 fail:
9285 return NULL;
9286 }
9287
9288
9289 static PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
9290 PyObject *resultobj;
9291 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
9292 wxString *arg2 = 0 ;
9293 bool temp2 = false ;
9294 PyObject * obj0 = 0 ;
9295 PyObject * obj1 = 0 ;
9296 char *kwnames[] = {
9297 (char *) "self",(char *) "title", NULL
9298 };
9299
9300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetTitle",kwnames,&obj0,&obj1)) goto fail;
9301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
9302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9303 {
9304 arg2 = wxString_in_helper(obj1);
9305 if (arg2 == NULL) SWIG_fail;
9306 temp2 = true;
9307 }
9308 {
9309 PyThreadState* __tstate = wxPyBeginAllowThreads();
9310 (arg1)->SetTitle((wxString const &)*arg2);
9311
9312 wxPyEndAllowThreads(__tstate);
9313 if (PyErr_Occurred()) SWIG_fail;
9314 }
9315 Py_INCREF(Py_None); resultobj = Py_None;
9316 {
9317 if (temp2)
9318 delete arg2;
9319 }
9320 return resultobj;
9321 fail:
9322 {
9323 if (temp2)
9324 delete arg2;
9325 }
9326 return NULL;
9327 }
9328
9329
9330 static PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *, PyObject *args, PyObject *kwargs) {
9331 PyObject *resultobj;
9332 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
9333 wxString *arg2 = 0 ;
9334 bool temp2 = false ;
9335 PyObject * obj0 = 0 ;
9336 PyObject * obj1 = 0 ;
9337 char *kwnames[] = {
9338 (char *) "self",(char *) "path", NULL
9339 };
9340
9341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames,&obj0,&obj1)) goto fail;
9342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
9343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9344 {
9345 arg2 = wxString_in_helper(obj1);
9346 if (arg2 == NULL) SWIG_fail;
9347 temp2 = true;
9348 }
9349 {
9350 PyThreadState* __tstate = wxPyBeginAllowThreads();
9351 (arg1)->SetBasePath((wxString const &)*arg2);
9352
9353 wxPyEndAllowThreads(__tstate);
9354 if (PyErr_Occurred()) SWIG_fail;
9355 }
9356 Py_INCREF(Py_None); resultobj = Py_None;
9357 {
9358 if (temp2)
9359 delete arg2;
9360 }
9361 return resultobj;
9362 fail:
9363 {
9364 if (temp2)
9365 delete arg2;
9366 }
9367 return NULL;
9368 }
9369
9370
9371 static PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *, PyObject *args, PyObject *kwargs) {
9372 PyObject *resultobj;
9373 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
9374 wxString *arg2 = 0 ;
9375 bool temp2 = false ;
9376 PyObject * obj0 = 0 ;
9377 PyObject * obj1 = 0 ;
9378 char *kwnames[] = {
9379 (char *) "self",(char *) "start", NULL
9380 };
9381
9382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetStart",kwnames,&obj0,&obj1)) goto fail;
9383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
9384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9385 {
9386 arg2 = wxString_in_helper(obj1);
9387 if (arg2 == NULL) SWIG_fail;
9388 temp2 = true;
9389 }
9390 {
9391 PyThreadState* __tstate = wxPyBeginAllowThreads();
9392 (arg1)->SetStart((wxString const &)*arg2);
9393
9394 wxPyEndAllowThreads(__tstate);
9395 if (PyErr_Occurred()) SWIG_fail;
9396 }
9397 Py_INCREF(Py_None); resultobj = Py_None;
9398 {
9399 if (temp2)
9400 delete arg2;
9401 }
9402 return resultobj;
9403 fail:
9404 {
9405 if (temp2)
9406 delete arg2;
9407 }
9408 return NULL;
9409 }
9410
9411
9412 static PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *, PyObject *args, PyObject *kwargs) {
9413 PyObject *resultobj;
9414 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
9415 wxString *arg2 = 0 ;
9416 wxString result;
9417 bool temp2 = false ;
9418 PyObject * obj0 = 0 ;
9419 PyObject * obj1 = 0 ;
9420 char *kwnames[] = {
9421 (char *) "self",(char *) "page", NULL
9422 };
9423
9424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames,&obj0,&obj1)) goto fail;
9425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
9426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9427 {
9428 arg2 = wxString_in_helper(obj1);
9429 if (arg2 == NULL) SWIG_fail;
9430 temp2 = true;
9431 }
9432 {
9433 PyThreadState* __tstate = wxPyBeginAllowThreads();
9434 result = ((wxHtmlBookRecord const *)arg1)->GetFullPath((wxString const &)*arg2);
9435
9436 wxPyEndAllowThreads(__tstate);
9437 if (PyErr_Occurred()) SWIG_fail;
9438 }
9439 {
9440 #if wxUSE_UNICODE
9441 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9442 #else
9443 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9444 #endif
9445 }
9446 {
9447 if (temp2)
9448 delete arg2;
9449 }
9450 return resultobj;
9451 fail:
9452 {
9453 if (temp2)
9454 delete arg2;
9455 }
9456 return NULL;
9457 }
9458
9459
9460 static PyObject * HtmlBookRecord_swigregister(PyObject *, PyObject *args) {
9461 PyObject *obj;
9462 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9463 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlBookRecord, obj);
9464 Py_INCREF(obj);
9465 return Py_BuildValue((char *)"");
9466 }
9467 static PyObject *_wrap_HtmlContentsItem_GetLevel(PyObject *, PyObject *args, PyObject *kwargs) {
9468 PyObject *resultobj;
9469 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
9470 int result;
9471 PyObject * obj0 = 0 ;
9472 char *kwnames[] = {
9473 (char *) "self", NULL
9474 };
9475
9476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetLevel",kwnames,&obj0)) goto fail;
9477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem,
9478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9479 {
9480 PyThreadState* __tstate = wxPyBeginAllowThreads();
9481 result = (int)wxHtmlContentsItem_GetLevel(arg1);
9482
9483 wxPyEndAllowThreads(__tstate);
9484 if (PyErr_Occurred()) SWIG_fail;
9485 }
9486 resultobj = SWIG_From_int((int)result);
9487 return resultobj;
9488 fail:
9489 return NULL;
9490 }
9491
9492
9493 static PyObject *_wrap_HtmlContentsItem_GetID(PyObject *, PyObject *args, PyObject *kwargs) {
9494 PyObject *resultobj;
9495 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
9496 int result;
9497 PyObject * obj0 = 0 ;
9498 char *kwnames[] = {
9499 (char *) "self", NULL
9500 };
9501
9502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetID",kwnames,&obj0)) goto fail;
9503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem,
9504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9505 {
9506 PyThreadState* __tstate = wxPyBeginAllowThreads();
9507 result = (int)wxHtmlContentsItem_GetID(arg1);
9508
9509 wxPyEndAllowThreads(__tstate);
9510 if (PyErr_Occurred()) SWIG_fail;
9511 }
9512 resultobj = SWIG_From_int((int)result);
9513 return resultobj;
9514 fail:
9515 return NULL;
9516 }
9517
9518
9519 static PyObject *_wrap_HtmlContentsItem_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
9520 PyObject *resultobj;
9521 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
9522 wxString result;
9523 PyObject * obj0 = 0 ;
9524 char *kwnames[] = {
9525 (char *) "self", NULL
9526 };
9527
9528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetName",kwnames,&obj0)) goto fail;
9529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem,
9530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9531 {
9532 PyThreadState* __tstate = wxPyBeginAllowThreads();
9533 result = wxHtmlContentsItem_GetName(arg1);
9534
9535 wxPyEndAllowThreads(__tstate);
9536 if (PyErr_Occurred()) SWIG_fail;
9537 }
9538 {
9539 #if wxUSE_UNICODE
9540 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9541 #else
9542 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9543 #endif
9544 }
9545 return resultobj;
9546 fail:
9547 return NULL;
9548 }
9549
9550
9551 static PyObject *_wrap_HtmlContentsItem_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
9552 PyObject *resultobj;
9553 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
9554 wxString result;
9555 PyObject * obj0 = 0 ;
9556 char *kwnames[] = {
9557 (char *) "self", NULL
9558 };
9559
9560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetPage",kwnames,&obj0)) goto fail;
9561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem,
9562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9563 {
9564 PyThreadState* __tstate = wxPyBeginAllowThreads();
9565 result = wxHtmlContentsItem_GetPage(arg1);
9566
9567 wxPyEndAllowThreads(__tstate);
9568 if (PyErr_Occurred()) SWIG_fail;
9569 }
9570 {
9571 #if wxUSE_UNICODE
9572 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9573 #else
9574 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9575 #endif
9576 }
9577 return resultobj;
9578 fail:
9579 return NULL;
9580 }
9581
9582
9583 static PyObject *_wrap_HtmlContentsItem_GetBook(PyObject *, PyObject *args, PyObject *kwargs) {
9584 PyObject *resultobj;
9585 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
9586 wxHtmlBookRecord *result;
9587 PyObject * obj0 = 0 ;
9588 char *kwnames[] = {
9589 (char *) "self", NULL
9590 };
9591
9592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetBook",kwnames,&obj0)) goto fail;
9593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem,
9594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9595 {
9596 PyThreadState* __tstate = wxPyBeginAllowThreads();
9597 result = (wxHtmlBookRecord *)wxHtmlContentsItem_GetBook(arg1);
9598
9599 wxPyEndAllowThreads(__tstate);
9600 if (PyErr_Occurred()) SWIG_fail;
9601 }
9602 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecord, 0);
9603 return resultobj;
9604 fail:
9605 return NULL;
9606 }
9607
9608
9609 static PyObject * HtmlContentsItem_swigregister(PyObject *, PyObject *args) {
9610 PyObject *obj;
9611 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9612 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContentsItem, obj);
9613 Py_INCREF(obj);
9614 return Py_BuildValue((char *)"");
9615 }
9616 static PyObject *_wrap_HtmlSearchStatus_Search(PyObject *, PyObject *args, PyObject *kwargs) {
9617 PyObject *resultobj;
9618 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
9619 bool result;
9620 PyObject * obj0 = 0 ;
9621 char *kwnames[] = {
9622 (char *) "self", NULL
9623 };
9624
9625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_Search",kwnames,&obj0)) goto fail;
9626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus,
9627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9628 {
9629 PyThreadState* __tstate = wxPyBeginAllowThreads();
9630 result = (bool)(arg1)->Search();
9631
9632 wxPyEndAllowThreads(__tstate);
9633 if (PyErr_Occurred()) SWIG_fail;
9634 }
9635 {
9636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9637 }
9638 return resultobj;
9639 fail:
9640 return NULL;
9641 }
9642
9643
9644 static PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
9645 PyObject *resultobj;
9646 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
9647 bool result;
9648 PyObject * obj0 = 0 ;
9649 char *kwnames[] = {
9650 (char *) "self", NULL
9651 };
9652
9653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_IsActive",kwnames,&obj0)) goto fail;
9654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus,
9655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9656 {
9657 PyThreadState* __tstate = wxPyBeginAllowThreads();
9658 result = (bool)(arg1)->IsActive();
9659
9660 wxPyEndAllowThreads(__tstate);
9661 if (PyErr_Occurred()) SWIG_fail;
9662 }
9663 {
9664 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9665 }
9666 return resultobj;
9667 fail:
9668 return NULL;
9669 }
9670
9671
9672 static PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *, PyObject *args, PyObject *kwargs) {
9673 PyObject *resultobj;
9674 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
9675 int result;
9676 PyObject * obj0 = 0 ;
9677 char *kwnames[] = {
9678 (char *) "self", NULL
9679 };
9680
9681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetCurIndex",kwnames,&obj0)) goto fail;
9682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus,
9683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9684 {
9685 PyThreadState* __tstate = wxPyBeginAllowThreads();
9686 result = (int)(arg1)->GetCurIndex();
9687
9688 wxPyEndAllowThreads(__tstate);
9689 if (PyErr_Occurred()) SWIG_fail;
9690 }
9691 resultobj = SWIG_From_int((int)result);
9692 return resultobj;
9693 fail:
9694 return NULL;
9695 }
9696
9697
9698 static PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *, PyObject *args, PyObject *kwargs) {
9699 PyObject *resultobj;
9700 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
9701 int result;
9702 PyObject * obj0 = 0 ;
9703 char *kwnames[] = {
9704 (char *) "self", NULL
9705 };
9706
9707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetMaxIndex",kwnames,&obj0)) goto fail;
9708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus,
9709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9710 {
9711 PyThreadState* __tstate = wxPyBeginAllowThreads();
9712 result = (int)(arg1)->GetMaxIndex();
9713
9714 wxPyEndAllowThreads(__tstate);
9715 if (PyErr_Occurred()) SWIG_fail;
9716 }
9717 resultobj = SWIG_From_int((int)result);
9718 return resultobj;
9719 fail:
9720 return NULL;
9721 }
9722
9723
9724 static PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
9725 PyObject *resultobj;
9726 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
9727 wxString *result;
9728 PyObject * obj0 = 0 ;
9729 char *kwnames[] = {
9730 (char *) "self", NULL
9731 };
9732
9733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetName",kwnames,&obj0)) goto fail;
9734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus,
9735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9736 {
9737 PyThreadState* __tstate = wxPyBeginAllowThreads();
9738 {
9739 wxString const &_result_ref = (arg1)->GetName();
9740 result = (wxString *) &_result_ref;
9741 }
9742
9743 wxPyEndAllowThreads(__tstate);
9744 if (PyErr_Occurred()) SWIG_fail;
9745 }
9746 {
9747 #if wxUSE_UNICODE
9748 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
9749 #else
9750 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
9751 #endif
9752 }
9753 return resultobj;
9754 fail:
9755 return NULL;
9756 }
9757
9758
9759 static PyObject *_wrap_HtmlSearchStatus_GetContentsItem(PyObject *, PyObject *args, PyObject *kwargs) {
9760 PyObject *resultobj;
9761 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
9762 wxHtmlContentsItem *result;
9763 PyObject * obj0 = 0 ;
9764 char *kwnames[] = {
9765 (char *) "self", NULL
9766 };
9767
9768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetContentsItem",kwnames,&obj0)) goto fail;
9769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus,
9770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9771 {
9772 PyThreadState* __tstate = wxPyBeginAllowThreads();
9773 result = (wxHtmlContentsItem *)(arg1)->GetContentsItem();
9774
9775 wxPyEndAllowThreads(__tstate);
9776 if (PyErr_Occurred()) SWIG_fail;
9777 }
9778 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0);
9779 return resultobj;
9780 fail:
9781 return NULL;
9782 }
9783
9784
9785 static PyObject * HtmlSearchStatus_swigregister(PyObject *, PyObject *args) {
9786 PyObject *obj;
9787 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9788 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSearchStatus, obj);
9789 Py_INCREF(obj);
9790 return Py_BuildValue((char *)"");
9791 }
9792 static PyObject *_wrap_new_HtmlHelpData(PyObject *, PyObject *args, PyObject *kwargs) {
9793 PyObject *resultobj;
9794 wxHtmlHelpData *result;
9795 char *kwnames[] = {
9796 NULL
9797 };
9798
9799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlHelpData",kwnames)) goto fail;
9800 {
9801 PyThreadState* __tstate = wxPyBeginAllowThreads();
9802 result = (wxHtmlHelpData *)new wxHtmlHelpData();
9803
9804 wxPyEndAllowThreads(__tstate);
9805 if (PyErr_Occurred()) SWIG_fail;
9806 }
9807 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 1);
9808 return resultobj;
9809 fail:
9810 return NULL;
9811 }
9812
9813
9814 static PyObject *_wrap_delete_HtmlHelpData(PyObject *, PyObject *args, PyObject *kwargs) {
9815 PyObject *resultobj;
9816 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9817 PyObject * obj0 = 0 ;
9818 char *kwnames[] = {
9819 (char *) "self", NULL
9820 };
9821
9822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpData",kwnames,&obj0)) goto fail;
9823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9825 {
9826 PyThreadState* __tstate = wxPyBeginAllowThreads();
9827 delete arg1;
9828
9829 wxPyEndAllowThreads(__tstate);
9830 if (PyErr_Occurred()) SWIG_fail;
9831 }
9832 Py_INCREF(Py_None); resultobj = Py_None;
9833 return resultobj;
9834 fail:
9835 return NULL;
9836 }
9837
9838
9839 static PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *, PyObject *args, PyObject *kwargs) {
9840 PyObject *resultobj;
9841 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9842 wxString *arg2 = 0 ;
9843 bool temp2 = false ;
9844 PyObject * obj0 = 0 ;
9845 PyObject * obj1 = 0 ;
9846 char *kwnames[] = {
9847 (char *) "self",(char *) "path", NULL
9848 };
9849
9850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_SetTempDir",kwnames,&obj0,&obj1)) goto fail;
9851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9853 {
9854 arg2 = wxString_in_helper(obj1);
9855 if (arg2 == NULL) SWIG_fail;
9856 temp2 = true;
9857 }
9858 {
9859 PyThreadState* __tstate = wxPyBeginAllowThreads();
9860 (arg1)->SetTempDir((wxString const &)*arg2);
9861
9862 wxPyEndAllowThreads(__tstate);
9863 if (PyErr_Occurred()) SWIG_fail;
9864 }
9865 Py_INCREF(Py_None); resultobj = Py_None;
9866 {
9867 if (temp2)
9868 delete arg2;
9869 }
9870 return resultobj;
9871 fail:
9872 {
9873 if (temp2)
9874 delete arg2;
9875 }
9876 return NULL;
9877 }
9878
9879
9880 static PyObject *_wrap_HtmlHelpData_AddBook(PyObject *, PyObject *args, PyObject *kwargs) {
9881 PyObject *resultobj;
9882 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9883 wxString *arg2 = 0 ;
9884 bool result;
9885 bool temp2 = false ;
9886 PyObject * obj0 = 0 ;
9887 PyObject * obj1 = 0 ;
9888 char *kwnames[] = {
9889 (char *) "self",(char *) "book", NULL
9890 };
9891
9892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_AddBook",kwnames,&obj0,&obj1)) goto fail;
9893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9895 {
9896 arg2 = wxString_in_helper(obj1);
9897 if (arg2 == NULL) SWIG_fail;
9898 temp2 = true;
9899 }
9900 {
9901 PyThreadState* __tstate = wxPyBeginAllowThreads();
9902 result = (bool)(arg1)->AddBook((wxString const &)*arg2);
9903
9904 wxPyEndAllowThreads(__tstate);
9905 if (PyErr_Occurred()) SWIG_fail;
9906 }
9907 {
9908 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9909 }
9910 {
9911 if (temp2)
9912 delete arg2;
9913 }
9914 return resultobj;
9915 fail:
9916 {
9917 if (temp2)
9918 delete arg2;
9919 }
9920 return NULL;
9921 }
9922
9923
9924 static PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *, PyObject *args, PyObject *kwargs) {
9925 PyObject *resultobj;
9926 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9927 wxString *arg2 = 0 ;
9928 wxString result;
9929 bool temp2 = false ;
9930 PyObject * obj0 = 0 ;
9931 PyObject * obj1 = 0 ;
9932 char *kwnames[] = {
9933 (char *) "self",(char *) "page", NULL
9934 };
9935
9936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageByName",kwnames,&obj0,&obj1)) goto fail;
9937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9939 {
9940 arg2 = wxString_in_helper(obj1);
9941 if (arg2 == NULL) SWIG_fail;
9942 temp2 = true;
9943 }
9944 {
9945 PyThreadState* __tstate = wxPyBeginAllowThreads();
9946 result = (arg1)->FindPageByName((wxString const &)*arg2);
9947
9948 wxPyEndAllowThreads(__tstate);
9949 if (PyErr_Occurred()) SWIG_fail;
9950 }
9951 {
9952 #if wxUSE_UNICODE
9953 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9954 #else
9955 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9956 #endif
9957 }
9958 {
9959 if (temp2)
9960 delete arg2;
9961 }
9962 return resultobj;
9963 fail:
9964 {
9965 if (temp2)
9966 delete arg2;
9967 }
9968 return NULL;
9969 }
9970
9971
9972 static PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *, PyObject *args, PyObject *kwargs) {
9973 PyObject *resultobj;
9974 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9975 int arg2 ;
9976 wxString result;
9977 PyObject * obj0 = 0 ;
9978 PyObject * obj1 = 0 ;
9979 char *kwnames[] = {
9980 (char *) "self",(char *) "id", NULL
9981 };
9982
9983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageById",kwnames,&obj0,&obj1)) goto fail;
9984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9986 arg2 = (int)SWIG_As_int(obj1);
9987 if (PyErr_Occurred()) SWIG_fail;
9988 {
9989 PyThreadState* __tstate = wxPyBeginAllowThreads();
9990 result = (arg1)->FindPageById(arg2);
9991
9992 wxPyEndAllowThreads(__tstate);
9993 if (PyErr_Occurred()) SWIG_fail;
9994 }
9995 {
9996 #if wxUSE_UNICODE
9997 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9998 #else
9999 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10000 #endif
10001 }
10002 return resultobj;
10003 fail:
10004 return NULL;
10005 }
10006
10007
10008 static PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *, PyObject *args, PyObject *kwargs) {
10009 PyObject *resultobj;
10010 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
10011 wxHtmlBookRecArray *result;
10012 PyObject * obj0 = 0 ;
10013 char *kwnames[] = {
10014 (char *) "self", NULL
10015 };
10016
10017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetBookRecArray",kwnames,&obj0)) goto fail;
10018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
10019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10020 {
10021 PyThreadState* __tstate = wxPyBeginAllowThreads();
10022 {
10023 wxHtmlBookRecArray const &_result_ref = (arg1)->GetBookRecArray();
10024 result = (wxHtmlBookRecArray *) &_result_ref;
10025 }
10026
10027 wxPyEndAllowThreads(__tstate);
10028 if (PyErr_Occurred()) SWIG_fail;
10029 }
10030 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecArray, 0);
10031 return resultobj;
10032 fail:
10033 return NULL;
10034 }
10035
10036
10037 static PyObject *_wrap_HtmlHelpData_GetContents(PyObject *, PyObject *args, PyObject *kwargs) {
10038 PyObject *resultobj;
10039 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
10040 wxHtmlContentsItem *result;
10041 PyObject * obj0 = 0 ;
10042 char *kwnames[] = {
10043 (char *) "self", NULL
10044 };
10045
10046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContents",kwnames,&obj0)) goto fail;
10047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
10048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10049 {
10050 PyThreadState* __tstate = wxPyBeginAllowThreads();
10051 result = (wxHtmlContentsItem *)(arg1)->GetContents();
10052
10053 wxPyEndAllowThreads(__tstate);
10054 if (PyErr_Occurred()) SWIG_fail;
10055 }
10056 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0);
10057 return resultobj;
10058 fail:
10059 return NULL;
10060 }
10061
10062
10063 static PyObject *_wrap_HtmlHelpData_GetContentsCnt(PyObject *, PyObject *args, PyObject *kwargs) {
10064 PyObject *resultobj;
10065 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
10066 int result;
10067 PyObject * obj0 = 0 ;
10068 char *kwnames[] = {
10069 (char *) "self", NULL
10070 };
10071
10072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContentsCnt",kwnames,&obj0)) goto fail;
10073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
10074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10075 {
10076 PyThreadState* __tstate = wxPyBeginAllowThreads();
10077 result = (int)(arg1)->GetContentsCnt();
10078
10079 wxPyEndAllowThreads(__tstate);
10080 if (PyErr_Occurred()) SWIG_fail;
10081 }
10082 resultobj = SWIG_From_int((int)result);
10083 return resultobj;
10084 fail:
10085 return NULL;
10086 }
10087
10088
10089 static PyObject *_wrap_HtmlHelpData_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
10090 PyObject *resultobj;
10091 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
10092 wxHtmlContentsItem *result;
10093 PyObject * obj0 = 0 ;
10094 char *kwnames[] = {
10095 (char *) "self", NULL
10096 };
10097
10098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndex",kwnames,&obj0)) goto fail;
10099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
10100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10101 {
10102 PyThreadState* __tstate = wxPyBeginAllowThreads();
10103 result = (wxHtmlContentsItem *)(arg1)->GetIndex();
10104
10105 wxPyEndAllowThreads(__tstate);
10106 if (PyErr_Occurred()) SWIG_fail;
10107 }
10108 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0);
10109 return resultobj;
10110 fail:
10111 return NULL;
10112 }
10113
10114
10115 static PyObject *_wrap_HtmlHelpData_GetIndexCnt(PyObject *, PyObject *args, PyObject *kwargs) {
10116 PyObject *resultobj;
10117 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
10118 int result;
10119 PyObject * obj0 = 0 ;
10120 char *kwnames[] = {
10121 (char *) "self", NULL
10122 };
10123
10124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndexCnt",kwnames,&obj0)) goto fail;
10125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
10126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10127 {
10128 PyThreadState* __tstate = wxPyBeginAllowThreads();
10129 result = (int)(arg1)->GetIndexCnt();
10130
10131 wxPyEndAllowThreads(__tstate);
10132 if (PyErr_Occurred()) SWIG_fail;
10133 }
10134 resultobj = SWIG_From_int((int)result);
10135 return resultobj;
10136 fail:
10137 return NULL;
10138 }
10139
10140
10141 static PyObject * HtmlHelpData_swigregister(PyObject *, PyObject *args) {
10142 PyObject *obj;
10143 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10144 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpData, obj);
10145 Py_INCREF(obj);
10146 return Py_BuildValue((char *)"");
10147 }
10148 static PyObject *_wrap_new_HtmlHelpFrame(PyObject *, PyObject *args, PyObject *kwargs) {
10149 PyObject *resultobj;
10150 wxWindow *arg1 = (wxWindow *) 0 ;
10151 int arg2 ;
10152 wxString const &arg3_defvalue = wxPyEmptyString ;
10153 wxString *arg3 = (wxString *) &arg3_defvalue ;
10154 int arg4 = (int) wxHF_DEFAULTSTYLE ;
10155 wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ;
10156 wxHtmlHelpFrame *result;
10157 bool temp3 = false ;
10158 PyObject * obj0 = 0 ;
10159 PyObject * obj1 = 0 ;
10160 PyObject * obj2 = 0 ;
10161 PyObject * obj3 = 0 ;
10162 PyObject * obj4 = 0 ;
10163 char *kwnames[] = {
10164 (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL
10165 };
10166
10167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
10168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10170 arg2 = (int)SWIG_As_int(obj1);
10171 if (PyErr_Occurred()) SWIG_fail;
10172 if (obj2) {
10173 {
10174 arg3 = wxString_in_helper(obj2);
10175 if (arg3 == NULL) SWIG_fail;
10176 temp3 = true;
10177 }
10178 }
10179 if (obj3) {
10180 arg4 = (int)SWIG_As_int(obj3);
10181 if (PyErr_Occurred()) SWIG_fail;
10182 }
10183 if (obj4) {
10184 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxHtmlHelpData,
10185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10186 }
10187 {
10188 if (!wxPyCheckForApp()) SWIG_fail;
10189 PyThreadState* __tstate = wxPyBeginAllowThreads();
10190 result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5);
10191
10192 wxPyEndAllowThreads(__tstate);
10193 if (PyErr_Occurred()) SWIG_fail;
10194 }
10195 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 1);
10196 {
10197 if (temp3)
10198 delete arg3;
10199 }
10200 return resultobj;
10201 fail:
10202 {
10203 if (temp3)
10204 delete arg3;
10205 }
10206 return NULL;
10207 }
10208
10209
10210 static PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
10211 PyObject *resultobj;
10212 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
10213 wxHtmlHelpData *result;
10214 PyObject * obj0 = 0 ;
10215 char *kwnames[] = {
10216 (char *) "self", NULL
10217 };
10218
10219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_GetData",kwnames,&obj0)) goto fail;
10220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
10221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10222 {
10223 PyThreadState* __tstate = wxPyBeginAllowThreads();
10224 result = (wxHtmlHelpData *)(arg1)->GetData();
10225
10226 wxPyEndAllowThreads(__tstate);
10227 if (PyErr_Occurred()) SWIG_fail;
10228 }
10229 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 0);
10230 return resultobj;
10231 fail:
10232 return NULL;
10233 }
10234
10235
10236 static PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) {
10237 PyObject *resultobj;
10238 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
10239 wxString *arg2 = 0 ;
10240 bool temp2 = false ;
10241 PyObject * obj0 = 0 ;
10242 PyObject * obj1 = 0 ;
10243 char *kwnames[] = {
10244 (char *) "self",(char *) "format", NULL
10245 };
10246
10247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
10248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
10249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10250 {
10251 arg2 = wxString_in_helper(obj1);
10252 if (arg2 == NULL) SWIG_fail;
10253 temp2 = true;
10254 }
10255 {
10256 PyThreadState* __tstate = wxPyBeginAllowThreads();
10257 (arg1)->SetTitleFormat((wxString const &)*arg2);
10258
10259 wxPyEndAllowThreads(__tstate);
10260 if (PyErr_Occurred()) SWIG_fail;
10261 }
10262 Py_INCREF(Py_None); resultobj = Py_None;
10263 {
10264 if (temp2)
10265 delete arg2;
10266 }
10267 return resultobj;
10268 fail:
10269 {
10270 if (temp2)
10271 delete arg2;
10272 }
10273 return NULL;
10274 }
10275
10276
10277 static PyObject *_wrap_HtmlHelpFrame_Display(PyObject *, PyObject *args, PyObject *kwargs) {
10278 PyObject *resultobj;
10279 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
10280 wxString *arg2 = 0 ;
10281 bool temp2 = false ;
10282 PyObject * obj0 = 0 ;
10283 PyObject * obj1 = 0 ;
10284 char *kwnames[] = {
10285 (char *) "self",(char *) "x", NULL
10286 };
10287
10288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_Display",kwnames,&obj0,&obj1)) goto fail;
10289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
10290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10291 {
10292 arg2 = wxString_in_helper(obj1);
10293 if (arg2 == NULL) SWIG_fail;
10294 temp2 = true;
10295 }
10296 {
10297 PyThreadState* __tstate = wxPyBeginAllowThreads();
10298 (arg1)->Display((wxString const &)*arg2);
10299
10300 wxPyEndAllowThreads(__tstate);
10301 if (PyErr_Occurred()) SWIG_fail;
10302 }
10303 Py_INCREF(Py_None); resultobj = Py_None;
10304 {
10305 if (temp2)
10306 delete arg2;
10307 }
10308 return resultobj;
10309 fail:
10310 {
10311 if (temp2)
10312 delete arg2;
10313 }
10314 return NULL;
10315 }
10316
10317
10318 static PyObject *_wrap_HtmlHelpFrame_DisplayID(PyObject *, PyObject *args, PyObject *kwargs) {
10319 PyObject *resultobj;
10320 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
10321 int arg2 ;
10322 PyObject * obj0 = 0 ;
10323 PyObject * obj1 = 0 ;
10324 char *kwnames[] = {
10325 (char *) "self",(char *) "id", NULL
10326 };
10327
10328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_DisplayID",kwnames,&obj0,&obj1)) goto fail;
10329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
10330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10331 arg2 = (int)SWIG_As_int(obj1);
10332 if (PyErr_Occurred()) SWIG_fail;
10333 {
10334 PyThreadState* __tstate = wxPyBeginAllowThreads();
10335 (arg1)->Display(arg2);
10336
10337 wxPyEndAllowThreads(__tstate);
10338 if (PyErr_Occurred()) SWIG_fail;
10339 }
10340 Py_INCREF(Py_None); resultobj = Py_None;
10341 return resultobj;
10342 fail:
10343 return NULL;
10344 }
10345
10346
10347 static PyObject *_wrap_HtmlHelpFrame_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) {
10348 PyObject *resultobj;
10349 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
10350 PyObject * obj0 = 0 ;
10351 char *kwnames[] = {
10352 (char *) "self", NULL
10353 };
10354
10355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayContents",kwnames,&obj0)) goto fail;
10356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
10357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10358 {
10359 PyThreadState* __tstate = wxPyBeginAllowThreads();
10360 (arg1)->DisplayContents();
10361
10362 wxPyEndAllowThreads(__tstate);
10363 if (PyErr_Occurred()) SWIG_fail;
10364 }
10365 Py_INCREF(Py_None); resultobj = Py_None;
10366 return resultobj;
10367 fail:
10368 return NULL;
10369 }
10370
10371
10372 static PyObject *_wrap_HtmlHelpFrame_DisplayIndex(PyObject *, PyObject *args, PyObject *kwargs) {
10373 PyObject *resultobj;
10374 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
10375 PyObject * obj0 = 0 ;
10376 char *kwnames[] = {
10377 (char *) "self", NULL
10378 };
10379
10380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayIndex",kwnames,&obj0)) goto fail;
10381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
10382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10383 {
10384 PyThreadState* __tstate = wxPyBeginAllowThreads();
10385 (arg1)->DisplayIndex();
10386
10387 wxPyEndAllowThreads(__tstate);
10388 if (PyErr_Occurred()) SWIG_fail;
10389 }
10390 Py_INCREF(Py_None); resultobj = Py_None;
10391 return resultobj;
10392 fail:
10393 return NULL;
10394 }
10395
10396
10397 static PyObject *_wrap_HtmlHelpFrame_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) {
10398 PyObject *resultobj;
10399 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
10400 wxString *arg2 = 0 ;
10401 bool result;
10402 bool temp2 = false ;
10403 PyObject * obj0 = 0 ;
10404 PyObject * obj1 = 0 ;
10405 char *kwnames[] = {
10406 (char *) "self",(char *) "keyword", NULL
10407 };
10408
10409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_KeywordSearch",kwnames,&obj0,&obj1)) goto fail;
10410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
10411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10412 {
10413 arg2 = wxString_in_helper(obj1);
10414 if (arg2 == NULL) SWIG_fail;
10415 temp2 = true;
10416 }
10417 {
10418 PyThreadState* __tstate = wxPyBeginAllowThreads();
10419 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
10420
10421 wxPyEndAllowThreads(__tstate);
10422 if (PyErr_Occurred()) SWIG_fail;
10423 }
10424 {
10425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10426 }
10427 {
10428 if (temp2)
10429 delete arg2;
10430 }
10431 return resultobj;
10432 fail:
10433 {
10434 if (temp2)
10435 delete arg2;
10436 }
10437 return NULL;
10438 }
10439
10440
10441 static PyObject *_wrap_HtmlHelpFrame_UseConfig(PyObject *, PyObject *args, PyObject *kwargs) {
10442 PyObject *resultobj;
10443 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
10444 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10445 wxString const &arg3_defvalue = wxPyEmptyString ;
10446 wxString *arg3 = (wxString *) &arg3_defvalue ;
10447 bool temp3 = false ;
10448 PyObject * obj0 = 0 ;
10449 PyObject * obj1 = 0 ;
10450 PyObject * obj2 = 0 ;
10451 char *kwnames[] = {
10452 (char *) "self",(char *) "config",(char *) "rootpath", NULL
10453 };
10454
10455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail;
10456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
10457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10458 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
10459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10460 if (obj2) {
10461 {
10462 arg3 = wxString_in_helper(obj2);
10463 if (arg3 == NULL) SWIG_fail;
10464 temp3 = true;
10465 }
10466 }
10467 {
10468 PyThreadState* __tstate = wxPyBeginAllowThreads();
10469 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
10470
10471 wxPyEndAllowThreads(__tstate);
10472 if (PyErr_Occurred()) SWIG_fail;
10473 }
10474 Py_INCREF(Py_None); resultobj = Py_None;
10475 {
10476 if (temp3)
10477 delete arg3;
10478 }
10479 return resultobj;
10480 fail:
10481 {
10482 if (temp3)
10483 delete arg3;
10484 }
10485 return NULL;
10486 }
10487
10488
10489 static PyObject *_wrap_HtmlHelpFrame_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
10490 PyObject *resultobj;
10491 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
10492 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10493 wxString arg3 = (wxString) wxPyEmptyString ;
10494 PyObject * obj0 = 0 ;
10495 PyObject * obj1 = 0 ;
10496 PyObject * obj2 = 0 ;
10497 char *kwnames[] = {
10498 (char *) "self",(char *) "cfg",(char *) "path", NULL
10499 };
10500
10501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
10502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
10503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10504 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
10505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10506 if (obj2) {
10507 {
10508 wxString* sptr = wxString_in_helper(obj2);
10509 if (sptr == NULL) SWIG_fail;
10510 arg3 = *sptr;
10511 delete sptr;
10512 }
10513 }
10514 {
10515 PyThreadState* __tstate = wxPyBeginAllowThreads();
10516 (arg1)->ReadCustomization(arg2,arg3);
10517
10518 wxPyEndAllowThreads(__tstate);
10519 if (PyErr_Occurred()) SWIG_fail;
10520 }
10521 Py_INCREF(Py_None); resultobj = Py_None;
10522 return resultobj;
10523 fail:
10524 return NULL;
10525 }
10526
10527
10528 static PyObject *_wrap_HtmlHelpFrame_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
10529 PyObject *resultobj;
10530 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
10531 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10532 wxString arg3 = (wxString) wxPyEmptyString ;
10533 PyObject * obj0 = 0 ;
10534 PyObject * obj1 = 0 ;
10535 PyObject * obj2 = 0 ;
10536 char *kwnames[] = {
10537 (char *) "self",(char *) "cfg",(char *) "path", NULL
10538 };
10539
10540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
10541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
10542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10543 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
10544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10545 if (obj2) {
10546 {
10547 wxString* sptr = wxString_in_helper(obj2);
10548 if (sptr == NULL) SWIG_fail;
10549 arg3 = *sptr;
10550 delete sptr;
10551 }
10552 }
10553 {
10554 PyThreadState* __tstate = wxPyBeginAllowThreads();
10555 (arg1)->WriteCustomization(arg2,arg3);
10556
10557 wxPyEndAllowThreads(__tstate);
10558 if (PyErr_Occurred()) SWIG_fail;
10559 }
10560 Py_INCREF(Py_None); resultobj = Py_None;
10561 return resultobj;
10562 fail:
10563 return NULL;
10564 }
10565
10566
10567 static PyObject * HtmlHelpFrame_swigregister(PyObject *, PyObject *args) {
10568 PyObject *obj;
10569 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10570 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpFrame, obj);
10571 Py_INCREF(obj);
10572 return Py_BuildValue((char *)"");
10573 }
10574 static PyObject *_wrap_new_HtmlHelpController(PyObject *, PyObject *args, PyObject *kwargs) {
10575 PyObject *resultobj;
10576 int arg1 = (int) wxHF_DEFAULTSTYLE ;
10577 wxHtmlHelpController *result;
10578 PyObject * obj0 = 0 ;
10579 char *kwnames[] = {
10580 (char *) "style", NULL
10581 };
10582
10583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlHelpController",kwnames,&obj0)) goto fail;
10584 if (obj0) {
10585 arg1 = (int)SWIG_As_int(obj0);
10586 if (PyErr_Occurred()) SWIG_fail;
10587 }
10588 {
10589 if (!wxPyCheckForApp()) SWIG_fail;
10590 PyThreadState* __tstate = wxPyBeginAllowThreads();
10591 result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1);
10592
10593 wxPyEndAllowThreads(__tstate);
10594 if (PyErr_Occurred()) SWIG_fail;
10595 }
10596 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpController, 1);
10597 return resultobj;
10598 fail:
10599 return NULL;
10600 }
10601
10602
10603 static PyObject *_wrap_delete_HtmlHelpController(PyObject *, PyObject *args, PyObject *kwargs) {
10604 PyObject *resultobj;
10605 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10606 PyObject * obj0 = 0 ;
10607 char *kwnames[] = {
10608 (char *) "self", NULL
10609 };
10610
10611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpController",kwnames,&obj0)) goto fail;
10612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10614 {
10615 PyThreadState* __tstate = wxPyBeginAllowThreads();
10616 delete arg1;
10617
10618 wxPyEndAllowThreads(__tstate);
10619 if (PyErr_Occurred()) SWIG_fail;
10620 }
10621 Py_INCREF(Py_None); resultobj = Py_None;
10622 return resultobj;
10623 fail:
10624 return NULL;
10625 }
10626
10627
10628 static PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) {
10629 PyObject *resultobj;
10630 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10631 wxString *arg2 = 0 ;
10632 bool temp2 = false ;
10633 PyObject * obj0 = 0 ;
10634 PyObject * obj1 = 0 ;
10635 char *kwnames[] = {
10636 (char *) "self",(char *) "format", NULL
10637 };
10638
10639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
10640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10642 {
10643 arg2 = wxString_in_helper(obj1);
10644 if (arg2 == NULL) SWIG_fail;
10645 temp2 = true;
10646 }
10647 {
10648 PyThreadState* __tstate = wxPyBeginAllowThreads();
10649 (arg1)->SetTitleFormat((wxString const &)*arg2);
10650
10651 wxPyEndAllowThreads(__tstate);
10652 if (PyErr_Occurred()) SWIG_fail;
10653 }
10654 Py_INCREF(Py_None); resultobj = Py_None;
10655 {
10656 if (temp2)
10657 delete arg2;
10658 }
10659 return resultobj;
10660 fail:
10661 {
10662 if (temp2)
10663 delete arg2;
10664 }
10665 return NULL;
10666 }
10667
10668
10669 static PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *, PyObject *args, PyObject *kwargs) {
10670 PyObject *resultobj;
10671 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10672 wxString *arg2 = 0 ;
10673 bool temp2 = false ;
10674 PyObject * obj0 = 0 ;
10675 PyObject * obj1 = 0 ;
10676 char *kwnames[] = {
10677 (char *) "self",(char *) "path", NULL
10678 };
10679
10680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",kwnames,&obj0,&obj1)) goto fail;
10681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10683 {
10684 arg2 = wxString_in_helper(obj1);
10685 if (arg2 == NULL) SWIG_fail;
10686 temp2 = true;
10687 }
10688 {
10689 PyThreadState* __tstate = wxPyBeginAllowThreads();
10690 (arg1)->SetTempDir((wxString const &)*arg2);
10691
10692 wxPyEndAllowThreads(__tstate);
10693 if (PyErr_Occurred()) SWIG_fail;
10694 }
10695 Py_INCREF(Py_None); resultobj = Py_None;
10696 {
10697 if (temp2)
10698 delete arg2;
10699 }
10700 return resultobj;
10701 fail:
10702 {
10703 if (temp2)
10704 delete arg2;
10705 }
10706 return NULL;
10707 }
10708
10709
10710 static PyObject *_wrap_HtmlHelpController_AddBook(PyObject *, PyObject *args, PyObject *kwargs) {
10711 PyObject *resultobj;
10712 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10713 wxString *arg2 = 0 ;
10714 int arg3 = (int) false ;
10715 bool result;
10716 bool temp2 = false ;
10717 PyObject * obj0 = 0 ;
10718 PyObject * obj1 = 0 ;
10719 PyObject * obj2 = 0 ;
10720 char *kwnames[] = {
10721 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
10722 };
10723
10724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&obj2)) goto fail;
10725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10727 {
10728 arg2 = wxString_in_helper(obj1);
10729 if (arg2 == NULL) SWIG_fail;
10730 temp2 = true;
10731 }
10732 if (obj2) {
10733 arg3 = (int)SWIG_As_int(obj2);
10734 if (PyErr_Occurred()) SWIG_fail;
10735 }
10736 {
10737 PyThreadState* __tstate = wxPyBeginAllowThreads();
10738 result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3);
10739
10740 wxPyEndAllowThreads(__tstate);
10741 if (PyErr_Occurred()) SWIG_fail;
10742 }
10743 {
10744 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10745 }
10746 {
10747 if (temp2)
10748 delete arg2;
10749 }
10750 return resultobj;
10751 fail:
10752 {
10753 if (temp2)
10754 delete arg2;
10755 }
10756 return NULL;
10757 }
10758
10759
10760 static PyObject *_wrap_HtmlHelpController_Display(PyObject *, PyObject *args, PyObject *kwargs) {
10761 PyObject *resultobj;
10762 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10763 wxString *arg2 = 0 ;
10764 bool temp2 = false ;
10765 PyObject * obj0 = 0 ;
10766 PyObject * obj1 = 0 ;
10767 char *kwnames[] = {
10768 (char *) "self",(char *) "x", NULL
10769 };
10770
10771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) goto fail;
10772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10774 {
10775 arg2 = wxString_in_helper(obj1);
10776 if (arg2 == NULL) SWIG_fail;
10777 temp2 = true;
10778 }
10779 {
10780 PyThreadState* __tstate = wxPyBeginAllowThreads();
10781 (arg1)->Display((wxString const &)*arg2);
10782
10783 wxPyEndAllowThreads(__tstate);
10784 if (PyErr_Occurred()) SWIG_fail;
10785 }
10786 Py_INCREF(Py_None); resultobj = Py_None;
10787 {
10788 if (temp2)
10789 delete arg2;
10790 }
10791 return resultobj;
10792 fail:
10793 {
10794 if (temp2)
10795 delete arg2;
10796 }
10797 return NULL;
10798 }
10799
10800
10801 static PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *, PyObject *args, PyObject *kwargs) {
10802 PyObject *resultobj;
10803 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10804 int arg2 ;
10805 PyObject * obj0 = 0 ;
10806 PyObject * obj1 = 0 ;
10807 char *kwnames[] = {
10808 (char *) "self",(char *) "id", NULL
10809 };
10810
10811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_DisplayID",kwnames,&obj0,&obj1)) goto fail;
10812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10814 arg2 = (int)SWIG_As_int(obj1);
10815 if (PyErr_Occurred()) SWIG_fail;
10816 {
10817 PyThreadState* __tstate = wxPyBeginAllowThreads();
10818 (arg1)->Display(arg2);
10819
10820 wxPyEndAllowThreads(__tstate);
10821 if (PyErr_Occurred()) SWIG_fail;
10822 }
10823 Py_INCREF(Py_None); resultobj = Py_None;
10824 return resultobj;
10825 fail:
10826 return NULL;
10827 }
10828
10829
10830 static PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) {
10831 PyObject *resultobj;
10832 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10833 PyObject * obj0 = 0 ;
10834 char *kwnames[] = {
10835 (char *) "self", NULL
10836 };
10837
10838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayContents",kwnames,&obj0)) goto fail;
10839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10841 {
10842 PyThreadState* __tstate = wxPyBeginAllowThreads();
10843 (arg1)->DisplayContents();
10844
10845 wxPyEndAllowThreads(__tstate);
10846 if (PyErr_Occurred()) SWIG_fail;
10847 }
10848 Py_INCREF(Py_None); resultobj = Py_None;
10849 return resultobj;
10850 fail:
10851 return NULL;
10852 }
10853
10854
10855 static PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *, PyObject *args, PyObject *kwargs) {
10856 PyObject *resultobj;
10857 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10858 PyObject * obj0 = 0 ;
10859 char *kwnames[] = {
10860 (char *) "self", NULL
10861 };
10862
10863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayIndex",kwnames,&obj0)) goto fail;
10864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10866 {
10867 PyThreadState* __tstate = wxPyBeginAllowThreads();
10868 (arg1)->DisplayIndex();
10869
10870 wxPyEndAllowThreads(__tstate);
10871 if (PyErr_Occurred()) SWIG_fail;
10872 }
10873 Py_INCREF(Py_None); resultobj = Py_None;
10874 return resultobj;
10875 fail:
10876 return NULL;
10877 }
10878
10879
10880 static PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) {
10881 PyObject *resultobj;
10882 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10883 wxString *arg2 = 0 ;
10884 bool result;
10885 bool temp2 = false ;
10886 PyObject * obj0 = 0 ;
10887 PyObject * obj1 = 0 ;
10888 char *kwnames[] = {
10889 (char *) "self",(char *) "keyword", NULL
10890 };
10891
10892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) goto fail;
10893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10895 {
10896 arg2 = wxString_in_helper(obj1);
10897 if (arg2 == NULL) SWIG_fail;
10898 temp2 = true;
10899 }
10900 {
10901 PyThreadState* __tstate = wxPyBeginAllowThreads();
10902 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
10903
10904 wxPyEndAllowThreads(__tstate);
10905 if (PyErr_Occurred()) SWIG_fail;
10906 }
10907 {
10908 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10909 }
10910 {
10911 if (temp2)
10912 delete arg2;
10913 }
10914 return resultobj;
10915 fail:
10916 {
10917 if (temp2)
10918 delete arg2;
10919 }
10920 return NULL;
10921 }
10922
10923
10924 static PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *, PyObject *args, PyObject *kwargs) {
10925 PyObject *resultobj;
10926 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10927 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10928 wxString const &arg3_defvalue = wxPyEmptyString ;
10929 wxString *arg3 = (wxString *) &arg3_defvalue ;
10930 bool temp3 = false ;
10931 PyObject * obj0 = 0 ;
10932 PyObject * obj1 = 0 ;
10933 PyObject * obj2 = 0 ;
10934 char *kwnames[] = {
10935 (char *) "self",(char *) "config",(char *) "rootpath", NULL
10936 };
10937
10938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail;
10939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10941 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
10942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10943 if (obj2) {
10944 {
10945 arg3 = wxString_in_helper(obj2);
10946 if (arg3 == NULL) SWIG_fail;
10947 temp3 = true;
10948 }
10949 }
10950 {
10951 PyThreadState* __tstate = wxPyBeginAllowThreads();
10952 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
10953
10954 wxPyEndAllowThreads(__tstate);
10955 if (PyErr_Occurred()) SWIG_fail;
10956 }
10957 Py_INCREF(Py_None); resultobj = Py_None;
10958 {
10959 if (temp3)
10960 delete arg3;
10961 }
10962 return resultobj;
10963 fail:
10964 {
10965 if (temp3)
10966 delete arg3;
10967 }
10968 return NULL;
10969 }
10970
10971
10972 static PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
10973 PyObject *resultobj;
10974 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10975 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10976 wxString arg3 = (wxString) wxPyEmptyString ;
10977 PyObject * obj0 = 0 ;
10978 PyObject * obj1 = 0 ;
10979 PyObject * obj2 = 0 ;
10980 char *kwnames[] = {
10981 (char *) "self",(char *) "cfg",(char *) "path", NULL
10982 };
10983
10984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
10985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10987 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
10988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10989 if (obj2) {
10990 {
10991 wxString* sptr = wxString_in_helper(obj2);
10992 if (sptr == NULL) SWIG_fail;
10993 arg3 = *sptr;
10994 delete sptr;
10995 }
10996 }
10997 {
10998 PyThreadState* __tstate = wxPyBeginAllowThreads();
10999 (arg1)->ReadCustomization(arg2,arg3);
11000
11001 wxPyEndAllowThreads(__tstate);
11002 if (PyErr_Occurred()) SWIG_fail;
11003 }
11004 Py_INCREF(Py_None); resultobj = Py_None;
11005 return resultobj;
11006 fail:
11007 return NULL;
11008 }
11009
11010
11011 static PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
11012 PyObject *resultobj;
11013 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
11014 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
11015 wxString arg3 = (wxString) wxPyEmptyString ;
11016 PyObject * obj0 = 0 ;
11017 PyObject * obj1 = 0 ;
11018 PyObject * obj2 = 0 ;
11019 char *kwnames[] = {
11020 (char *) "self",(char *) "cfg",(char *) "path", NULL
11021 };
11022
11023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
11024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
11025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11026 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
11027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11028 if (obj2) {
11029 {
11030 wxString* sptr = wxString_in_helper(obj2);
11031 if (sptr == NULL) SWIG_fail;
11032 arg3 = *sptr;
11033 delete sptr;
11034 }
11035 }
11036 {
11037 PyThreadState* __tstate = wxPyBeginAllowThreads();
11038 (arg1)->WriteCustomization(arg2,arg3);
11039
11040 wxPyEndAllowThreads(__tstate);
11041 if (PyErr_Occurred()) SWIG_fail;
11042 }
11043 Py_INCREF(Py_None); resultobj = Py_None;
11044 return resultobj;
11045 fail:
11046 return NULL;
11047 }
11048
11049
11050 static PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
11051 PyObject *resultobj;
11052 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
11053 wxHtmlHelpFrame *result;
11054 PyObject * obj0 = 0 ;
11055 char *kwnames[] = {
11056 (char *) "self", NULL
11057 };
11058
11059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_GetFrame",kwnames,&obj0)) goto fail;
11060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
11061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11062 {
11063 PyThreadState* __tstate = wxPyBeginAllowThreads();
11064 result = (wxHtmlHelpFrame *)(arg1)->GetFrame();
11065
11066 wxPyEndAllowThreads(__tstate);
11067 if (PyErr_Occurred()) SWIG_fail;
11068 }
11069 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 0);
11070 return resultobj;
11071 fail:
11072 return NULL;
11073 }
11074
11075
11076 static PyObject * HtmlHelpController_swigregister(PyObject *, PyObject *args) {
11077 PyObject *obj;
11078 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11079 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpController, obj);
11080 Py_INCREF(obj);
11081 return Py_BuildValue((char *)"");
11082 }
11083 static PyMethodDef SwigMethods[] = {
11084 { (char *)"new_HtmlLinkInfo", (PyCFunction) _wrap_new_HtmlLinkInfo, METH_VARARGS | METH_KEYWORDS, NULL },
11085 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction) _wrap_HtmlLinkInfo_GetHref, METH_VARARGS | METH_KEYWORDS, NULL },
11086 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction) _wrap_HtmlLinkInfo_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL },
11087 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction) _wrap_HtmlLinkInfo_GetEvent, METH_VARARGS | METH_KEYWORDS, NULL },
11088 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_GetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL },
11089 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction) _wrap_HtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS, NULL },
11090 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL },
11091 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister, METH_VARARGS, NULL },
11092 { (char *)"HtmlTag_GetName", (PyCFunction) _wrap_HtmlTag_GetName, METH_VARARGS | METH_KEYWORDS, NULL },
11093 { (char *)"HtmlTag_HasParam", (PyCFunction) _wrap_HtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS, NULL },
11094 { (char *)"HtmlTag_GetParam", (PyCFunction) _wrap_HtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS, NULL },
11095 { (char *)"HtmlTag_GetAllParams", (PyCFunction) _wrap_HtmlTag_GetAllParams, METH_VARARGS | METH_KEYWORDS, NULL },
11096 { (char *)"HtmlTag_HasEnding", (PyCFunction) _wrap_HtmlTag_HasEnding, METH_VARARGS | METH_KEYWORDS, NULL },
11097 { (char *)"HtmlTag_GetBeginPos", (PyCFunction) _wrap_HtmlTag_GetBeginPos, METH_VARARGS | METH_KEYWORDS, NULL },
11098 { (char *)"HtmlTag_GetEndPos1", (PyCFunction) _wrap_HtmlTag_GetEndPos1, METH_VARARGS | METH_KEYWORDS, NULL },
11099 { (char *)"HtmlTag_GetEndPos2", (PyCFunction) _wrap_HtmlTag_GetEndPos2, METH_VARARGS | METH_KEYWORDS, NULL },
11100 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister, METH_VARARGS, NULL },
11101 { (char *)"HtmlParser_SetFS", (PyCFunction) _wrap_HtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS, NULL },
11102 { (char *)"HtmlParser_GetFS", (PyCFunction) _wrap_HtmlParser_GetFS, METH_VARARGS | METH_KEYWORDS, NULL },
11103 { (char *)"HtmlParser_Parse", (PyCFunction) _wrap_HtmlParser_Parse, METH_VARARGS | METH_KEYWORDS, NULL },
11104 { (char *)"HtmlParser_InitParser", (PyCFunction) _wrap_HtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS, NULL },
11105 { (char *)"HtmlParser_DoneParser", (PyCFunction) _wrap_HtmlParser_DoneParser, METH_VARARGS | METH_KEYWORDS, NULL },
11106 { (char *)"HtmlParser_DoParsing", (PyCFunction) _wrap_HtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS, NULL },
11107 { (char *)"HtmlParser_StopParsing", (PyCFunction) _wrap_HtmlParser_StopParsing, METH_VARARGS | METH_KEYWORDS, NULL },
11108 { (char *)"HtmlParser_AddTagHandler", (PyCFunction) _wrap_HtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL },
11109 { (char *)"HtmlParser_GetSource", (PyCFunction) _wrap_HtmlParser_GetSource, METH_VARARGS | METH_KEYWORDS, NULL },
11110 { (char *)"HtmlParser_PushTagHandler", (PyCFunction) _wrap_HtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS, NULL },
11111 { (char *)"HtmlParser_PopTagHandler", (PyCFunction) _wrap_HtmlParser_PopTagHandler, METH_VARARGS | METH_KEYWORDS, NULL },
11112 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister, METH_VARARGS, NULL },
11113 { (char *)"new_HtmlWinParser", (PyCFunction) _wrap_new_HtmlWinParser, METH_VARARGS | METH_KEYWORDS, NULL },
11114 { (char *)"HtmlWinParser_SetDC", (PyCFunction) _wrap_HtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS, NULL },
11115 { (char *)"HtmlWinParser_GetDC", (PyCFunction) _wrap_HtmlWinParser_GetDC, METH_VARARGS | METH_KEYWORDS, NULL },
11116 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction) _wrap_HtmlWinParser_GetCharHeight, METH_VARARGS | METH_KEYWORDS, NULL },
11117 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction) _wrap_HtmlWinParser_GetCharWidth, METH_VARARGS | METH_KEYWORDS, NULL },
11118 { (char *)"HtmlWinParser_GetWindow", (PyCFunction) _wrap_HtmlWinParser_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
11119 { (char *)"HtmlWinParser_SetFonts", (PyCFunction) _wrap_HtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL },
11120 { (char *)"HtmlWinParser_SetStandardFonts", (PyCFunction) _wrap_HtmlWinParser_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL },
11121 { (char *)"HtmlWinParser_GetContainer", (PyCFunction) _wrap_HtmlWinParser_GetContainer, METH_VARARGS | METH_KEYWORDS, NULL },
11122 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction) _wrap_HtmlWinParser_OpenContainer, METH_VARARGS | METH_KEYWORDS, NULL },
11123 { (char *)"HtmlWinParser_SetContainer", (PyCFunction) _wrap_HtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS, NULL },
11124 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction) _wrap_HtmlWinParser_CloseContainer, METH_VARARGS | METH_KEYWORDS, NULL },
11125 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction) _wrap_HtmlWinParser_GetFontSize, METH_VARARGS | METH_KEYWORDS, NULL },
11126 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction) _wrap_HtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS, NULL },
11127 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction) _wrap_HtmlWinParser_GetFontBold, METH_VARARGS | METH_KEYWORDS, NULL },
11128 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction) _wrap_HtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS, NULL },
11129 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction) _wrap_HtmlWinParser_GetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL },
11130 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction) _wrap_HtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL },
11131 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_GetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL },
11132 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL },
11133 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction) _wrap_HtmlWinParser_GetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL },
11134 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction) _wrap_HtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL },
11135 { (char *)"HtmlWinParser_GetAlign", (PyCFunction) _wrap_HtmlWinParser_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL },
11136 { (char *)"HtmlWinParser_SetAlign", (PyCFunction) _wrap_HtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL },
11137 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction) _wrap_HtmlWinParser_GetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL },
11138 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction) _wrap_HtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL },
11139 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction) _wrap_HtmlWinParser_GetActualColor, METH_VARARGS | METH_KEYWORDS, NULL },
11140 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction) _wrap_HtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS, NULL },
11141 { (char *)"HtmlWinParser_SetLink", (PyCFunction) _wrap_HtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS, NULL },
11142 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction) _wrap_HtmlWinParser_CreateCurrentFont, METH_VARARGS | METH_KEYWORDS, NULL },
11143 { (char *)"HtmlWinParser_GetLink", (PyCFunction) _wrap_HtmlWinParser_GetLink, METH_VARARGS | METH_KEYWORDS, NULL },
11144 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister, METH_VARARGS, NULL },
11145 { (char *)"new_HtmlTagHandler", (PyCFunction) _wrap_new_HtmlTagHandler, METH_VARARGS | METH_KEYWORDS, NULL },
11146 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
11147 { (char *)"HtmlTagHandler_SetParser", (PyCFunction) _wrap_HtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL },
11148 { (char *)"HtmlTagHandler_GetParser", (PyCFunction) _wrap_HtmlTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS, NULL },
11149 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction) _wrap_HtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL },
11150 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister, METH_VARARGS, NULL },
11151 { (char *)"new_HtmlWinTagHandler", (PyCFunction) _wrap_new_HtmlWinTagHandler, METH_VARARGS | METH_KEYWORDS, NULL },
11152 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
11153 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction) _wrap_HtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL },
11154 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction) _wrap_HtmlWinTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS, NULL },
11155 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_HtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL },
11156 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister, METH_VARARGS, NULL },
11157 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction) _wrap_HtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL },
11158 { (char *)"new_HtmlSelection", (PyCFunction) _wrap_new_HtmlSelection, METH_VARARGS | METH_KEYWORDS, NULL },
11159 { (char *)"delete_HtmlSelection", (PyCFunction) _wrap_delete_HtmlSelection, METH_VARARGS | METH_KEYWORDS, NULL },
11160 { (char *)"HtmlSelection_Set", (PyCFunction) _wrap_HtmlSelection_Set, METH_VARARGS | METH_KEYWORDS, NULL },
11161 { (char *)"HtmlSelection_SetCells", (PyCFunction) _wrap_HtmlSelection_SetCells, METH_VARARGS | METH_KEYWORDS, NULL },
11162 { (char *)"HtmlSelection_GetFromCell", (PyCFunction) _wrap_HtmlSelection_GetFromCell, METH_VARARGS | METH_KEYWORDS, NULL },
11163 { (char *)"HtmlSelection_GetToCell", (PyCFunction) _wrap_HtmlSelection_GetToCell, METH_VARARGS | METH_KEYWORDS, NULL },
11164 { (char *)"HtmlSelection_GetFromPos", (PyCFunction) _wrap_HtmlSelection_GetFromPos, METH_VARARGS | METH_KEYWORDS, NULL },
11165 { (char *)"HtmlSelection_GetToPos", (PyCFunction) _wrap_HtmlSelection_GetToPos, METH_VARARGS | METH_KEYWORDS, NULL },
11166 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_GetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL },
11167 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction) _wrap_HtmlSelection_GetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL },
11168 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_SetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL },
11169 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction) _wrap_HtmlSelection_SetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL },
11170 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction) _wrap_HtmlSelection_ClearPrivPos, METH_VARARGS | METH_KEYWORDS, NULL },
11171 { (char *)"HtmlSelection_IsEmpty", (PyCFunction) _wrap_HtmlSelection_IsEmpty, METH_VARARGS | METH_KEYWORDS, NULL },
11172 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister, METH_VARARGS, NULL },
11173 { (char *)"new_HtmlRenderingState", (PyCFunction) _wrap_new_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS, NULL },
11174 { (char *)"delete_HtmlRenderingState", (PyCFunction) _wrap_delete_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS, NULL },
11175 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_SetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL },
11176 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_GetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL },
11177 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction) _wrap_HtmlRenderingState_SetFgColour, METH_VARARGS | METH_KEYWORDS, NULL },
11178 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction) _wrap_HtmlRenderingState_GetFgColour, METH_VARARGS | METH_KEYWORDS, NULL },
11179 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction) _wrap_HtmlRenderingState_SetBgColour, METH_VARARGS | METH_KEYWORDS, NULL },
11180 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction) _wrap_HtmlRenderingState_GetBgColour, METH_VARARGS | METH_KEYWORDS, NULL },
11181 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister, METH_VARARGS, NULL },
11182 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
11183 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL },
11184 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister, METH_VARARGS, NULL },
11185 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
11186 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL },
11187 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister, METH_VARARGS, NULL },
11188 { (char *)"new_HtmlRenderingInfo", (PyCFunction) _wrap_new_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS, NULL },
11189 { (char *)"delete_HtmlRenderingInfo", (PyCFunction) _wrap_delete_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS, NULL },
11190 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
11191 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
11192 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
11193 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
11194 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction) _wrap_HtmlRenderingInfo_GetState, METH_VARARGS | METH_KEYWORDS, NULL },
11195 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister, METH_VARARGS, NULL },
11196 { (char *)"new_HtmlCell", (PyCFunction) _wrap_new_HtmlCell, METH_VARARGS | METH_KEYWORDS, NULL },
11197 { (char *)"HtmlCell_GetPosX", (PyCFunction) _wrap_HtmlCell_GetPosX, METH_VARARGS | METH_KEYWORDS, NULL },
11198 { (char *)"HtmlCell_GetPosY", (PyCFunction) _wrap_HtmlCell_GetPosY, METH_VARARGS | METH_KEYWORDS, NULL },
11199 { (char *)"HtmlCell_GetWidth", (PyCFunction) _wrap_HtmlCell_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
11200 { (char *)"HtmlCell_GetHeight", (PyCFunction) _wrap_HtmlCell_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
11201 { (char *)"HtmlCell_GetDescent", (PyCFunction) _wrap_HtmlCell_GetDescent, METH_VARARGS | METH_KEYWORDS, NULL },
11202 { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction) _wrap_HtmlCell_GetMaxTotalWidth, METH_VARARGS | METH_KEYWORDS, NULL },
11203 { (char *)"HtmlCell_GetId", (PyCFunction) _wrap_HtmlCell_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
11204 { (char *)"HtmlCell_SetId", (PyCFunction) _wrap_HtmlCell_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
11205 { (char *)"HtmlCell_GetLink", (PyCFunction) _wrap_HtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS, NULL },
11206 { (char *)"HtmlCell_GetNext", (PyCFunction) _wrap_HtmlCell_GetNext, METH_VARARGS | METH_KEYWORDS, NULL },
11207 { (char *)"HtmlCell_GetParent", (PyCFunction) _wrap_HtmlCell_GetParent, METH_VARARGS | METH_KEYWORDS, NULL },
11208 { (char *)"HtmlCell_GetFirstChild", (PyCFunction) _wrap_HtmlCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL },
11209 { (char *)"HtmlCell_GetCursor", (PyCFunction) _wrap_HtmlCell_GetCursor, METH_VARARGS | METH_KEYWORDS, NULL },
11210 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction) _wrap_HtmlCell_IsFormattingCell, METH_VARARGS | METH_KEYWORDS, NULL },
11211 { (char *)"HtmlCell_SetLink", (PyCFunction) _wrap_HtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS, NULL },
11212 { (char *)"HtmlCell_SetNext", (PyCFunction) _wrap_HtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS, NULL },
11213 { (char *)"HtmlCell_SetParent", (PyCFunction) _wrap_HtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS, NULL },
11214 { (char *)"HtmlCell_SetPos", (PyCFunction) _wrap_HtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS, NULL },
11215 { (char *)"HtmlCell_Layout", (PyCFunction) _wrap_HtmlCell_Layout, METH_VARARGS | METH_KEYWORDS, NULL },
11216 { (char *)"HtmlCell_Draw", (PyCFunction) _wrap_HtmlCell_Draw, METH_VARARGS | METH_KEYWORDS, NULL },
11217 { (char *)"HtmlCell_DrawInvisible", (PyCFunction) _wrap_HtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS, NULL },
11218 { (char *)"HtmlCell_Find", (PyCFunction) _wrap_HtmlCell_Find, METH_VARARGS | METH_KEYWORDS, NULL },
11219 { (char *)"HtmlCell_AdjustPagebreak", (PyCFunction) _wrap_HtmlCell_AdjustPagebreak, METH_VARARGS | METH_KEYWORDS, NULL },
11220 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_HtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS, NULL },
11221 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction) _wrap_HtmlCell_IsLinebreakAllowed, METH_VARARGS | METH_KEYWORDS, NULL },
11222 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction) _wrap_HtmlCell_IsTerminalCell, METH_VARARGS | METH_KEYWORDS, NULL },
11223 { (char *)"HtmlCell_FindCellByPos", (PyCFunction) _wrap_HtmlCell_FindCellByPos, METH_VARARGS | METH_KEYWORDS, NULL },
11224 { (char *)"HtmlCell_GetAbsPos", (PyCFunction) _wrap_HtmlCell_GetAbsPos, METH_VARARGS | METH_KEYWORDS, NULL },
11225 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction) _wrap_HtmlCell_GetFirstTerminal, METH_VARARGS | METH_KEYWORDS, NULL },
11226 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction) _wrap_HtmlCell_GetLastTerminal, METH_VARARGS | METH_KEYWORDS, NULL },
11227 { (char *)"HtmlCell_GetDepth", (PyCFunction) _wrap_HtmlCell_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL },
11228 { (char *)"HtmlCell_IsBefore", (PyCFunction) _wrap_HtmlCell_IsBefore, METH_VARARGS | METH_KEYWORDS, NULL },
11229 { (char *)"HtmlCell_ConvertToText", (PyCFunction) _wrap_HtmlCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL },
11230 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister, METH_VARARGS, NULL },
11231 { (char *)"new_HtmlWordCell", (PyCFunction) _wrap_new_HtmlWordCell, METH_VARARGS | METH_KEYWORDS, NULL },
11232 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister, METH_VARARGS, NULL },
11233 { (char *)"new_HtmlContainerCell", (PyCFunction) _wrap_new_HtmlContainerCell, METH_VARARGS | METH_KEYWORDS, NULL },
11234 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction) _wrap_HtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS, NULL },
11235 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL },
11236 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_GetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL },
11237 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL },
11238 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_GetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL },
11239 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction) _wrap_HtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL },
11240 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction) _wrap_HtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL },
11241 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_HtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS, NULL },
11242 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction) _wrap_HtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL },
11243 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS, NULL },
11244 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS, NULL },
11245 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_HtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL },
11246 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
11247 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
11248 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction) _wrap_HtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS, NULL },
11249 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction) _wrap_HtmlContainerCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL },
11250 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister, METH_VARARGS, NULL },
11251 { (char *)"new_HtmlColourCell", (PyCFunction) _wrap_new_HtmlColourCell, METH_VARARGS | METH_KEYWORDS, NULL },
11252 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister, METH_VARARGS, NULL },
11253 { (char *)"new_HtmlFontCell", (PyCFunction) _wrap_new_HtmlFontCell, METH_VARARGS | METH_KEYWORDS, NULL },
11254 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister, METH_VARARGS, NULL },
11255 { (char *)"new_HtmlWidgetCell", (PyCFunction) _wrap_new_HtmlWidgetCell, METH_VARARGS | METH_KEYWORDS, NULL },
11256 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister, METH_VARARGS, NULL },
11257 { (char *)"new_HtmlFilter", (PyCFunction) _wrap_new_HtmlFilter, METH_VARARGS | METH_KEYWORDS, NULL },
11258 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction) _wrap_HtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
11259 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister, METH_VARARGS, NULL },
11260 { (char *)"new_HtmlWindow", (PyCFunction) _wrap_new_HtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL },
11261 { (char *)"new_PreHtmlWindow", (PyCFunction) _wrap_new_PreHtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL },
11262 { (char *)"HtmlWindow_Create", (PyCFunction) _wrap_HtmlWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
11263 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction) _wrap_HtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
11264 { (char *)"HtmlWindow_SetPage", (PyCFunction) _wrap_HtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS, NULL },
11265 { (char *)"HtmlWindow_LoadPage", (PyCFunction) _wrap_HtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS, NULL },
11266 { (char *)"HtmlWindow_LoadFile", (PyCFunction) _wrap_HtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL },
11267 { (char *)"HtmlWindow_AppendToPage", (PyCFunction) _wrap_HtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS, NULL },
11268 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction) _wrap_HtmlWindow_GetOpenedPage, METH_VARARGS | METH_KEYWORDS, NULL },
11269 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction) _wrap_HtmlWindow_GetOpenedAnchor, METH_VARARGS | METH_KEYWORDS, NULL },
11270 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction) _wrap_HtmlWindow_GetOpenedPageTitle, METH_VARARGS | METH_KEYWORDS, NULL },
11271 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL },
11272 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_GetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL },
11273 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_HtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
11274 { (char *)"HtmlWindow_SetFonts", (PyCFunction) _wrap_HtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL },
11275 { (char *)"HtmlWindow_SetStandardFonts", (PyCFunction) _wrap_HtmlWindow_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL },
11276 { (char *)"HtmlWindow_SetTitle", (PyCFunction) _wrap_HtmlWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
11277 { (char *)"HtmlWindow_SetBorders", (PyCFunction) _wrap_HtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS, NULL },
11278 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction) _wrap_HtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL },
11279 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction) _wrap_HtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL },
11280 { (char *)"HtmlWindow_HistoryBack", (PyCFunction) _wrap_HtmlWindow_HistoryBack, METH_VARARGS | METH_KEYWORDS, NULL },
11281 { (char *)"HtmlWindow_HistoryForward", (PyCFunction) _wrap_HtmlWindow_HistoryForward, METH_VARARGS | METH_KEYWORDS, NULL },
11282 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction) _wrap_HtmlWindow_HistoryCanBack, METH_VARARGS | METH_KEYWORDS, NULL },
11283 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction) _wrap_HtmlWindow_HistoryCanForward, METH_VARARGS | METH_KEYWORDS, NULL },
11284 { (char *)"HtmlWindow_HistoryClear", (PyCFunction) _wrap_HtmlWindow_HistoryClear, METH_VARARGS | METH_KEYWORDS, NULL },
11285 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction) _wrap_HtmlWindow_GetInternalRepresentation, METH_VARARGS | METH_KEYWORDS, NULL },
11286 { (char *)"HtmlWindow_GetParser", (PyCFunction) _wrap_HtmlWindow_GetParser, METH_VARARGS | METH_KEYWORDS, NULL },
11287 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_HtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS, NULL },
11288 { (char *)"HtmlWindow_HasAnchor", (PyCFunction) _wrap_HtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS, NULL },
11289 { (char *)"HtmlWindow_AddFilter", (PyCFunction) _wrap_HtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL },
11290 { (char *)"HtmlWindow_SelectWord", (PyCFunction) _wrap_HtmlWindow_SelectWord, METH_VARARGS | METH_KEYWORDS, NULL },
11291 { (char *)"HtmlWindow_SelectLine", (PyCFunction) _wrap_HtmlWindow_SelectLine, METH_VARARGS | METH_KEYWORDS, NULL },
11292 { (char *)"HtmlWindow_SelectAll", (PyCFunction) _wrap_HtmlWindow_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL },
11293 { (char *)"HtmlWindow_SelectionToText", (PyCFunction) _wrap_HtmlWindow_SelectionToText, METH_VARARGS | METH_KEYWORDS, NULL },
11294 { (char *)"HtmlWindow_ToText", (PyCFunction) _wrap_HtmlWindow_ToText, METH_VARARGS | METH_KEYWORDS, NULL },
11295 { (char *)"HtmlWindow_base_OnLinkClicked", (PyCFunction) _wrap_HtmlWindow_base_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL },
11296 { (char *)"HtmlWindow_base_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_base_OnSetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
11297 { (char *)"HtmlWindow_base_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_base_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS, NULL },
11298 { (char *)"HtmlWindow_base_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_base_OnCellClicked, METH_VARARGS | METH_KEYWORDS, NULL },
11299 { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_HtmlWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
11300 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS, NULL },
11301 { (char *)"new_HtmlDCRenderer", (PyCFunction) _wrap_new_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS, NULL },
11302 { (char *)"delete_HtmlDCRenderer", (PyCFunction) _wrap_delete_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS, NULL },
11303 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction) _wrap_HtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS, NULL },
11304 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction) _wrap_HtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
11305 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_HtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL },
11306 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL },
11307 { (char *)"HtmlDCRenderer_SetStandardFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL },
11308 { (char *)"HtmlDCRenderer_Render", (PyCFunction) _wrap_HtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS, NULL },
11309 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction) _wrap_HtmlDCRenderer_GetTotalHeight, METH_VARARGS | METH_KEYWORDS, NULL },
11310 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister, METH_VARARGS, NULL },
11311 { (char *)"new_HtmlPrintout", (PyCFunction) _wrap_new_HtmlPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
11312 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction) _wrap_HtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL },
11313 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_HtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS, NULL },
11314 { (char *)"HtmlPrintout_SetHeader", (PyCFunction) _wrap_HtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL },
11315 { (char *)"HtmlPrintout_SetFooter", (PyCFunction) _wrap_HtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL },
11316 { (char *)"HtmlPrintout_SetFonts", (PyCFunction) _wrap_HtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL },
11317 { (char *)"HtmlPrintout_SetStandardFonts", (PyCFunction) _wrap_HtmlPrintout_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL },
11318 { (char *)"HtmlPrintout_SetMargins", (PyCFunction) _wrap_HtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
11319 { (char *)"HtmlPrintout_AddFilter", (PyCFunction) _wrap_HtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL },
11320 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction) _wrap_HtmlPrintout_CleanUpStatics, METH_VARARGS | METH_KEYWORDS, NULL },
11321 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister, METH_VARARGS, NULL },
11322 { (char *)"new_HtmlEasyPrinting", (PyCFunction) _wrap_new_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
11323 { (char *)"delete_HtmlEasyPrinting", (PyCFunction) _wrap_delete_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
11324 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS, NULL },
11325 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS, NULL },
11326 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_HtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS, NULL },
11327 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction) _wrap_HtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS, NULL },
11328 { (char *)"HtmlEasyPrinting_PrinterSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PrinterSetup, METH_VARARGS | METH_KEYWORDS, NULL },
11329 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PageSetup, METH_VARARGS | METH_KEYWORDS, NULL },
11330 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_HtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL },
11331 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_HtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL },
11332 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL },
11333 { (char *)"HtmlEasyPrinting_SetStandardFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL },
11334 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
11335 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL },
11336 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister, METH_VARARGS, NULL },
11337 { (char *)"new_HtmlBookRecord", (PyCFunction) _wrap_new_HtmlBookRecord, METH_VARARGS | METH_KEYWORDS, NULL },
11338 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction) _wrap_HtmlBookRecord_GetBookFile, METH_VARARGS | METH_KEYWORDS, NULL },
11339 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction) _wrap_HtmlBookRecord_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
11340 { (char *)"HtmlBookRecord_GetStart", (PyCFunction) _wrap_HtmlBookRecord_GetStart, METH_VARARGS | METH_KEYWORDS, NULL },
11341 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction) _wrap_HtmlBookRecord_GetBasePath, METH_VARARGS | METH_KEYWORDS, NULL },
11342 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_HtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS, NULL },
11343 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction) _wrap_HtmlBookRecord_GetContentsStart, METH_VARARGS | METH_KEYWORDS, NULL },
11344 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction) _wrap_HtmlBookRecord_GetContentsEnd, METH_VARARGS | METH_KEYWORDS, NULL },
11345 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction) _wrap_HtmlBookRecord_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
11346 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction) _wrap_HtmlBookRecord_SetBasePath, METH_VARARGS | METH_KEYWORDS, NULL },
11347 { (char *)"HtmlBookRecord_SetStart", (PyCFunction) _wrap_HtmlBookRecord_SetStart, METH_VARARGS | METH_KEYWORDS, NULL },
11348 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction) _wrap_HtmlBookRecord_GetFullPath, METH_VARARGS | METH_KEYWORDS, NULL },
11349 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister, METH_VARARGS, NULL },
11350 { (char *)"HtmlContentsItem_GetLevel", (PyCFunction) _wrap_HtmlContentsItem_GetLevel, METH_VARARGS | METH_KEYWORDS, NULL },
11351 { (char *)"HtmlContentsItem_GetID", (PyCFunction) _wrap_HtmlContentsItem_GetID, METH_VARARGS | METH_KEYWORDS, NULL },
11352 { (char *)"HtmlContentsItem_GetName", (PyCFunction) _wrap_HtmlContentsItem_GetName, METH_VARARGS | METH_KEYWORDS, NULL },
11353 { (char *)"HtmlContentsItem_GetPage", (PyCFunction) _wrap_HtmlContentsItem_GetPage, METH_VARARGS | METH_KEYWORDS, NULL },
11354 { (char *)"HtmlContentsItem_GetBook", (PyCFunction) _wrap_HtmlContentsItem_GetBook, METH_VARARGS | METH_KEYWORDS, NULL },
11355 { (char *)"HtmlContentsItem_swigregister", HtmlContentsItem_swigregister, METH_VARARGS, NULL },
11356 { (char *)"HtmlSearchStatus_Search", (PyCFunction) _wrap_HtmlSearchStatus_Search, METH_VARARGS | METH_KEYWORDS, NULL },
11357 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction) _wrap_HtmlSearchStatus_IsActive, METH_VARARGS | METH_KEYWORDS, NULL },
11358 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetCurIndex, METH_VARARGS | METH_KEYWORDS, NULL },
11359 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetMaxIndex, METH_VARARGS | METH_KEYWORDS, NULL },
11360 { (char *)"HtmlSearchStatus_GetName", (PyCFunction) _wrap_HtmlSearchStatus_GetName, METH_VARARGS | METH_KEYWORDS, NULL },
11361 { (char *)"HtmlSearchStatus_GetContentsItem", (PyCFunction) _wrap_HtmlSearchStatus_GetContentsItem, METH_VARARGS | METH_KEYWORDS, NULL },
11362 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister, METH_VARARGS, NULL },
11363 { (char *)"new_HtmlHelpData", (PyCFunction) _wrap_new_HtmlHelpData, METH_VARARGS | METH_KEYWORDS, NULL },
11364 { (char *)"delete_HtmlHelpData", (PyCFunction) _wrap_delete_HtmlHelpData, METH_VARARGS | METH_KEYWORDS, NULL },
11365 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction) _wrap_HtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL },
11366 { (char *)"HtmlHelpData_AddBook", (PyCFunction) _wrap_HtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS, NULL },
11367 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction) _wrap_HtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS, NULL },
11368 { (char *)"HtmlHelpData_FindPageById", (PyCFunction) _wrap_HtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS, NULL },
11369 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction) _wrap_HtmlHelpData_GetBookRecArray, METH_VARARGS | METH_KEYWORDS, NULL },
11370 { (char *)"HtmlHelpData_GetContents", (PyCFunction) _wrap_HtmlHelpData_GetContents, METH_VARARGS | METH_KEYWORDS, NULL },
11371 { (char *)"HtmlHelpData_GetContentsCnt", (PyCFunction) _wrap_HtmlHelpData_GetContentsCnt, METH_VARARGS | METH_KEYWORDS, NULL },
11372 { (char *)"HtmlHelpData_GetIndex", (PyCFunction) _wrap_HtmlHelpData_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL },
11373 { (char *)"HtmlHelpData_GetIndexCnt", (PyCFunction) _wrap_HtmlHelpData_GetIndexCnt, METH_VARARGS | METH_KEYWORDS, NULL },
11374 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister, METH_VARARGS, NULL },
11375 { (char *)"new_HtmlHelpFrame", (PyCFunction) _wrap_new_HtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL },
11376 { (char *)"HtmlHelpFrame_GetData", (PyCFunction) _wrap_HtmlHelpFrame_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
11377 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL },
11378 { (char *)"HtmlHelpFrame_Display", (PyCFunction) _wrap_HtmlHelpFrame_Display, METH_VARARGS | METH_KEYWORDS, NULL },
11379 { (char *)"HtmlHelpFrame_DisplayID", (PyCFunction) _wrap_HtmlHelpFrame_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL },
11380 { (char *)"HtmlHelpFrame_DisplayContents", (PyCFunction) _wrap_HtmlHelpFrame_DisplayContents, METH_VARARGS | METH_KEYWORDS, NULL },
11381 { (char *)"HtmlHelpFrame_DisplayIndex", (PyCFunction) _wrap_HtmlHelpFrame_DisplayIndex, METH_VARARGS | METH_KEYWORDS, NULL },
11382 { (char *)"HtmlHelpFrame_KeywordSearch", (PyCFunction) _wrap_HtmlHelpFrame_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL },
11383 { (char *)"HtmlHelpFrame_UseConfig", (PyCFunction) _wrap_HtmlHelpFrame_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL },
11384 { (char *)"HtmlHelpFrame_ReadCustomization", (PyCFunction) _wrap_HtmlHelpFrame_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL },
11385 { (char *)"HtmlHelpFrame_WriteCustomization", (PyCFunction) _wrap_HtmlHelpFrame_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL },
11386 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister, METH_VARARGS, NULL },
11387 { (char *)"new_HtmlHelpController", (PyCFunction) _wrap_new_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL },
11388 { (char *)"delete_HtmlHelpController", (PyCFunction) _wrap_delete_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL },
11389 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL },
11390 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction) _wrap_HtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL },
11391 { (char *)"HtmlHelpController_AddBook", (PyCFunction) _wrap_HtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS, NULL },
11392 { (char *)"HtmlHelpController_Display", (PyCFunction) _wrap_HtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS, NULL },
11393 { (char *)"HtmlHelpController_DisplayID", (PyCFunction) _wrap_HtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL },
11394 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction) _wrap_HtmlHelpController_DisplayContents, METH_VARARGS | METH_KEYWORDS, NULL },
11395 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction) _wrap_HtmlHelpController_DisplayIndex, METH_VARARGS | METH_KEYWORDS, NULL },
11396 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction) _wrap_HtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL },
11397 { (char *)"HtmlHelpController_UseConfig", (PyCFunction) _wrap_HtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL },
11398 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction) _wrap_HtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL },
11399 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction) _wrap_HtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL },
11400 { (char *)"HtmlHelpController_GetFrame", (PyCFunction) _wrap_HtmlHelpController_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
11401 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister, METH_VARARGS, NULL },
11402 { NULL, NULL, 0, NULL }
11403 };
11404
11405
11406 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
11407
11408 static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x) {
11409 return (void *)((wxHtmlRenderingStyle *) ((wxDefaultHtmlRenderingStyle *) x));
11410 }
11411 static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) {
11412 return (void *)((wxHtmlParser *) ((wxHtmlWinParser *) x));
11413 }
11414 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
11415 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
11416 }
11417 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
11418 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
11419 }
11420 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
11421 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11422 }
11423 static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) {
11424 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x));
11425 }
11426 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
11427 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11428 }
11429 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
11430 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11431 }
11432 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
11433 return (void *)((wxPanel *) ((wxPyPanel *) x));
11434 }
11435 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
11436 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
11437 }
11438 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
11439 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
11440 }
11441 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
11442 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11443 }
11444 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
11445 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11446 }
11447 static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) {
11448 return (void *)((wxScrolledWindow *) ((wxPyHtmlWindow *) x));
11449 }
11450 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
11451 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
11452 }
11453 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
11454 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
11455 }
11456 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
11457 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
11458 }
11459 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
11460 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
11461 }
11462 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
11463 return (void *)((wxWindow *) ((wxMenuBar *) x));
11464 }
11465 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
11466 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
11467 }
11468 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
11469 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
11470 }
11471 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
11472 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
11473 }
11474 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
11475 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
11476 }
11477 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
11478 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
11479 }
11480 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
11481 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
11482 }
11483 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
11484 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
11485 }
11486 static void *_p_wxPanelTo_p_wxWindow(void *x) {
11487 return (void *)((wxWindow *) ((wxPanel *) x));
11488 }
11489 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
11490 return (void *)((wxWindow *) ((wxStatusBar *) x));
11491 }
11492 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
11493 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
11494 }
11495 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
11496 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
11497 }
11498 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
11499 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
11500 }
11501 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
11502 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
11503 }
11504 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
11505 return (void *)((wxWindow *) ((wxPopupWindow *) x));
11506 }
11507 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
11508 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
11509 }
11510 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
11511 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
11512 }
11513 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
11514 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
11515 }
11516 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
11517 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
11518 }
11519 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
11520 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
11521 }
11522 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
11523 return (void *)((wxWindow *) ((wxSashWindow *) x));
11524 }
11525 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
11526 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11527 }
11528 static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) {
11529 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
11530 }
11531 static void *_p_wxControlTo_p_wxWindow(void *x) {
11532 return (void *)((wxWindow *) ((wxControl *) x));
11533 }
11534 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
11535 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
11536 }
11537 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
11538 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11539 }
11540 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
11541 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
11542 }
11543 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
11544 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
11545 }
11546 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
11547 return (void *)((wxWindow *) ((wxPyWindow *) x));
11548 }
11549 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
11550 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
11551 }
11552 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
11553 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11554 }
11555 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
11556 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11557 }
11558 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
11559 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
11560 }
11561 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
11562 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11563 }
11564 static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) {
11565 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
11566 }
11567 static void *_p_wxFrameTo_p_wxWindow(void *x) {
11568 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
11569 }
11570 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
11571 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
11572 }
11573 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
11574 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
11575 }
11576 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
11577 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
11578 }
11579 static void *_p_wxDialogTo_p_wxWindow(void *x) {
11580 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
11581 }
11582 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
11583 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
11584 }
11585 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
11586 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
11587 }
11588 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
11589 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
11590 }
11591 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
11592 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
11593 }
11594 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
11595 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
11596 }
11597 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
11598 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
11599 }
11600 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
11601 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
11602 }
11603 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
11604 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
11605 }
11606 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
11607 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
11608 }
11609 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
11610 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
11611 }
11612 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
11613 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
11614 }
11615 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
11616 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
11617 }
11618 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
11619 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
11620 }
11621 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
11622 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
11623 }
11624 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
11625 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
11626 }
11627 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
11628 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
11629 }
11630 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
11631 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
11632 }
11633 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
11634 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
11635 }
11636 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
11637 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
11638 }
11639 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
11640 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
11641 }
11642 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
11643 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
11644 }
11645 static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) {
11646 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x));
11647 }
11648 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
11649 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
11650 }
11651 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
11652 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11653 }
11654 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
11655 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
11656 }
11657 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
11658 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
11659 }
11660 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
11661 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
11662 }
11663 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
11664 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11665 }
11666 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
11667 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
11668 }
11669 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
11670 return (void *)((wxObject *) ((wxSizerItem *) x));
11671 }
11672 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
11673 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
11674 }
11675 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
11676 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
11677 }
11678 static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) {
11679 return (void *)((wxObject *) ((wxHtmlLinkInfo *) x));
11680 }
11681 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
11682 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
11683 }
11684 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
11685 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
11686 }
11687 static void *_p_wxSizerTo_p_wxObject(void *x) {
11688 return (void *)((wxObject *) ((wxSizer *) x));
11689 }
11690 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
11691 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
11692 }
11693 static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) {
11694 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x));
11695 }
11696 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
11697 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
11698 }
11699 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
11700 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
11701 }
11702 static void *_p_wxEventTo_p_wxObject(void *x) {
11703 return (void *)((wxObject *) ((wxEvent *) x));
11704 }
11705 static void *_p_wxFontDataTo_p_wxObject(void *x) {
11706 return (void *)((wxObject *) ((wxFontData *) x));
11707 }
11708 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
11709 return (void *)((wxObject *) ((wxPrintData *) x));
11710 }
11711 static void *_p_wxHtmlTagTo_p_wxObject(void *x) {
11712 return (void *)((wxObject *) ((wxHtmlTag *) x));
11713 }
11714 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
11715 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
11716 }
11717 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
11718 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
11719 }
11720 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
11721 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
11722 }
11723 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
11724 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
11725 }
11726 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
11727 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
11728 }
11729 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
11730 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
11731 }
11732 static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) {
11733 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
11734 }
11735 static void *_p_wxHtmlCellTo_p_wxObject(void *x) {
11736 return (void *)((wxObject *) ((wxHtmlCell *) x));
11737 }
11738 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
11739 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
11740 }
11741 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
11742 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
11743 }
11744 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
11745 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
11746 }
11747 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
11748 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
11749 }
11750 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
11751 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
11752 }
11753 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
11754 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
11755 }
11756 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
11757 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
11758 }
11759 static void *_p_wxControlTo_p_wxObject(void *x) {
11760 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
11761 }
11762 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
11763 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
11764 }
11765 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
11766 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
11767 }
11768 static void *_p_wxFSFileTo_p_wxObject(void *x) {
11769 return (void *)((wxObject *) ((wxFSFile *) x));
11770 }
11771 static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) {
11772 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x));
11773 }
11774 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
11775 return (void *)((wxObject *) ((wxFindReplaceData *) x));
11776 }
11777 static void *_p_wxPySizerTo_p_wxObject(void *x) {
11778 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
11779 }
11780 static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) {
11781 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x));
11782 }
11783 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
11784 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
11785 }
11786 static void *_p_wxColourDataTo_p_wxObject(void *x) {
11787 return (void *)((wxObject *) ((wxColourData *) x));
11788 }
11789 static void *_p_wxPyEventTo_p_wxObject(void *x) {
11790 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
11791 }
11792 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
11793 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
11794 }
11795 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
11796 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
11797 }
11798 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
11799 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
11800 }
11801 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
11802 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
11803 }
11804 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
11805 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
11806 }
11807 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
11808 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
11809 }
11810 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
11811 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
11812 }
11813 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
11814 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
11815 }
11816 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
11817 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
11818 }
11819 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
11820 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
11821 }
11822 static void *_p_wxShowEventTo_p_wxObject(void *x) {
11823 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
11824 }
11825 static void *_p_wxPrinterTo_p_wxObject(void *x) {
11826 return (void *)((wxObject *) ((wxPrinter *) x));
11827 }
11828 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
11829 return (void *)((wxObject *) ((wxMenuItem *) x));
11830 }
11831 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
11832 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
11833 }
11834 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
11835 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
11836 }
11837 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
11838 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
11839 }
11840 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
11841 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
11842 }
11843 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
11844 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
11845 }
11846 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
11847 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
11848 }
11849 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
11850 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
11851 }
11852 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
11853 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
11854 }
11855 static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) {
11856 return (void *)((wxObject *) ((wxPyHtmlFilter *) x));
11857 }
11858 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
11859 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
11860 }
11861 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
11862 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
11863 }
11864 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
11865 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
11866 }
11867 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
11868 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
11869 }
11870 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
11871 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
11872 }
11873 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
11874 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
11875 }
11876 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
11877 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
11878 }
11879 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
11880 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
11881 }
11882 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
11883 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
11884 }
11885 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
11886 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
11887 }
11888 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
11889 return (void *)((wxObject *) ((wxImageHandler *) x));
11890 }
11891 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
11892 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
11893 }
11894 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
11895 return (void *)((wxObject *) ((wxEvtHandler *) x));
11896 }
11897 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
11898 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
11899 }
11900 static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) {
11901 return (void *)((wxObject *) ((wxPyHtmlTagHandler *) x));
11902 }
11903 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) {
11904 return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
11905 }
11906 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
11907 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11908 }
11909 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
11910 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11911 }
11912 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
11913 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
11914 }
11915 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
11916 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
11917 }
11918 static void *_p_wxImageTo_p_wxObject(void *x) {
11919 return (void *)((wxObject *) ((wxImage *) x));
11920 }
11921 static void *_p_wxFrameTo_p_wxObject(void *x) {
11922 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
11923 }
11924 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
11925 return (void *)((wxObject *) ((wxPyPrintout *) x));
11926 }
11927 static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) {
11928 return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x));
11929 }
11930 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
11931 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
11932 }
11933 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
11934 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
11935 }
11936 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
11937 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
11938 }
11939 static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x) {
11940 return (void *)((wxObject *) ((wxHtmlDCRenderer *) x));
11941 }
11942 static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) {
11943 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x));
11944 }
11945 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
11946 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
11947 }
11948 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
11949 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
11950 }
11951 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
11952 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
11953 }
11954 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
11955 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
11956 }
11957 static void *_p_wxWindowTo_p_wxObject(void *x) {
11958 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
11959 }
11960 static void *_p_wxMenuTo_p_wxObject(void *x) {
11961 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
11962 }
11963 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
11964 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
11965 }
11966 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
11967 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
11968 }
11969 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
11970 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
11971 }
11972 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
11973 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
11974 }
11975 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
11976 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
11977 }
11978 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
11979 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
11980 }
11981 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
11982 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
11983 }
11984 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
11985 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
11986 }
11987 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
11988 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
11989 }
11990 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
11991 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
11992 }
11993 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
11994 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
11995 }
11996 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
11997 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
11998 }
11999 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
12000 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
12001 }
12002 static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) {
12003 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
12004 }
12005 static void *_p_wxSashEventTo_p_wxObject(void *x) {
12006 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
12007 }
12008 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
12009 return (void *)((wxObject *) ((wxPrintPreview *) x));
12010 }
12011 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
12012 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
12013 }
12014 static void *_p_wxPanelTo_p_wxObject(void *x) {
12015 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
12016 }
12017 static void *_p_wxDialogTo_p_wxObject(void *x) {
12018 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
12019 }
12020 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
12021 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
12022 }
12023 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
12024 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
12025 }
12026 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
12027 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
12028 }
12029 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
12030 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
12031 }
12032 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
12033 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
12034 }
12035 static void *_p_wxHtmlParserTo_p_wxObject(void *x) {
12036 return (void *)((wxObject *) ((wxHtmlParser *) x));
12037 }
12038 static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) {
12039 return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x));
12040 }
12041 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
12042 return (void *)((wxObject *) ((wxFileSystem *) x));
12043 }
12044 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
12045 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
12046 }
12047 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
12048 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
12049 }
12050 static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) {
12051 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x));
12052 }
12053 static void *_p_wxPyAppTo_p_wxObject(void *x) {
12054 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
12055 }
12056 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
12057 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
12058 }
12059 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
12060 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
12061 }
12062 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
12063 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
12064 }
12065 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
12066 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
12067 }
12068 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
12069 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
12070 }
12071 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
12072 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
12073 }
12074 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
12075 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
12076 }
12077 static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) {
12078 return (void *)((wxObject *) ((wxHtmlEasyPrinting *) x));
12079 }
12080 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
12081 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
12082 }
12083 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
12084 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
12085 }
12086 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
12087 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
12088 }
12089 static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) {
12090 return (void *)((wxObject *) (wxEvtHandler *) ((wxHtmlHelpController *) x));
12091 }
12092 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
12093 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
12094 }
12095 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
12096 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
12097 }
12098 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
12099 return (void *)((wxObject *) ((wxPrintDialogData *) x));
12100 }
12101 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
12102 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
12103 }
12104 static void *_p_wxValidatorTo_p_wxObject(void *x) {
12105 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
12106 }
12107 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) {
12108 return (void *)((wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
12109 }
12110 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
12111 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
12112 }
12113 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
12114 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
12115 }
12116 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
12117 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
12118 }
12119 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
12120 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
12121 }
12122 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
12123 return (void *)((wxEvtHandler *) ((wxValidator *) x));
12124 }
12125 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
12126 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
12127 }
12128 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
12129 return (void *)((wxEvtHandler *) ((wxMenu *) x));
12130 }
12131 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
12132 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
12133 }
12134 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
12135 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
12136 }
12137 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
12138 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
12139 }
12140 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
12141 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
12142 }
12143 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
12144 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
12145 }
12146 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
12147 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
12148 }
12149 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
12150 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
12151 }
12152 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
12153 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
12154 }
12155 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
12156 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
12157 }
12158 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
12159 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
12160 }
12161 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
12162 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
12163 }
12164 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
12165 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
12166 }
12167 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
12168 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
12169 }
12170 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
12171 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
12172 }
12173 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
12174 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
12175 }
12176 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
12177 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
12178 }
12179 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
12180 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
12181 }
12182 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
12183 return (void *)((wxEvtHandler *) ((wxWindow *) x));
12184 }
12185 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
12186 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
12187 }
12188 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
12189 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
12190 }
12191 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
12192 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
12193 }
12194 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
12195 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
12196 }
12197 static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) {
12198 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
12199 }
12200 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
12201 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
12202 }
12203 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
12204 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
12205 }
12206 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
12207 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
12208 }
12209 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
12210 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
12211 }
12212 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
12213 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
12214 }
12215 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
12216 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
12217 }
12218 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
12219 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
12220 }
12221 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
12222 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
12223 }
12224 static void *_p_wxHtmlHelpControllerTo_p_wxEvtHandler(void *x) {
12225 return (void *)((wxEvtHandler *) ((wxHtmlHelpController *) x));
12226 }
12227 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
12228 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
12229 }
12230 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
12231 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
12232 }
12233 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
12234 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
12235 }
12236 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
12237 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
12238 }
12239 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
12240 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
12241 }
12242 static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) {
12243 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
12244 }
12245 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
12246 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
12247 }
12248 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
12249 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
12250 }
12251 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
12252 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
12253 }
12254 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
12255 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
12256 }
12257 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
12258 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
12259 }
12260 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
12261 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
12262 }
12263 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
12264 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
12265 }
12266 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
12267 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
12268 }
12269 static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) {
12270 return (void *)((wxPyPrintout *) ((wxHtmlPrintout *) x));
12271 }
12272 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
12273 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
12274 }
12275 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
12276 return (void *)((wxFrame *) ((wxProgressDialog *) x));
12277 }
12278 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
12279 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
12280 }
12281 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
12282 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
12283 }
12284 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
12285 return (void *)((wxFrame *) ((wxMiniFrame *) x));
12286 }
12287 static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) {
12288 return (void *)((wxFrame *) ((wxHtmlHelpFrame *) x));
12289 }
12290 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
12291 return (void *)((wxFrame *) ((wxSplashScreen *) x));
12292 }
12293 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
12294 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
12295 }
12296 static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) {
12297 return (void *)((wxHtmlCell *) ((wxHtmlContainerCell *) x));
12298 }
12299 static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) {
12300 return (void *)((wxHtmlCell *) ((wxHtmlWidgetCell *) x));
12301 }
12302 static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) {
12303 return (void *)((wxHtmlCell *) ((wxHtmlColourCell *) x));
12304 }
12305 static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) {
12306 return (void *)((wxHtmlCell *) ((wxHtmlWordCell *) x));
12307 }
12308 static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) {
12309 return (void *)((wxHtmlCell *) ((wxHtmlFontCell *) x));
12310 }
12311 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}};
12312 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}};
12313 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}};
12314 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}};
12315 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}};
12316 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}};
12317 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}};
12318 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}};
12319 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}};
12320 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}};
12321 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}};
12322 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}};
12323 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}};
12324 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}};
12325 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}};
12326 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}};
12327 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}};
12328 static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_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_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_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}};
12329 static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12330 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}};
12331 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}};
12332 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}};
12333 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}};
12334 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}};
12335 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}};
12336 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_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_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_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlParser", _p_wxHtmlParserTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlWinParser", _p_wxHtmlWinParserTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlWordCell", _p_wxHtmlWordCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlEasyPrinting", _p_wxHtmlEasyPrintingTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpController", _p_wxHtmlHelpControllerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12337 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}};
12338 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}};
12339 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}};
12340 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}};
12341 static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_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_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpController", _p_wxHtmlHelpControllerTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_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}};
12342 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}};
12343 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}};
12344 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}};
12345 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}};
12346 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}};
12347 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}};
12348 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}};
12349 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}};
12350 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}};
12351 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}};
12352 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}};
12353 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}};
12354 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}};
12355 static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12356 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}};
12357 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}};
12358 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}};
12359 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}};
12360 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}};
12361 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}};
12362 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}};
12363 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}};
12364
12365 static swig_type_info *swig_types_initial[] = {
12366 _swigt__p_wxHtmlDCRenderer,
12367 _swigt__p_wxColour,
12368 _swigt__p_wxPageSetupDialogData,
12369 _swigt__p_wxDC,
12370 _swigt__p_wxDefaultHtmlRenderingStyle,
12371 _swigt__p_wxHtmlRenderingStyle,
12372 _swigt__p_wxMouseEvent,
12373 _swigt__p_wxHtmlWordCell,
12374 _swigt__p_wxVisualAttributes,
12375 _swigt__p_wxHtmlHelpData,
12376 _swigt__p_char,
12377 _swigt__p_wxHtmlWinParser,
12378 _swigt__p_wxHtmlParser,
12379 _swigt__p_wxPanel,
12380 _swigt__p_wxFont,
12381 _swigt__p_wxPyHtmlWindow,
12382 _swigt__p_wxScrolledWindow,
12383 _swigt__p_wxWindow,
12384 _swigt__p_wxTopLevelWindow,
12385 _swigt__p_wxHtmlColourCell,
12386 _swigt__p_wxHtmlFontCell,
12387 _swigt__p_wxHtmlEasyPrinting,
12388 _swigt__p_wxHtmlSelection,
12389 _swigt__p_wxHtmlRenderingInfo,
12390 _swigt__p_wxHtmlWidgetCell,
12391 _swigt__p_wxObject,
12392 _swigt__p_wxString,
12393 _swigt__p_wxPyHtmlWinTagHandler,
12394 _swigt__p_wxHtmlTagHandler,
12395 _swigt__p_wxPyHtmlTagHandler,
12396 _swigt__p_wxEvtHandler,
12397 _swigt__p_wxPoint,
12398 _swigt__p_wxHtmlHelpController,
12399 _swigt__p_wxCursor,
12400 _swigt__p_wxFileSystem,
12401 _swigt__p_wxHtmlBookRecArray,
12402 _swigt__p_wxPyPrintout,
12403 _swigt__p_wxHtmlPrintout,
12404 _swigt__p_wxHtmlSearchStatus,
12405 _swigt__p_wxHtmlContentsItem,
12406 _swigt__p_wxConfigBase,
12407 _swigt__p_wxPrintData,
12408 _swigt__p_wxHtmlHelpFrame,
12409 _swigt__p_wxHtmlRenderingState,
12410 _swigt__p_wxFrame,
12411 _swigt__p_wxPyHtmlFilter,
12412 _swigt__p_wxHtmlFilter,
12413 _swigt__p_wxHtmlCell,
12414 _swigt__p_wxHtmlContainerCell,
12415 _swigt__p_wxHtmlTag,
12416 _swigt__p_int,
12417 _swigt__p_wxHtmlLinkInfo,
12418 _swigt__p_wxHtmlBookRecord,
12419 0
12420 };
12421
12422
12423 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
12424
12425 static swig_const_info swig_const_table[] = {
12426 {0, 0, 0, 0.0, 0, 0}};
12427
12428 #ifdef __cplusplus
12429 }
12430 #endif
12431
12432 #ifdef __cplusplus
12433 extern "C"
12434 #endif
12435 SWIGEXPORT(void) SWIG_init(void) {
12436 static PyObject *SWIG_globals = 0;
12437 static int typeinit = 0;
12438 PyObject *m, *d;
12439 int i;
12440 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
12441 m = Py_InitModule((char *) SWIG_name, SwigMethods);
12442 d = PyModule_GetDict(m);
12443
12444 if (!typeinit) {
12445 for (i = 0; swig_types_initial[i]; i++) {
12446 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
12447 }
12448 typeinit = 1;
12449 }
12450 SWIG_InstallConstants(d,swig_const_table);
12451
12452 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
12453 SWIG_addvarlink(SWIG_globals,(char*)"HtmlWindowNameStr",_wrap_HtmlWindowNameStr_get, _wrap_HtmlWindowNameStr_set);
12454 SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintoutTitleStr",_wrap_HtmlPrintoutTitleStr_get, _wrap_HtmlPrintoutTitleStr_set);
12455 SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintingTitleStr",_wrap_HtmlPrintingTitleStr_get, _wrap_HtmlPrintingTitleStr_set);
12456 PyDict_SetItemString(d,"HTML_ALIGN_LEFT", SWIG_From_int((int)wxHTML_ALIGN_LEFT));
12457 PyDict_SetItemString(d,"HTML_ALIGN_CENTER", SWIG_From_int((int)wxHTML_ALIGN_CENTER));
12458 PyDict_SetItemString(d,"HTML_ALIGN_RIGHT", SWIG_From_int((int)wxHTML_ALIGN_RIGHT));
12459 PyDict_SetItemString(d,"HTML_ALIGN_BOTTOM", SWIG_From_int((int)wxHTML_ALIGN_BOTTOM));
12460 PyDict_SetItemString(d,"HTML_ALIGN_TOP", SWIG_From_int((int)wxHTML_ALIGN_TOP));
12461 PyDict_SetItemString(d,"HTML_CLR_FOREGROUND", SWIG_From_int((int)wxHTML_CLR_FOREGROUND));
12462 PyDict_SetItemString(d,"HTML_CLR_BACKGROUND", SWIG_From_int((int)wxHTML_CLR_BACKGROUND));
12463 PyDict_SetItemString(d,"HTML_UNITS_PIXELS", SWIG_From_int((int)wxHTML_UNITS_PIXELS));
12464 PyDict_SetItemString(d,"HTML_UNITS_PERCENT", SWIG_From_int((int)wxHTML_UNITS_PERCENT));
12465 PyDict_SetItemString(d,"HTML_INDENT_LEFT", SWIG_From_int((int)wxHTML_INDENT_LEFT));
12466 PyDict_SetItemString(d,"HTML_INDENT_RIGHT", SWIG_From_int((int)wxHTML_INDENT_RIGHT));
12467 PyDict_SetItemString(d,"HTML_INDENT_TOP", SWIG_From_int((int)wxHTML_INDENT_TOP));
12468 PyDict_SetItemString(d,"HTML_INDENT_BOTTOM", SWIG_From_int((int)wxHTML_INDENT_BOTTOM));
12469 PyDict_SetItemString(d,"HTML_INDENT_HORIZONTAL", SWIG_From_int((int)wxHTML_INDENT_HORIZONTAL));
12470 PyDict_SetItemString(d,"HTML_INDENT_VERTICAL", SWIG_From_int((int)wxHTML_INDENT_VERTICAL));
12471 PyDict_SetItemString(d,"HTML_INDENT_ALL", SWIG_From_int((int)wxHTML_INDENT_ALL));
12472 PyDict_SetItemString(d,"HTML_COND_ISANCHOR", SWIG_From_int((int)wxHTML_COND_ISANCHOR));
12473 PyDict_SetItemString(d,"HTML_COND_ISIMAGEMAP", SWIG_From_int((int)wxHTML_COND_ISIMAGEMAP));
12474 PyDict_SetItemString(d,"HTML_COND_USER", SWIG_From_int((int)wxHTML_COND_USER));
12475 PyDict_SetItemString(d,"HTML_FONT_SIZE_1", SWIG_From_int((int)wxHTML_FONT_SIZE_1));
12476 PyDict_SetItemString(d,"HTML_FONT_SIZE_2", SWIG_From_int((int)wxHTML_FONT_SIZE_2));
12477 PyDict_SetItemString(d,"HTML_FONT_SIZE_3", SWIG_From_int((int)wxHTML_FONT_SIZE_3));
12478 PyDict_SetItemString(d,"HTML_FONT_SIZE_4", SWIG_From_int((int)wxHTML_FONT_SIZE_4));
12479 PyDict_SetItemString(d,"HTML_FONT_SIZE_5", SWIG_From_int((int)wxHTML_FONT_SIZE_5));
12480 PyDict_SetItemString(d,"HTML_FONT_SIZE_6", SWIG_From_int((int)wxHTML_FONT_SIZE_6));
12481 PyDict_SetItemString(d,"HTML_FONT_SIZE_7", SWIG_From_int((int)wxHTML_FONT_SIZE_7));
12482 PyDict_SetItemString(d,"HW_SCROLLBAR_NEVER", SWIG_From_int((int)wxHW_SCROLLBAR_NEVER));
12483 PyDict_SetItemString(d,"HW_SCROLLBAR_AUTO", SWIG_From_int((int)wxHW_SCROLLBAR_AUTO));
12484 PyDict_SetItemString(d,"HW_NO_SELECTION", SWIG_From_int((int)wxHW_NO_SELECTION));
12485 PyDict_SetItemString(d,"HW_DEFAULT_STYLE", SWIG_From_int((int)wxHW_DEFAULT_STYLE));
12486 PyDict_SetItemString(d,"HTML_OPEN", SWIG_From_int((int)wxHTML_OPEN));
12487 PyDict_SetItemString(d,"HTML_BLOCK", SWIG_From_int((int)wxHTML_BLOCK));
12488 PyDict_SetItemString(d,"HTML_REDIRECT", SWIG_From_int((int)wxHTML_REDIRECT));
12489 PyDict_SetItemString(d,"HTML_URL_PAGE", SWIG_From_int((int)wxHTML_URL_PAGE));
12490 PyDict_SetItemString(d,"HTML_URL_IMAGE", SWIG_From_int((int)wxHTML_URL_IMAGE));
12491 PyDict_SetItemString(d,"HTML_URL_OTHER", SWIG_From_int((int)wxHTML_URL_OTHER));
12492 PyDict_SetItemString(d,"HTML_SEL_OUT", SWIG_From_int((int)wxHTML_SEL_OUT));
12493 PyDict_SetItemString(d,"HTML_SEL_IN", SWIG_From_int((int)wxHTML_SEL_IN));
12494 PyDict_SetItemString(d,"HTML_SEL_CHANGING", SWIG_From_int((int)wxHTML_SEL_CHANGING));
12495 PyDict_SetItemString(d,"HTML_FIND_EXACT", SWIG_From_int((int)wxHTML_FIND_EXACT));
12496 PyDict_SetItemString(d,"HTML_FIND_NEAREST_BEFORE", SWIG_From_int((int)wxHTML_FIND_NEAREST_BEFORE));
12497 PyDict_SetItemString(d,"HTML_FIND_NEAREST_AFTER", SWIG_From_int((int)wxHTML_FIND_NEAREST_AFTER));
12498 PyDict_SetItemString(d,"PAGE_ODD", SWIG_From_int((int)wxPAGE_ODD));
12499 PyDict_SetItemString(d,"PAGE_EVEN", SWIG_From_int((int)wxPAGE_EVEN));
12500 PyDict_SetItemString(d,"PAGE_ALL", SWIG_From_int((int)wxPAGE_ALL));
12501 PyDict_SetItemString(d,"HF_TOOLBAR", SWIG_From_int((int)wxHF_TOOLBAR));
12502 PyDict_SetItemString(d,"HF_FLATTOOLBAR", SWIG_From_int((int)wxHF_FLATTOOLBAR));
12503 PyDict_SetItemString(d,"HF_CONTENTS", SWIG_From_int((int)wxHF_CONTENTS));
12504 PyDict_SetItemString(d,"HF_INDEX", SWIG_From_int((int)wxHF_INDEX));
12505 PyDict_SetItemString(d,"HF_SEARCH", SWIG_From_int((int)wxHF_SEARCH));
12506 PyDict_SetItemString(d,"HF_BOOKMARKS", SWIG_From_int((int)wxHF_BOOKMARKS));
12507 PyDict_SetItemString(d,"HF_OPENFILES", SWIG_From_int((int)wxHF_OPENFILES));
12508 PyDict_SetItemString(d,"HF_PRINT", SWIG_From_int((int)wxHF_PRINT));
12509 PyDict_SetItemString(d,"HF_DEFAULTSTYLE", SWIG_From_int((int)wxHF_DEFAULTSTYLE));
12510
12511 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
12512 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
12513 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
12514 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");
12515
12516 }
12517