]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/html_wrap.cpp
Some change notes
[wxWidgets.git] / wxPython / src / mac / html_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_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 o2 = target;
566 target = PyTuple_New(1);
567 PyTuple_SetItem(target, 0, o2);
568
569 o3 = PyTuple_New(1);
570 PyTuple_SetItem(o3, 0, o);
571
572 o2 = target;
573 target = PySequence_Concat(o2, o3);
574 Py_DECREF(o2);
575 Py_DECREF(o3);
576 }
577 return target;
578 }
579
580
581
582 SWIGSTATICINLINE(int)
583 SWIG_AsVal_bool(PyObject *obj, bool *val)
584 {
585 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
586 if (obj == Py_True) {
587 if (val) *val = true;
588 return 1;
589 }
590 if (obj == Py_False) {
591 if (val) *val = false;
592 return 1;
593 }
594 int res = 0;
595 if (SWIG_AsVal_int(obj, &res)) {
596 if (val) *val = (bool)res;
597 return 1;
598 }
599 if (val) {
600 PyErr_SetString(PyExc_TypeError, "a bool is expected");
601 }
602 return 0;
603 }
604
605
606 SWIGSTATICINLINE(bool)
607 SWIG_As_bool(PyObject* obj)
608 {
609 bool v;
610 if (!SWIG_AsVal_bool(obj, &v)) {
611 /*
612 this is needed to make valgrind/purify happier. the other
613 solution is throw an exception, but since this code should work
614 with plain C ....
615 */
616 memset((void*)&v, 0, sizeof(bool));
617 }
618 return v;
619 }
620
621
622 SWIGSTATICINLINE(int)
623 SWIG_Check_bool(PyObject* obj)
624 {
625 return SWIG_AsVal_bool(obj, (bool*)0);
626 }
627
628
629 SWIGSTATICINLINE(int)
630 SWIG_CheckUnsignedLongInRange(unsigned long value,
631 unsigned long max_value,
632 const char *errmsg)
633 {
634 if (value > max_value) {
635 if (errmsg) {
636 PyErr_Format(PyExc_OverflowError,
637 "value %ld is greater than '%s' minimum %ld",
638 value, errmsg, max_value);
639 }
640 return 0;
641 }
642 return 1;
643 }
644
645
646 // See my_fragments.i
647 SWIGSTATICINLINE(int)
648 SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
649 {
650 long v = 0;
651 if (SWIG_AsVal_long(obj, &v) && v < 0) {
652 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
653 return 0;
654 }
655 else if (val)
656 *val = (unsigned long)v;
657 return 1;
658 }
659
660
661 #if UINT_MAX != ULONG_MAX
662 SWIGSTATICINLINE(int)
663 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
664 {
665 const char* errmsg = val ? "unsigned int" : 0;
666 unsigned long v;
667 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
668 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
669 if (val) *val = swig_numeric_cast(v, unsigned int);
670 return 1;
671 }
672 } else {
673 PyErr_Clear();
674 }
675 if (val) {
676 PyErr_SetString(PyExc_TypeError, "an unsigned int is expected");
677 }
678 return 0;
679 }
680 #else
681 SWIGSTATICINLINE(unsigned int)
682 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
683 {
684 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
685 }
686 #endif
687
688
689 SWIGSTATICINLINE(unsigned int)
690 SWIG_As_unsigned_SS_int(PyObject* obj)
691 {
692 unsigned int v;
693 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
694 /*
695 this is needed to make valgrind/purify happier. the other
696 solution is throw an exception, but since this code should work
697 with plain C ....
698 */
699 memset((void*)&v, 0, sizeof(unsigned int));
700 }
701 return v;
702 }
703
704
705 SWIGSTATICINLINE(int)
706 SWIG_Check_unsigned_SS_int(PyObject* obj)
707 {
708 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
709 }
710
711
712 SWIGSTATICINLINE(PyObject* )
713 SWIG_From_unsigned_SS_long(unsigned long value)
714 {
715 return (value > LONG_MAX) ?
716 PyLong_FromUnsignedLong(value)
717 : PyInt_FromLong(swig_numeric_cast(value,long));
718 }
719
720
721 #if UINT_MAX < LONG_MAX
722 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
723 #define SWIG_From_unsigned_SS_int SWIG_From_long
724 /*@@*/
725 #else
726 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
727 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
728 /*@@*/
729 #endif
730
731 // here's the C++ version
732 class wxPyHtmlFilter : public wxHtmlFilter {
733 DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter);
734 public:
735 wxPyHtmlFilter() : wxHtmlFilter() {}
736
737 // returns True if this filter is able to open&read given file
738 virtual bool CanRead(const wxFSFile& file) const {
739 bool rval = False;
740 bool found;
741 bool blocked = wxPyBeginBlockThreads();
742 if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) {
743 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const
744 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
745 Py_DECREF(obj);
746 }
747 wxPyEndBlockThreads(blocked);
748 return rval;
749 }
750
751
752 // Reads given file and returns HTML document.
753 // Returns empty string if opening failed
754 virtual wxString ReadFile(const wxFSFile& file) const {
755 wxString rval;
756 bool found;
757 bool blocked = wxPyBeginBlockThreads();
758 if ((found = wxPyCBH_findCallback(m_myInst, "ReadFile"))) {
759 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const
760 PyObject* ro;
761 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(O)", obj));
762 Py_DECREF(obj);
763 if (ro) {
764 rval = Py2wxString(ro);
765 Py_DECREF(ro);
766 }
767 }
768 wxPyEndBlockThreads(blocked);
769 return rval;
770 }
771
772 PYPRIVATE;
773 };
774
775 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter, wxHtmlFilter);
776
777
778 class wxPyHtmlWindow : public wxHtmlWindow {
779 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow);
780 public:
781 wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1,
782 const wxPoint& pos = wxDefaultPosition,
783 const wxSize& size = wxDefaultSize,
784 long style = wxHW_DEFAULT_STYLE,
785 const wxString& name = wxPyHtmlWindowNameStr)
786 : wxHtmlWindow(parent, id, pos, size, style, name) {};
787 wxPyHtmlWindow() : wxHtmlWindow() {};
788
789 bool ScrollToAnchor(const wxString& anchor) {
790 return wxHtmlWindow::ScrollToAnchor(anchor);
791 }
792
793 bool HasAnchor(const wxString& anchor) {
794 const wxHtmlCell *c = m_Cell->Find(wxHTML_COND_ISANCHOR, &anchor);
795 return c!=NULL;
796 }
797
798 void OnLinkClicked(const wxHtmlLinkInfo& link);
799 void base_OnLinkClicked(const wxHtmlLinkInfo& link);
800
801 wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type,
802 const wxString& url,
803 wxString *redirect) const;
804
805 DEC_PYCALLBACK__STRING(OnSetTitle);
806 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover);
807 DEC_PYCALLBACK__CELLINTINTME(OnCellClicked);
808 PYPRIVATE;
809 };
810
811 IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow, wxHtmlWindow );
812 IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnSetTitle);
813 IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow, wxHtmlWindow, OnCellMouseHover);
814 IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow, wxHtmlWindow, OnCellClicked);
815
816
817 void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) {
818 bool found;
819 bool blocked = wxPyBeginBlockThreads();
820 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
821 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
822 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
823 Py_DECREF(obj);
824 }
825 wxPyEndBlockThreads(blocked);
826 if (! found)
827 wxHtmlWindow::OnLinkClicked(link);
828 }
829 void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo& link) {
830 wxHtmlWindow::OnLinkClicked(link);
831 }
832
833
834 wxHtmlOpeningStatus wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type,
835 const wxString& url,
836 wxString *redirect) const {
837 bool found;
838 wxHtmlOpeningStatus rval;
839 bool blocked = wxPyBeginBlockThreads();
840 if ((found = wxPyCBH_findCallback(m_myInst, "OnOpeningURL"))) {
841 PyObject* ro;
842 PyObject* s = wx2PyString(url);
843 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iO)", type, s));
844 Py_DECREF(s);
845 if (PyString_Check(ro)
846 #if PYTHON_API_VERSION >= 1009
847 || PyUnicode_Check(ro)
848 #endif
849 ) {
850 *redirect = Py2wxString(ro);
851 rval = wxHTML_REDIRECT;
852 }
853 else {
854 PyObject* num = PyNumber_Int(ro);
855 rval = (wxHtmlOpeningStatus)PyInt_AsLong(num);
856 Py_DECREF(num);
857 }
858 Py_DECREF(ro);
859 }
860 wxPyEndBlockThreads(blocked);
861 if (! found)
862 rval = wxHtmlWindow::OnOpeningURL(type, url, redirect);
863 return rval;
864 }
865
866
867
868 void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
869 int* temp = NULL;
870 if (sizes) temp = int_LIST_helper(sizes);
871 self->SetFonts(normal_face, fixed_face, temp);
872 if (temp)
873 delete [] temp;
874 }
875 void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
876 int* temp = NULL;
877 if (sizes) temp = int_LIST_helper(sizes);
878 self->SetFonts(normal_face, fixed_face, temp);
879 if (temp)
880 delete [] temp;
881 }
882 void wxHtmlPrintout_SetFonts(wxHtmlPrintout *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
883 int* temp = NULL;
884 if (sizes) temp = int_LIST_helper(sizes);
885 self->SetFonts(normal_face, fixed_face, temp);
886 if (temp)
887 delete [] temp;
888 }
889
890 #include <float.h>
891 SWIGSTATICINLINE(int)
892 SWIG_CheckDoubleInRange(double value, double min_value,
893 double max_value, const char* errmsg)
894 {
895 if (value < min_value) {
896 if (errmsg) {
897 PyErr_Format(PyExc_OverflowError,
898 "value %g is less than %s minimum %g",
899 value, errmsg, min_value);
900 }
901 return 0;
902 } else if (value > max_value) {
903 if (errmsg) {
904 PyErr_Format(PyExc_OverflowError,
905 "value %g is greater than %s maximum %g",
906 value, errmsg, max_value);
907 }
908 return 0;
909 }
910 return 1;
911 }
912
913
914 // See my_fragments.i
915 SWIGSTATICINLINE(int)
916 SWIG_AsVal_double(PyObject *obj, double* val)
917 {
918 if (PyNumber_Check(obj)) {
919 if (val) *val = PyFloat_AsDouble(obj);
920 return 1;
921 }
922 else {
923 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
924 obj->ob_type->tp_name);
925 PyErr_SetObject(PyExc_TypeError, errmsg);
926 Py_DECREF(errmsg);
927 }
928 return 0;
929 }
930
931
932 SWIGSTATICINLINE(int)
933 SWIG_AsVal_float(PyObject *obj, float *val)
934 {
935 const char* errmsg = val ? "float" : 0;
936 double v;
937 if (SWIG_AsVal_double(obj, &v)) {
938 if (SWIG_CheckDoubleInRange(v, -FLT_MAX, FLT_MAX, errmsg)) {
939 if (val) *val = v;
940 return 1;
941 } else {
942 return 0;
943 }
944 } else {
945 PyErr_Clear();
946 }
947 if (val) {
948 PyErr_SetString(PyExc_TypeError, "a float is expected");
949 }
950 return 0;
951 }
952
953
954 SWIGSTATICINLINE(float)
955 SWIG_As_float(PyObject* obj)
956 {
957 float v;
958 if (!SWIG_AsVal_float(obj, &v)) {
959 /*
960 this is needed to make valgrind/purify happier. the other
961 solution is throw an exception, but since this code should work
962 with plain C ....
963 */
964 memset((void*)&v, 0, sizeof(float));
965 }
966 return v;
967 }
968
969
970 SWIGSTATICINLINE(int)
971 SWIG_Check_float(PyObject* obj)
972 {
973 return SWIG_AsVal_float(obj, (float*)0);
974 }
975
976 void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
977 int* temp = NULL;
978 if (sizes) temp = int_LIST_helper(sizes);
979 self->SetFonts(normal_face, fixed_face, temp);
980 if (temp)
981 delete [] temp;
982 }
983 int wxHtmlContentsItem_GetLevel(wxHtmlContentsItem *self){ return self->m_Level; }
984 int wxHtmlContentsItem_GetID(wxHtmlContentsItem *self){ return self->m_ID; }
985 wxString wxHtmlContentsItem_GetName(wxHtmlContentsItem *self){ return self->m_Name; }
986 wxString wxHtmlContentsItem_GetPage(wxHtmlContentsItem *self){ return self->m_Page; }
987 wxHtmlBookRecord *wxHtmlContentsItem_GetBook(wxHtmlContentsItem *self){ return self->m_Book; }
988 #ifdef __cplusplus
989 extern "C" {
990 #endif
991 static int _wrap_HtmlWindowNameStr_set(PyObject *) {
992 PyErr_SetString(PyExc_TypeError,"Variable HtmlWindowNameStr is read-only.");
993 return 1;
994 }
995
996
997 static PyObject *_wrap_HtmlWindowNameStr_get() {
998 PyObject *pyobj;
999
1000 {
1001 #if wxUSE_UNICODE
1002 pyobj = PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
1003 #else
1004 pyobj = PyString_FromStringAndSize((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
1005 #endif
1006 }
1007 return pyobj;
1008 }
1009
1010
1011 static int _wrap_HtmlPrintoutTitleStr_set(PyObject *) {
1012 PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintoutTitleStr is read-only.");
1013 return 1;
1014 }
1015
1016
1017 static PyObject *_wrap_HtmlPrintoutTitleStr_get() {
1018 PyObject *pyobj;
1019
1020 {
1021 #if wxUSE_UNICODE
1022 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
1023 #else
1024 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
1025 #endif
1026 }
1027 return pyobj;
1028 }
1029
1030
1031 static int _wrap_HtmlPrintingTitleStr_set(PyObject *) {
1032 PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintingTitleStr is read-only.");
1033 return 1;
1034 }
1035
1036
1037 static PyObject *_wrap_HtmlPrintingTitleStr_get() {
1038 PyObject *pyobj;
1039
1040 {
1041 #if wxUSE_UNICODE
1042 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
1043 #else
1044 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
1045 #endif
1046 }
1047 return pyobj;
1048 }
1049
1050
1051 static PyObject *_wrap_new_HtmlLinkInfo(PyObject *, PyObject *args, PyObject *kwargs) {
1052 PyObject *resultobj;
1053 wxString *arg1 = 0 ;
1054 wxString const &arg2_defvalue = wxPyEmptyString ;
1055 wxString *arg2 = (wxString *) &arg2_defvalue ;
1056 wxHtmlLinkInfo *result;
1057 bool temp1 = False ;
1058 bool temp2 = False ;
1059 PyObject * obj0 = 0 ;
1060 PyObject * obj1 = 0 ;
1061 char *kwnames[] = {
1062 (char *) "href",(char *) "target", NULL
1063 };
1064
1065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlLinkInfo",kwnames,&obj0,&obj1)) goto fail;
1066 {
1067 arg1 = wxString_in_helper(obj0);
1068 if (arg1 == NULL) SWIG_fail;
1069 temp1 = True;
1070 }
1071 if (obj1) {
1072 {
1073 arg2 = wxString_in_helper(obj1);
1074 if (arg2 == NULL) SWIG_fail;
1075 temp2 = True;
1076 }
1077 }
1078 {
1079 PyThreadState* __tstate = wxPyBeginAllowThreads();
1080 result = (wxHtmlLinkInfo *)new wxHtmlLinkInfo((wxString const &)*arg1,(wxString const &)*arg2);
1081
1082 wxPyEndAllowThreads(__tstate);
1083 if (PyErr_Occurred()) SWIG_fail;
1084 }
1085 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlLinkInfo, 1);
1086 {
1087 if (temp1)
1088 delete arg1;
1089 }
1090 {
1091 if (temp2)
1092 delete arg2;
1093 }
1094 return resultobj;
1095 fail:
1096 {
1097 if (temp1)
1098 delete arg1;
1099 }
1100 {
1101 if (temp2)
1102 delete arg2;
1103 }
1104 return NULL;
1105 }
1106
1107
1108 static PyObject *_wrap_HtmlLinkInfo_GetHref(PyObject *, PyObject *args, PyObject *kwargs) {
1109 PyObject *resultobj;
1110 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
1111 wxString result;
1112 PyObject * obj0 = 0 ;
1113 char *kwnames[] = {
1114 (char *) "self", NULL
1115 };
1116
1117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHref",kwnames,&obj0)) goto fail;
1118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo,
1119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1120 {
1121 PyThreadState* __tstate = wxPyBeginAllowThreads();
1122 result = (arg1)->GetHref();
1123
1124 wxPyEndAllowThreads(__tstate);
1125 if (PyErr_Occurred()) SWIG_fail;
1126 }
1127 {
1128 #if wxUSE_UNICODE
1129 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1130 #else
1131 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1132 #endif
1133 }
1134 return resultobj;
1135 fail:
1136 return NULL;
1137 }
1138
1139
1140 static PyObject *_wrap_HtmlLinkInfo_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
1141 PyObject *resultobj;
1142 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
1143 wxString result;
1144 PyObject * obj0 = 0 ;
1145 char *kwnames[] = {
1146 (char *) "self", NULL
1147 };
1148
1149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetTarget",kwnames,&obj0)) goto fail;
1150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo,
1151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1152 {
1153 PyThreadState* __tstate = wxPyBeginAllowThreads();
1154 result = (arg1)->GetTarget();
1155
1156 wxPyEndAllowThreads(__tstate);
1157 if (PyErr_Occurred()) SWIG_fail;
1158 }
1159 {
1160 #if wxUSE_UNICODE
1161 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1162 #else
1163 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1164 #endif
1165 }
1166 return resultobj;
1167 fail:
1168 return NULL;
1169 }
1170
1171
1172 static PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *, PyObject *args, PyObject *kwargs) {
1173 PyObject *resultobj;
1174 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
1175 wxMouseEvent *result;
1176 PyObject * obj0 = 0 ;
1177 char *kwnames[] = {
1178 (char *) "self", NULL
1179 };
1180
1181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetEvent",kwnames,&obj0)) goto fail;
1182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo,
1183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1184 {
1185 PyThreadState* __tstate = wxPyBeginAllowThreads();
1186 result = (wxMouseEvent *)(arg1)->GetEvent();
1187
1188 wxPyEndAllowThreads(__tstate);
1189 if (PyErr_Occurred()) SWIG_fail;
1190 }
1191 {
1192 resultobj = wxPyMake_wxObject(result, 0);
1193 }
1194 return resultobj;
1195 fail:
1196 return NULL;
1197 }
1198
1199
1200 static PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *, PyObject *args, PyObject *kwargs) {
1201 PyObject *resultobj;
1202 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
1203 wxHtmlCell *result;
1204 PyObject * obj0 = 0 ;
1205 char *kwnames[] = {
1206 (char *) "self", NULL
1207 };
1208
1209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHtmlCell",kwnames,&obj0)) goto fail;
1210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo,
1211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1212 {
1213 PyThreadState* __tstate = wxPyBeginAllowThreads();
1214 result = (wxHtmlCell *)(arg1)->GetHtmlCell();
1215
1216 wxPyEndAllowThreads(__tstate);
1217 if (PyErr_Occurred()) SWIG_fail;
1218 }
1219 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
1220 return resultobj;
1221 fail:
1222 return NULL;
1223 }
1224
1225
1226 static PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *, PyObject *args, PyObject *kwargs) {
1227 PyObject *resultobj;
1228 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
1229 wxMouseEvent *arg2 = (wxMouseEvent *) 0 ;
1230 PyObject * obj0 = 0 ;
1231 PyObject * obj1 = 0 ;
1232 char *kwnames[] = {
1233 (char *) "self",(char *) "e", NULL
1234 };
1235
1236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames,&obj0,&obj1)) goto fail;
1237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo,
1238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1239 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMouseEvent,
1240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1241 {
1242 PyThreadState* __tstate = wxPyBeginAllowThreads();
1243 (arg1)->SetEvent((wxMouseEvent const *)arg2);
1244
1245 wxPyEndAllowThreads(__tstate);
1246 if (PyErr_Occurred()) SWIG_fail;
1247 }
1248 Py_INCREF(Py_None); resultobj = Py_None;
1249 return resultobj;
1250 fail:
1251 return NULL;
1252 }
1253
1254
1255 static PyObject *_wrap_HtmlLinkInfo_SetHtmlCell(PyObject *, PyObject *args, PyObject *kwargs) {
1256 PyObject *resultobj;
1257 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
1258 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
1259 PyObject * obj0 = 0 ;
1260 PyObject * obj1 = 0 ;
1261 char *kwnames[] = {
1262 (char *) "self",(char *) "e", NULL
1263 };
1264
1265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames,&obj0,&obj1)) goto fail;
1266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo,
1267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1268 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
1269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1270 {
1271 PyThreadState* __tstate = wxPyBeginAllowThreads();
1272 (arg1)->SetHtmlCell((wxHtmlCell const *)arg2);
1273
1274 wxPyEndAllowThreads(__tstate);
1275 if (PyErr_Occurred()) SWIG_fail;
1276 }
1277 Py_INCREF(Py_None); resultobj = Py_None;
1278 return resultobj;
1279 fail:
1280 return NULL;
1281 }
1282
1283
1284 static PyObject * HtmlLinkInfo_swigregister(PyObject *, PyObject *args) {
1285 PyObject *obj;
1286 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1287 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlLinkInfo, obj);
1288 Py_INCREF(obj);
1289 return Py_BuildValue((char *)"");
1290 }
1291 static PyObject *_wrap_HtmlTag_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
1292 PyObject *resultobj;
1293 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1294 wxString result;
1295 PyObject * obj0 = 0 ;
1296 char *kwnames[] = {
1297 (char *) "self", NULL
1298 };
1299
1300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetName",kwnames,&obj0)) goto fail;
1301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1303 {
1304 PyThreadState* __tstate = wxPyBeginAllowThreads();
1305 result = (arg1)->GetName();
1306
1307 wxPyEndAllowThreads(__tstate);
1308 if (PyErr_Occurred()) SWIG_fail;
1309 }
1310 {
1311 #if wxUSE_UNICODE
1312 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1313 #else
1314 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1315 #endif
1316 }
1317 return resultobj;
1318 fail:
1319 return NULL;
1320 }
1321
1322
1323 static PyObject *_wrap_HtmlTag_HasParam(PyObject *, PyObject *args, PyObject *kwargs) {
1324 PyObject *resultobj;
1325 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1326 wxString *arg2 = 0 ;
1327 bool result;
1328 bool temp2 = False ;
1329 PyObject * obj0 = 0 ;
1330 PyObject * obj1 = 0 ;
1331 char *kwnames[] = {
1332 (char *) "self",(char *) "par", NULL
1333 };
1334
1335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTag_HasParam",kwnames,&obj0,&obj1)) goto fail;
1336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1338 {
1339 arg2 = wxString_in_helper(obj1);
1340 if (arg2 == NULL) SWIG_fail;
1341 temp2 = True;
1342 }
1343 {
1344 PyThreadState* __tstate = wxPyBeginAllowThreads();
1345 result = (bool)(arg1)->HasParam((wxString const &)*arg2);
1346
1347 wxPyEndAllowThreads(__tstate);
1348 if (PyErr_Occurred()) SWIG_fail;
1349 }
1350 {
1351 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1352 }
1353 {
1354 if (temp2)
1355 delete arg2;
1356 }
1357 return resultobj;
1358 fail:
1359 {
1360 if (temp2)
1361 delete arg2;
1362 }
1363 return NULL;
1364 }
1365
1366
1367 static PyObject *_wrap_HtmlTag_GetParam(PyObject *, PyObject *args, PyObject *kwargs) {
1368 PyObject *resultobj;
1369 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1370 wxString *arg2 = 0 ;
1371 int arg3 = (int) False ;
1372 wxString result;
1373 bool temp2 = False ;
1374 PyObject * obj0 = 0 ;
1375 PyObject * obj1 = 0 ;
1376 PyObject * obj2 = 0 ;
1377 char *kwnames[] = {
1378 (char *) "self",(char *) "par",(char *) "with_commas", NULL
1379 };
1380
1381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlTag_GetParam",kwnames,&obj0,&obj1,&obj2)) goto fail;
1382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1384 {
1385 arg2 = wxString_in_helper(obj1);
1386 if (arg2 == NULL) SWIG_fail;
1387 temp2 = True;
1388 }
1389 if (obj2) {
1390 arg3 = (int)SWIG_As_int(obj2);
1391 if (PyErr_Occurred()) SWIG_fail;
1392 }
1393 {
1394 PyThreadState* __tstate = wxPyBeginAllowThreads();
1395 result = (arg1)->GetParam((wxString const &)*arg2,arg3);
1396
1397 wxPyEndAllowThreads(__tstate);
1398 if (PyErr_Occurred()) SWIG_fail;
1399 }
1400 {
1401 #if wxUSE_UNICODE
1402 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1403 #else
1404 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1405 #endif
1406 }
1407 {
1408 if (temp2)
1409 delete arg2;
1410 }
1411 return resultobj;
1412 fail:
1413 {
1414 if (temp2)
1415 delete arg2;
1416 }
1417 return NULL;
1418 }
1419
1420
1421 static PyObject *_wrap_HtmlTag_GetAllParams(PyObject *, PyObject *args, PyObject *kwargs) {
1422 PyObject *resultobj;
1423 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1424 wxString result;
1425 PyObject * obj0 = 0 ;
1426 char *kwnames[] = {
1427 (char *) "self", NULL
1428 };
1429
1430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetAllParams",kwnames,&obj0)) goto fail;
1431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1433 {
1434 PyThreadState* __tstate = wxPyBeginAllowThreads();
1435 result = (arg1)->GetAllParams();
1436
1437 wxPyEndAllowThreads(__tstate);
1438 if (PyErr_Occurred()) SWIG_fail;
1439 }
1440 {
1441 #if wxUSE_UNICODE
1442 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1443 #else
1444 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1445 #endif
1446 }
1447 return resultobj;
1448 fail:
1449 return NULL;
1450 }
1451
1452
1453 static PyObject *_wrap_HtmlTag_HasEnding(PyObject *, PyObject *args, PyObject *kwargs) {
1454 PyObject *resultobj;
1455 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1456 bool result;
1457 PyObject * obj0 = 0 ;
1458 char *kwnames[] = {
1459 (char *) "self", NULL
1460 };
1461
1462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_HasEnding",kwnames,&obj0)) goto fail;
1463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1465 {
1466 PyThreadState* __tstate = wxPyBeginAllowThreads();
1467 result = (bool)(arg1)->HasEnding();
1468
1469 wxPyEndAllowThreads(__tstate);
1470 if (PyErr_Occurred()) SWIG_fail;
1471 }
1472 {
1473 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1474 }
1475 return resultobj;
1476 fail:
1477 return NULL;
1478 }
1479
1480
1481 static PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *, PyObject *args, PyObject *kwargs) {
1482 PyObject *resultobj;
1483 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1484 int result;
1485 PyObject * obj0 = 0 ;
1486 char *kwnames[] = {
1487 (char *) "self", NULL
1488 };
1489
1490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetBeginPos",kwnames,&obj0)) goto fail;
1491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1493 {
1494 PyThreadState* __tstate = wxPyBeginAllowThreads();
1495 result = (int)(arg1)->GetBeginPos();
1496
1497 wxPyEndAllowThreads(__tstate);
1498 if (PyErr_Occurred()) SWIG_fail;
1499 }
1500 resultobj = SWIG_From_int((int)result);
1501 return resultobj;
1502 fail:
1503 return NULL;
1504 }
1505
1506
1507 static PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *, PyObject *args, PyObject *kwargs) {
1508 PyObject *resultobj;
1509 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1510 int result;
1511 PyObject * obj0 = 0 ;
1512 char *kwnames[] = {
1513 (char *) "self", NULL
1514 };
1515
1516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos1",kwnames,&obj0)) goto fail;
1517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1519 {
1520 PyThreadState* __tstate = wxPyBeginAllowThreads();
1521 result = (int)(arg1)->GetEndPos1();
1522
1523 wxPyEndAllowThreads(__tstate);
1524 if (PyErr_Occurred()) SWIG_fail;
1525 }
1526 resultobj = SWIG_From_int((int)result);
1527 return resultobj;
1528 fail:
1529 return NULL;
1530 }
1531
1532
1533 static PyObject *_wrap_HtmlTag_GetEndPos2(PyObject *, PyObject *args, PyObject *kwargs) {
1534 PyObject *resultobj;
1535 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1536 int result;
1537 PyObject * obj0 = 0 ;
1538 char *kwnames[] = {
1539 (char *) "self", NULL
1540 };
1541
1542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos2",kwnames,&obj0)) goto fail;
1543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1545 {
1546 PyThreadState* __tstate = wxPyBeginAllowThreads();
1547 result = (int)(arg1)->GetEndPos2();
1548
1549 wxPyEndAllowThreads(__tstate);
1550 if (PyErr_Occurred()) SWIG_fail;
1551 }
1552 resultobj = SWIG_From_int((int)result);
1553 return resultobj;
1554 fail:
1555 return NULL;
1556 }
1557
1558
1559 static PyObject * HtmlTag_swigregister(PyObject *, PyObject *args) {
1560 PyObject *obj;
1561 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1562 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlTag, obj);
1563 Py_INCREF(obj);
1564 return Py_BuildValue((char *)"");
1565 }
1566 static PyObject *_wrap_HtmlParser_SetFS(PyObject *, PyObject *args, PyObject *kwargs) {
1567 PyObject *resultobj;
1568 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1569 wxFileSystem *arg2 = (wxFileSystem *) 0 ;
1570 PyObject * obj0 = 0 ;
1571 PyObject * obj1 = 0 ;
1572 char *kwnames[] = {
1573 (char *) "self",(char *) "fs", NULL
1574 };
1575
1576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_SetFS",kwnames,&obj0,&obj1)) goto fail;
1577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1579 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
1580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1581 {
1582 PyThreadState* __tstate = wxPyBeginAllowThreads();
1583 (arg1)->SetFS(arg2);
1584
1585 wxPyEndAllowThreads(__tstate);
1586 if (PyErr_Occurred()) SWIG_fail;
1587 }
1588 Py_INCREF(Py_None); resultobj = Py_None;
1589 return resultobj;
1590 fail:
1591 return NULL;
1592 }
1593
1594
1595 static PyObject *_wrap_HtmlParser_GetFS(PyObject *, PyObject *args, PyObject *kwargs) {
1596 PyObject *resultobj;
1597 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1598 wxFileSystem *result;
1599 PyObject * obj0 = 0 ;
1600 char *kwnames[] = {
1601 (char *) "self", NULL
1602 };
1603
1604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetFS",kwnames,&obj0)) goto fail;
1605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1607 {
1608 PyThreadState* __tstate = wxPyBeginAllowThreads();
1609 result = (wxFileSystem *)(arg1)->GetFS();
1610
1611 wxPyEndAllowThreads(__tstate);
1612 if (PyErr_Occurred()) SWIG_fail;
1613 }
1614 {
1615 resultobj = wxPyMake_wxObject(result, 0);
1616 }
1617 return resultobj;
1618 fail:
1619 return NULL;
1620 }
1621
1622
1623 static PyObject *_wrap_HtmlParser_Parse(PyObject *, PyObject *args, PyObject *kwargs) {
1624 PyObject *resultobj;
1625 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1626 wxString *arg2 = 0 ;
1627 wxObject *result;
1628 bool temp2 = False ;
1629 PyObject * obj0 = 0 ;
1630 PyObject * obj1 = 0 ;
1631 char *kwnames[] = {
1632 (char *) "self",(char *) "source", NULL
1633 };
1634
1635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_Parse",kwnames,&obj0,&obj1)) goto fail;
1636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1638 {
1639 arg2 = wxString_in_helper(obj1);
1640 if (arg2 == NULL) SWIG_fail;
1641 temp2 = True;
1642 }
1643 {
1644 PyThreadState* __tstate = wxPyBeginAllowThreads();
1645 result = (wxObject *)(arg1)->Parse((wxString const &)*arg2);
1646
1647 wxPyEndAllowThreads(__tstate);
1648 if (PyErr_Occurred()) SWIG_fail;
1649 }
1650 {
1651 resultobj = wxPyMake_wxObject(result, 0);
1652 }
1653 {
1654 if (temp2)
1655 delete arg2;
1656 }
1657 return resultobj;
1658 fail:
1659 {
1660 if (temp2)
1661 delete arg2;
1662 }
1663 return NULL;
1664 }
1665
1666
1667 static PyObject *_wrap_HtmlParser_InitParser(PyObject *, PyObject *args, PyObject *kwargs) {
1668 PyObject *resultobj;
1669 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1670 wxString *arg2 = 0 ;
1671 bool temp2 = False ;
1672 PyObject * obj0 = 0 ;
1673 PyObject * obj1 = 0 ;
1674 char *kwnames[] = {
1675 (char *) "self",(char *) "source", NULL
1676 };
1677
1678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_InitParser",kwnames,&obj0,&obj1)) goto fail;
1679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1681 {
1682 arg2 = wxString_in_helper(obj1);
1683 if (arg2 == NULL) SWIG_fail;
1684 temp2 = True;
1685 }
1686 {
1687 PyThreadState* __tstate = wxPyBeginAllowThreads();
1688 (arg1)->InitParser((wxString const &)*arg2);
1689
1690 wxPyEndAllowThreads(__tstate);
1691 if (PyErr_Occurred()) SWIG_fail;
1692 }
1693 Py_INCREF(Py_None); resultobj = Py_None;
1694 {
1695 if (temp2)
1696 delete arg2;
1697 }
1698 return resultobj;
1699 fail:
1700 {
1701 if (temp2)
1702 delete arg2;
1703 }
1704 return NULL;
1705 }
1706
1707
1708 static PyObject *_wrap_HtmlParser_DoneParser(PyObject *, PyObject *args, PyObject *kwargs) {
1709 PyObject *resultobj;
1710 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1711 PyObject * obj0 = 0 ;
1712 char *kwnames[] = {
1713 (char *) "self", NULL
1714 };
1715
1716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_DoneParser",kwnames,&obj0)) goto fail;
1717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1719 {
1720 PyThreadState* __tstate = wxPyBeginAllowThreads();
1721 (arg1)->DoneParser();
1722
1723 wxPyEndAllowThreads(__tstate);
1724 if (PyErr_Occurred()) SWIG_fail;
1725 }
1726 Py_INCREF(Py_None); resultobj = Py_None;
1727 return resultobj;
1728 fail:
1729 return NULL;
1730 }
1731
1732
1733 static PyObject *_wrap_HtmlParser_DoParsing(PyObject *, PyObject *args, PyObject *kwargs) {
1734 PyObject *resultobj;
1735 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1736 int arg2 ;
1737 int arg3 ;
1738 PyObject * obj0 = 0 ;
1739 PyObject * obj1 = 0 ;
1740 PyObject * obj2 = 0 ;
1741 char *kwnames[] = {
1742 (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
1743 };
1744
1745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_DoParsing",kwnames,&obj0,&obj1,&obj2)) goto fail;
1746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1748 arg2 = (int)SWIG_As_int(obj1);
1749 if (PyErr_Occurred()) SWIG_fail;
1750 arg3 = (int)SWIG_As_int(obj2);
1751 if (PyErr_Occurred()) SWIG_fail;
1752 {
1753 PyThreadState* __tstate = wxPyBeginAllowThreads();
1754 (arg1)->DoParsing(arg2,arg3);
1755
1756 wxPyEndAllowThreads(__tstate);
1757 if (PyErr_Occurred()) SWIG_fail;
1758 }
1759 Py_INCREF(Py_None); resultobj = Py_None;
1760 return resultobj;
1761 fail:
1762 return NULL;
1763 }
1764
1765
1766 static PyObject *_wrap_HtmlParser_StopParsing(PyObject *, PyObject *args, PyObject *kwargs) {
1767 PyObject *resultobj;
1768 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1769 PyObject * obj0 = 0 ;
1770 char *kwnames[] = {
1771 (char *) "self", NULL
1772 };
1773
1774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_StopParsing",kwnames,&obj0)) goto fail;
1775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1777 {
1778 PyThreadState* __tstate = wxPyBeginAllowThreads();
1779 (arg1)->StopParsing();
1780
1781 wxPyEndAllowThreads(__tstate);
1782 if (PyErr_Occurred()) SWIG_fail;
1783 }
1784 Py_INCREF(Py_None); resultobj = Py_None;
1785 return resultobj;
1786 fail:
1787 return NULL;
1788 }
1789
1790
1791 static PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
1792 PyObject *resultobj;
1793 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1794 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
1795 PyObject * obj0 = 0 ;
1796 PyObject * obj1 = 0 ;
1797 char *kwnames[] = {
1798 (char *) "self",(char *) "handler", NULL
1799 };
1800
1801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_AddTagHandler",kwnames,&obj0,&obj1)) goto fail;
1802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1804 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTagHandler,
1805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1806 {
1807 PyThreadState* __tstate = wxPyBeginAllowThreads();
1808 (arg1)->AddTagHandler(arg2);
1809
1810 wxPyEndAllowThreads(__tstate);
1811 if (PyErr_Occurred()) SWIG_fail;
1812 }
1813 Py_INCREF(Py_None); resultobj = Py_None;
1814 return resultobj;
1815 fail:
1816 return NULL;
1817 }
1818
1819
1820 static PyObject *_wrap_HtmlParser_GetSource(PyObject *, PyObject *args, PyObject *kwargs) {
1821 PyObject *resultobj;
1822 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1823 wxString *result;
1824 PyObject * obj0 = 0 ;
1825 char *kwnames[] = {
1826 (char *) "self", NULL
1827 };
1828
1829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetSource",kwnames,&obj0)) goto fail;
1830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1832 {
1833 PyThreadState* __tstate = wxPyBeginAllowThreads();
1834 result = (wxString *)(arg1)->GetSource();
1835
1836 wxPyEndAllowThreads(__tstate);
1837 if (PyErr_Occurred()) SWIG_fail;
1838 }
1839 {
1840 #if wxUSE_UNICODE
1841 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
1842 #else
1843 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
1844 #endif
1845 }
1846 return resultobj;
1847 fail:
1848 return NULL;
1849 }
1850
1851
1852 static PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
1853 PyObject *resultobj;
1854 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1855 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
1856 wxString arg3 ;
1857 PyObject * obj0 = 0 ;
1858 PyObject * obj1 = 0 ;
1859 PyObject * obj2 = 0 ;
1860 char *kwnames[] = {
1861 (char *) "self",(char *) "handler",(char *) "tags", NULL
1862 };
1863
1864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_PushTagHandler",kwnames,&obj0,&obj1,&obj2)) goto fail;
1865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1867 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTagHandler,
1868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1869 {
1870 wxString* sptr = wxString_in_helper(obj2);
1871 if (sptr == NULL) SWIG_fail;
1872 arg3 = *sptr;
1873 delete sptr;
1874 }
1875 {
1876 PyThreadState* __tstate = wxPyBeginAllowThreads();
1877 (arg1)->PushTagHandler(arg2,arg3);
1878
1879 wxPyEndAllowThreads(__tstate);
1880 if (PyErr_Occurred()) SWIG_fail;
1881 }
1882 Py_INCREF(Py_None); resultobj = Py_None;
1883 return resultobj;
1884 fail:
1885 return NULL;
1886 }
1887
1888
1889 static PyObject *_wrap_HtmlParser_PopTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
1890 PyObject *resultobj;
1891 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1892 PyObject * obj0 = 0 ;
1893 char *kwnames[] = {
1894 (char *) "self", NULL
1895 };
1896
1897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_PopTagHandler",kwnames,&obj0)) goto fail;
1898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1900 {
1901 PyThreadState* __tstate = wxPyBeginAllowThreads();
1902 (arg1)->PopTagHandler();
1903
1904 wxPyEndAllowThreads(__tstate);
1905 if (PyErr_Occurred()) SWIG_fail;
1906 }
1907 Py_INCREF(Py_None); resultobj = Py_None;
1908 return resultobj;
1909 fail:
1910 return NULL;
1911 }
1912
1913
1914 static PyObject * HtmlParser_swigregister(PyObject *, PyObject *args) {
1915 PyObject *obj;
1916 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1917 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlParser, obj);
1918 Py_INCREF(obj);
1919 return Py_BuildValue((char *)"");
1920 }
1921 static PyObject *_wrap_new_HtmlWinParser(PyObject *, PyObject *args, PyObject *kwargs) {
1922 PyObject *resultobj;
1923 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) NULL ;
1924 wxHtmlWinParser *result;
1925 PyObject * obj0 = 0 ;
1926 char *kwnames[] = {
1927 (char *) "wnd", NULL
1928 };
1929
1930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlWinParser",kwnames,&obj0)) goto fail;
1931 if (obj0) {
1932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
1933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1934 }
1935 {
1936 PyThreadState* __tstate = wxPyBeginAllowThreads();
1937 result = (wxHtmlWinParser *)new wxHtmlWinParser(arg1);
1938
1939 wxPyEndAllowThreads(__tstate);
1940 if (PyErr_Occurred()) SWIG_fail;
1941 }
1942 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 1);
1943 return resultobj;
1944 fail:
1945 return NULL;
1946 }
1947
1948
1949 static PyObject *_wrap_HtmlWinParser_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
1950 PyObject *resultobj;
1951 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1952 wxDC *arg2 = (wxDC *) 0 ;
1953 PyObject * obj0 = 0 ;
1954 PyObject * obj1 = 0 ;
1955 char *kwnames[] = {
1956 (char *) "self",(char *) "dc", NULL
1957 };
1958
1959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetDC",kwnames,&obj0,&obj1)) goto fail;
1960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
1961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1962 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
1963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1964 {
1965 PyThreadState* __tstate = wxPyBeginAllowThreads();
1966 (arg1)->SetDC(arg2);
1967
1968 wxPyEndAllowThreads(__tstate);
1969 if (PyErr_Occurred()) SWIG_fail;
1970 }
1971 Py_INCREF(Py_None); resultobj = Py_None;
1972 return resultobj;
1973 fail:
1974 return NULL;
1975 }
1976
1977
1978 static PyObject *_wrap_HtmlWinParser_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
1979 PyObject *resultobj;
1980 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1981 wxDC *result;
1982 PyObject * obj0 = 0 ;
1983 char *kwnames[] = {
1984 (char *) "self", NULL
1985 };
1986
1987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetDC",kwnames,&obj0)) goto fail;
1988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
1989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1990 {
1991 PyThreadState* __tstate = wxPyBeginAllowThreads();
1992 result = (wxDC *)(arg1)->GetDC();
1993
1994 wxPyEndAllowThreads(__tstate);
1995 if (PyErr_Occurred()) SWIG_fail;
1996 }
1997 {
1998 resultobj = wxPyMake_wxObject(result, 0);
1999 }
2000 return resultobj;
2001 fail:
2002 return NULL;
2003 }
2004
2005
2006 static PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *, PyObject *args, PyObject *kwargs) {
2007 PyObject *resultobj;
2008 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2009 int result;
2010 PyObject * obj0 = 0 ;
2011 char *kwnames[] = {
2012 (char *) "self", NULL
2013 };
2014
2015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharHeight",kwnames,&obj0)) goto fail;
2016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2018 {
2019 PyThreadState* __tstate = wxPyBeginAllowThreads();
2020 result = (int)(arg1)->GetCharHeight();
2021
2022 wxPyEndAllowThreads(__tstate);
2023 if (PyErr_Occurred()) SWIG_fail;
2024 }
2025 resultobj = SWIG_From_int((int)result);
2026 return resultobj;
2027 fail:
2028 return NULL;
2029 }
2030
2031
2032 static PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *, PyObject *args, PyObject *kwargs) {
2033 PyObject *resultobj;
2034 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2035 int result;
2036 PyObject * obj0 = 0 ;
2037 char *kwnames[] = {
2038 (char *) "self", NULL
2039 };
2040
2041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharWidth",kwnames,&obj0)) goto fail;
2042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2044 {
2045 PyThreadState* __tstate = wxPyBeginAllowThreads();
2046 result = (int)(arg1)->GetCharWidth();
2047
2048 wxPyEndAllowThreads(__tstate);
2049 if (PyErr_Occurred()) SWIG_fail;
2050 }
2051 resultobj = SWIG_From_int((int)result);
2052 return resultobj;
2053 fail:
2054 return NULL;
2055 }
2056
2057
2058 static PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2059 PyObject *resultobj;
2060 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2061 wxPyHtmlWindow *result;
2062 PyObject * obj0 = 0 ;
2063 char *kwnames[] = {
2064 (char *) "self", NULL
2065 };
2066
2067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetWindow",kwnames,&obj0)) goto fail;
2068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2070 {
2071 PyThreadState* __tstate = wxPyBeginAllowThreads();
2072 result = (wxPyHtmlWindow *)(arg1)->GetWindow();
2073
2074 wxPyEndAllowThreads(__tstate);
2075 if (PyErr_Occurred()) SWIG_fail;
2076 }
2077 {
2078 resultobj = wxPyMake_wxObject(result, 0);
2079 }
2080 return resultobj;
2081 fail:
2082 return NULL;
2083 }
2084
2085
2086 static PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
2087 PyObject *resultobj;
2088 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2089 wxString arg2 ;
2090 wxString arg3 ;
2091 PyObject *arg4 = (PyObject *) NULL ;
2092 PyObject * obj0 = 0 ;
2093 PyObject * obj1 = 0 ;
2094 PyObject * obj2 = 0 ;
2095 PyObject * obj3 = 0 ;
2096 char *kwnames[] = {
2097 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
2098 };
2099
2100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2103 {
2104 wxString* sptr = wxString_in_helper(obj1);
2105 if (sptr == NULL) SWIG_fail;
2106 arg2 = *sptr;
2107 delete sptr;
2108 }
2109 {
2110 wxString* sptr = wxString_in_helper(obj2);
2111 if (sptr == NULL) SWIG_fail;
2112 arg3 = *sptr;
2113 delete sptr;
2114 }
2115 if (obj3) {
2116 arg4 = obj3;
2117 }
2118 {
2119 PyThreadState* __tstate = wxPyBeginAllowThreads();
2120 wxHtmlWinParser_SetFonts(arg1,arg2,arg3,arg4);
2121
2122 wxPyEndAllowThreads(__tstate);
2123 if (PyErr_Occurred()) SWIG_fail;
2124 }
2125 Py_INCREF(Py_None); resultobj = Py_None;
2126 return resultobj;
2127 fail:
2128 return NULL;
2129 }
2130
2131
2132 static PyObject *_wrap_HtmlWinParser_NormalizeFontSizes(PyObject *, PyObject *args, PyObject *kwargs) {
2133 PyObject *resultobj;
2134 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2135 int arg2 = (int) -1 ;
2136 PyObject * obj0 = 0 ;
2137 PyObject * obj1 = 0 ;
2138 char *kwnames[] = {
2139 (char *) "self",(char *) "size", NULL
2140 };
2141
2142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HtmlWinParser_NormalizeFontSizes",kwnames,&obj0,&obj1)) goto fail;
2143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2145 if (obj1) {
2146 arg2 = (int)SWIG_As_int(obj1);
2147 if (PyErr_Occurred()) SWIG_fail;
2148 }
2149 {
2150 PyThreadState* __tstate = wxPyBeginAllowThreads();
2151 (arg1)->NormalizeFontSizes(arg2);
2152
2153 wxPyEndAllowThreads(__tstate);
2154 if (PyErr_Occurred()) SWIG_fail;
2155 }
2156 Py_INCREF(Py_None); resultobj = Py_None;
2157 return resultobj;
2158 fail:
2159 return NULL;
2160 }
2161
2162
2163 static PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *, PyObject *args, PyObject *kwargs) {
2164 PyObject *resultobj;
2165 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2166 wxHtmlContainerCell *result;
2167 PyObject * obj0 = 0 ;
2168 char *kwnames[] = {
2169 (char *) "self", NULL
2170 };
2171
2172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetContainer",kwnames,&obj0)) goto fail;
2173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2175 {
2176 PyThreadState* __tstate = wxPyBeginAllowThreads();
2177 result = (wxHtmlContainerCell *)(arg1)->GetContainer();
2178
2179 wxPyEndAllowThreads(__tstate);
2180 if (PyErr_Occurred()) SWIG_fail;
2181 }
2182 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
2183 return resultobj;
2184 fail:
2185 return NULL;
2186 }
2187
2188
2189 static PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *, PyObject *args, PyObject *kwargs) {
2190 PyObject *resultobj;
2191 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2192 wxHtmlContainerCell *result;
2193 PyObject * obj0 = 0 ;
2194 char *kwnames[] = {
2195 (char *) "self", NULL
2196 };
2197
2198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_OpenContainer",kwnames,&obj0)) goto fail;
2199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2201 {
2202 PyThreadState* __tstate = wxPyBeginAllowThreads();
2203 result = (wxHtmlContainerCell *)(arg1)->OpenContainer();
2204
2205 wxPyEndAllowThreads(__tstate);
2206 if (PyErr_Occurred()) SWIG_fail;
2207 }
2208 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
2209 return resultobj;
2210 fail:
2211 return NULL;
2212 }
2213
2214
2215 static PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *, PyObject *args, PyObject *kwargs) {
2216 PyObject *resultobj;
2217 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2218 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
2219 wxHtmlContainerCell *result;
2220 PyObject * obj0 = 0 ;
2221 PyObject * obj1 = 0 ;
2222 char *kwnames[] = {
2223 (char *) "self",(char *) "c", NULL
2224 };
2225
2226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetContainer",kwnames,&obj0,&obj1)) goto fail;
2227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2229 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlContainerCell,
2230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2231 {
2232 PyThreadState* __tstate = wxPyBeginAllowThreads();
2233 result = (wxHtmlContainerCell *)(arg1)->SetContainer(arg2);
2234
2235 wxPyEndAllowThreads(__tstate);
2236 if (PyErr_Occurred()) SWIG_fail;
2237 }
2238 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
2239 return resultobj;
2240 fail:
2241 return NULL;
2242 }
2243
2244
2245 static PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *, PyObject *args, PyObject *kwargs) {
2246 PyObject *resultobj;
2247 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2248 wxHtmlContainerCell *result;
2249 PyObject * obj0 = 0 ;
2250 char *kwnames[] = {
2251 (char *) "self", NULL
2252 };
2253
2254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CloseContainer",kwnames,&obj0)) goto fail;
2255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2257 {
2258 PyThreadState* __tstate = wxPyBeginAllowThreads();
2259 result = (wxHtmlContainerCell *)(arg1)->CloseContainer();
2260
2261 wxPyEndAllowThreads(__tstate);
2262 if (PyErr_Occurred()) SWIG_fail;
2263 }
2264 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
2265 return resultobj;
2266 fail:
2267 return NULL;
2268 }
2269
2270
2271 static PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *, PyObject *args, PyObject *kwargs) {
2272 PyObject *resultobj;
2273 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2274 int result;
2275 PyObject * obj0 = 0 ;
2276 char *kwnames[] = {
2277 (char *) "self", NULL
2278 };
2279
2280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontSize",kwnames,&obj0)) goto fail;
2281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2283 {
2284 PyThreadState* __tstate = wxPyBeginAllowThreads();
2285 result = (int)(arg1)->GetFontSize();
2286
2287 wxPyEndAllowThreads(__tstate);
2288 if (PyErr_Occurred()) SWIG_fail;
2289 }
2290 resultobj = SWIG_From_int((int)result);
2291 return resultobj;
2292 fail:
2293 return NULL;
2294 }
2295
2296
2297 static PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *, PyObject *args, PyObject *kwargs) {
2298 PyObject *resultobj;
2299 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2300 int arg2 ;
2301 PyObject * obj0 = 0 ;
2302 PyObject * obj1 = 0 ;
2303 char *kwnames[] = {
2304 (char *) "self",(char *) "s", NULL
2305 };
2306
2307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontSize",kwnames,&obj0,&obj1)) goto fail;
2308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2310 arg2 = (int)SWIG_As_int(obj1);
2311 if (PyErr_Occurred()) SWIG_fail;
2312 {
2313 PyThreadState* __tstate = wxPyBeginAllowThreads();
2314 (arg1)->SetFontSize(arg2);
2315
2316 wxPyEndAllowThreads(__tstate);
2317 if (PyErr_Occurred()) SWIG_fail;
2318 }
2319 Py_INCREF(Py_None); resultobj = Py_None;
2320 return resultobj;
2321 fail:
2322 return NULL;
2323 }
2324
2325
2326 static PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *, PyObject *args, PyObject *kwargs) {
2327 PyObject *resultobj;
2328 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2329 int result;
2330 PyObject * obj0 = 0 ;
2331 char *kwnames[] = {
2332 (char *) "self", NULL
2333 };
2334
2335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontBold",kwnames,&obj0)) goto fail;
2336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2338 {
2339 PyThreadState* __tstate = wxPyBeginAllowThreads();
2340 result = (int)(arg1)->GetFontBold();
2341
2342 wxPyEndAllowThreads(__tstate);
2343 if (PyErr_Occurred()) SWIG_fail;
2344 }
2345 resultobj = SWIG_From_int((int)result);
2346 return resultobj;
2347 fail:
2348 return NULL;
2349 }
2350
2351
2352 static PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *, PyObject *args, PyObject *kwargs) {
2353 PyObject *resultobj;
2354 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2355 int arg2 ;
2356 PyObject * obj0 = 0 ;
2357 PyObject * obj1 = 0 ;
2358 char *kwnames[] = {
2359 (char *) "self",(char *) "x", NULL
2360 };
2361
2362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontBold",kwnames,&obj0,&obj1)) goto fail;
2363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2365 arg2 = (int)SWIG_As_int(obj1);
2366 if (PyErr_Occurred()) SWIG_fail;
2367 {
2368 PyThreadState* __tstate = wxPyBeginAllowThreads();
2369 (arg1)->SetFontBold(arg2);
2370
2371 wxPyEndAllowThreads(__tstate);
2372 if (PyErr_Occurred()) SWIG_fail;
2373 }
2374 Py_INCREF(Py_None); resultobj = Py_None;
2375 return resultobj;
2376 fail:
2377 return NULL;
2378 }
2379
2380
2381 static PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *, PyObject *args, PyObject *kwargs) {
2382 PyObject *resultobj;
2383 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2384 int result;
2385 PyObject * obj0 = 0 ;
2386 char *kwnames[] = {
2387 (char *) "self", NULL
2388 };
2389
2390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontItalic",kwnames,&obj0)) goto fail;
2391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2393 {
2394 PyThreadState* __tstate = wxPyBeginAllowThreads();
2395 result = (int)(arg1)->GetFontItalic();
2396
2397 wxPyEndAllowThreads(__tstate);
2398 if (PyErr_Occurred()) SWIG_fail;
2399 }
2400 resultobj = SWIG_From_int((int)result);
2401 return resultobj;
2402 fail:
2403 return NULL;
2404 }
2405
2406
2407 static PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *, PyObject *args, PyObject *kwargs) {
2408 PyObject *resultobj;
2409 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2410 int arg2 ;
2411 PyObject * obj0 = 0 ;
2412 PyObject * obj1 = 0 ;
2413 char *kwnames[] = {
2414 (char *) "self",(char *) "x", NULL
2415 };
2416
2417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames,&obj0,&obj1)) goto fail;
2418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2420 arg2 = (int)SWIG_As_int(obj1);
2421 if (PyErr_Occurred()) SWIG_fail;
2422 {
2423 PyThreadState* __tstate = wxPyBeginAllowThreads();
2424 (arg1)->SetFontItalic(arg2);
2425
2426 wxPyEndAllowThreads(__tstate);
2427 if (PyErr_Occurred()) SWIG_fail;
2428 }
2429 Py_INCREF(Py_None); resultobj = Py_None;
2430 return resultobj;
2431 fail:
2432 return NULL;
2433 }
2434
2435
2436 static PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
2437 PyObject *resultobj;
2438 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2439 int result;
2440 PyObject * obj0 = 0 ;
2441 char *kwnames[] = {
2442 (char *) "self", NULL
2443 };
2444
2445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontUnderlined",kwnames,&obj0)) goto fail;
2446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2448 {
2449 PyThreadState* __tstate = wxPyBeginAllowThreads();
2450 result = (int)(arg1)->GetFontUnderlined();
2451
2452 wxPyEndAllowThreads(__tstate);
2453 if (PyErr_Occurred()) SWIG_fail;
2454 }
2455 resultobj = SWIG_From_int((int)result);
2456 return resultobj;
2457 fail:
2458 return NULL;
2459 }
2460
2461
2462 static PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
2463 PyObject *resultobj;
2464 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2465 int arg2 ;
2466 PyObject * obj0 = 0 ;
2467 PyObject * obj1 = 0 ;
2468 char *kwnames[] = {
2469 (char *) "self",(char *) "x", NULL
2470 };
2471
2472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames,&obj0,&obj1)) goto fail;
2473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2475 arg2 = (int)SWIG_As_int(obj1);
2476 if (PyErr_Occurred()) SWIG_fail;
2477 {
2478 PyThreadState* __tstate = wxPyBeginAllowThreads();
2479 (arg1)->SetFontUnderlined(arg2);
2480
2481 wxPyEndAllowThreads(__tstate);
2482 if (PyErr_Occurred()) SWIG_fail;
2483 }
2484 Py_INCREF(Py_None); resultobj = Py_None;
2485 return resultobj;
2486 fail:
2487 return NULL;
2488 }
2489
2490
2491 static PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *, PyObject *args, PyObject *kwargs) {
2492 PyObject *resultobj;
2493 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2494 int result;
2495 PyObject * obj0 = 0 ;
2496 char *kwnames[] = {
2497 (char *) "self", NULL
2498 };
2499
2500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontFixed",kwnames,&obj0)) goto fail;
2501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2503 {
2504 PyThreadState* __tstate = wxPyBeginAllowThreads();
2505 result = (int)(arg1)->GetFontFixed();
2506
2507 wxPyEndAllowThreads(__tstate);
2508 if (PyErr_Occurred()) SWIG_fail;
2509 }
2510 resultobj = SWIG_From_int((int)result);
2511 return resultobj;
2512 fail:
2513 return NULL;
2514 }
2515
2516
2517 static PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *, PyObject *args, PyObject *kwargs) {
2518 PyObject *resultobj;
2519 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2520 int arg2 ;
2521 PyObject * obj0 = 0 ;
2522 PyObject * obj1 = 0 ;
2523 char *kwnames[] = {
2524 (char *) "self",(char *) "x", NULL
2525 };
2526
2527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames,&obj0,&obj1)) goto fail;
2528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2530 arg2 = (int)SWIG_As_int(obj1);
2531 if (PyErr_Occurred()) SWIG_fail;
2532 {
2533 PyThreadState* __tstate = wxPyBeginAllowThreads();
2534 (arg1)->SetFontFixed(arg2);
2535
2536 wxPyEndAllowThreads(__tstate);
2537 if (PyErr_Occurred()) SWIG_fail;
2538 }
2539 Py_INCREF(Py_None); resultobj = Py_None;
2540 return resultobj;
2541 fail:
2542 return NULL;
2543 }
2544
2545
2546 static PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
2547 PyObject *resultobj;
2548 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2549 int result;
2550 PyObject * obj0 = 0 ;
2551 char *kwnames[] = {
2552 (char *) "self", NULL
2553 };
2554
2555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetAlign",kwnames,&obj0)) goto fail;
2556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2558 {
2559 PyThreadState* __tstate = wxPyBeginAllowThreads();
2560 result = (int)(arg1)->GetAlign();
2561
2562 wxPyEndAllowThreads(__tstate);
2563 if (PyErr_Occurred()) SWIG_fail;
2564 }
2565 resultobj = SWIG_From_int((int)result);
2566 return resultobj;
2567 fail:
2568 return NULL;
2569 }
2570
2571
2572 static PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
2573 PyObject *resultobj;
2574 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2575 int arg2 ;
2576 PyObject * obj0 = 0 ;
2577 PyObject * obj1 = 0 ;
2578 char *kwnames[] = {
2579 (char *) "self",(char *) "a", NULL
2580 };
2581
2582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetAlign",kwnames,&obj0,&obj1)) goto fail;
2583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2585 arg2 = (int)SWIG_As_int(obj1);
2586 if (PyErr_Occurred()) SWIG_fail;
2587 {
2588 PyThreadState* __tstate = wxPyBeginAllowThreads();
2589 (arg1)->SetAlign(arg2);
2590
2591 wxPyEndAllowThreads(__tstate);
2592 if (PyErr_Occurred()) SWIG_fail;
2593 }
2594 Py_INCREF(Py_None); resultobj = Py_None;
2595 return resultobj;
2596 fail:
2597 return NULL;
2598 }
2599
2600
2601 static PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *, PyObject *args, PyObject *kwargs) {
2602 PyObject *resultobj;
2603 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2604 wxColour result;
2605 PyObject * obj0 = 0 ;
2606 char *kwnames[] = {
2607 (char *) "self", NULL
2608 };
2609
2610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLinkColor",kwnames,&obj0)) goto fail;
2611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2613 {
2614 PyThreadState* __tstate = wxPyBeginAllowThreads();
2615 result = (arg1)->GetLinkColor();
2616
2617 wxPyEndAllowThreads(__tstate);
2618 if (PyErr_Occurred()) SWIG_fail;
2619 }
2620 {
2621 wxColour * resultptr;
2622 resultptr = new wxColour((wxColour &) result);
2623 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
2624 }
2625 return resultobj;
2626 fail:
2627 return NULL;
2628 }
2629
2630
2631 static PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *, PyObject *args, PyObject *kwargs) {
2632 PyObject *resultobj;
2633 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2634 wxColour *arg2 = 0 ;
2635 wxColour temp2 ;
2636 PyObject * obj0 = 0 ;
2637 PyObject * obj1 = 0 ;
2638 char *kwnames[] = {
2639 (char *) "self",(char *) "clr", NULL
2640 };
2641
2642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames,&obj0,&obj1)) goto fail;
2643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2645 {
2646 arg2 = &temp2;
2647 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2648 }
2649 {
2650 PyThreadState* __tstate = wxPyBeginAllowThreads();
2651 (arg1)->SetLinkColor((wxColour const &)*arg2);
2652
2653 wxPyEndAllowThreads(__tstate);
2654 if (PyErr_Occurred()) SWIG_fail;
2655 }
2656 Py_INCREF(Py_None); resultobj = Py_None;
2657 return resultobj;
2658 fail:
2659 return NULL;
2660 }
2661
2662
2663 static PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *, PyObject *args, PyObject *kwargs) {
2664 PyObject *resultobj;
2665 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2666 wxColour result;
2667 PyObject * obj0 = 0 ;
2668 char *kwnames[] = {
2669 (char *) "self", NULL
2670 };
2671
2672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetActualColor",kwnames,&obj0)) goto fail;
2673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2675 {
2676 PyThreadState* __tstate = wxPyBeginAllowThreads();
2677 result = (arg1)->GetActualColor();
2678
2679 wxPyEndAllowThreads(__tstate);
2680 if (PyErr_Occurred()) SWIG_fail;
2681 }
2682 {
2683 wxColour * resultptr;
2684 resultptr = new wxColour((wxColour &) result);
2685 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
2686 }
2687 return resultobj;
2688 fail:
2689 return NULL;
2690 }
2691
2692
2693 static PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *, PyObject *args, PyObject *kwargs) {
2694 PyObject *resultobj;
2695 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2696 wxColour *arg2 = 0 ;
2697 wxColour temp2 ;
2698 PyObject * obj0 = 0 ;
2699 PyObject * obj1 = 0 ;
2700 char *kwnames[] = {
2701 (char *) "self",(char *) "clr", NULL
2702 };
2703
2704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetActualColor",kwnames,&obj0,&obj1)) goto fail;
2705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2707 {
2708 arg2 = &temp2;
2709 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2710 }
2711 {
2712 PyThreadState* __tstate = wxPyBeginAllowThreads();
2713 (arg1)->SetActualColor((wxColour const &)*arg2);
2714
2715 wxPyEndAllowThreads(__tstate);
2716 if (PyErr_Occurred()) SWIG_fail;
2717 }
2718 Py_INCREF(Py_None); resultobj = Py_None;
2719 return resultobj;
2720 fail:
2721 return NULL;
2722 }
2723
2724
2725 static PyObject *_wrap_HtmlWinParser_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
2726 PyObject *resultobj;
2727 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2728 wxString *arg2 = 0 ;
2729 bool temp2 = False ;
2730 PyObject * obj0 = 0 ;
2731 PyObject * obj1 = 0 ;
2732 char *kwnames[] = {
2733 (char *) "self",(char *) "link", NULL
2734 };
2735
2736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLink",kwnames,&obj0,&obj1)) goto fail;
2737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2739 {
2740 arg2 = wxString_in_helper(obj1);
2741 if (arg2 == NULL) SWIG_fail;
2742 temp2 = True;
2743 }
2744 {
2745 PyThreadState* __tstate = wxPyBeginAllowThreads();
2746 (arg1)->SetLink((wxString const &)*arg2);
2747
2748 wxPyEndAllowThreads(__tstate);
2749 if (PyErr_Occurred()) SWIG_fail;
2750 }
2751 Py_INCREF(Py_None); resultobj = Py_None;
2752 {
2753 if (temp2)
2754 delete arg2;
2755 }
2756 return resultobj;
2757 fail:
2758 {
2759 if (temp2)
2760 delete arg2;
2761 }
2762 return NULL;
2763 }
2764
2765
2766 static PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *, PyObject *args, PyObject *kwargs) {
2767 PyObject *resultobj;
2768 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2769 wxFont *result;
2770 PyObject * obj0 = 0 ;
2771 char *kwnames[] = {
2772 (char *) "self", NULL
2773 };
2774
2775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CreateCurrentFont",kwnames,&obj0)) goto fail;
2776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2778 {
2779 PyThreadState* __tstate = wxPyBeginAllowThreads();
2780 result = (wxFont *)(arg1)->CreateCurrentFont();
2781
2782 wxPyEndAllowThreads(__tstate);
2783 if (PyErr_Occurred()) SWIG_fail;
2784 }
2785 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
2786 return resultobj;
2787 fail:
2788 return NULL;
2789 }
2790
2791
2792 static PyObject *_wrap_HtmlWinParser_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
2793 PyObject *resultobj;
2794 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2795 SwigValueWrapper< wxHtmlLinkInfo > result;
2796 PyObject * obj0 = 0 ;
2797 char *kwnames[] = {
2798 (char *) "self", NULL
2799 };
2800
2801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLink",kwnames,&obj0)) goto fail;
2802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2804 {
2805 PyThreadState* __tstate = wxPyBeginAllowThreads();
2806 result = (arg1)->GetLink();
2807
2808 wxPyEndAllowThreads(__tstate);
2809 if (PyErr_Occurred()) SWIG_fail;
2810 }
2811 {
2812 wxHtmlLinkInfo * resultptr;
2813 resultptr = new wxHtmlLinkInfo((wxHtmlLinkInfo &) result);
2814 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxHtmlLinkInfo, 1);
2815 }
2816 return resultobj;
2817 fail:
2818 return NULL;
2819 }
2820
2821
2822 static PyObject * HtmlWinParser_swigregister(PyObject *, PyObject *args) {
2823 PyObject *obj;
2824 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2825 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWinParser, obj);
2826 Py_INCREF(obj);
2827 return Py_BuildValue((char *)"");
2828 }
2829 static PyObject *_wrap_new_HtmlTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
2830 PyObject *resultobj;
2831 wxPyHtmlTagHandler *result;
2832 char *kwnames[] = {
2833 NULL
2834 };
2835
2836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlTagHandler",kwnames)) goto fail;
2837 {
2838 PyThreadState* __tstate = wxPyBeginAllowThreads();
2839 result = (wxPyHtmlTagHandler *)new wxPyHtmlTagHandler();
2840
2841 wxPyEndAllowThreads(__tstate);
2842 if (PyErr_Occurred()) SWIG_fail;
2843 }
2844 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlTagHandler, 1);
2845 return resultobj;
2846 fail:
2847 return NULL;
2848 }
2849
2850
2851 static PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
2852 PyObject *resultobj;
2853 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
2854 PyObject *arg2 = (PyObject *) 0 ;
2855 PyObject *arg3 = (PyObject *) 0 ;
2856 PyObject * obj0 = 0 ;
2857 PyObject * obj1 = 0 ;
2858 PyObject * obj2 = 0 ;
2859 char *kwnames[] = {
2860 (char *) "self",(char *) "self",(char *) "_class", NULL
2861 };
2862
2863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler,
2865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2866 arg2 = obj1;
2867 arg3 = obj2;
2868 {
2869 PyThreadState* __tstate = wxPyBeginAllowThreads();
2870 (arg1)->_setCallbackInfo(arg2,arg3);
2871
2872 wxPyEndAllowThreads(__tstate);
2873 if (PyErr_Occurred()) SWIG_fail;
2874 }
2875 Py_INCREF(Py_None); resultobj = Py_None;
2876 return resultobj;
2877 fail:
2878 return NULL;
2879 }
2880
2881
2882 static PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *, PyObject *args, PyObject *kwargs) {
2883 PyObject *resultobj;
2884 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
2885 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
2886 PyObject * obj0 = 0 ;
2887 PyObject * obj1 = 0 ;
2888 char *kwnames[] = {
2889 (char *) "self",(char *) "parser", NULL
2890 };
2891
2892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail;
2893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler,
2894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2895 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlParser,
2896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2897 {
2898 PyThreadState* __tstate = wxPyBeginAllowThreads();
2899 (arg1)->SetParser(arg2);
2900
2901 wxPyEndAllowThreads(__tstate);
2902 if (PyErr_Occurred()) SWIG_fail;
2903 }
2904 Py_INCREF(Py_None); resultobj = Py_None;
2905 return resultobj;
2906 fail:
2907 return NULL;
2908 }
2909
2910
2911 static PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *, PyObject *args, PyObject *kwargs) {
2912 PyObject *resultobj;
2913 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
2914 wxHtmlParser *result;
2915 PyObject * obj0 = 0 ;
2916 char *kwnames[] = {
2917 (char *) "self", NULL
2918 };
2919
2920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTagHandler_GetParser",kwnames,&obj0)) goto fail;
2921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler,
2922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2923 {
2924 PyThreadState* __tstate = wxPyBeginAllowThreads();
2925 result = (wxHtmlParser *)(arg1)->GetParser();
2926
2927 wxPyEndAllowThreads(__tstate);
2928 if (PyErr_Occurred()) SWIG_fail;
2929 }
2930 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlParser, 0);
2931 return resultobj;
2932 fail:
2933 return NULL;
2934 }
2935
2936
2937 static PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *, PyObject *args, PyObject *kwargs) {
2938 PyObject *resultobj;
2939 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
2940 wxHtmlTag *arg2 = 0 ;
2941 PyObject * obj0 = 0 ;
2942 PyObject * obj1 = 0 ;
2943 char *kwnames[] = {
2944 (char *) "self",(char *) "tag", NULL
2945 };
2946
2947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail;
2948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler,
2949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2950 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag,
2951 SWIG_POINTER_EXCEPTION | 0)) == -1)
2952 SWIG_fail;
2953 if (arg2 == NULL) {
2954 PyErr_SetString(PyExc_TypeError,"null reference");
2955 SWIG_fail;
2956 }
2957 {
2958 PyThreadState* __tstate = wxPyBeginAllowThreads();
2959 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
2960
2961 wxPyEndAllowThreads(__tstate);
2962 if (PyErr_Occurred()) SWIG_fail;
2963 }
2964 Py_INCREF(Py_None); resultobj = Py_None;
2965 return resultobj;
2966 fail:
2967 return NULL;
2968 }
2969
2970
2971 static PyObject * HtmlTagHandler_swigregister(PyObject *, PyObject *args) {
2972 PyObject *obj;
2973 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2974 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlTagHandler, obj);
2975 Py_INCREF(obj);
2976 return Py_BuildValue((char *)"");
2977 }
2978 static PyObject *_wrap_new_HtmlWinTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
2979 PyObject *resultobj;
2980 wxPyHtmlWinTagHandler *result;
2981 char *kwnames[] = {
2982 NULL
2983 };
2984
2985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlWinTagHandler",kwnames)) goto fail;
2986 {
2987 PyThreadState* __tstate = wxPyBeginAllowThreads();
2988 result = (wxPyHtmlWinTagHandler *)new wxPyHtmlWinTagHandler();
2989
2990 wxPyEndAllowThreads(__tstate);
2991 if (PyErr_Occurred()) SWIG_fail;
2992 }
2993 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWinTagHandler, 1);
2994 return resultobj;
2995 fail:
2996 return NULL;
2997 }
2998
2999
3000 static PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
3001 PyObject *resultobj;
3002 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
3003 PyObject *arg2 = (PyObject *) 0 ;
3004 PyObject *arg3 = (PyObject *) 0 ;
3005 PyObject * obj0 = 0 ;
3006 PyObject * obj1 = 0 ;
3007 PyObject * obj2 = 0 ;
3008 char *kwnames[] = {
3009 (char *) "self",(char *) "self",(char *) "_class", NULL
3010 };
3011
3012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
3013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler,
3014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3015 arg2 = obj1;
3016 arg3 = obj2;
3017 {
3018 PyThreadState* __tstate = wxPyBeginAllowThreads();
3019 (arg1)->_setCallbackInfo(arg2,arg3);
3020
3021 wxPyEndAllowThreads(__tstate);
3022 if (PyErr_Occurred()) SWIG_fail;
3023 }
3024 Py_INCREF(Py_None); resultobj = Py_None;
3025 return resultobj;
3026 fail:
3027 return NULL;
3028 }
3029
3030
3031 static PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *, PyObject *args, PyObject *kwargs) {
3032 PyObject *resultobj;
3033 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
3034 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
3035 PyObject * obj0 = 0 ;
3036 PyObject * obj1 = 0 ;
3037 char *kwnames[] = {
3038 (char *) "self",(char *) "parser", NULL
3039 };
3040
3041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail;
3042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler,
3043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3044 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlParser,
3045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3046 {
3047 PyThreadState* __tstate = wxPyBeginAllowThreads();
3048 (arg1)->SetParser(arg2);
3049
3050 wxPyEndAllowThreads(__tstate);
3051 if (PyErr_Occurred()) SWIG_fail;
3052 }
3053 Py_INCREF(Py_None); resultobj = Py_None;
3054 return resultobj;
3055 fail:
3056 return NULL;
3057 }
3058
3059
3060 static PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *, PyObject *args, PyObject *kwargs) {
3061 PyObject *resultobj;
3062 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
3063 wxHtmlWinParser *result;
3064 PyObject * obj0 = 0 ;
3065 char *kwnames[] = {
3066 (char *) "self", NULL
3067 };
3068
3069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinTagHandler_GetParser",kwnames,&obj0)) goto fail;
3070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler,
3071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3072 {
3073 PyThreadState* __tstate = wxPyBeginAllowThreads();
3074 result = (wxHtmlWinParser *)(arg1)->GetParser();
3075
3076 wxPyEndAllowThreads(__tstate);
3077 if (PyErr_Occurred()) SWIG_fail;
3078 }
3079 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0);
3080 return resultobj;
3081 fail:
3082 return NULL;
3083 }
3084
3085
3086 static PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *, PyObject *args, PyObject *kwargs) {
3087 PyObject *resultobj;
3088 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
3089 wxHtmlTag *arg2 = 0 ;
3090 PyObject * obj0 = 0 ;
3091 PyObject * obj1 = 0 ;
3092 char *kwnames[] = {
3093 (char *) "self",(char *) "tag", NULL
3094 };
3095
3096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail;
3097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler,
3098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3099 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag,
3100 SWIG_POINTER_EXCEPTION | 0)) == -1)
3101 SWIG_fail;
3102 if (arg2 == NULL) {
3103 PyErr_SetString(PyExc_TypeError,"null reference");
3104 SWIG_fail;
3105 }
3106 {
3107 PyThreadState* __tstate = wxPyBeginAllowThreads();
3108 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
3109
3110 wxPyEndAllowThreads(__tstate);
3111 if (PyErr_Occurred()) SWIG_fail;
3112 }
3113 Py_INCREF(Py_None); resultobj = Py_None;
3114 return resultobj;
3115 fail:
3116 return NULL;
3117 }
3118
3119
3120 static PyObject * HtmlWinTagHandler_swigregister(PyObject *, PyObject *args) {
3121 PyObject *obj;
3122 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3123 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler, obj);
3124 Py_INCREF(obj);
3125 return Py_BuildValue((char *)"");
3126 }
3127 static PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
3128 PyObject *resultobj;
3129 PyObject *arg1 = (PyObject *) 0 ;
3130 PyObject * obj0 = 0 ;
3131 char *kwnames[] = {
3132 (char *) "tagHandlerClass", NULL
3133 };
3134
3135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_AddTagHandler",kwnames,&obj0)) goto fail;
3136 arg1 = obj0;
3137 {
3138 PyThreadState* __tstate = wxPyBeginAllowThreads();
3139 wxHtmlWinParser_AddTagHandler(arg1);
3140
3141 wxPyEndAllowThreads(__tstate);
3142 if (PyErr_Occurred()) SWIG_fail;
3143 }
3144 Py_INCREF(Py_None); resultobj = Py_None;
3145 return resultobj;
3146 fail:
3147 return NULL;
3148 }
3149
3150
3151 static PyObject *_wrap_new_HtmlSelection(PyObject *, PyObject *args, PyObject *kwargs) {
3152 PyObject *resultobj;
3153 wxHtmlSelection *result;
3154 char *kwnames[] = {
3155 NULL
3156 };
3157
3158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlSelection",kwnames)) goto fail;
3159 {
3160 PyThreadState* __tstate = wxPyBeginAllowThreads();
3161 result = (wxHtmlSelection *)new wxHtmlSelection();
3162
3163 wxPyEndAllowThreads(__tstate);
3164 if (PyErr_Occurred()) SWIG_fail;
3165 }
3166 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 1);
3167 return resultobj;
3168 fail:
3169 return NULL;
3170 }
3171
3172
3173 static PyObject *_wrap_delete_HtmlSelection(PyObject *, PyObject *args, PyObject *kwargs) {
3174 PyObject *resultobj;
3175 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3176 PyObject * obj0 = 0 ;
3177 char *kwnames[] = {
3178 (char *) "self", NULL
3179 };
3180
3181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlSelection",kwnames,&obj0)) goto fail;
3182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3184 {
3185 PyThreadState* __tstate = wxPyBeginAllowThreads();
3186 delete arg1;
3187
3188 wxPyEndAllowThreads(__tstate);
3189 if (PyErr_Occurred()) SWIG_fail;
3190 }
3191 Py_INCREF(Py_None); resultobj = Py_None;
3192 return resultobj;
3193 fail:
3194 return NULL;
3195 }
3196
3197
3198 static PyObject *_wrap_HtmlSelection_Set(PyObject *, PyObject *args, PyObject *kwargs) {
3199 PyObject *resultobj;
3200 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3201 wxPoint *arg2 = 0 ;
3202 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
3203 wxPoint *arg4 = 0 ;
3204 wxHtmlCell *arg5 = (wxHtmlCell *) 0 ;
3205 wxPoint temp2 ;
3206 wxPoint temp4 ;
3207 PyObject * obj0 = 0 ;
3208 PyObject * obj1 = 0 ;
3209 PyObject * obj2 = 0 ;
3210 PyObject * obj3 = 0 ;
3211 PyObject * obj4 = 0 ;
3212 char *kwnames[] = {
3213 (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
3214 };
3215
3216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlSelection_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3219 {
3220 arg2 = &temp2;
3221 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3222 }
3223 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxHtmlCell,
3224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3225 {
3226 arg4 = &temp4;
3227 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3228 }
3229 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxHtmlCell,
3230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3231 {
3232 PyThreadState* __tstate = wxPyBeginAllowThreads();
3233 (arg1)->Set((wxPoint const &)*arg2,(wxHtmlCell const *)arg3,(wxPoint const &)*arg4,(wxHtmlCell const *)arg5);
3234
3235 wxPyEndAllowThreads(__tstate);
3236 if (PyErr_Occurred()) SWIG_fail;
3237 }
3238 Py_INCREF(Py_None); resultobj = Py_None;
3239 return resultobj;
3240 fail:
3241 return NULL;
3242 }
3243
3244
3245 static PyObject *_wrap_HtmlSelection_SetCells(PyObject *, PyObject *args, PyObject *kwargs) {
3246 PyObject *resultobj;
3247 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3248 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
3249 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
3250 PyObject * obj0 = 0 ;
3251 PyObject * obj1 = 0 ;
3252 PyObject * obj2 = 0 ;
3253 char *kwnames[] = {
3254 (char *) "self",(char *) "fromCell",(char *) "toCell", NULL
3255 };
3256
3257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlSelection_SetCells",kwnames,&obj0,&obj1,&obj2)) goto fail;
3258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3260 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
3261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3262 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxHtmlCell,
3263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3264 {
3265 PyThreadState* __tstate = wxPyBeginAllowThreads();
3266 (arg1)->Set((wxHtmlCell const *)arg2,(wxHtmlCell const *)arg3);
3267
3268 wxPyEndAllowThreads(__tstate);
3269 if (PyErr_Occurred()) SWIG_fail;
3270 }
3271 Py_INCREF(Py_None); resultobj = Py_None;
3272 return resultobj;
3273 fail:
3274 return NULL;
3275 }
3276
3277
3278 static PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *, PyObject *args, PyObject *kwargs) {
3279 PyObject *resultobj;
3280 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3281 wxHtmlCell *result;
3282 PyObject * obj0 = 0 ;
3283 char *kwnames[] = {
3284 (char *) "self", NULL
3285 };
3286
3287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromCell",kwnames,&obj0)) goto fail;
3288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3290 {
3291 PyThreadState* __tstate = wxPyBeginAllowThreads();
3292 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetFromCell();
3293
3294 wxPyEndAllowThreads(__tstate);
3295 if (PyErr_Occurred()) SWIG_fail;
3296 }
3297 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
3298 return resultobj;
3299 fail:
3300 return NULL;
3301 }
3302
3303
3304 static PyObject *_wrap_HtmlSelection_GetToCell(PyObject *, PyObject *args, PyObject *kwargs) {
3305 PyObject *resultobj;
3306 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3307 wxHtmlCell *result;
3308 PyObject * obj0 = 0 ;
3309 char *kwnames[] = {
3310 (char *) "self", NULL
3311 };
3312
3313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToCell",kwnames,&obj0)) goto fail;
3314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3316 {
3317 PyThreadState* __tstate = wxPyBeginAllowThreads();
3318 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetToCell();
3319
3320 wxPyEndAllowThreads(__tstate);
3321 if (PyErr_Occurred()) SWIG_fail;
3322 }
3323 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
3324 return resultobj;
3325 fail:
3326 return NULL;
3327 }
3328
3329
3330 static PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *, PyObject *args, PyObject *kwargs) {
3331 PyObject *resultobj;
3332 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3333 wxPoint *result;
3334 PyObject * obj0 = 0 ;
3335 char *kwnames[] = {
3336 (char *) "self", NULL
3337 };
3338
3339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPos",kwnames,&obj0)) goto fail;
3340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3342 {
3343 PyThreadState* __tstate = wxPyBeginAllowThreads();
3344 {
3345 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPos();
3346 result = (wxPoint *) &_result_ref;
3347 }
3348
3349 wxPyEndAllowThreads(__tstate);
3350 if (PyErr_Occurred()) SWIG_fail;
3351 }
3352 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
3353 return resultobj;
3354 fail:
3355 return NULL;
3356 }
3357
3358
3359 static PyObject *_wrap_HtmlSelection_GetToPos(PyObject *, PyObject *args, PyObject *kwargs) {
3360 PyObject *resultobj;
3361 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3362 wxPoint *result;
3363 PyObject * obj0 = 0 ;
3364 char *kwnames[] = {
3365 (char *) "self", NULL
3366 };
3367
3368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPos",kwnames,&obj0)) goto fail;
3369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3371 {
3372 PyThreadState* __tstate = wxPyBeginAllowThreads();
3373 {
3374 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPos();
3375 result = (wxPoint *) &_result_ref;
3376 }
3377
3378 wxPyEndAllowThreads(__tstate);
3379 if (PyErr_Occurred()) SWIG_fail;
3380 }
3381 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
3382 return resultobj;
3383 fail:
3384 return NULL;
3385 }
3386
3387
3388 static PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
3389 PyObject *resultobj;
3390 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3391 wxPoint *result;
3392 PyObject * obj0 = 0 ;
3393 char *kwnames[] = {
3394 (char *) "self", NULL
3395 };
3396
3397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPrivPos",kwnames,&obj0)) goto fail;
3398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3400 {
3401 PyThreadState* __tstate = wxPyBeginAllowThreads();
3402 {
3403 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPrivPos();
3404 result = (wxPoint *) &_result_ref;
3405 }
3406
3407 wxPyEndAllowThreads(__tstate);
3408 if (PyErr_Occurred()) SWIG_fail;
3409 }
3410 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
3411 return resultobj;
3412 fail:
3413 return NULL;
3414 }
3415
3416
3417 static PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
3418 PyObject *resultobj;
3419 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3420 wxPoint *result;
3421 PyObject * obj0 = 0 ;
3422 char *kwnames[] = {
3423 (char *) "self", NULL
3424 };
3425
3426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPrivPos",kwnames,&obj0)) goto fail;
3427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3429 {
3430 PyThreadState* __tstate = wxPyBeginAllowThreads();
3431 {
3432 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPrivPos();
3433 result = (wxPoint *) &_result_ref;
3434 }
3435
3436 wxPyEndAllowThreads(__tstate);
3437 if (PyErr_Occurred()) SWIG_fail;
3438 }
3439 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
3440 return resultobj;
3441 fail:
3442 return NULL;
3443 }
3444
3445
3446 static PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
3447 PyObject *resultobj;
3448 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3449 wxPoint *arg2 = 0 ;
3450 wxPoint temp2 ;
3451 PyObject * obj0 = 0 ;
3452 PyObject * obj1 = 0 ;
3453 char *kwnames[] = {
3454 (char *) "self",(char *) "pos", NULL
3455 };
3456
3457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames,&obj0,&obj1)) goto fail;
3458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3460 {
3461 arg2 = &temp2;
3462 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3463 }
3464 {
3465 PyThreadState* __tstate = wxPyBeginAllowThreads();
3466 (arg1)->SetFromPrivPos((wxPoint const &)*arg2);
3467
3468 wxPyEndAllowThreads(__tstate);
3469 if (PyErr_Occurred()) SWIG_fail;
3470 }
3471 Py_INCREF(Py_None); resultobj = Py_None;
3472 return resultobj;
3473 fail:
3474 return NULL;
3475 }
3476
3477
3478 static PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
3479 PyObject *resultobj;
3480 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3481 wxPoint *arg2 = 0 ;
3482 wxPoint temp2 ;
3483 PyObject * obj0 = 0 ;
3484 PyObject * obj1 = 0 ;
3485 char *kwnames[] = {
3486 (char *) "self",(char *) "pos", NULL
3487 };
3488
3489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames,&obj0,&obj1)) goto fail;
3490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3492 {
3493 arg2 = &temp2;
3494 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3495 }
3496 {
3497 PyThreadState* __tstate = wxPyBeginAllowThreads();
3498 (arg1)->SetToPrivPos((wxPoint const &)*arg2);
3499
3500 wxPyEndAllowThreads(__tstate);
3501 if (PyErr_Occurred()) SWIG_fail;
3502 }
3503 Py_INCREF(Py_None); resultobj = Py_None;
3504 return resultobj;
3505 fail:
3506 return NULL;
3507 }
3508
3509
3510 static PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
3511 PyObject *resultobj;
3512 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3513 PyObject * obj0 = 0 ;
3514 char *kwnames[] = {
3515 (char *) "self", NULL
3516 };
3517
3518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_ClearPrivPos",kwnames,&obj0)) goto fail;
3519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3521 {
3522 PyThreadState* __tstate = wxPyBeginAllowThreads();
3523 (arg1)->ClearPrivPos();
3524
3525 wxPyEndAllowThreads(__tstate);
3526 if (PyErr_Occurred()) SWIG_fail;
3527 }
3528 Py_INCREF(Py_None); resultobj = Py_None;
3529 return resultobj;
3530 fail:
3531 return NULL;
3532 }
3533
3534
3535 static PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) {
3536 PyObject *resultobj;
3537 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3538 bool result;
3539 PyObject * obj0 = 0 ;
3540 char *kwnames[] = {
3541 (char *) "self", NULL
3542 };
3543
3544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_IsEmpty",kwnames,&obj0)) goto fail;
3545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3547 {
3548 PyThreadState* __tstate = wxPyBeginAllowThreads();
3549 result = (bool)((wxHtmlSelection const *)arg1)->IsEmpty();
3550
3551 wxPyEndAllowThreads(__tstate);
3552 if (PyErr_Occurred()) SWIG_fail;
3553 }
3554 {
3555 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3556 }
3557 return resultobj;
3558 fail:
3559 return NULL;
3560 }
3561
3562
3563 static PyObject * HtmlSelection_swigregister(PyObject *, PyObject *args) {
3564 PyObject *obj;
3565 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3566 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSelection, obj);
3567 Py_INCREF(obj);
3568 return Py_BuildValue((char *)"");
3569 }
3570 static PyObject *_wrap_new_HtmlRenderingState(PyObject *, PyObject *args, PyObject *kwargs) {
3571 PyObject *resultobj;
3572 wxHtmlRenderingState *result;
3573 char *kwnames[] = {
3574 NULL
3575 };
3576
3577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingState",kwnames)) goto fail;
3578 {
3579 PyThreadState* __tstate = wxPyBeginAllowThreads();
3580 result = (wxHtmlRenderingState *)new wxHtmlRenderingState();
3581
3582 wxPyEndAllowThreads(__tstate);
3583 if (PyErr_Occurred()) SWIG_fail;
3584 }
3585 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 1);
3586 return resultobj;
3587 fail:
3588 return NULL;
3589 }
3590
3591
3592 static PyObject *_wrap_delete_HtmlRenderingState(PyObject *, PyObject *args, PyObject *kwargs) {
3593 PyObject *resultobj;
3594 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3595 PyObject * obj0 = 0 ;
3596 char *kwnames[] = {
3597 (char *) "self", NULL
3598 };
3599
3600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingState",kwnames,&obj0)) goto fail;
3601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3603 {
3604 PyThreadState* __tstate = wxPyBeginAllowThreads();
3605 delete arg1;
3606
3607 wxPyEndAllowThreads(__tstate);
3608 if (PyErr_Occurred()) SWIG_fail;
3609 }
3610 Py_INCREF(Py_None); resultobj = Py_None;
3611 return resultobj;
3612 fail:
3613 return NULL;
3614 }
3615
3616
3617 static PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *, PyObject *args, PyObject *kwargs) {
3618 PyObject *resultobj;
3619 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3620 int arg2 ;
3621 PyObject * obj0 = 0 ;
3622 PyObject * obj1 = 0 ;
3623 char *kwnames[] = {
3624 (char *) "self",(char *) "s", NULL
3625 };
3626
3627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames,&obj0,&obj1)) goto fail;
3628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3630 arg2 = (int)SWIG_As_int(obj1);
3631 if (PyErr_Occurred()) SWIG_fail;
3632 {
3633 PyThreadState* __tstate = wxPyBeginAllowThreads();
3634 (arg1)->SetSelectionState((wxHtmlSelectionState )arg2);
3635
3636 wxPyEndAllowThreads(__tstate);
3637 if (PyErr_Occurred()) SWIG_fail;
3638 }
3639 Py_INCREF(Py_None); resultobj = Py_None;
3640 return resultobj;
3641 fail:
3642 return NULL;
3643 }
3644
3645
3646 static PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *, PyObject *args, PyObject *kwargs) {
3647 PyObject *resultobj;
3648 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3649 int result;
3650 PyObject * obj0 = 0 ;
3651 char *kwnames[] = {
3652 (char *) "self", NULL
3653 };
3654
3655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetSelectionState",kwnames,&obj0)) goto fail;
3656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3658 {
3659 PyThreadState* __tstate = wxPyBeginAllowThreads();
3660 result = (int)((wxHtmlRenderingState const *)arg1)->GetSelectionState();
3661
3662 wxPyEndAllowThreads(__tstate);
3663 if (PyErr_Occurred()) SWIG_fail;
3664 }
3665 resultobj = SWIG_From_int((int)result);
3666 return resultobj;
3667 fail:
3668 return NULL;
3669 }
3670
3671
3672 static PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *, PyObject *args, PyObject *kwargs) {
3673 PyObject *resultobj;
3674 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3675 wxColour *arg2 = 0 ;
3676 wxColour temp2 ;
3677 PyObject * obj0 = 0 ;
3678 PyObject * obj1 = 0 ;
3679 char *kwnames[] = {
3680 (char *) "self",(char *) "c", NULL
3681 };
3682
3683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames,&obj0,&obj1)) goto fail;
3684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3686 {
3687 arg2 = &temp2;
3688 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3689 }
3690 {
3691 PyThreadState* __tstate = wxPyBeginAllowThreads();
3692 (arg1)->SetFgColour((wxColour const &)*arg2);
3693
3694 wxPyEndAllowThreads(__tstate);
3695 if (PyErr_Occurred()) SWIG_fail;
3696 }
3697 Py_INCREF(Py_None); resultobj = Py_None;
3698 return resultobj;
3699 fail:
3700 return NULL;
3701 }
3702
3703
3704 static PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *, PyObject *args, PyObject *kwargs) {
3705 PyObject *resultobj;
3706 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3707 wxColour *result;
3708 PyObject * obj0 = 0 ;
3709 char *kwnames[] = {
3710 (char *) "self", NULL
3711 };
3712
3713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetFgColour",kwnames,&obj0)) goto fail;
3714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3716 {
3717 PyThreadState* __tstate = wxPyBeginAllowThreads();
3718 {
3719 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetFgColour();
3720 result = (wxColour *) &_result_ref;
3721 }
3722
3723 wxPyEndAllowThreads(__tstate);
3724 if (PyErr_Occurred()) SWIG_fail;
3725 }
3726 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
3727 return resultobj;
3728 fail:
3729 return NULL;
3730 }
3731
3732
3733 static PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
3734 PyObject *resultobj;
3735 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3736 wxColour *arg2 = 0 ;
3737 wxColour temp2 ;
3738 PyObject * obj0 = 0 ;
3739 PyObject * obj1 = 0 ;
3740 char *kwnames[] = {
3741 (char *) "self",(char *) "c", NULL
3742 };
3743
3744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames,&obj0,&obj1)) goto fail;
3745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3747 {
3748 arg2 = &temp2;
3749 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3750 }
3751 {
3752 PyThreadState* __tstate = wxPyBeginAllowThreads();
3753 (arg1)->SetBgColour((wxColour const &)*arg2);
3754
3755 wxPyEndAllowThreads(__tstate);
3756 if (PyErr_Occurred()) SWIG_fail;
3757 }
3758 Py_INCREF(Py_None); resultobj = Py_None;
3759 return resultobj;
3760 fail:
3761 return NULL;
3762 }
3763
3764
3765 static PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
3766 PyObject *resultobj;
3767 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3768 wxColour *result;
3769 PyObject * obj0 = 0 ;
3770 char *kwnames[] = {
3771 (char *) "self", NULL
3772 };
3773
3774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetBgColour",kwnames,&obj0)) goto fail;
3775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3777 {
3778 PyThreadState* __tstate = wxPyBeginAllowThreads();
3779 {
3780 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetBgColour();
3781 result = (wxColour *) &_result_ref;
3782 }
3783
3784 wxPyEndAllowThreads(__tstate);
3785 if (PyErr_Occurred()) SWIG_fail;
3786 }
3787 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
3788 return resultobj;
3789 fail:
3790 return NULL;
3791 }
3792
3793
3794 static PyObject * HtmlRenderingState_swigregister(PyObject *, PyObject *args) {
3795 PyObject *obj;
3796 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3797 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingState, obj);
3798 Py_INCREF(obj);
3799 return Py_BuildValue((char *)"");
3800 }
3801 static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
3802 PyObject *resultobj;
3803 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
3804 wxColour *arg2 = 0 ;
3805 wxColour result;
3806 wxColour temp2 ;
3807 PyObject * obj0 = 0 ;
3808 PyObject * obj1 = 0 ;
3809 char *kwnames[] = {
3810 (char *) "self",(char *) "clr", NULL
3811 };
3812
3813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail;
3814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingStyle,
3815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3816 {
3817 arg2 = &temp2;
3818 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3819 }
3820 {
3821 PyThreadState* __tstate = wxPyBeginAllowThreads();
3822 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
3823
3824 wxPyEndAllowThreads(__tstate);
3825 if (PyErr_Occurred()) SWIG_fail;
3826 }
3827 {
3828 wxColour * resultptr;
3829 resultptr = new wxColour((wxColour &) result);
3830 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
3831 }
3832 return resultobj;
3833 fail:
3834 return NULL;
3835 }
3836
3837
3838 static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
3839 PyObject *resultobj;
3840 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
3841 wxColour *arg2 = 0 ;
3842 wxColour result;
3843 wxColour temp2 ;
3844 PyObject * obj0 = 0 ;
3845 PyObject * obj1 = 0 ;
3846 char *kwnames[] = {
3847 (char *) "self",(char *) "clr", NULL
3848 };
3849
3850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail;
3851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingStyle,
3852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3853 {
3854 arg2 = &temp2;
3855 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3856 }
3857 {
3858 PyThreadState* __tstate = wxPyBeginAllowThreads();
3859 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
3860
3861 wxPyEndAllowThreads(__tstate);
3862 if (PyErr_Occurred()) SWIG_fail;
3863 }
3864 {
3865 wxColour * resultptr;
3866 resultptr = new wxColour((wxColour &) result);
3867 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
3868 }
3869 return resultobj;
3870 fail:
3871 return NULL;
3872 }
3873
3874
3875 static PyObject * HtmlRenderingStyle_swigregister(PyObject *, PyObject *args) {
3876 PyObject *obj;
3877 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3878 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingStyle, obj);
3879 Py_INCREF(obj);
3880 return Py_BuildValue((char *)"");
3881 }
3882 static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
3883 PyObject *resultobj;
3884 wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ;
3885 wxColour *arg2 = 0 ;
3886 wxColour result;
3887 wxColour temp2 ;
3888 PyObject * obj0 = 0 ;
3889 PyObject * obj1 = 0 ;
3890 char *kwnames[] = {
3891 (char *) "self",(char *) "clr", NULL
3892 };
3893
3894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail;
3895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDefaultHtmlRenderingStyle,
3896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3897 {
3898 arg2 = &temp2;
3899 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3900 }
3901 {
3902 PyThreadState* __tstate = wxPyBeginAllowThreads();
3903 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
3904
3905 wxPyEndAllowThreads(__tstate);
3906 if (PyErr_Occurred()) SWIG_fail;
3907 }
3908 {
3909 wxColour * resultptr;
3910 resultptr = new wxColour((wxColour &) result);
3911 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
3912 }
3913 return resultobj;
3914 fail:
3915 return NULL;
3916 }
3917
3918
3919 static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
3920 PyObject *resultobj;
3921 wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ;
3922 wxColour *arg2 = 0 ;
3923 wxColour result;
3924 wxColour temp2 ;
3925 PyObject * obj0 = 0 ;
3926 PyObject * obj1 = 0 ;
3927 char *kwnames[] = {
3928 (char *) "self",(char *) "clr", NULL
3929 };
3930
3931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail;
3932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDefaultHtmlRenderingStyle,
3933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3934 {
3935 arg2 = &temp2;
3936 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3937 }
3938 {
3939 PyThreadState* __tstate = wxPyBeginAllowThreads();
3940 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
3941
3942 wxPyEndAllowThreads(__tstate);
3943 if (PyErr_Occurred()) SWIG_fail;
3944 }
3945 {
3946 wxColour * resultptr;
3947 resultptr = new wxColour((wxColour &) result);
3948 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
3949 }
3950 return resultobj;
3951 fail:
3952 return NULL;
3953 }
3954
3955
3956 static PyObject * DefaultHtmlRenderingStyle_swigregister(PyObject *, PyObject *args) {
3957 PyObject *obj;
3958 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3959 SWIG_TypeClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle, obj);
3960 Py_INCREF(obj);
3961 return Py_BuildValue((char *)"");
3962 }
3963 static PyObject *_wrap_new_HtmlRenderingInfo(PyObject *, PyObject *args, PyObject *kwargs) {
3964 PyObject *resultobj;
3965 wxHtmlRenderingInfo *result;
3966 char *kwnames[] = {
3967 NULL
3968 };
3969
3970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingInfo",kwnames)) goto fail;
3971 {
3972 PyThreadState* __tstate = wxPyBeginAllowThreads();
3973 result = (wxHtmlRenderingInfo *)new wxHtmlRenderingInfo();
3974
3975 wxPyEndAllowThreads(__tstate);
3976 if (PyErr_Occurred()) SWIG_fail;
3977 }
3978 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingInfo, 1);
3979 return resultobj;
3980 fail:
3981 return NULL;
3982 }
3983
3984
3985 static PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *, PyObject *args, PyObject *kwargs) {
3986 PyObject *resultobj;
3987 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3988 PyObject * obj0 = 0 ;
3989 char *kwnames[] = {
3990 (char *) "self", NULL
3991 };
3992
3993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingInfo",kwnames,&obj0)) goto fail;
3994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo,
3995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3996 {
3997 PyThreadState* __tstate = wxPyBeginAllowThreads();
3998 delete arg1;
3999
4000 wxPyEndAllowThreads(__tstate);
4001 if (PyErr_Occurred()) SWIG_fail;
4002 }
4003 Py_INCREF(Py_None); resultobj = Py_None;
4004 return resultobj;
4005 fail:
4006 return NULL;
4007 }
4008
4009
4010 static PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
4011 PyObject *resultobj;
4012 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
4013 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
4014 PyObject * obj0 = 0 ;
4015 PyObject * obj1 = 0 ;
4016 char *kwnames[] = {
4017 (char *) "self",(char *) "s", NULL
4018 };
4019
4020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames,&obj0,&obj1)) goto fail;
4021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo,
4022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4023 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlSelection,
4024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4025 {
4026 PyThreadState* __tstate = wxPyBeginAllowThreads();
4027 (arg1)->SetSelection(arg2);
4028
4029 wxPyEndAllowThreads(__tstate);
4030 if (PyErr_Occurred()) SWIG_fail;
4031 }
4032 Py_INCREF(Py_None); resultobj = Py_None;
4033 return resultobj;
4034 fail:
4035 return NULL;
4036 }
4037
4038
4039 static PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
4040 PyObject *resultobj;
4041 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
4042 wxHtmlSelection *result;
4043 PyObject * obj0 = 0 ;
4044 char *kwnames[] = {
4045 (char *) "self", NULL
4046 };
4047
4048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetSelection",kwnames,&obj0)) goto fail;
4049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo,
4050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4051 {
4052 PyThreadState* __tstate = wxPyBeginAllowThreads();
4053 result = (wxHtmlSelection *)((wxHtmlRenderingInfo const *)arg1)->GetSelection();
4054
4055 wxPyEndAllowThreads(__tstate);
4056 if (PyErr_Occurred()) SWIG_fail;
4057 }
4058 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 0);
4059 return resultobj;
4060 fail:
4061 return NULL;
4062 }
4063
4064
4065 static PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
4066 PyObject *resultobj;
4067 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
4068 wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ;
4069 PyObject * obj0 = 0 ;
4070 PyObject * obj1 = 0 ;
4071 char *kwnames[] = {
4072 (char *) "self",(char *) "style", NULL
4073 };
4074
4075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames,&obj0,&obj1)) goto fail;
4076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo,
4077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4078 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlRenderingStyle,
4079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4080 {
4081 PyThreadState* __tstate = wxPyBeginAllowThreads();
4082 (arg1)->SetStyle(arg2);
4083
4084 wxPyEndAllowThreads(__tstate);
4085 if (PyErr_Occurred()) SWIG_fail;
4086 }
4087 Py_INCREF(Py_None); resultobj = Py_None;
4088 return resultobj;
4089 fail:
4090 return NULL;
4091 }
4092
4093
4094 static PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
4095 PyObject *resultobj;
4096 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
4097 wxHtmlRenderingStyle *result;
4098 PyObject * obj0 = 0 ;
4099 char *kwnames[] = {
4100 (char *) "self", NULL
4101 };
4102
4103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetStyle",kwnames,&obj0)) goto fail;
4104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo,
4105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4106 {
4107 PyThreadState* __tstate = wxPyBeginAllowThreads();
4108 {
4109 wxHtmlRenderingStyle &_result_ref = (arg1)->GetStyle();
4110 result = (wxHtmlRenderingStyle *) &_result_ref;
4111 }
4112
4113 wxPyEndAllowThreads(__tstate);
4114 if (PyErr_Occurred()) SWIG_fail;
4115 }
4116 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingStyle, 0);
4117 return resultobj;
4118 fail:
4119 return NULL;
4120 }
4121
4122
4123 static PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
4124 PyObject *resultobj;
4125 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
4126 wxHtmlRenderingState *result;
4127 PyObject * obj0 = 0 ;
4128 char *kwnames[] = {
4129 (char *) "self", NULL
4130 };
4131
4132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetState",kwnames,&obj0)) goto fail;
4133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo,
4134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4135 {
4136 PyThreadState* __tstate = wxPyBeginAllowThreads();
4137 {
4138 wxHtmlRenderingState &_result_ref = (arg1)->GetState();
4139 result = (wxHtmlRenderingState *) &_result_ref;
4140 }
4141
4142 wxPyEndAllowThreads(__tstate);
4143 if (PyErr_Occurred()) SWIG_fail;
4144 }
4145 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 0);
4146 return resultobj;
4147 fail:
4148 return NULL;
4149 }
4150
4151
4152 static PyObject * HtmlRenderingInfo_swigregister(PyObject *, PyObject *args) {
4153 PyObject *obj;
4154 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4155 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingInfo, obj);
4156 Py_INCREF(obj);
4157 return Py_BuildValue((char *)"");
4158 }
4159 static PyObject *_wrap_new_HtmlCell(PyObject *, PyObject *args, PyObject *kwargs) {
4160 PyObject *resultobj;
4161 wxHtmlCell *result;
4162 char *kwnames[] = {
4163 NULL
4164 };
4165
4166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlCell",kwnames)) goto fail;
4167 {
4168 PyThreadState* __tstate = wxPyBeginAllowThreads();
4169 result = (wxHtmlCell *)new wxHtmlCell();
4170
4171 wxPyEndAllowThreads(__tstate);
4172 if (PyErr_Occurred()) SWIG_fail;
4173 }
4174 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 1);
4175 return resultobj;
4176 fail:
4177 return NULL;
4178 }
4179
4180
4181 static PyObject *_wrap_HtmlCell_GetPosX(PyObject *, PyObject *args, PyObject *kwargs) {
4182 PyObject *resultobj;
4183 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4184 int result;
4185 PyObject * obj0 = 0 ;
4186 char *kwnames[] = {
4187 (char *) "self", NULL
4188 };
4189
4190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosX",kwnames,&obj0)) goto fail;
4191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4193 {
4194 PyThreadState* __tstate = wxPyBeginAllowThreads();
4195 result = (int)(arg1)->GetPosX();
4196
4197 wxPyEndAllowThreads(__tstate);
4198 if (PyErr_Occurred()) SWIG_fail;
4199 }
4200 resultobj = SWIG_From_int((int)result);
4201 return resultobj;
4202 fail:
4203 return NULL;
4204 }
4205
4206
4207 static PyObject *_wrap_HtmlCell_GetPosY(PyObject *, PyObject *args, PyObject *kwargs) {
4208 PyObject *resultobj;
4209 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4210 int result;
4211 PyObject * obj0 = 0 ;
4212 char *kwnames[] = {
4213 (char *) "self", NULL
4214 };
4215
4216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosY",kwnames,&obj0)) goto fail;
4217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4219 {
4220 PyThreadState* __tstate = wxPyBeginAllowThreads();
4221 result = (int)(arg1)->GetPosY();
4222
4223 wxPyEndAllowThreads(__tstate);
4224 if (PyErr_Occurred()) SWIG_fail;
4225 }
4226 resultobj = SWIG_From_int((int)result);
4227 return resultobj;
4228 fail:
4229 return NULL;
4230 }
4231
4232
4233 static PyObject *_wrap_HtmlCell_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
4234 PyObject *resultobj;
4235 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4236 int result;
4237 PyObject * obj0 = 0 ;
4238 char *kwnames[] = {
4239 (char *) "self", NULL
4240 };
4241
4242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetWidth",kwnames,&obj0)) goto fail;
4243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4245 {
4246 PyThreadState* __tstate = wxPyBeginAllowThreads();
4247 result = (int)(arg1)->GetWidth();
4248
4249 wxPyEndAllowThreads(__tstate);
4250 if (PyErr_Occurred()) SWIG_fail;
4251 }
4252 resultobj = SWIG_From_int((int)result);
4253 return resultobj;
4254 fail:
4255 return NULL;
4256 }
4257
4258
4259 static PyObject *_wrap_HtmlCell_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
4260 PyObject *resultobj;
4261 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4262 int result;
4263 PyObject * obj0 = 0 ;
4264 char *kwnames[] = {
4265 (char *) "self", NULL
4266 };
4267
4268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetHeight",kwnames,&obj0)) goto fail;
4269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4271 {
4272 PyThreadState* __tstate = wxPyBeginAllowThreads();
4273 result = (int)(arg1)->GetHeight();
4274
4275 wxPyEndAllowThreads(__tstate);
4276 if (PyErr_Occurred()) SWIG_fail;
4277 }
4278 resultobj = SWIG_From_int((int)result);
4279 return resultobj;
4280 fail:
4281 return NULL;
4282 }
4283
4284
4285 static PyObject *_wrap_HtmlCell_GetDescent(PyObject *, PyObject *args, PyObject *kwargs) {
4286 PyObject *resultobj;
4287 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4288 int result;
4289 PyObject * obj0 = 0 ;
4290 char *kwnames[] = {
4291 (char *) "self", NULL
4292 };
4293
4294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDescent",kwnames,&obj0)) goto fail;
4295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4297 {
4298 PyThreadState* __tstate = wxPyBeginAllowThreads();
4299 result = (int)(arg1)->GetDescent();
4300
4301 wxPyEndAllowThreads(__tstate);
4302 if (PyErr_Occurred()) SWIG_fail;
4303 }
4304 resultobj = SWIG_From_int((int)result);
4305 return resultobj;
4306 fail:
4307 return NULL;
4308 }
4309
4310
4311 static PyObject *_wrap_HtmlCell_GetMaxTotalWidth(PyObject *, PyObject *args, PyObject *kwargs) {
4312 PyObject *resultobj;
4313 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4314 int result;
4315 PyObject * obj0 = 0 ;
4316 char *kwnames[] = {
4317 (char *) "self", NULL
4318 };
4319
4320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetMaxTotalWidth",kwnames,&obj0)) goto fail;
4321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4323 {
4324 PyThreadState* __tstate = wxPyBeginAllowThreads();
4325 result = (int)((wxHtmlCell const *)arg1)->GetMaxTotalWidth();
4326
4327 wxPyEndAllowThreads(__tstate);
4328 if (PyErr_Occurred()) SWIG_fail;
4329 }
4330 resultobj = SWIG_From_int((int)result);
4331 return resultobj;
4332 fail:
4333 return NULL;
4334 }
4335
4336
4337 static PyObject *_wrap_HtmlCell_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
4338 PyObject *resultobj;
4339 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4340 wxString *result;
4341 PyObject * obj0 = 0 ;
4342 char *kwnames[] = {
4343 (char *) "self", NULL
4344 };
4345
4346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetId",kwnames,&obj0)) goto fail;
4347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4349 {
4350 PyThreadState* __tstate = wxPyBeginAllowThreads();
4351 {
4352 wxString const &_result_ref = ((wxHtmlCell const *)arg1)->GetId();
4353 result = (wxString *) &_result_ref;
4354 }
4355
4356 wxPyEndAllowThreads(__tstate);
4357 if (PyErr_Occurred()) SWIG_fail;
4358 }
4359 {
4360 #if wxUSE_UNICODE
4361 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
4362 #else
4363 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
4364 #endif
4365 }
4366 return resultobj;
4367 fail:
4368 return NULL;
4369 }
4370
4371
4372 static PyObject *_wrap_HtmlCell_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
4373 PyObject *resultobj;
4374 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4375 wxString *arg2 = 0 ;
4376 bool temp2 = False ;
4377 PyObject * obj0 = 0 ;
4378 PyObject * obj1 = 0 ;
4379 char *kwnames[] = {
4380 (char *) "self",(char *) "id", NULL
4381 };
4382
4383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetId",kwnames,&obj0,&obj1)) goto fail;
4384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4386 {
4387 arg2 = wxString_in_helper(obj1);
4388 if (arg2 == NULL) SWIG_fail;
4389 temp2 = True;
4390 }
4391 {
4392 PyThreadState* __tstate = wxPyBeginAllowThreads();
4393 (arg1)->SetId((wxString const &)*arg2);
4394
4395 wxPyEndAllowThreads(__tstate);
4396 if (PyErr_Occurred()) SWIG_fail;
4397 }
4398 Py_INCREF(Py_None); resultobj = Py_None;
4399 {
4400 if (temp2)
4401 delete arg2;
4402 }
4403 return resultobj;
4404 fail:
4405 {
4406 if (temp2)
4407 delete arg2;
4408 }
4409 return NULL;
4410 }
4411
4412
4413 static PyObject *_wrap_HtmlCell_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
4414 PyObject *resultobj;
4415 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4416 int arg2 = (int) 0 ;
4417 int arg3 = (int) 0 ;
4418 wxHtmlLinkInfo *result;
4419 PyObject * obj0 = 0 ;
4420 PyObject * obj1 = 0 ;
4421 PyObject * obj2 = 0 ;
4422 char *kwnames[] = {
4423 (char *) "self",(char *) "x",(char *) "y", NULL
4424 };
4425
4426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:HtmlCell_GetLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
4427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4429 if (obj1) {
4430 arg2 = (int)SWIG_As_int(obj1);
4431 if (PyErr_Occurred()) SWIG_fail;
4432 }
4433 if (obj2) {
4434 arg3 = (int)SWIG_As_int(obj2);
4435 if (PyErr_Occurred()) SWIG_fail;
4436 }
4437 {
4438 PyThreadState* __tstate = wxPyBeginAllowThreads();
4439 result = (wxHtmlLinkInfo *)(arg1)->GetLink(arg2,arg3);
4440
4441 wxPyEndAllowThreads(__tstate);
4442 if (PyErr_Occurred()) SWIG_fail;
4443 }
4444 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlLinkInfo, 0);
4445 return resultobj;
4446 fail:
4447 return NULL;
4448 }
4449
4450
4451 static PyObject *_wrap_HtmlCell_GetNext(PyObject *, PyObject *args, PyObject *kwargs) {
4452 PyObject *resultobj;
4453 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4454 wxHtmlCell *result;
4455 PyObject * obj0 = 0 ;
4456 char *kwnames[] = {
4457 (char *) "self", NULL
4458 };
4459
4460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetNext",kwnames,&obj0)) goto fail;
4461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4463 {
4464 PyThreadState* __tstate = wxPyBeginAllowThreads();
4465 result = (wxHtmlCell *)(arg1)->GetNext();
4466
4467 wxPyEndAllowThreads(__tstate);
4468 if (PyErr_Occurred()) SWIG_fail;
4469 }
4470 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
4471 return resultobj;
4472 fail:
4473 return NULL;
4474 }
4475
4476
4477 static PyObject *_wrap_HtmlCell_GetParent(PyObject *, PyObject *args, PyObject *kwargs) {
4478 PyObject *resultobj;
4479 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4480 wxHtmlContainerCell *result;
4481 PyObject * obj0 = 0 ;
4482 char *kwnames[] = {
4483 (char *) "self", NULL
4484 };
4485
4486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetParent",kwnames,&obj0)) goto fail;
4487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4489 {
4490 PyThreadState* __tstate = wxPyBeginAllowThreads();
4491 result = (wxHtmlContainerCell *)(arg1)->GetParent();
4492
4493 wxPyEndAllowThreads(__tstate);
4494 if (PyErr_Occurred()) SWIG_fail;
4495 }
4496 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
4497 return resultobj;
4498 fail:
4499 return NULL;
4500 }
4501
4502
4503 static PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
4504 PyObject *resultobj;
4505 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4506 wxHtmlCell *result;
4507 PyObject * obj0 = 0 ;
4508 char *kwnames[] = {
4509 (char *) "self", NULL
4510 };
4511
4512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstChild",kwnames,&obj0)) goto fail;
4513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4515 {
4516 PyThreadState* __tstate = wxPyBeginAllowThreads();
4517 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstChild();
4518
4519 wxPyEndAllowThreads(__tstate);
4520 if (PyErr_Occurred()) SWIG_fail;
4521 }
4522 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
4523 return resultobj;
4524 fail:
4525 return NULL;
4526 }
4527
4528
4529 static PyObject *_wrap_HtmlCell_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
4530 PyObject *resultobj;
4531 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4532 wxCursor result;
4533 PyObject * obj0 = 0 ;
4534 char *kwnames[] = {
4535 (char *) "self", NULL
4536 };
4537
4538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetCursor",kwnames,&obj0)) goto fail;
4539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4541 {
4542 PyThreadState* __tstate = wxPyBeginAllowThreads();
4543 result = ((wxHtmlCell const *)arg1)->GetCursor();
4544
4545 wxPyEndAllowThreads(__tstate);
4546 if (PyErr_Occurred()) SWIG_fail;
4547 }
4548 {
4549 wxCursor * resultptr;
4550 resultptr = new wxCursor((wxCursor &) result);
4551 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxCursor, 1);
4552 }
4553 return resultobj;
4554 fail:
4555 return NULL;
4556 }
4557
4558
4559 static PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *, PyObject *args, PyObject *kwargs) {
4560 PyObject *resultobj;
4561 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4562 bool result;
4563 PyObject * obj0 = 0 ;
4564 char *kwnames[] = {
4565 (char *) "self", NULL
4566 };
4567
4568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsFormattingCell",kwnames,&obj0)) goto fail;
4569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4571 {
4572 PyThreadState* __tstate = wxPyBeginAllowThreads();
4573 result = (bool)((wxHtmlCell const *)arg1)->IsFormattingCell();
4574
4575 wxPyEndAllowThreads(__tstate);
4576 if (PyErr_Occurred()) SWIG_fail;
4577 }
4578 {
4579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4580 }
4581 return resultobj;
4582 fail:
4583 return NULL;
4584 }
4585
4586
4587 static PyObject *_wrap_HtmlCell_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
4588 PyObject *resultobj;
4589 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4590 wxHtmlLinkInfo *arg2 = 0 ;
4591 PyObject * obj0 = 0 ;
4592 PyObject * obj1 = 0 ;
4593 char *kwnames[] = {
4594 (char *) "self",(char *) "link", NULL
4595 };
4596
4597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetLink",kwnames,&obj0,&obj1)) goto fail;
4598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4600 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlLinkInfo,
4601 SWIG_POINTER_EXCEPTION | 0)) == -1)
4602 SWIG_fail;
4603 if (arg2 == NULL) {
4604 PyErr_SetString(PyExc_TypeError,"null reference");
4605 SWIG_fail;
4606 }
4607 {
4608 PyThreadState* __tstate = wxPyBeginAllowThreads();
4609 (arg1)->SetLink((wxHtmlLinkInfo const &)*arg2);
4610
4611 wxPyEndAllowThreads(__tstate);
4612 if (PyErr_Occurred()) SWIG_fail;
4613 }
4614 Py_INCREF(Py_None); resultobj = Py_None;
4615 return resultobj;
4616 fail:
4617 return NULL;
4618 }
4619
4620
4621 static PyObject *_wrap_HtmlCell_SetNext(PyObject *, PyObject *args, PyObject *kwargs) {
4622 PyObject *resultobj;
4623 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4624 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
4625 PyObject * obj0 = 0 ;
4626 PyObject * obj1 = 0 ;
4627 char *kwnames[] = {
4628 (char *) "self",(char *) "cell", NULL
4629 };
4630
4631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetNext",kwnames,&obj0,&obj1)) goto fail;
4632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4634 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
4635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4636 {
4637 PyThreadState* __tstate = wxPyBeginAllowThreads();
4638 (arg1)->SetNext(arg2);
4639
4640 wxPyEndAllowThreads(__tstate);
4641 if (PyErr_Occurred()) SWIG_fail;
4642 }
4643 Py_INCREF(Py_None); resultobj = Py_None;
4644 return resultobj;
4645 fail:
4646 return NULL;
4647 }
4648
4649
4650 static PyObject *_wrap_HtmlCell_SetParent(PyObject *, PyObject *args, PyObject *kwargs) {
4651 PyObject *resultobj;
4652 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4653 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
4654 PyObject * obj0 = 0 ;
4655 PyObject * obj1 = 0 ;
4656 char *kwnames[] = {
4657 (char *) "self",(char *) "p", NULL
4658 };
4659
4660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetParent",kwnames,&obj0,&obj1)) goto fail;
4661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4663 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlContainerCell,
4664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4665 {
4666 PyThreadState* __tstate = wxPyBeginAllowThreads();
4667 (arg1)->SetParent(arg2);
4668
4669 wxPyEndAllowThreads(__tstate);
4670 if (PyErr_Occurred()) SWIG_fail;
4671 }
4672 Py_INCREF(Py_None); resultobj = Py_None;
4673 return resultobj;
4674 fail:
4675 return NULL;
4676 }
4677
4678
4679 static PyObject *_wrap_HtmlCell_SetPos(PyObject *, PyObject *args, PyObject *kwargs) {
4680 PyObject *resultobj;
4681 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4682 int arg2 ;
4683 int arg3 ;
4684 PyObject * obj0 = 0 ;
4685 PyObject * obj1 = 0 ;
4686 PyObject * obj2 = 0 ;
4687 char *kwnames[] = {
4688 (char *) "self",(char *) "x",(char *) "y", NULL
4689 };
4690
4691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_SetPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
4692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4694 arg2 = (int)SWIG_As_int(obj1);
4695 if (PyErr_Occurred()) SWIG_fail;
4696 arg3 = (int)SWIG_As_int(obj2);
4697 if (PyErr_Occurred()) SWIG_fail;
4698 {
4699 PyThreadState* __tstate = wxPyBeginAllowThreads();
4700 (arg1)->SetPos(arg2,arg3);
4701
4702 wxPyEndAllowThreads(__tstate);
4703 if (PyErr_Occurred()) SWIG_fail;
4704 }
4705 Py_INCREF(Py_None); resultobj = Py_None;
4706 return resultobj;
4707 fail:
4708 return NULL;
4709 }
4710
4711
4712 static PyObject *_wrap_HtmlCell_Layout(PyObject *, PyObject *args, PyObject *kwargs) {
4713 PyObject *resultobj;
4714 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4715 int arg2 ;
4716 PyObject * obj0 = 0 ;
4717 PyObject * obj1 = 0 ;
4718 char *kwnames[] = {
4719 (char *) "self",(char *) "w", NULL
4720 };
4721
4722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_Layout",kwnames,&obj0,&obj1)) goto fail;
4723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4725 arg2 = (int)SWIG_As_int(obj1);
4726 if (PyErr_Occurred()) SWIG_fail;
4727 {
4728 PyThreadState* __tstate = wxPyBeginAllowThreads();
4729 (arg1)->Layout(arg2);
4730
4731 wxPyEndAllowThreads(__tstate);
4732 if (PyErr_Occurred()) SWIG_fail;
4733 }
4734 Py_INCREF(Py_None); resultobj = Py_None;
4735 return resultobj;
4736 fail:
4737 return NULL;
4738 }
4739
4740
4741 static PyObject *_wrap_HtmlCell_Draw(PyObject *, PyObject *args, PyObject *kwargs) {
4742 PyObject *resultobj;
4743 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4744 wxDC *arg2 = 0 ;
4745 int arg3 ;
4746 int arg4 ;
4747 int arg5 ;
4748 int arg6 ;
4749 wxHtmlRenderingInfo *arg7 = 0 ;
4750 PyObject * obj0 = 0 ;
4751 PyObject * obj1 = 0 ;
4752 PyObject * obj2 = 0 ;
4753 PyObject * obj3 = 0 ;
4754 PyObject * obj4 = 0 ;
4755 PyObject * obj5 = 0 ;
4756 PyObject * obj6 = 0 ;
4757 char *kwnames[] = {
4758 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
4759 };
4760
4761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:HtmlCell_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4764 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
4765 SWIG_POINTER_EXCEPTION | 0)) == -1)
4766 SWIG_fail;
4767 if (arg2 == NULL) {
4768 PyErr_SetString(PyExc_TypeError,"null reference");
4769 SWIG_fail;
4770 }
4771 arg3 = (int)SWIG_As_int(obj2);
4772 if (PyErr_Occurred()) SWIG_fail;
4773 arg4 = (int)SWIG_As_int(obj3);
4774 if (PyErr_Occurred()) SWIG_fail;
4775 arg5 = (int)SWIG_As_int(obj4);
4776 if (PyErr_Occurred()) SWIG_fail;
4777 arg6 = (int)SWIG_As_int(obj5);
4778 if (PyErr_Occurred()) SWIG_fail;
4779 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxHtmlRenderingInfo,
4780 SWIG_POINTER_EXCEPTION | 0)) == -1)
4781 SWIG_fail;
4782 if (arg7 == NULL) {
4783 PyErr_SetString(PyExc_TypeError,"null reference");
4784 SWIG_fail;
4785 }
4786 {
4787 PyThreadState* __tstate = wxPyBeginAllowThreads();
4788 (arg1)->Draw(*arg2,arg3,arg4,arg5,arg6,*arg7);
4789
4790 wxPyEndAllowThreads(__tstate);
4791 if (PyErr_Occurred()) SWIG_fail;
4792 }
4793 Py_INCREF(Py_None); resultobj = Py_None;
4794 return resultobj;
4795 fail:
4796 return NULL;
4797 }
4798
4799
4800 static PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *, PyObject *args, PyObject *kwargs) {
4801 PyObject *resultobj;
4802 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4803 wxDC *arg2 = 0 ;
4804 int arg3 ;
4805 int arg4 ;
4806 wxHtmlRenderingInfo *arg5 = 0 ;
4807 PyObject * obj0 = 0 ;
4808 PyObject * obj1 = 0 ;
4809 PyObject * obj2 = 0 ;
4810 PyObject * obj3 = 0 ;
4811 PyObject * obj4 = 0 ;
4812 char *kwnames[] = {
4813 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
4814 };
4815
4816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4819 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
4820 SWIG_POINTER_EXCEPTION | 0)) == -1)
4821 SWIG_fail;
4822 if (arg2 == NULL) {
4823 PyErr_SetString(PyExc_TypeError,"null reference");
4824 SWIG_fail;
4825 }
4826 arg3 = (int)SWIG_As_int(obj2);
4827 if (PyErr_Occurred()) SWIG_fail;
4828 arg4 = (int)SWIG_As_int(obj3);
4829 if (PyErr_Occurred()) SWIG_fail;
4830 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxHtmlRenderingInfo,
4831 SWIG_POINTER_EXCEPTION | 0)) == -1)
4832 SWIG_fail;
4833 if (arg5 == NULL) {
4834 PyErr_SetString(PyExc_TypeError,"null reference");
4835 SWIG_fail;
4836 }
4837 {
4838 PyThreadState* __tstate = wxPyBeginAllowThreads();
4839 (arg1)->DrawInvisible(*arg2,arg3,arg4,*arg5);
4840
4841 wxPyEndAllowThreads(__tstate);
4842 if (PyErr_Occurred()) SWIG_fail;
4843 }
4844 Py_INCREF(Py_None); resultobj = Py_None;
4845 return resultobj;
4846 fail:
4847 return NULL;
4848 }
4849
4850
4851 static PyObject *_wrap_HtmlCell_Find(PyObject *, PyObject *args, PyObject *kwargs) {
4852 PyObject *resultobj;
4853 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4854 int arg2 ;
4855 void *arg3 = (void *) 0 ;
4856 wxHtmlCell *result;
4857 PyObject * obj0 = 0 ;
4858 PyObject * obj1 = 0 ;
4859 PyObject * obj2 = 0 ;
4860 char *kwnames[] = {
4861 (char *) "self",(char *) "condition",(char *) "param", NULL
4862 };
4863
4864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_Find",kwnames,&obj0,&obj1,&obj2)) goto fail;
4865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4867 arg2 = (int)SWIG_As_int(obj1);
4868 if (PyErr_Occurred()) SWIG_fail;
4869 if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4870 {
4871 PyThreadState* __tstate = wxPyBeginAllowThreads();
4872 result = (wxHtmlCell *)(arg1)->Find(arg2,(void const *)arg3);
4873
4874 wxPyEndAllowThreads(__tstate);
4875 if (PyErr_Occurred()) SWIG_fail;
4876 }
4877 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
4878 return resultobj;
4879 fail:
4880 return NULL;
4881 }
4882
4883
4884 static PyObject *_wrap_HtmlCell_AdjustPagebreak(PyObject *, PyObject *args, PyObject *kwargs) {
4885 PyObject *resultobj;
4886 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4887 int *arg2 = (int *) 0 ;
4888 bool result;
4889 int temp2 ;
4890 int res2 = 0 ;
4891 PyObject * obj0 = 0 ;
4892 PyObject * obj1 = 0 ;
4893 char *kwnames[] = {
4894 (char *) "self",(char *) "INOUT", NULL
4895 };
4896
4897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_AdjustPagebreak",kwnames,&obj0,&obj1)) goto fail;
4898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4900 {
4901 if (!(SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_int,0) != -1)) {
4902 temp2 = SWIG_As_int(obj1);
4903 if (PyErr_Occurred()) SWIG_fail;
4904 arg2 = &temp2;
4905 res2 = SWIG_NEWOBJ;
4906 }
4907 }
4908 {
4909 PyThreadState* __tstate = wxPyBeginAllowThreads();
4910 result = (bool)(arg1)->AdjustPagebreak(arg2);
4911
4912 wxPyEndAllowThreads(__tstate);
4913 if (PyErr_Occurred()) SWIG_fail;
4914 }
4915 {
4916 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4917 }
4918 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
4919 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
4920 return resultobj;
4921 fail:
4922 return NULL;
4923 }
4924
4925
4926 static PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *, PyObject *args, PyObject *kwargs) {
4927 PyObject *resultobj;
4928 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4929 bool arg2 ;
4930 PyObject * obj0 = 0 ;
4931 PyObject * obj1 = 0 ;
4932 char *kwnames[] = {
4933 (char *) "self",(char *) "can", NULL
4934 };
4935
4936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames,&obj0,&obj1)) goto fail;
4937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4939 arg2 = (bool)SWIG_As_bool(obj1);
4940 if (PyErr_Occurred()) SWIG_fail;
4941 {
4942 PyThreadState* __tstate = wxPyBeginAllowThreads();
4943 (arg1)->SetCanLiveOnPagebreak(arg2);
4944
4945 wxPyEndAllowThreads(__tstate);
4946 if (PyErr_Occurred()) SWIG_fail;
4947 }
4948 Py_INCREF(Py_None); resultobj = Py_None;
4949 return resultobj;
4950 fail:
4951 return NULL;
4952 }
4953
4954
4955 static PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *, PyObject *args, PyObject *kwargs) {
4956 PyObject *resultobj;
4957 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4958 bool result;
4959 PyObject * obj0 = 0 ;
4960 char *kwnames[] = {
4961 (char *) "self", NULL
4962 };
4963
4964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsLinebreakAllowed",kwnames,&obj0)) goto fail;
4965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4967 {
4968 PyThreadState* __tstate = wxPyBeginAllowThreads();
4969 result = (bool)((wxHtmlCell const *)arg1)->IsLinebreakAllowed();
4970
4971 wxPyEndAllowThreads(__tstate);
4972 if (PyErr_Occurred()) SWIG_fail;
4973 }
4974 {
4975 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4976 }
4977 return resultobj;
4978 fail:
4979 return NULL;
4980 }
4981
4982
4983 static PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *, PyObject *args, PyObject *kwargs) {
4984 PyObject *resultobj;
4985 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4986 bool result;
4987 PyObject * obj0 = 0 ;
4988 char *kwnames[] = {
4989 (char *) "self", NULL
4990 };
4991
4992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsTerminalCell",kwnames,&obj0)) goto fail;
4993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4995 {
4996 PyThreadState* __tstate = wxPyBeginAllowThreads();
4997 result = (bool)((wxHtmlCell const *)arg1)->IsTerminalCell();
4998
4999 wxPyEndAllowThreads(__tstate);
5000 if (PyErr_Occurred()) SWIG_fail;
5001 }
5002 {
5003 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5004 }
5005 return resultobj;
5006 fail:
5007 return NULL;
5008 }
5009
5010
5011 static PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *, PyObject *args, PyObject *kwargs) {
5012 PyObject *resultobj;
5013 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5014 int arg2 ;
5015 int arg3 ;
5016 unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ;
5017 wxHtmlCell *result;
5018 PyObject * obj0 = 0 ;
5019 PyObject * obj1 = 0 ;
5020 PyObject * obj2 = 0 ;
5021 PyObject * obj3 = 0 ;
5022 char *kwnames[] = {
5023 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
5024 };
5025
5026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
5028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5029 arg2 = (int)SWIG_As_int(obj1);
5030 if (PyErr_Occurred()) SWIG_fail;
5031 arg3 = (int)SWIG_As_int(obj2);
5032 if (PyErr_Occurred()) SWIG_fail;
5033 if (obj3) {
5034 arg4 = (unsigned int)SWIG_As_unsigned_SS_int(obj3);
5035 if (PyErr_Occurred()) SWIG_fail;
5036 }
5037 {
5038 PyThreadState* __tstate = wxPyBeginAllowThreads();
5039 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->FindCellByPos(arg2,arg3,arg4);
5040
5041 wxPyEndAllowThreads(__tstate);
5042 if (PyErr_Occurred()) SWIG_fail;
5043 }
5044 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
5045 return resultobj;
5046 fail:
5047 return NULL;
5048 }
5049
5050
5051 static PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *, PyObject *args, PyObject *kwargs) {
5052 PyObject *resultobj;
5053 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5054 wxPoint result;
5055 PyObject * obj0 = 0 ;
5056 char *kwnames[] = {
5057 (char *) "self", NULL
5058 };
5059
5060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetAbsPos",kwnames,&obj0)) goto fail;
5061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
5062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5063 {
5064 PyThreadState* __tstate = wxPyBeginAllowThreads();
5065 result = ((wxHtmlCell const *)arg1)->GetAbsPos();
5066
5067 wxPyEndAllowThreads(__tstate);
5068 if (PyErr_Occurred()) SWIG_fail;
5069 }
5070 {
5071 wxPoint * resultptr;
5072 resultptr = new wxPoint((wxPoint &) result);
5073 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
5074 }
5075 return resultobj;
5076 fail:
5077 return NULL;
5078 }
5079
5080
5081 static PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *, PyObject *args, PyObject *kwargs) {
5082 PyObject *resultobj;
5083 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5084 wxHtmlCell *result;
5085 PyObject * obj0 = 0 ;
5086 char *kwnames[] = {
5087 (char *) "self", NULL
5088 };
5089
5090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstTerminal",kwnames,&obj0)) goto fail;
5091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
5092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5093 {
5094 PyThreadState* __tstate = wxPyBeginAllowThreads();
5095 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstTerminal();
5096
5097 wxPyEndAllowThreads(__tstate);
5098 if (PyErr_Occurred()) SWIG_fail;
5099 }
5100 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
5101 return resultobj;
5102 fail:
5103 return NULL;
5104 }
5105
5106
5107 static PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *, PyObject *args, PyObject *kwargs) {
5108 PyObject *resultobj;
5109 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5110 wxHtmlCell *result;
5111 PyObject * obj0 = 0 ;
5112 char *kwnames[] = {
5113 (char *) "self", NULL
5114 };
5115
5116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetLastTerminal",kwnames,&obj0)) goto fail;
5117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
5118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5119 {
5120 PyThreadState* __tstate = wxPyBeginAllowThreads();
5121 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetLastTerminal();
5122
5123 wxPyEndAllowThreads(__tstate);
5124 if (PyErr_Occurred()) SWIG_fail;
5125 }
5126 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
5127 return resultobj;
5128 fail:
5129 return NULL;
5130 }
5131
5132
5133 static PyObject *_wrap_HtmlCell_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
5134 PyObject *resultobj;
5135 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5136 unsigned int result;
5137 PyObject * obj0 = 0 ;
5138 char *kwnames[] = {
5139 (char *) "self", NULL
5140 };
5141
5142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDepth",kwnames,&obj0)) goto fail;
5143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
5144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5145 {
5146 PyThreadState* __tstate = wxPyBeginAllowThreads();
5147 result = (unsigned int)((wxHtmlCell const *)arg1)->GetDepth();
5148
5149 wxPyEndAllowThreads(__tstate);
5150 if (PyErr_Occurred()) SWIG_fail;
5151 }
5152 resultobj = SWIG_From_unsigned_SS_int((unsigned int)result);
5153 return resultobj;
5154 fail:
5155 return NULL;
5156 }
5157
5158
5159 static PyObject *_wrap_HtmlCell_IsBefore(PyObject *, PyObject *args, PyObject *kwargs) {
5160 PyObject *resultobj;
5161 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5162 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
5163 bool result;
5164 PyObject * obj0 = 0 ;
5165 PyObject * obj1 = 0 ;
5166 char *kwnames[] = {
5167 (char *) "self",(char *) "cell", NULL
5168 };
5169
5170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_IsBefore",kwnames,&obj0,&obj1)) goto fail;
5171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
5172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5173 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
5174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5175 {
5176 PyThreadState* __tstate = wxPyBeginAllowThreads();
5177 result = (bool)((wxHtmlCell const *)arg1)->IsBefore(arg2);
5178
5179 wxPyEndAllowThreads(__tstate);
5180 if (PyErr_Occurred()) SWIG_fail;
5181 }
5182 {
5183 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5184 }
5185 return resultobj;
5186 fail:
5187 return NULL;
5188 }
5189
5190
5191 static PyObject *_wrap_HtmlCell_ConvertToText(PyObject *, PyObject *args, PyObject *kwargs) {
5192 PyObject *resultobj;
5193 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5194 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
5195 wxString result;
5196 PyObject * obj0 = 0 ;
5197 PyObject * obj1 = 0 ;
5198 char *kwnames[] = {
5199 (char *) "self",(char *) "sel", NULL
5200 };
5201
5202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_ConvertToText",kwnames,&obj0,&obj1)) goto fail;
5203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
5204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5205 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlSelection,
5206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5207 {
5208 PyThreadState* __tstate = wxPyBeginAllowThreads();
5209 result = ((wxHtmlCell const *)arg1)->ConvertToText(arg2);
5210
5211 wxPyEndAllowThreads(__tstate);
5212 if (PyErr_Occurred()) SWIG_fail;
5213 }
5214 {
5215 #if wxUSE_UNICODE
5216 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5217 #else
5218 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5219 #endif
5220 }
5221 return resultobj;
5222 fail:
5223 return NULL;
5224 }
5225
5226
5227 static PyObject * HtmlCell_swigregister(PyObject *, PyObject *args) {
5228 PyObject *obj;
5229 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5230 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlCell, obj);
5231 Py_INCREF(obj);
5232 return Py_BuildValue((char *)"");
5233 }
5234 static PyObject *_wrap_new_HtmlWordCell(PyObject *, PyObject *args, PyObject *kwargs) {
5235 PyObject *resultobj;
5236 wxString *arg1 = 0 ;
5237 wxDC *arg2 = 0 ;
5238 wxHtmlWordCell *result;
5239 bool temp1 = False ;
5240 PyObject * obj0 = 0 ;
5241 PyObject * obj1 = 0 ;
5242 char *kwnames[] = {
5243 (char *) "word",(char *) "dc", NULL
5244 };
5245
5246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlWordCell",kwnames,&obj0,&obj1)) goto fail;
5247 {
5248 arg1 = wxString_in_helper(obj0);
5249 if (arg1 == NULL) SWIG_fail;
5250 temp1 = True;
5251 }
5252 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5253 SWIG_POINTER_EXCEPTION | 0)) == -1)
5254 SWIG_fail;
5255 if (arg2 == NULL) {
5256 PyErr_SetString(PyExc_TypeError,"null reference");
5257 SWIG_fail;
5258 }
5259 {
5260 PyThreadState* __tstate = wxPyBeginAllowThreads();
5261 result = (wxHtmlWordCell *)new wxHtmlWordCell((wxString const &)*arg1,*arg2);
5262
5263 wxPyEndAllowThreads(__tstate);
5264 if (PyErr_Occurred()) SWIG_fail;
5265 }
5266 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWordCell, 1);
5267 {
5268 if (temp1)
5269 delete arg1;
5270 }
5271 return resultobj;
5272 fail:
5273 {
5274 if (temp1)
5275 delete arg1;
5276 }
5277 return NULL;
5278 }
5279
5280
5281 static PyObject * HtmlWordCell_swigregister(PyObject *, PyObject *args) {
5282 PyObject *obj;
5283 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5284 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWordCell, obj);
5285 Py_INCREF(obj);
5286 return Py_BuildValue((char *)"");
5287 }
5288 static PyObject *_wrap_new_HtmlContainerCell(PyObject *, PyObject *args, PyObject *kwargs) {
5289 PyObject *resultobj;
5290 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5291 wxHtmlContainerCell *result;
5292 PyObject * obj0 = 0 ;
5293 char *kwnames[] = {
5294 (char *) "parent", NULL
5295 };
5296
5297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlContainerCell",kwnames,&obj0)) goto fail;
5298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5300 {
5301 PyThreadState* __tstate = wxPyBeginAllowThreads();
5302 result = (wxHtmlContainerCell *)new wxHtmlContainerCell(arg1);
5303
5304 wxPyEndAllowThreads(__tstate);
5305 if (PyErr_Occurred()) SWIG_fail;
5306 }
5307 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 1);
5308 return resultobj;
5309 fail:
5310 return NULL;
5311 }
5312
5313
5314 static PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *, PyObject *args, PyObject *kwargs) {
5315 PyObject *resultobj;
5316 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5317 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
5318 PyObject * obj0 = 0 ;
5319 PyObject * obj1 = 0 ;
5320 char *kwnames[] = {
5321 (char *) "self",(char *) "cell", NULL
5322 };
5323
5324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_InsertCell",kwnames,&obj0,&obj1)) goto fail;
5325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5327 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
5328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5329 {
5330 PyThreadState* __tstate = wxPyBeginAllowThreads();
5331 (arg1)->InsertCell(arg2);
5332
5333 wxPyEndAllowThreads(__tstate);
5334 if (PyErr_Occurred()) SWIG_fail;
5335 }
5336 Py_INCREF(Py_None); resultobj = Py_None;
5337 return resultobj;
5338 fail:
5339 return NULL;
5340 }
5341
5342
5343 static PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *, PyObject *args, PyObject *kwargs) {
5344 PyObject *resultobj;
5345 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5346 int arg2 ;
5347 PyObject * obj0 = 0 ;
5348 PyObject * obj1 = 0 ;
5349 char *kwnames[] = {
5350 (char *) "self",(char *) "al", NULL
5351 };
5352
5353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames,&obj0,&obj1)) goto fail;
5354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5356 arg2 = (int)SWIG_As_int(obj1);
5357 if (PyErr_Occurred()) SWIG_fail;
5358 {
5359 PyThreadState* __tstate = wxPyBeginAllowThreads();
5360 (arg1)->SetAlignHor(arg2);
5361
5362 wxPyEndAllowThreads(__tstate);
5363 if (PyErr_Occurred()) SWIG_fail;
5364 }
5365 Py_INCREF(Py_None); resultobj = Py_None;
5366 return resultobj;
5367 fail:
5368 return NULL;
5369 }
5370
5371
5372 static PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *, PyObject *args, PyObject *kwargs) {
5373 PyObject *resultobj;
5374 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5375 int result;
5376 PyObject * obj0 = 0 ;
5377 char *kwnames[] = {
5378 (char *) "self", NULL
5379 };
5380
5381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignHor",kwnames,&obj0)) goto fail;
5382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5384 {
5385 PyThreadState* __tstate = wxPyBeginAllowThreads();
5386 result = (int)(arg1)->GetAlignHor();
5387
5388 wxPyEndAllowThreads(__tstate);
5389 if (PyErr_Occurred()) SWIG_fail;
5390 }
5391 resultobj = SWIG_From_int((int)result);
5392 return resultobj;
5393 fail:
5394 return NULL;
5395 }
5396
5397
5398 static PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *, PyObject *args, PyObject *kwargs) {
5399 PyObject *resultobj;
5400 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5401 int arg2 ;
5402 PyObject * obj0 = 0 ;
5403 PyObject * obj1 = 0 ;
5404 char *kwnames[] = {
5405 (char *) "self",(char *) "al", NULL
5406 };
5407
5408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames,&obj0,&obj1)) goto fail;
5409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5411 arg2 = (int)SWIG_As_int(obj1);
5412 if (PyErr_Occurred()) SWIG_fail;
5413 {
5414 PyThreadState* __tstate = wxPyBeginAllowThreads();
5415 (arg1)->SetAlignVer(arg2);
5416
5417 wxPyEndAllowThreads(__tstate);
5418 if (PyErr_Occurred()) SWIG_fail;
5419 }
5420 Py_INCREF(Py_None); resultobj = Py_None;
5421 return resultobj;
5422 fail:
5423 return NULL;
5424 }
5425
5426
5427 static PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *, PyObject *args, PyObject *kwargs) {
5428 PyObject *resultobj;
5429 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5430 int result;
5431 PyObject * obj0 = 0 ;
5432 char *kwnames[] = {
5433 (char *) "self", NULL
5434 };
5435
5436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignVer",kwnames,&obj0)) goto fail;
5437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5439 {
5440 PyThreadState* __tstate = wxPyBeginAllowThreads();
5441 result = (int)(arg1)->GetAlignVer();
5442
5443 wxPyEndAllowThreads(__tstate);
5444 if (PyErr_Occurred()) SWIG_fail;
5445 }
5446 resultobj = SWIG_From_int((int)result);
5447 return resultobj;
5448 fail:
5449 return NULL;
5450 }
5451
5452
5453 static PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
5454 PyObject *resultobj;
5455 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5456 int arg2 ;
5457 int arg3 ;
5458 int arg4 = (int) wxHTML_UNITS_PIXELS ;
5459 PyObject * obj0 = 0 ;
5460 PyObject * obj1 = 0 ;
5461 PyObject * obj2 = 0 ;
5462 PyObject * obj3 = 0 ;
5463 char *kwnames[] = {
5464 (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
5465 };
5466
5467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5470 arg2 = (int)SWIG_As_int(obj1);
5471 if (PyErr_Occurred()) SWIG_fail;
5472 arg3 = (int)SWIG_As_int(obj2);
5473 if (PyErr_Occurred()) SWIG_fail;
5474 if (obj3) {
5475 arg4 = (int)SWIG_As_int(obj3);
5476 if (PyErr_Occurred()) SWIG_fail;
5477 }
5478 {
5479 PyThreadState* __tstate = wxPyBeginAllowThreads();
5480 (arg1)->SetIndent(arg2,arg3,arg4);
5481
5482 wxPyEndAllowThreads(__tstate);
5483 if (PyErr_Occurred()) SWIG_fail;
5484 }
5485 Py_INCREF(Py_None); resultobj = Py_None;
5486 return resultobj;
5487 fail:
5488 return NULL;
5489 }
5490
5491
5492 static PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
5493 PyObject *resultobj;
5494 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5495 int arg2 ;
5496 int result;
5497 PyObject * obj0 = 0 ;
5498 PyObject * obj1 = 0 ;
5499 char *kwnames[] = {
5500 (char *) "self",(char *) "ind", NULL
5501 };
5502
5503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndent",kwnames,&obj0,&obj1)) goto fail;
5504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5506 arg2 = (int)SWIG_As_int(obj1);
5507 if (PyErr_Occurred()) SWIG_fail;
5508 {
5509 PyThreadState* __tstate = wxPyBeginAllowThreads();
5510 result = (int)(arg1)->GetIndent(arg2);
5511
5512 wxPyEndAllowThreads(__tstate);
5513 if (PyErr_Occurred()) SWIG_fail;
5514 }
5515 resultobj = SWIG_From_int((int)result);
5516 return resultobj;
5517 fail:
5518 return NULL;
5519 }
5520
5521
5522 static PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *, PyObject *args, PyObject *kwargs) {
5523 PyObject *resultobj;
5524 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5525 int arg2 ;
5526 int result;
5527 PyObject * obj0 = 0 ;
5528 PyObject * obj1 = 0 ;
5529 char *kwnames[] = {
5530 (char *) "self",(char *) "ind", NULL
5531 };
5532
5533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames,&obj0,&obj1)) goto fail;
5534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5536 arg2 = (int)SWIG_As_int(obj1);
5537 if (PyErr_Occurred()) SWIG_fail;
5538 {
5539 PyThreadState* __tstate = wxPyBeginAllowThreads();
5540 result = (int)(arg1)->GetIndentUnits(arg2);
5541
5542 wxPyEndAllowThreads(__tstate);
5543 if (PyErr_Occurred()) SWIG_fail;
5544 }
5545 resultobj = SWIG_From_int((int)result);
5546 return resultobj;
5547 fail:
5548 return NULL;
5549 }
5550
5551
5552 static PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
5553 PyObject *resultobj;
5554 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5555 wxHtmlTag *arg2 = 0 ;
5556 PyObject * obj0 = 0 ;
5557 PyObject * obj1 = 0 ;
5558 char *kwnames[] = {
5559 (char *) "self",(char *) "tag", NULL
5560 };
5561
5562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlign",kwnames,&obj0,&obj1)) goto fail;
5563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5565 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag,
5566 SWIG_POINTER_EXCEPTION | 0)) == -1)
5567 SWIG_fail;
5568 if (arg2 == NULL) {
5569 PyErr_SetString(PyExc_TypeError,"null reference");
5570 SWIG_fail;
5571 }
5572 {
5573 PyThreadState* __tstate = wxPyBeginAllowThreads();
5574 (arg1)->SetAlign((wxHtmlTag const &)*arg2);
5575
5576 wxPyEndAllowThreads(__tstate);
5577 if (PyErr_Occurred()) SWIG_fail;
5578 }
5579 Py_INCREF(Py_None); resultobj = Py_None;
5580 return resultobj;
5581 fail:
5582 return NULL;
5583 }
5584
5585
5586 static PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *, PyObject *args, PyObject *kwargs) {
5587 PyObject *resultobj;
5588 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5589 int arg2 ;
5590 int arg3 ;
5591 PyObject * obj0 = 0 ;
5592 PyObject * obj1 = 0 ;
5593 PyObject * obj2 = 0 ;
5594 char *kwnames[] = {
5595 (char *) "self",(char *) "w",(char *) "units", NULL
5596 };
5597
5598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
5599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5601 arg2 = (int)SWIG_As_int(obj1);
5602 if (PyErr_Occurred()) SWIG_fail;
5603 arg3 = (int)SWIG_As_int(obj2);
5604 if (PyErr_Occurred()) SWIG_fail;
5605 {
5606 PyThreadState* __tstate = wxPyBeginAllowThreads();
5607 (arg1)->SetWidthFloat(arg2,arg3);
5608
5609 wxPyEndAllowThreads(__tstate);
5610 if (PyErr_Occurred()) SWIG_fail;
5611 }
5612 Py_INCREF(Py_None); resultobj = Py_None;
5613 return resultobj;
5614 fail:
5615 return NULL;
5616 }
5617
5618
5619 static PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *, PyObject *args, PyObject *kwargs) {
5620 PyObject *resultobj;
5621 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5622 wxHtmlTag *arg2 = 0 ;
5623 PyObject * obj0 = 0 ;
5624 PyObject * obj1 = 0 ;
5625 char *kwnames[] = {
5626 (char *) "self",(char *) "tag", NULL
5627 };
5628
5629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames,&obj0,&obj1)) goto fail;
5630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5632 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag,
5633 SWIG_POINTER_EXCEPTION | 0)) == -1)
5634 SWIG_fail;
5635 if (arg2 == NULL) {
5636 PyErr_SetString(PyExc_TypeError,"null reference");
5637 SWIG_fail;
5638 }
5639 {
5640 PyThreadState* __tstate = wxPyBeginAllowThreads();
5641 (arg1)->SetWidthFloat((wxHtmlTag const &)*arg2);
5642
5643 wxPyEndAllowThreads(__tstate);
5644 if (PyErr_Occurred()) SWIG_fail;
5645 }
5646 Py_INCREF(Py_None); resultobj = Py_None;
5647 return resultobj;
5648 fail:
5649 return NULL;
5650 }
5651
5652
5653 static PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
5654 PyObject *resultobj;
5655 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5656 int arg2 ;
5657 int arg3 = (int) wxHTML_ALIGN_TOP ;
5658 PyObject * obj0 = 0 ;
5659 PyObject * obj1 = 0 ;
5660 PyObject * obj2 = 0 ;
5661 char *kwnames[] = {
5662 (char *) "self",(char *) "h",(char *) "align", NULL
5663 };
5664
5665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames,&obj0,&obj1,&obj2)) goto fail;
5666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5668 arg2 = (int)SWIG_As_int(obj1);
5669 if (PyErr_Occurred()) SWIG_fail;
5670 if (obj2) {
5671 arg3 = (int)SWIG_As_int(obj2);
5672 if (PyErr_Occurred()) SWIG_fail;
5673 }
5674 {
5675 PyThreadState* __tstate = wxPyBeginAllowThreads();
5676 (arg1)->SetMinHeight(arg2,arg3);
5677
5678 wxPyEndAllowThreads(__tstate);
5679 if (PyErr_Occurred()) SWIG_fail;
5680 }
5681 Py_INCREF(Py_None); resultobj = Py_None;
5682 return resultobj;
5683 fail:
5684 return NULL;
5685 }
5686
5687
5688 static PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
5689 PyObject *resultobj;
5690 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5691 wxColour *arg2 = 0 ;
5692 wxColour temp2 ;
5693 PyObject * obj0 = 0 ;
5694 PyObject * obj1 = 0 ;
5695 char *kwnames[] = {
5696 (char *) "self",(char *) "clr", NULL
5697 };
5698
5699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
5700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5702 {
5703 arg2 = &temp2;
5704 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5705 }
5706 {
5707 PyThreadState* __tstate = wxPyBeginAllowThreads();
5708 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
5709
5710 wxPyEndAllowThreads(__tstate);
5711 if (PyErr_Occurred()) SWIG_fail;
5712 }
5713 Py_INCREF(Py_None); resultobj = Py_None;
5714 return resultobj;
5715 fail:
5716 return NULL;
5717 }
5718
5719
5720 static PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
5721 PyObject *resultobj;
5722 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5723 wxColour result;
5724 PyObject * obj0 = 0 ;
5725 char *kwnames[] = {
5726 (char *) "self", NULL
5727 };
5728
5729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetBackgroundColour",kwnames,&obj0)) goto fail;
5730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5732 {
5733 PyThreadState* __tstate = wxPyBeginAllowThreads();
5734 result = (arg1)->GetBackgroundColour();
5735
5736 wxPyEndAllowThreads(__tstate);
5737 if (PyErr_Occurred()) SWIG_fail;
5738 }
5739 {
5740 wxColour * resultptr;
5741 resultptr = new wxColour((wxColour &) result);
5742 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
5743 }
5744 return resultobj;
5745 fail:
5746 return NULL;
5747 }
5748
5749
5750 static PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *, PyObject *args, PyObject *kwargs) {
5751 PyObject *resultobj;
5752 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5753 wxColour *arg2 = 0 ;
5754 wxColour *arg3 = 0 ;
5755 wxColour temp2 ;
5756 wxColour temp3 ;
5757 PyObject * obj0 = 0 ;
5758 PyObject * obj1 = 0 ;
5759 PyObject * obj2 = 0 ;
5760 char *kwnames[] = {
5761 (char *) "self",(char *) "clr1",(char *) "clr2", NULL
5762 };
5763
5764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
5765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5767 {
5768 arg2 = &temp2;
5769 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5770 }
5771 {
5772 arg3 = &temp3;
5773 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5774 }
5775 {
5776 PyThreadState* __tstate = wxPyBeginAllowThreads();
5777 (arg1)->SetBorder((wxColour const &)*arg2,(wxColour const &)*arg3);
5778
5779 wxPyEndAllowThreads(__tstate);
5780 if (PyErr_Occurred()) SWIG_fail;
5781 }
5782 Py_INCREF(Py_None); resultobj = Py_None;
5783 return resultobj;
5784 fail:
5785 return NULL;
5786 }
5787
5788
5789 static PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
5790 PyObject *resultobj;
5791 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5792 wxHtmlCell *result;
5793 PyObject * obj0 = 0 ;
5794 char *kwnames[] = {
5795 (char *) "self", NULL
5796 };
5797
5798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetFirstChild",kwnames,&obj0)) goto fail;
5799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5801 {
5802 PyThreadState* __tstate = wxPyBeginAllowThreads();
5803 result = (wxHtmlCell *)(arg1)->GetFirstChild();
5804
5805 wxPyEndAllowThreads(__tstate);
5806 if (PyErr_Occurred()) SWIG_fail;
5807 }
5808 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
5809 return resultobj;
5810 fail:
5811 return NULL;
5812 }
5813
5814
5815 static PyObject * HtmlContainerCell_swigregister(PyObject *, PyObject *args) {
5816 PyObject *obj;
5817 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5818 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContainerCell, obj);
5819 Py_INCREF(obj);
5820 return Py_BuildValue((char *)"");
5821 }
5822 static PyObject *_wrap_new_HtmlColourCell(PyObject *, PyObject *args, PyObject *kwargs) {
5823 PyObject *resultobj;
5824 wxColour arg1 ;
5825 int arg2 = (int) wxHTML_CLR_FOREGROUND ;
5826 wxHtmlColourCell *result;
5827 wxColour *argp1 ;
5828 PyObject * obj0 = 0 ;
5829 PyObject * obj1 = 0 ;
5830 char *kwnames[] = {
5831 (char *) "clr",(char *) "flags", NULL
5832 };
5833
5834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlColourCell",kwnames,&obj0,&obj1)) goto fail;
5835 if ((SWIG_ConvertPtr(obj0,(void **)(&argp1),SWIGTYPE_p_wxColour,
5836 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5837 arg1 = *argp1;
5838 if (obj1) {
5839 arg2 = (int)SWIG_As_int(obj1);
5840 if (PyErr_Occurred()) SWIG_fail;
5841 }
5842 {
5843 PyThreadState* __tstate = wxPyBeginAllowThreads();
5844 result = (wxHtmlColourCell *)new wxHtmlColourCell(arg1,arg2);
5845
5846 wxPyEndAllowThreads(__tstate);
5847 if (PyErr_Occurred()) SWIG_fail;
5848 }
5849 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlColourCell, 1);
5850 return resultobj;
5851 fail:
5852 return NULL;
5853 }
5854
5855
5856 static PyObject * HtmlColourCell_swigregister(PyObject *, PyObject *args) {
5857 PyObject *obj;
5858 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5859 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlColourCell, obj);
5860 Py_INCREF(obj);
5861 return Py_BuildValue((char *)"");
5862 }
5863 static PyObject *_wrap_new_HtmlFontCell(PyObject *, PyObject *args, PyObject *kwargs) {
5864 PyObject *resultobj;
5865 wxFont *arg1 = (wxFont *) 0 ;
5866 wxHtmlFontCell *result;
5867 PyObject * obj0 = 0 ;
5868 char *kwnames[] = {
5869 (char *) "font", NULL
5870 };
5871
5872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlFontCell",kwnames,&obj0)) goto fail;
5873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
5874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5875 {
5876 PyThreadState* __tstate = wxPyBeginAllowThreads();
5877 result = (wxHtmlFontCell *)new wxHtmlFontCell(arg1);
5878
5879 wxPyEndAllowThreads(__tstate);
5880 if (PyErr_Occurred()) SWIG_fail;
5881 }
5882 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlFontCell, 1);
5883 return resultobj;
5884 fail:
5885 return NULL;
5886 }
5887
5888
5889 static PyObject * HtmlFontCell_swigregister(PyObject *, PyObject *args) {
5890 PyObject *obj;
5891 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5892 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlFontCell, obj);
5893 Py_INCREF(obj);
5894 return Py_BuildValue((char *)"");
5895 }
5896 static PyObject *_wrap_new_HtmlWidgetCell(PyObject *, PyObject *args, PyObject *kwargs) {
5897 PyObject *resultobj;
5898 wxWindow *arg1 = (wxWindow *) 0 ;
5899 int arg2 = (int) 0 ;
5900 wxHtmlWidgetCell *result;
5901 PyObject * obj0 = 0 ;
5902 PyObject * obj1 = 0 ;
5903 char *kwnames[] = {
5904 (char *) "wnd",(char *) "w", NULL
5905 };
5906
5907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlWidgetCell",kwnames,&obj0,&obj1)) goto fail;
5908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5910 if (obj1) {
5911 arg2 = (int)SWIG_As_int(obj1);
5912 if (PyErr_Occurred()) SWIG_fail;
5913 }
5914 {
5915 PyThreadState* __tstate = wxPyBeginAllowThreads();
5916 result = (wxHtmlWidgetCell *)new wxHtmlWidgetCell(arg1,arg2);
5917
5918 wxPyEndAllowThreads(__tstate);
5919 if (PyErr_Occurred()) SWIG_fail;
5920 }
5921 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWidgetCell, 1);
5922 return resultobj;
5923 fail:
5924 return NULL;
5925 }
5926
5927
5928 static PyObject * HtmlWidgetCell_swigregister(PyObject *, PyObject *args) {
5929 PyObject *obj;
5930 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5931 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWidgetCell, obj);
5932 Py_INCREF(obj);
5933 return Py_BuildValue((char *)"");
5934 }
5935 static PyObject *_wrap_new_HtmlFilter(PyObject *, PyObject *args, PyObject *kwargs) {
5936 PyObject *resultobj;
5937 wxPyHtmlFilter *result;
5938 char *kwnames[] = {
5939 NULL
5940 };
5941
5942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlFilter",kwnames)) goto fail;
5943 {
5944 PyThreadState* __tstate = wxPyBeginAllowThreads();
5945 result = (wxPyHtmlFilter *)new wxPyHtmlFilter();
5946
5947 wxPyEndAllowThreads(__tstate);
5948 if (PyErr_Occurred()) SWIG_fail;
5949 }
5950 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlFilter, 1);
5951 return resultobj;
5952 fail:
5953 return NULL;
5954 }
5955
5956
5957 static PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
5958 PyObject *resultobj;
5959 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
5960 PyObject *arg2 = (PyObject *) 0 ;
5961 PyObject *arg3 = (PyObject *) 0 ;
5962 PyObject * obj0 = 0 ;
5963 PyObject * obj1 = 0 ;
5964 PyObject * obj2 = 0 ;
5965 char *kwnames[] = {
5966 (char *) "self",(char *) "self",(char *) "_class", NULL
5967 };
5968
5969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlFilter,
5971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5972 arg2 = obj1;
5973 arg3 = obj2;
5974 {
5975 PyThreadState* __tstate = wxPyBeginAllowThreads();
5976 (arg1)->_setCallbackInfo(arg2,arg3);
5977
5978 wxPyEndAllowThreads(__tstate);
5979 if (PyErr_Occurred()) SWIG_fail;
5980 }
5981 Py_INCREF(Py_None); resultobj = Py_None;
5982 return resultobj;
5983 fail:
5984 return NULL;
5985 }
5986
5987
5988 static PyObject * HtmlFilter_swigregister(PyObject *, PyObject *args) {
5989 PyObject *obj;
5990 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5991 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlFilter, obj);
5992 Py_INCREF(obj);
5993 return Py_BuildValue((char *)"");
5994 }
5995 static PyObject *_wrap_new_HtmlWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5996 PyObject *resultobj;
5997 wxWindow *arg1 = (wxWindow *) 0 ;
5998 int arg2 = (int) -1 ;
5999 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6000 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6001 wxSize const &arg4_defvalue = wxDefaultSize ;
6002 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6003 int arg5 = (int) wxHW_DEFAULT_STYLE ;
6004 wxString const &arg6_defvalue = wxPyHtmlWindowNameStr ;
6005 wxString *arg6 = (wxString *) &arg6_defvalue ;
6006 wxPyHtmlWindow *result;
6007 wxPoint temp3 ;
6008 wxSize temp4 ;
6009 bool temp6 = False ;
6010 PyObject * obj0 = 0 ;
6011 PyObject * obj1 = 0 ;
6012 PyObject * obj2 = 0 ;
6013 PyObject * obj3 = 0 ;
6014 PyObject * obj4 = 0 ;
6015 PyObject * obj5 = 0 ;
6016 char *kwnames[] = {
6017 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6018 };
6019
6020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6023 if (obj1) {
6024 arg2 = (int)SWIG_As_int(obj1);
6025 if (PyErr_Occurred()) SWIG_fail;
6026 }
6027 if (obj2) {
6028 {
6029 arg3 = &temp3;
6030 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6031 }
6032 }
6033 if (obj3) {
6034 {
6035 arg4 = &temp4;
6036 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6037 }
6038 }
6039 if (obj4) {
6040 arg5 = (int)SWIG_As_int(obj4);
6041 if (PyErr_Occurred()) SWIG_fail;
6042 }
6043 if (obj5) {
6044 {
6045 arg6 = wxString_in_helper(obj5);
6046 if (arg6 == NULL) SWIG_fail;
6047 temp6 = True;
6048 }
6049 }
6050 {
6051 if (!wxPyCheckForApp()) SWIG_fail;
6052 PyThreadState* __tstate = wxPyBeginAllowThreads();
6053 result = (wxPyHtmlWindow *)new wxPyHtmlWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6054
6055 wxPyEndAllowThreads(__tstate);
6056 if (PyErr_Occurred()) SWIG_fail;
6057 }
6058 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWindow, 1);
6059 {
6060 if (temp6)
6061 delete arg6;
6062 }
6063 return resultobj;
6064 fail:
6065 {
6066 if (temp6)
6067 delete arg6;
6068 }
6069 return NULL;
6070 }
6071
6072
6073 static PyObject *_wrap_new_PreHtmlWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6074 PyObject *resultobj;
6075 wxPyHtmlWindow *result;
6076 char *kwnames[] = {
6077 NULL
6078 };
6079
6080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlWindow",kwnames)) goto fail;
6081 {
6082 if (!wxPyCheckForApp()) SWIG_fail;
6083 PyThreadState* __tstate = wxPyBeginAllowThreads();
6084 result = (wxPyHtmlWindow *)new wxPyHtmlWindow();
6085
6086 wxPyEndAllowThreads(__tstate);
6087 if (PyErr_Occurred()) SWIG_fail;
6088 }
6089 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWindow, 1);
6090 return resultobj;
6091 fail:
6092 return NULL;
6093 }
6094
6095
6096 static PyObject *_wrap_HtmlWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6097 PyObject *resultobj;
6098 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6099 wxWindow *arg2 = (wxWindow *) 0 ;
6100 int arg3 = (int) -1 ;
6101 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6102 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6103 wxSize const &arg5_defvalue = wxDefaultSize ;
6104 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6105 int arg6 = (int) wxHW_SCROLLBAR_AUTO ;
6106 wxString const &arg7_defvalue = wxPyHtmlWindowNameStr ;
6107 wxString *arg7 = (wxString *) &arg7_defvalue ;
6108 bool result;
6109 wxPoint temp4 ;
6110 wxSize temp5 ;
6111 bool temp7 = False ;
6112 PyObject * obj0 = 0 ;
6113 PyObject * obj1 = 0 ;
6114 PyObject * obj2 = 0 ;
6115 PyObject * obj3 = 0 ;
6116 PyObject * obj4 = 0 ;
6117 PyObject * obj5 = 0 ;
6118 PyObject * obj6 = 0 ;
6119 char *kwnames[] = {
6120 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6121 };
6122
6123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6126 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6128 if (obj2) {
6129 arg3 = (int)SWIG_As_int(obj2);
6130 if (PyErr_Occurred()) SWIG_fail;
6131 }
6132 if (obj3) {
6133 {
6134 arg4 = &temp4;
6135 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6136 }
6137 }
6138 if (obj4) {
6139 {
6140 arg5 = &temp5;
6141 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6142 }
6143 }
6144 if (obj5) {
6145 arg6 = (int)SWIG_As_int(obj5);
6146 if (PyErr_Occurred()) SWIG_fail;
6147 }
6148 if (obj6) {
6149 {
6150 arg7 = wxString_in_helper(obj6);
6151 if (arg7 == NULL) SWIG_fail;
6152 temp7 = True;
6153 }
6154 }
6155 {
6156 PyThreadState* __tstate = wxPyBeginAllowThreads();
6157 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6158
6159 wxPyEndAllowThreads(__tstate);
6160 if (PyErr_Occurred()) SWIG_fail;
6161 }
6162 {
6163 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6164 }
6165 {
6166 if (temp7)
6167 delete arg7;
6168 }
6169 return resultobj;
6170 fail:
6171 {
6172 if (temp7)
6173 delete arg7;
6174 }
6175 return NULL;
6176 }
6177
6178
6179 static PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
6180 PyObject *resultobj;
6181 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6182 PyObject *arg2 = (PyObject *) 0 ;
6183 PyObject *arg3 = (PyObject *) 0 ;
6184 PyObject * obj0 = 0 ;
6185 PyObject * obj1 = 0 ;
6186 PyObject * obj2 = 0 ;
6187 char *kwnames[] = {
6188 (char *) "self",(char *) "self",(char *) "_class", NULL
6189 };
6190
6191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
6192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6194 arg2 = obj1;
6195 arg3 = obj2;
6196 {
6197 PyThreadState* __tstate = wxPyBeginAllowThreads();
6198 (arg1)->_setCallbackInfo(arg2,arg3);
6199
6200 wxPyEndAllowThreads(__tstate);
6201 if (PyErr_Occurred()) SWIG_fail;
6202 }
6203 Py_INCREF(Py_None); resultobj = Py_None;
6204 return resultobj;
6205 fail:
6206 return NULL;
6207 }
6208
6209
6210 static PyObject *_wrap_HtmlWindow_SetPage(PyObject *, PyObject *args, PyObject *kwargs) {
6211 PyObject *resultobj;
6212 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6213 wxString *arg2 = 0 ;
6214 bool result;
6215 bool temp2 = False ;
6216 PyObject * obj0 = 0 ;
6217 PyObject * obj1 = 0 ;
6218 char *kwnames[] = {
6219 (char *) "self",(char *) "source", NULL
6220 };
6221
6222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetPage",kwnames,&obj0,&obj1)) goto fail;
6223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6225 {
6226 arg2 = wxString_in_helper(obj1);
6227 if (arg2 == NULL) SWIG_fail;
6228 temp2 = True;
6229 }
6230 {
6231 PyThreadState* __tstate = wxPyBeginAllowThreads();
6232 result = (bool)(arg1)->SetPage((wxString const &)*arg2);
6233
6234 wxPyEndAllowThreads(__tstate);
6235 if (PyErr_Occurred()) SWIG_fail;
6236 }
6237 {
6238 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6239 }
6240 {
6241 if (temp2)
6242 delete arg2;
6243 }
6244 return resultobj;
6245 fail:
6246 {
6247 if (temp2)
6248 delete arg2;
6249 }
6250 return NULL;
6251 }
6252
6253
6254 static PyObject *_wrap_HtmlWindow_LoadPage(PyObject *, PyObject *args, PyObject *kwargs) {
6255 PyObject *resultobj;
6256 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6257 wxString *arg2 = 0 ;
6258 bool result;
6259 bool temp2 = False ;
6260 PyObject * obj0 = 0 ;
6261 PyObject * obj1 = 0 ;
6262 char *kwnames[] = {
6263 (char *) "self",(char *) "location", NULL
6264 };
6265
6266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadPage",kwnames,&obj0,&obj1)) goto fail;
6267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6269 {
6270 arg2 = wxString_in_helper(obj1);
6271 if (arg2 == NULL) SWIG_fail;
6272 temp2 = True;
6273 }
6274 {
6275 PyThreadState* __tstate = wxPyBeginAllowThreads();
6276 result = (bool)(arg1)->LoadPage((wxString const &)*arg2);
6277
6278 wxPyEndAllowThreads(__tstate);
6279 if (PyErr_Occurred()) SWIG_fail;
6280 }
6281 {
6282 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6283 }
6284 {
6285 if (temp2)
6286 delete arg2;
6287 }
6288 return resultobj;
6289 fail:
6290 {
6291 if (temp2)
6292 delete arg2;
6293 }
6294 return NULL;
6295 }
6296
6297
6298 static PyObject *_wrap_HtmlWindow_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
6299 PyObject *resultobj;
6300 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6301 wxString *arg2 = 0 ;
6302 bool result;
6303 bool temp2 = False ;
6304 PyObject * obj0 = 0 ;
6305 PyObject * obj1 = 0 ;
6306 char *kwnames[] = {
6307 (char *) "self",(char *) "filename", NULL
6308 };
6309
6310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadFile",kwnames,&obj0,&obj1)) goto fail;
6311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6313 {
6314 arg2 = wxString_in_helper(obj1);
6315 if (arg2 == NULL) SWIG_fail;
6316 temp2 = True;
6317 }
6318 {
6319 PyThreadState* __tstate = wxPyBeginAllowThreads();
6320 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
6321
6322 wxPyEndAllowThreads(__tstate);
6323 if (PyErr_Occurred()) SWIG_fail;
6324 }
6325 {
6326 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6327 }
6328 {
6329 if (temp2)
6330 delete arg2;
6331 }
6332 return resultobj;
6333 fail:
6334 {
6335 if (temp2)
6336 delete arg2;
6337 }
6338 return NULL;
6339 }
6340
6341
6342 static PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *, PyObject *args, PyObject *kwargs) {
6343 PyObject *resultobj;
6344 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6345 wxString *arg2 = 0 ;
6346 bool result;
6347 bool temp2 = False ;
6348 PyObject * obj0 = 0 ;
6349 PyObject * obj1 = 0 ;
6350 char *kwnames[] = {
6351 (char *) "self",(char *) "source", NULL
6352 };
6353
6354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_AppendToPage",kwnames,&obj0,&obj1)) goto fail;
6355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6357 {
6358 arg2 = wxString_in_helper(obj1);
6359 if (arg2 == NULL) SWIG_fail;
6360 temp2 = True;
6361 }
6362 {
6363 PyThreadState* __tstate = wxPyBeginAllowThreads();
6364 result = (bool)(arg1)->AppendToPage((wxString const &)*arg2);
6365
6366 wxPyEndAllowThreads(__tstate);
6367 if (PyErr_Occurred()) SWIG_fail;
6368 }
6369 {
6370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6371 }
6372 {
6373 if (temp2)
6374 delete arg2;
6375 }
6376 return resultobj;
6377 fail:
6378 {
6379 if (temp2)
6380 delete arg2;
6381 }
6382 return NULL;
6383 }
6384
6385
6386 static PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *, PyObject *args, PyObject *kwargs) {
6387 PyObject *resultobj;
6388 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6389 wxString result;
6390 PyObject * obj0 = 0 ;
6391 char *kwnames[] = {
6392 (char *) "self", NULL
6393 };
6394
6395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPage",kwnames,&obj0)) goto fail;
6396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6398 {
6399 PyThreadState* __tstate = wxPyBeginAllowThreads();
6400 result = (arg1)->GetOpenedPage();
6401
6402 wxPyEndAllowThreads(__tstate);
6403 if (PyErr_Occurred()) SWIG_fail;
6404 }
6405 {
6406 #if wxUSE_UNICODE
6407 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6408 #else
6409 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6410 #endif
6411 }
6412 return resultobj;
6413 fail:
6414 return NULL;
6415 }
6416
6417
6418 static PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
6419 PyObject *resultobj;
6420 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6421 wxString result;
6422 PyObject * obj0 = 0 ;
6423 char *kwnames[] = {
6424 (char *) "self", NULL
6425 };
6426
6427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedAnchor",kwnames,&obj0)) goto fail;
6428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6430 {
6431 PyThreadState* __tstate = wxPyBeginAllowThreads();
6432 result = (arg1)->GetOpenedAnchor();
6433
6434 wxPyEndAllowThreads(__tstate);
6435 if (PyErr_Occurred()) SWIG_fail;
6436 }
6437 {
6438 #if wxUSE_UNICODE
6439 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6440 #else
6441 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6442 #endif
6443 }
6444 return resultobj;
6445 fail:
6446 return NULL;
6447 }
6448
6449
6450 static PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *, PyObject *args, PyObject *kwargs) {
6451 PyObject *resultobj;
6452 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6453 wxString result;
6454 PyObject * obj0 = 0 ;
6455 char *kwnames[] = {
6456 (char *) "self", NULL
6457 };
6458
6459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPageTitle",kwnames,&obj0)) goto fail;
6460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6462 {
6463 PyThreadState* __tstate = wxPyBeginAllowThreads();
6464 result = (arg1)->GetOpenedPageTitle();
6465
6466 wxPyEndAllowThreads(__tstate);
6467 if (PyErr_Occurred()) SWIG_fail;
6468 }
6469 {
6470 #if wxUSE_UNICODE
6471 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6472 #else
6473 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6474 #endif
6475 }
6476 return resultobj;
6477 fail:
6478 return NULL;
6479 }
6480
6481
6482 static PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *, PyObject *args, PyObject *kwargs) {
6483 PyObject *resultobj;
6484 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6485 wxFrame *arg2 = (wxFrame *) 0 ;
6486 wxString *arg3 = 0 ;
6487 bool temp3 = False ;
6488 PyObject * obj0 = 0 ;
6489 PyObject * obj1 = 0 ;
6490 PyObject * obj2 = 0 ;
6491 char *kwnames[] = {
6492 (char *) "self",(char *) "frame",(char *) "format", NULL
6493 };
6494
6495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
6496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6498 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
6499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6500 {
6501 arg3 = wxString_in_helper(obj2);
6502 if (arg3 == NULL) SWIG_fail;
6503 temp3 = True;
6504 }
6505 {
6506 PyThreadState* __tstate = wxPyBeginAllowThreads();
6507 (arg1)->SetRelatedFrame(arg2,(wxString const &)*arg3);
6508
6509 wxPyEndAllowThreads(__tstate);
6510 if (PyErr_Occurred()) SWIG_fail;
6511 }
6512 Py_INCREF(Py_None); resultobj = Py_None;
6513 {
6514 if (temp3)
6515 delete arg3;
6516 }
6517 return resultobj;
6518 fail:
6519 {
6520 if (temp3)
6521 delete arg3;
6522 }
6523 return NULL;
6524 }
6525
6526
6527 static PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *, PyObject *args, PyObject *kwargs) {
6528 PyObject *resultobj;
6529 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6530 wxFrame *result;
6531 PyObject * obj0 = 0 ;
6532 char *kwnames[] = {
6533 (char *) "self", NULL
6534 };
6535
6536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetRelatedFrame",kwnames,&obj0)) goto fail;
6537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6539 {
6540 PyThreadState* __tstate = wxPyBeginAllowThreads();
6541 result = (wxFrame *)(arg1)->GetRelatedFrame();
6542
6543 wxPyEndAllowThreads(__tstate);
6544 if (PyErr_Occurred()) SWIG_fail;
6545 }
6546 {
6547 resultobj = wxPyMake_wxObject(result, 0);
6548 }
6549 return resultobj;
6550 fail:
6551 return NULL;
6552 }
6553
6554
6555 static PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
6556 PyObject *resultobj;
6557 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6558 int arg2 ;
6559 PyObject * obj0 = 0 ;
6560 PyObject * obj1 = 0 ;
6561 char *kwnames[] = {
6562 (char *) "self",(char *) "bar", NULL
6563 };
6564
6565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames,&obj0,&obj1)) goto fail;
6566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6568 arg2 = (int)SWIG_As_int(obj1);
6569 if (PyErr_Occurred()) SWIG_fail;
6570 {
6571 PyThreadState* __tstate = wxPyBeginAllowThreads();
6572 (arg1)->SetRelatedStatusBar(arg2);
6573
6574 wxPyEndAllowThreads(__tstate);
6575 if (PyErr_Occurred()) SWIG_fail;
6576 }
6577 Py_INCREF(Py_None); resultobj = Py_None;
6578 return resultobj;
6579 fail:
6580 return NULL;
6581 }
6582
6583
6584 static PyObject *_wrap_HtmlWindow_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
6585 PyObject *resultobj;
6586 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6587 wxString arg2 ;
6588 wxString arg3 ;
6589 PyObject *arg4 = (PyObject *) NULL ;
6590 PyObject * obj0 = 0 ;
6591 PyObject * obj1 = 0 ;
6592 PyObject * obj2 = 0 ;
6593 PyObject * obj3 = 0 ;
6594 char *kwnames[] = {
6595 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
6596 };
6597
6598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6601 {
6602 wxString* sptr = wxString_in_helper(obj1);
6603 if (sptr == NULL) SWIG_fail;
6604 arg2 = *sptr;
6605 delete sptr;
6606 }
6607 {
6608 wxString* sptr = wxString_in_helper(obj2);
6609 if (sptr == NULL) SWIG_fail;
6610 arg3 = *sptr;
6611 delete sptr;
6612 }
6613 if (obj3) {
6614 arg4 = obj3;
6615 }
6616 {
6617 PyThreadState* __tstate = wxPyBeginAllowThreads();
6618 wxPyHtmlWindow_SetFonts(arg1,arg2,arg3,arg4);
6619
6620 wxPyEndAllowThreads(__tstate);
6621 if (PyErr_Occurred()) SWIG_fail;
6622 }
6623 Py_INCREF(Py_None); resultobj = Py_None;
6624 return resultobj;
6625 fail:
6626 return NULL;
6627 }
6628
6629
6630 static PyObject *_wrap_HtmlWindow_NormalizeFontSizes(PyObject *, PyObject *args, PyObject *kwargs) {
6631 PyObject *resultobj;
6632 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6633 int arg2 = (int) -1 ;
6634 PyObject * obj0 = 0 ;
6635 PyObject * obj1 = 0 ;
6636 char *kwnames[] = {
6637 (char *) "self",(char *) "size", NULL
6638 };
6639
6640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HtmlWindow_NormalizeFontSizes",kwnames,&obj0,&obj1)) goto fail;
6641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6643 if (obj1) {
6644 arg2 = (int)SWIG_As_int(obj1);
6645 if (PyErr_Occurred()) SWIG_fail;
6646 }
6647 {
6648 PyThreadState* __tstate = wxPyBeginAllowThreads();
6649 (arg1)->NormalizeFontSizes(arg2);
6650
6651 wxPyEndAllowThreads(__tstate);
6652 if (PyErr_Occurred()) SWIG_fail;
6653 }
6654 Py_INCREF(Py_None); resultobj = Py_None;
6655 return resultobj;
6656 fail:
6657 return NULL;
6658 }
6659
6660
6661 static PyObject *_wrap_HtmlWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
6662 PyObject *resultobj;
6663 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6664 wxString *arg2 = 0 ;
6665 bool temp2 = False ;
6666 PyObject * obj0 = 0 ;
6667 PyObject * obj1 = 0 ;
6668 char *kwnames[] = {
6669 (char *) "self",(char *) "title", NULL
6670 };
6671
6672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
6673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6675 {
6676 arg2 = wxString_in_helper(obj1);
6677 if (arg2 == NULL) SWIG_fail;
6678 temp2 = True;
6679 }
6680 {
6681 PyThreadState* __tstate = wxPyBeginAllowThreads();
6682 (arg1)->SetTitle((wxString const &)*arg2);
6683
6684 wxPyEndAllowThreads(__tstate);
6685 if (PyErr_Occurred()) SWIG_fail;
6686 }
6687 Py_INCREF(Py_None); resultobj = Py_None;
6688 {
6689 if (temp2)
6690 delete arg2;
6691 }
6692 return resultobj;
6693 fail:
6694 {
6695 if (temp2)
6696 delete arg2;
6697 }
6698 return NULL;
6699 }
6700
6701
6702 static PyObject *_wrap_HtmlWindow_SetBorders(PyObject *, PyObject *args, PyObject *kwargs) {
6703 PyObject *resultobj;
6704 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6705 int arg2 ;
6706 PyObject * obj0 = 0 ;
6707 PyObject * obj1 = 0 ;
6708 char *kwnames[] = {
6709 (char *) "self",(char *) "b", NULL
6710 };
6711
6712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBorders",kwnames,&obj0,&obj1)) goto fail;
6713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6715 arg2 = (int)SWIG_As_int(obj1);
6716 if (PyErr_Occurred()) SWIG_fail;
6717 {
6718 PyThreadState* __tstate = wxPyBeginAllowThreads();
6719 (arg1)->SetBorders(arg2);
6720
6721 wxPyEndAllowThreads(__tstate);
6722 if (PyErr_Occurred()) SWIG_fail;
6723 }
6724 Py_INCREF(Py_None); resultobj = Py_None;
6725 return resultobj;
6726 fail:
6727 return NULL;
6728 }
6729
6730
6731 static PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
6732 PyObject *resultobj;
6733 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6734 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
6735 wxString arg3 = (wxString) wxPyEmptyString ;
6736 PyObject * obj0 = 0 ;
6737 PyObject * obj1 = 0 ;
6738 PyObject * obj2 = 0 ;
6739 char *kwnames[] = {
6740 (char *) "self",(char *) "cfg",(char *) "path", NULL
6741 };
6742
6743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
6744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6746 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
6747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6748 if (obj2) {
6749 {
6750 wxString* sptr = wxString_in_helper(obj2);
6751 if (sptr == NULL) SWIG_fail;
6752 arg3 = *sptr;
6753 delete sptr;
6754 }
6755 }
6756 {
6757 PyThreadState* __tstate = wxPyBeginAllowThreads();
6758 (arg1)->ReadCustomization(arg2,arg3);
6759
6760 wxPyEndAllowThreads(__tstate);
6761 if (PyErr_Occurred()) SWIG_fail;
6762 }
6763 Py_INCREF(Py_None); resultobj = Py_None;
6764 return resultobj;
6765 fail:
6766 return NULL;
6767 }
6768
6769
6770 static PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
6771 PyObject *resultobj;
6772 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6773 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
6774 wxString arg3 = (wxString) wxPyEmptyString ;
6775 PyObject * obj0 = 0 ;
6776 PyObject * obj1 = 0 ;
6777 PyObject * obj2 = 0 ;
6778 char *kwnames[] = {
6779 (char *) "self",(char *) "cfg",(char *) "path", NULL
6780 };
6781
6782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
6783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6785 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
6786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6787 if (obj2) {
6788 {
6789 wxString* sptr = wxString_in_helper(obj2);
6790 if (sptr == NULL) SWIG_fail;
6791 arg3 = *sptr;
6792 delete sptr;
6793 }
6794 }
6795 {
6796 PyThreadState* __tstate = wxPyBeginAllowThreads();
6797 (arg1)->WriteCustomization(arg2,arg3);
6798
6799 wxPyEndAllowThreads(__tstate);
6800 if (PyErr_Occurred()) SWIG_fail;
6801 }
6802 Py_INCREF(Py_None); resultobj = Py_None;
6803 return resultobj;
6804 fail:
6805 return NULL;
6806 }
6807
6808
6809 static PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *, PyObject *args, PyObject *kwargs) {
6810 PyObject *resultobj;
6811 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6812 bool result;
6813 PyObject * obj0 = 0 ;
6814 char *kwnames[] = {
6815 (char *) "self", NULL
6816 };
6817
6818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryBack",kwnames,&obj0)) goto fail;
6819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6821 {
6822 PyThreadState* __tstate = wxPyBeginAllowThreads();
6823 result = (bool)(arg1)->HistoryBack();
6824
6825 wxPyEndAllowThreads(__tstate);
6826 if (PyErr_Occurred()) SWIG_fail;
6827 }
6828 {
6829 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6830 }
6831 return resultobj;
6832 fail:
6833 return NULL;
6834 }
6835
6836
6837 static PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *, PyObject *args, PyObject *kwargs) {
6838 PyObject *resultobj;
6839 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6840 bool result;
6841 PyObject * obj0 = 0 ;
6842 char *kwnames[] = {
6843 (char *) "self", NULL
6844 };
6845
6846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryForward",kwnames,&obj0)) goto fail;
6847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6849 {
6850 PyThreadState* __tstate = wxPyBeginAllowThreads();
6851 result = (bool)(arg1)->HistoryForward();
6852
6853 wxPyEndAllowThreads(__tstate);
6854 if (PyErr_Occurred()) SWIG_fail;
6855 }
6856 {
6857 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6858 }
6859 return resultobj;
6860 fail:
6861 return NULL;
6862 }
6863
6864
6865 static PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *, PyObject *args, PyObject *kwargs) {
6866 PyObject *resultobj;
6867 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6868 bool result;
6869 PyObject * obj0 = 0 ;
6870 char *kwnames[] = {
6871 (char *) "self", NULL
6872 };
6873
6874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanBack",kwnames,&obj0)) goto fail;
6875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6877 {
6878 PyThreadState* __tstate = wxPyBeginAllowThreads();
6879 result = (bool)(arg1)->HistoryCanBack();
6880
6881 wxPyEndAllowThreads(__tstate);
6882 if (PyErr_Occurred()) SWIG_fail;
6883 }
6884 {
6885 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6886 }
6887 return resultobj;
6888 fail:
6889 return NULL;
6890 }
6891
6892
6893 static PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *, PyObject *args, PyObject *kwargs) {
6894 PyObject *resultobj;
6895 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6896 bool result;
6897 PyObject * obj0 = 0 ;
6898 char *kwnames[] = {
6899 (char *) "self", NULL
6900 };
6901
6902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanForward",kwnames,&obj0)) goto fail;
6903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6905 {
6906 PyThreadState* __tstate = wxPyBeginAllowThreads();
6907 result = (bool)(arg1)->HistoryCanForward();
6908
6909 wxPyEndAllowThreads(__tstate);
6910 if (PyErr_Occurred()) SWIG_fail;
6911 }
6912 {
6913 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6914 }
6915 return resultobj;
6916 fail:
6917 return NULL;
6918 }
6919
6920
6921 static PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *, PyObject *args, PyObject *kwargs) {
6922 PyObject *resultobj;
6923 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6924 PyObject * obj0 = 0 ;
6925 char *kwnames[] = {
6926 (char *) "self", NULL
6927 };
6928
6929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryClear",kwnames,&obj0)) goto fail;
6930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6932 {
6933 PyThreadState* __tstate = wxPyBeginAllowThreads();
6934 (arg1)->HistoryClear();
6935
6936 wxPyEndAllowThreads(__tstate);
6937 if (PyErr_Occurred()) SWIG_fail;
6938 }
6939 Py_INCREF(Py_None); resultobj = Py_None;
6940 return resultobj;
6941 fail:
6942 return NULL;
6943 }
6944
6945
6946 static PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *, PyObject *args, PyObject *kwargs) {
6947 PyObject *resultobj;
6948 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6949 wxHtmlContainerCell *result;
6950 PyObject * obj0 = 0 ;
6951 char *kwnames[] = {
6952 (char *) "self", NULL
6953 };
6954
6955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetInternalRepresentation",kwnames,&obj0)) goto fail;
6956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6958 {
6959 PyThreadState* __tstate = wxPyBeginAllowThreads();
6960 result = (wxHtmlContainerCell *)(arg1)->GetInternalRepresentation();
6961
6962 wxPyEndAllowThreads(__tstate);
6963 if (PyErr_Occurred()) SWIG_fail;
6964 }
6965 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
6966 return resultobj;
6967 fail:
6968 return NULL;
6969 }
6970
6971
6972 static PyObject *_wrap_HtmlWindow_GetParser(PyObject *, PyObject *args, PyObject *kwargs) {
6973 PyObject *resultobj;
6974 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6975 wxHtmlWinParser *result;
6976 PyObject * obj0 = 0 ;
6977 char *kwnames[] = {
6978 (char *) "self", NULL
6979 };
6980
6981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetParser",kwnames,&obj0)) goto fail;
6982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6984 {
6985 PyThreadState* __tstate = wxPyBeginAllowThreads();
6986 result = (wxHtmlWinParser *)(arg1)->GetParser();
6987
6988 wxPyEndAllowThreads(__tstate);
6989 if (PyErr_Occurred()) SWIG_fail;
6990 }
6991 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0);
6992 return resultobj;
6993 fail:
6994 return NULL;
6995 }
6996
6997
6998 static PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
6999 PyObject *resultobj;
7000 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7001 wxString *arg2 = 0 ;
7002 bool result;
7003 bool temp2 = False ;
7004 PyObject * obj0 = 0 ;
7005 PyObject * obj1 = 0 ;
7006 char *kwnames[] = {
7007 (char *) "self",(char *) "anchor", NULL
7008 };
7009
7010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames,&obj0,&obj1)) goto fail;
7011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7013 {
7014 arg2 = wxString_in_helper(obj1);
7015 if (arg2 == NULL) SWIG_fail;
7016 temp2 = True;
7017 }
7018 {
7019 PyThreadState* __tstate = wxPyBeginAllowThreads();
7020 result = (bool)(arg1)->ScrollToAnchor((wxString const &)*arg2);
7021
7022 wxPyEndAllowThreads(__tstate);
7023 if (PyErr_Occurred()) SWIG_fail;
7024 }
7025 {
7026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7027 }
7028 {
7029 if (temp2)
7030 delete arg2;
7031 }
7032 return resultobj;
7033 fail:
7034 {
7035 if (temp2)
7036 delete arg2;
7037 }
7038 return NULL;
7039 }
7040
7041
7042 static PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
7043 PyObject *resultobj;
7044 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7045 wxString *arg2 = 0 ;
7046 bool result;
7047 bool temp2 = False ;
7048 PyObject * obj0 = 0 ;
7049 PyObject * obj1 = 0 ;
7050 char *kwnames[] = {
7051 (char *) "self",(char *) "anchor", NULL
7052 };
7053
7054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_HasAnchor",kwnames,&obj0,&obj1)) goto fail;
7055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7057 {
7058 arg2 = wxString_in_helper(obj1);
7059 if (arg2 == NULL) SWIG_fail;
7060 temp2 = True;
7061 }
7062 {
7063 PyThreadState* __tstate = wxPyBeginAllowThreads();
7064 result = (bool)(arg1)->HasAnchor((wxString const &)*arg2);
7065
7066 wxPyEndAllowThreads(__tstate);
7067 if (PyErr_Occurred()) SWIG_fail;
7068 }
7069 {
7070 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7071 }
7072 {
7073 if (temp2)
7074 delete arg2;
7075 }
7076 return resultobj;
7077 fail:
7078 {
7079 if (temp2)
7080 delete arg2;
7081 }
7082 return NULL;
7083 }
7084
7085
7086 static PyObject *_wrap_HtmlWindow_AddFilter(PyObject *, PyObject *args, PyObject *kwargs) {
7087 PyObject *resultobj;
7088 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
7089 PyObject * obj0 = 0 ;
7090 char *kwnames[] = {
7091 (char *) "filter", NULL
7092 };
7093
7094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_AddFilter",kwnames,&obj0)) goto fail;
7095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlFilter,
7096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7097 {
7098 PyThreadState* __tstate = wxPyBeginAllowThreads();
7099 wxPyHtmlWindow::AddFilter(arg1);
7100
7101 wxPyEndAllowThreads(__tstate);
7102 if (PyErr_Occurred()) SWIG_fail;
7103 }
7104 Py_INCREF(Py_None); resultobj = Py_None;
7105 return resultobj;
7106 fail:
7107 return NULL;
7108 }
7109
7110
7111 static PyObject *_wrap_HtmlWindow_SelectWord(PyObject *, PyObject *args, PyObject *kwargs) {
7112 PyObject *resultobj;
7113 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7114 wxPoint *arg2 = 0 ;
7115 wxPoint temp2 ;
7116 PyObject * obj0 = 0 ;
7117 PyObject * obj1 = 0 ;
7118 char *kwnames[] = {
7119 (char *) "self",(char *) "pos", NULL
7120 };
7121
7122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectWord",kwnames,&obj0,&obj1)) goto fail;
7123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7125 {
7126 arg2 = &temp2;
7127 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
7128 }
7129 {
7130 PyThreadState* __tstate = wxPyBeginAllowThreads();
7131 (arg1)->SelectWord((wxPoint const &)*arg2);
7132
7133 wxPyEndAllowThreads(__tstate);
7134 if (PyErr_Occurred()) SWIG_fail;
7135 }
7136 Py_INCREF(Py_None); resultobj = Py_None;
7137 return resultobj;
7138 fail:
7139 return NULL;
7140 }
7141
7142
7143 static PyObject *_wrap_HtmlWindow_SelectLine(PyObject *, PyObject *args, PyObject *kwargs) {
7144 PyObject *resultobj;
7145 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7146 wxPoint *arg2 = 0 ;
7147 wxPoint temp2 ;
7148 PyObject * obj0 = 0 ;
7149 PyObject * obj1 = 0 ;
7150 char *kwnames[] = {
7151 (char *) "self",(char *) "pos", NULL
7152 };
7153
7154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectLine",kwnames,&obj0,&obj1)) goto fail;
7155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7157 {
7158 arg2 = &temp2;
7159 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
7160 }
7161 {
7162 PyThreadState* __tstate = wxPyBeginAllowThreads();
7163 (arg1)->SelectLine((wxPoint const &)*arg2);
7164
7165 wxPyEndAllowThreads(__tstate);
7166 if (PyErr_Occurred()) SWIG_fail;
7167 }
7168 Py_INCREF(Py_None); resultobj = Py_None;
7169 return resultobj;
7170 fail:
7171 return NULL;
7172 }
7173
7174
7175 static PyObject *_wrap_HtmlWindow_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
7176 PyObject *resultobj;
7177 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7178 PyObject * obj0 = 0 ;
7179 char *kwnames[] = {
7180 (char *) "self", NULL
7181 };
7182
7183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_SelectAll",kwnames,&obj0)) goto fail;
7184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7186 {
7187 PyThreadState* __tstate = wxPyBeginAllowThreads();
7188 (arg1)->SelectAll();
7189
7190 wxPyEndAllowThreads(__tstate);
7191 if (PyErr_Occurred()) SWIG_fail;
7192 }
7193 Py_INCREF(Py_None); resultobj = Py_None;
7194 return resultobj;
7195 fail:
7196 return NULL;
7197 }
7198
7199
7200 static PyObject *_wrap_HtmlWindow_SelectionToText(PyObject *, PyObject *args, PyObject *kwargs) {
7201 PyObject *resultobj;
7202 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7203 wxString result;
7204 PyObject * obj0 = 0 ;
7205 char *kwnames[] = {
7206 (char *) "self", NULL
7207 };
7208
7209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_SelectionToText",kwnames,&obj0)) goto fail;
7210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7212 {
7213 PyThreadState* __tstate = wxPyBeginAllowThreads();
7214 result = (arg1)->SelectionToText();
7215
7216 wxPyEndAllowThreads(__tstate);
7217 if (PyErr_Occurred()) SWIG_fail;
7218 }
7219 {
7220 #if wxUSE_UNICODE
7221 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7222 #else
7223 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7224 #endif
7225 }
7226 return resultobj;
7227 fail:
7228 return NULL;
7229 }
7230
7231
7232 static PyObject *_wrap_HtmlWindow_ToText(PyObject *, PyObject *args, PyObject *kwargs) {
7233 PyObject *resultobj;
7234 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7235 wxString result;
7236 PyObject * obj0 = 0 ;
7237 char *kwnames[] = {
7238 (char *) "self", NULL
7239 };
7240
7241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_ToText",kwnames,&obj0)) goto fail;
7242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7244 {
7245 PyThreadState* __tstate = wxPyBeginAllowThreads();
7246 result = (arg1)->ToText();
7247
7248 wxPyEndAllowThreads(__tstate);
7249 if (PyErr_Occurred()) SWIG_fail;
7250 }
7251 {
7252 #if wxUSE_UNICODE
7253 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7254 #else
7255 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7256 #endif
7257 }
7258 return resultobj;
7259 fail:
7260 return NULL;
7261 }
7262
7263
7264 static PyObject *_wrap_HtmlWindow_base_OnLinkClicked(PyObject *, PyObject *args, PyObject *kwargs) {
7265 PyObject *resultobj;
7266 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7267 wxHtmlLinkInfo *arg2 = 0 ;
7268 PyObject * obj0 = 0 ;
7269 PyObject * obj1 = 0 ;
7270 char *kwnames[] = {
7271 (char *) "self",(char *) "link", NULL
7272 };
7273
7274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnLinkClicked",kwnames,&obj0,&obj1)) goto fail;
7275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7277 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlLinkInfo,
7278 SWIG_POINTER_EXCEPTION | 0)) == -1)
7279 SWIG_fail;
7280 if (arg2 == NULL) {
7281 PyErr_SetString(PyExc_TypeError,"null reference");
7282 SWIG_fail;
7283 }
7284 {
7285 PyThreadState* __tstate = wxPyBeginAllowThreads();
7286 (arg1)->base_OnLinkClicked((wxHtmlLinkInfo const &)*arg2);
7287
7288 wxPyEndAllowThreads(__tstate);
7289 if (PyErr_Occurred()) SWIG_fail;
7290 }
7291 Py_INCREF(Py_None); resultobj = Py_None;
7292 return resultobj;
7293 fail:
7294 return NULL;
7295 }
7296
7297
7298 static PyObject *_wrap_HtmlWindow_base_OnSetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
7299 PyObject *resultobj;
7300 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7301 wxString *arg2 = 0 ;
7302 bool temp2 = False ;
7303 PyObject * obj0 = 0 ;
7304 PyObject * obj1 = 0 ;
7305 char *kwnames[] = {
7306 (char *) "self",(char *) "title", NULL
7307 };
7308
7309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnSetTitle",kwnames,&obj0,&obj1)) goto fail;
7310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7312 {
7313 arg2 = wxString_in_helper(obj1);
7314 if (arg2 == NULL) SWIG_fail;
7315 temp2 = True;
7316 }
7317 {
7318 PyThreadState* __tstate = wxPyBeginAllowThreads();
7319 (arg1)->base_OnSetTitle((wxString const &)*arg2);
7320
7321 wxPyEndAllowThreads(__tstate);
7322 if (PyErr_Occurred()) SWIG_fail;
7323 }
7324 Py_INCREF(Py_None); resultobj = Py_None;
7325 {
7326 if (temp2)
7327 delete arg2;
7328 }
7329 return resultobj;
7330 fail:
7331 {
7332 if (temp2)
7333 delete arg2;
7334 }
7335 return NULL;
7336 }
7337
7338
7339 static PyObject *_wrap_HtmlWindow_base_OnCellMouseHover(PyObject *, PyObject *args, PyObject *kwargs) {
7340 PyObject *resultobj;
7341 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7342 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
7343 int arg3 ;
7344 int arg4 ;
7345 PyObject * obj0 = 0 ;
7346 PyObject * obj1 = 0 ;
7347 PyObject * obj2 = 0 ;
7348 PyObject * obj3 = 0 ;
7349 char *kwnames[] = {
7350 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
7351 };
7352
7353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_base_OnCellMouseHover",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7356 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
7357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7358 arg3 = (int)SWIG_As_int(obj2);
7359 if (PyErr_Occurred()) SWIG_fail;
7360 arg4 = (int)SWIG_As_int(obj3);
7361 if (PyErr_Occurred()) SWIG_fail;
7362 {
7363 PyThreadState* __tstate = wxPyBeginAllowThreads();
7364 (arg1)->base_OnCellMouseHover(arg2,arg3,arg4);
7365
7366 wxPyEndAllowThreads(__tstate);
7367 if (PyErr_Occurred()) SWIG_fail;
7368 }
7369 Py_INCREF(Py_None); resultobj = Py_None;
7370 return resultobj;
7371 fail:
7372 return NULL;
7373 }
7374
7375
7376 static PyObject *_wrap_HtmlWindow_base_OnCellClicked(PyObject *, PyObject *args, PyObject *kwargs) {
7377 PyObject *resultobj;
7378 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7379 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
7380 int arg3 ;
7381 int arg4 ;
7382 wxMouseEvent *arg5 = 0 ;
7383 PyObject * obj0 = 0 ;
7384 PyObject * obj1 = 0 ;
7385 PyObject * obj2 = 0 ;
7386 PyObject * obj3 = 0 ;
7387 PyObject * obj4 = 0 ;
7388 char *kwnames[] = {
7389 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
7390 };
7391
7392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlWindow_base_OnCellClicked",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
7393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7395 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
7396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7397 arg3 = (int)SWIG_As_int(obj2);
7398 if (PyErr_Occurred()) SWIG_fail;
7399 arg4 = (int)SWIG_As_int(obj3);
7400 if (PyErr_Occurred()) SWIG_fail;
7401 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxMouseEvent,
7402 SWIG_POINTER_EXCEPTION | 0)) == -1)
7403 SWIG_fail;
7404 if (arg5 == NULL) {
7405 PyErr_SetString(PyExc_TypeError,"null reference");
7406 SWIG_fail;
7407 }
7408 {
7409 PyThreadState* __tstate = wxPyBeginAllowThreads();
7410 (arg1)->base_OnCellClicked(arg2,arg3,arg4,(wxMouseEvent const &)*arg5);
7411
7412 wxPyEndAllowThreads(__tstate);
7413 if (PyErr_Occurred()) SWIG_fail;
7414 }
7415 Py_INCREF(Py_None); resultobj = Py_None;
7416 return resultobj;
7417 fail:
7418 return NULL;
7419 }
7420
7421
7422 static PyObject *_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7423 PyObject *resultobj;
7424 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
7425 wxVisualAttributes result;
7426 PyObject * obj0 = 0 ;
7427 char *kwnames[] = {
7428 (char *) "variant", NULL
7429 };
7430
7431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7432 if (obj0) {
7433 arg1 = (int)SWIG_As_int(obj0);
7434 if (PyErr_Occurred()) SWIG_fail;
7435 }
7436 {
7437 if (!wxPyCheckForApp()) SWIG_fail;
7438 PyThreadState* __tstate = wxPyBeginAllowThreads();
7439 result = wxPyHtmlWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
7440
7441 wxPyEndAllowThreads(__tstate);
7442 if (PyErr_Occurred()) SWIG_fail;
7443 }
7444 {
7445 wxVisualAttributes * resultptr;
7446 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
7447 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7448 }
7449 return resultobj;
7450 fail:
7451 return NULL;
7452 }
7453
7454
7455 static PyObject * HtmlWindow_swigregister(PyObject *, PyObject *args) {
7456 PyObject *obj;
7457 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7458 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWindow, obj);
7459 Py_INCREF(obj);
7460 return Py_BuildValue((char *)"");
7461 }
7462 static PyObject *_wrap_new_HtmlDCRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
7463 PyObject *resultobj;
7464 wxHtmlDCRenderer *result;
7465 char *kwnames[] = {
7466 NULL
7467 };
7468
7469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlDCRenderer",kwnames)) goto fail;
7470 {
7471 if (!wxPyCheckForApp()) SWIG_fail;
7472 PyThreadState* __tstate = wxPyBeginAllowThreads();
7473 result = (wxHtmlDCRenderer *)new wxHtmlDCRenderer();
7474
7475 wxPyEndAllowThreads(__tstate);
7476 if (PyErr_Occurred()) SWIG_fail;
7477 }
7478 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlDCRenderer, 1);
7479 return resultobj;
7480 fail:
7481 return NULL;
7482 }
7483
7484
7485 static PyObject *_wrap_delete_HtmlDCRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
7486 PyObject *resultobj;
7487 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7488 PyObject * obj0 = 0 ;
7489 char *kwnames[] = {
7490 (char *) "self", NULL
7491 };
7492
7493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlDCRenderer",kwnames,&obj0)) goto fail;
7494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7496 {
7497 PyThreadState* __tstate = wxPyBeginAllowThreads();
7498 delete arg1;
7499
7500 wxPyEndAllowThreads(__tstate);
7501 if (PyErr_Occurred()) SWIG_fail;
7502 }
7503 Py_INCREF(Py_None); resultobj = Py_None;
7504 return resultobj;
7505 fail:
7506 return NULL;
7507 }
7508
7509
7510 static PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
7511 PyObject *resultobj;
7512 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7513 wxDC *arg2 = (wxDC *) 0 ;
7514 int arg3 ;
7515 PyObject * obj0 = 0 ;
7516 PyObject * obj1 = 0 ;
7517 PyObject * obj2 = 0 ;
7518 char *kwnames[] = {
7519 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
7520 };
7521
7522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames,&obj0,&obj1,&obj2)) goto fail;
7523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7525 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
7526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7527 arg3 = (int)SWIG_As_int(obj2);
7528 if (PyErr_Occurred()) SWIG_fail;
7529 {
7530 PyThreadState* __tstate = wxPyBeginAllowThreads();
7531 (arg1)->SetDC(arg2,arg3);
7532
7533 wxPyEndAllowThreads(__tstate);
7534 if (PyErr_Occurred()) SWIG_fail;
7535 }
7536 Py_INCREF(Py_None); resultobj = Py_None;
7537 return resultobj;
7538 fail:
7539 return NULL;
7540 }
7541
7542
7543 static PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
7544 PyObject *resultobj;
7545 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7546 int arg2 ;
7547 int arg3 ;
7548 PyObject * obj0 = 0 ;
7549 PyObject * obj1 = 0 ;
7550 PyObject * obj2 = 0 ;
7551 char *kwnames[] = {
7552 (char *) "self",(char *) "width",(char *) "height", NULL
7553 };
7554
7555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
7556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7558 arg2 = (int)SWIG_As_int(obj1);
7559 if (PyErr_Occurred()) SWIG_fail;
7560 arg3 = (int)SWIG_As_int(obj2);
7561 if (PyErr_Occurred()) SWIG_fail;
7562 {
7563 PyThreadState* __tstate = wxPyBeginAllowThreads();
7564 (arg1)->SetSize(arg2,arg3);
7565
7566 wxPyEndAllowThreads(__tstate);
7567 if (PyErr_Occurred()) SWIG_fail;
7568 }
7569 Py_INCREF(Py_None); resultobj = Py_None;
7570 return resultobj;
7571 fail:
7572 return NULL;
7573 }
7574
7575
7576 static PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *, PyObject *args, PyObject *kwargs) {
7577 PyObject *resultobj;
7578 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7579 wxString *arg2 = 0 ;
7580 wxString const &arg3_defvalue = wxPyEmptyString ;
7581 wxString *arg3 = (wxString *) &arg3_defvalue ;
7582 bool arg4 = (bool) True ;
7583 bool temp2 = False ;
7584 bool temp3 = False ;
7585 PyObject * obj0 = 0 ;
7586 PyObject * obj1 = 0 ;
7587 PyObject * obj2 = 0 ;
7588 PyObject * obj3 = 0 ;
7589 char *kwnames[] = {
7590 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
7591 };
7592
7593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7596 {
7597 arg2 = wxString_in_helper(obj1);
7598 if (arg2 == NULL) SWIG_fail;
7599 temp2 = True;
7600 }
7601 if (obj2) {
7602 {
7603 arg3 = wxString_in_helper(obj2);
7604 if (arg3 == NULL) SWIG_fail;
7605 temp3 = True;
7606 }
7607 }
7608 if (obj3) {
7609 arg4 = (bool)SWIG_As_bool(obj3);
7610 if (PyErr_Occurred()) SWIG_fail;
7611 }
7612 {
7613 PyThreadState* __tstate = wxPyBeginAllowThreads();
7614 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
7615
7616 wxPyEndAllowThreads(__tstate);
7617 if (PyErr_Occurred()) SWIG_fail;
7618 }
7619 Py_INCREF(Py_None); resultobj = Py_None;
7620 {
7621 if (temp2)
7622 delete arg2;
7623 }
7624 {
7625 if (temp3)
7626 delete arg3;
7627 }
7628 return resultobj;
7629 fail:
7630 {
7631 if (temp2)
7632 delete arg2;
7633 }
7634 {
7635 if (temp3)
7636 delete arg3;
7637 }
7638 return NULL;
7639 }
7640
7641
7642 static PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
7643 PyObject *resultobj;
7644 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7645 wxString arg2 ;
7646 wxString arg3 ;
7647 PyObject *arg4 = (PyObject *) NULL ;
7648 PyObject * obj0 = 0 ;
7649 PyObject * obj1 = 0 ;
7650 PyObject * obj2 = 0 ;
7651 PyObject * obj3 = 0 ;
7652 char *kwnames[] = {
7653 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
7654 };
7655
7656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7659 {
7660 wxString* sptr = wxString_in_helper(obj1);
7661 if (sptr == NULL) SWIG_fail;
7662 arg2 = *sptr;
7663 delete sptr;
7664 }
7665 {
7666 wxString* sptr = wxString_in_helper(obj2);
7667 if (sptr == NULL) SWIG_fail;
7668 arg3 = *sptr;
7669 delete sptr;
7670 }
7671 if (obj3) {
7672 arg4 = obj3;
7673 }
7674 {
7675 PyThreadState* __tstate = wxPyBeginAllowThreads();
7676 wxHtmlDCRenderer_SetFonts(arg1,arg2,arg3,arg4);
7677
7678 wxPyEndAllowThreads(__tstate);
7679 if (PyErr_Occurred()) SWIG_fail;
7680 }
7681 Py_INCREF(Py_None); resultobj = Py_None;
7682 return resultobj;
7683 fail:
7684 return NULL;
7685 }
7686
7687
7688 static PyObject *_wrap_HtmlDCRenderer_NormalizeFontSizes(PyObject *, PyObject *args, PyObject *kwargs) {
7689 PyObject *resultobj;
7690 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7691 int arg2 = (int) -1 ;
7692 PyObject * obj0 = 0 ;
7693 PyObject * obj1 = 0 ;
7694 char *kwnames[] = {
7695 (char *) "self",(char *) "size", NULL
7696 };
7697
7698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HtmlDCRenderer_NormalizeFontSizes",kwnames,&obj0,&obj1)) goto fail;
7699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7701 if (obj1) {
7702 arg2 = (int)SWIG_As_int(obj1);
7703 if (PyErr_Occurred()) SWIG_fail;
7704 }
7705 {
7706 PyThreadState* __tstate = wxPyBeginAllowThreads();
7707 (arg1)->NormalizeFontSizes(arg2);
7708
7709 wxPyEndAllowThreads(__tstate);
7710 if (PyErr_Occurred()) SWIG_fail;
7711 }
7712 Py_INCREF(Py_None); resultobj = Py_None;
7713 return resultobj;
7714 fail:
7715 return NULL;
7716 }
7717
7718
7719 static PyObject *_wrap_HtmlDCRenderer_Render(PyObject *, PyObject *args, PyObject *kwargs) {
7720 PyObject *resultobj;
7721 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7722 int arg2 ;
7723 int arg3 ;
7724 int arg4 = (int) 0 ;
7725 int arg5 = (int) False ;
7726 int arg6 = (int) INT_MAX ;
7727 int *arg7 = (int *) NULL ;
7728 int arg8 = (int) 0 ;
7729 int result;
7730 PyObject * obj0 = 0 ;
7731 PyObject * obj1 = 0 ;
7732 PyObject * obj2 = 0 ;
7733 PyObject * obj3 = 0 ;
7734 PyObject * obj4 = 0 ;
7735 PyObject * obj5 = 0 ;
7736 PyObject * obj6 = 0 ;
7737 PyObject * obj7 = 0 ;
7738 char *kwnames[] = {
7739 (char *) "self",(char *) "x",(char *) "y",(char *) "from",(char *) "dont_render",(char *) "to",(char *) "choices",(char *) "LCOUNT", NULL
7740 };
7741
7742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:HtmlDCRenderer_Render",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7745 arg2 = (int)SWIG_As_int(obj1);
7746 if (PyErr_Occurred()) SWIG_fail;
7747 arg3 = (int)SWIG_As_int(obj2);
7748 if (PyErr_Occurred()) SWIG_fail;
7749 if (obj3) {
7750 arg4 = (int)SWIG_As_int(obj3);
7751 if (PyErr_Occurred()) SWIG_fail;
7752 }
7753 if (obj4) {
7754 arg5 = (int)SWIG_As_int(obj4);
7755 if (PyErr_Occurred()) SWIG_fail;
7756 }
7757 if (obj5) {
7758 arg6 = (int)SWIG_As_int(obj5);
7759 if (PyErr_Occurred()) SWIG_fail;
7760 }
7761 if (obj6) {
7762 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_int,
7763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7764 }
7765 if (obj7) {
7766 arg8 = (int)SWIG_As_int(obj7);
7767 if (PyErr_Occurred()) SWIG_fail;
7768 }
7769 {
7770 PyThreadState* __tstate = wxPyBeginAllowThreads();
7771 result = (int)(arg1)->Render(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
7772
7773 wxPyEndAllowThreads(__tstate);
7774 if (PyErr_Occurred()) SWIG_fail;
7775 }
7776 resultobj = SWIG_From_int((int)result);
7777 return resultobj;
7778 fail:
7779 return NULL;
7780 }
7781
7782
7783 static PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *, PyObject *args, PyObject *kwargs) {
7784 PyObject *resultobj;
7785 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7786 int result;
7787 PyObject * obj0 = 0 ;
7788 char *kwnames[] = {
7789 (char *) "self", NULL
7790 };
7791
7792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlDCRenderer_GetTotalHeight",kwnames,&obj0)) goto fail;
7793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7795 {
7796 PyThreadState* __tstate = wxPyBeginAllowThreads();
7797 result = (int)(arg1)->GetTotalHeight();
7798
7799 wxPyEndAllowThreads(__tstate);
7800 if (PyErr_Occurred()) SWIG_fail;
7801 }
7802 resultobj = SWIG_From_int((int)result);
7803 return resultobj;
7804 fail:
7805 return NULL;
7806 }
7807
7808
7809 static PyObject * HtmlDCRenderer_swigregister(PyObject *, PyObject *args) {
7810 PyObject *obj;
7811 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7812 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlDCRenderer, obj);
7813 Py_INCREF(obj);
7814 return Py_BuildValue((char *)"");
7815 }
7816 static PyObject *_wrap_new_HtmlPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
7817 PyObject *resultobj;
7818 wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ;
7819 wxString *arg1 = (wxString *) &arg1_defvalue ;
7820 wxHtmlPrintout *result;
7821 bool temp1 = False ;
7822 PyObject * obj0 = 0 ;
7823 char *kwnames[] = {
7824 (char *) "title", NULL
7825 };
7826
7827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlPrintout",kwnames,&obj0)) goto fail;
7828 if (obj0) {
7829 {
7830 arg1 = wxString_in_helper(obj0);
7831 if (arg1 == NULL) SWIG_fail;
7832 temp1 = True;
7833 }
7834 }
7835 {
7836 if (!wxPyCheckForApp()) SWIG_fail;
7837 PyThreadState* __tstate = wxPyBeginAllowThreads();
7838 result = (wxHtmlPrintout *)new wxHtmlPrintout((wxString const &)*arg1);
7839
7840 wxPyEndAllowThreads(__tstate);
7841 if (PyErr_Occurred()) SWIG_fail;
7842 }
7843 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlPrintout, 1);
7844 {
7845 if (temp1)
7846 delete arg1;
7847 }
7848 return resultobj;
7849 fail:
7850 {
7851 if (temp1)
7852 delete arg1;
7853 }
7854 return NULL;
7855 }
7856
7857
7858 static PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *, PyObject *args, PyObject *kwargs) {
7859 PyObject *resultobj;
7860 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7861 wxString *arg2 = 0 ;
7862 wxString const &arg3_defvalue = wxPyEmptyString ;
7863 wxString *arg3 = (wxString *) &arg3_defvalue ;
7864 bool arg4 = (bool) True ;
7865 bool temp2 = False ;
7866 bool temp3 = False ;
7867 PyObject * obj0 = 0 ;
7868 PyObject * obj1 = 0 ;
7869 PyObject * obj2 = 0 ;
7870 PyObject * obj3 = 0 ;
7871 char *kwnames[] = {
7872 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
7873 };
7874
7875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
7877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7878 {
7879 arg2 = wxString_in_helper(obj1);
7880 if (arg2 == NULL) SWIG_fail;
7881 temp2 = True;
7882 }
7883 if (obj2) {
7884 {
7885 arg3 = wxString_in_helper(obj2);
7886 if (arg3 == NULL) SWIG_fail;
7887 temp3 = True;
7888 }
7889 }
7890 if (obj3) {
7891 arg4 = (bool)SWIG_As_bool(obj3);
7892 if (PyErr_Occurred()) SWIG_fail;
7893 }
7894 {
7895 PyThreadState* __tstate = wxPyBeginAllowThreads();
7896 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
7897
7898 wxPyEndAllowThreads(__tstate);
7899 if (PyErr_Occurred()) SWIG_fail;
7900 }
7901 Py_INCREF(Py_None); resultobj = Py_None;
7902 {
7903 if (temp2)
7904 delete arg2;
7905 }
7906 {
7907 if (temp3)
7908 delete arg3;
7909 }
7910 return resultobj;
7911 fail:
7912 {
7913 if (temp2)
7914 delete arg2;
7915 }
7916 {
7917 if (temp3)
7918 delete arg3;
7919 }
7920 return NULL;
7921 }
7922
7923
7924 static PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *, PyObject *args, PyObject *kwargs) {
7925 PyObject *resultobj;
7926 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7927 wxString *arg2 = 0 ;
7928 bool temp2 = False ;
7929 PyObject * obj0 = 0 ;
7930 PyObject * obj1 = 0 ;
7931 char *kwnames[] = {
7932 (char *) "self",(char *) "htmlfile", NULL
7933 };
7934
7935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames,&obj0,&obj1)) goto fail;
7936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
7937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7938 {
7939 arg2 = wxString_in_helper(obj1);
7940 if (arg2 == NULL) SWIG_fail;
7941 temp2 = True;
7942 }
7943 {
7944 PyThreadState* __tstate = wxPyBeginAllowThreads();
7945 (arg1)->SetHtmlFile((wxString const &)*arg2);
7946
7947 wxPyEndAllowThreads(__tstate);
7948 if (PyErr_Occurred()) SWIG_fail;
7949 }
7950 Py_INCREF(Py_None); resultobj = Py_None;
7951 {
7952 if (temp2)
7953 delete arg2;
7954 }
7955 return resultobj;
7956 fail:
7957 {
7958 if (temp2)
7959 delete arg2;
7960 }
7961 return NULL;
7962 }
7963
7964
7965 static PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *, PyObject *args, PyObject *kwargs) {
7966 PyObject *resultobj;
7967 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7968 wxString *arg2 = 0 ;
7969 int arg3 = (int) wxPAGE_ALL ;
7970 bool temp2 = False ;
7971 PyObject * obj0 = 0 ;
7972 PyObject * obj1 = 0 ;
7973 PyObject * obj2 = 0 ;
7974 char *kwnames[] = {
7975 (char *) "self",(char *) "header",(char *) "pg", NULL
7976 };
7977
7978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail;
7979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
7980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7981 {
7982 arg2 = wxString_in_helper(obj1);
7983 if (arg2 == NULL) SWIG_fail;
7984 temp2 = True;
7985 }
7986 if (obj2) {
7987 arg3 = (int)SWIG_As_int(obj2);
7988 if (PyErr_Occurred()) SWIG_fail;
7989 }
7990 {
7991 PyThreadState* __tstate = wxPyBeginAllowThreads();
7992 (arg1)->SetHeader((wxString const &)*arg2,arg3);
7993
7994 wxPyEndAllowThreads(__tstate);
7995 if (PyErr_Occurred()) SWIG_fail;
7996 }
7997 Py_INCREF(Py_None); resultobj = Py_None;
7998 {
7999 if (temp2)
8000 delete arg2;
8001 }
8002 return resultobj;
8003 fail:
8004 {
8005 if (temp2)
8006 delete arg2;
8007 }
8008 return NULL;
8009 }
8010
8011
8012 static PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *, PyObject *args, PyObject *kwargs) {
8013 PyObject *resultobj;
8014 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
8015 wxString *arg2 = 0 ;
8016 int arg3 = (int) wxPAGE_ALL ;
8017 bool temp2 = False ;
8018 PyObject * obj0 = 0 ;
8019 PyObject * obj1 = 0 ;
8020 PyObject * obj2 = 0 ;
8021 char *kwnames[] = {
8022 (char *) "self",(char *) "footer",(char *) "pg", NULL
8023 };
8024
8025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail;
8026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
8027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8028 {
8029 arg2 = wxString_in_helper(obj1);
8030 if (arg2 == NULL) SWIG_fail;
8031 temp2 = True;
8032 }
8033 if (obj2) {
8034 arg3 = (int)SWIG_As_int(obj2);
8035 if (PyErr_Occurred()) SWIG_fail;
8036 }
8037 {
8038 PyThreadState* __tstate = wxPyBeginAllowThreads();
8039 (arg1)->SetFooter((wxString const &)*arg2,arg3);
8040
8041 wxPyEndAllowThreads(__tstate);
8042 if (PyErr_Occurred()) SWIG_fail;
8043 }
8044 Py_INCREF(Py_None); resultobj = Py_None;
8045 {
8046 if (temp2)
8047 delete arg2;
8048 }
8049 return resultobj;
8050 fail:
8051 {
8052 if (temp2)
8053 delete arg2;
8054 }
8055 return NULL;
8056 }
8057
8058
8059 static PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
8060 PyObject *resultobj;
8061 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
8062 wxString arg2 ;
8063 wxString arg3 ;
8064 PyObject *arg4 = (PyObject *) NULL ;
8065 PyObject * obj0 = 0 ;
8066 PyObject * obj1 = 0 ;
8067 PyObject * obj2 = 0 ;
8068 PyObject * obj3 = 0 ;
8069 char *kwnames[] = {
8070 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
8071 };
8072
8073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
8075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8076 {
8077 wxString* sptr = wxString_in_helper(obj1);
8078 if (sptr == NULL) SWIG_fail;
8079 arg2 = *sptr;
8080 delete sptr;
8081 }
8082 {
8083 wxString* sptr = wxString_in_helper(obj2);
8084 if (sptr == NULL) SWIG_fail;
8085 arg3 = *sptr;
8086 delete sptr;
8087 }
8088 if (obj3) {
8089 arg4 = obj3;
8090 }
8091 {
8092 PyThreadState* __tstate = wxPyBeginAllowThreads();
8093 wxHtmlPrintout_SetFonts(arg1,arg2,arg3,arg4);
8094
8095 wxPyEndAllowThreads(__tstate);
8096 if (PyErr_Occurred()) SWIG_fail;
8097 }
8098 Py_INCREF(Py_None); resultobj = Py_None;
8099 return resultobj;
8100 fail:
8101 return NULL;
8102 }
8103
8104
8105 static PyObject *_wrap_HtmlPrintout_NormalizeFontSizes(PyObject *, PyObject *args, PyObject *kwargs) {
8106 PyObject *resultobj;
8107 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
8108 int arg2 = (int) -1 ;
8109 PyObject * obj0 = 0 ;
8110 PyObject * obj1 = 0 ;
8111 char *kwnames[] = {
8112 (char *) "self",(char *) "size", NULL
8113 };
8114
8115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HtmlPrintout_NormalizeFontSizes",kwnames,&obj0,&obj1)) goto fail;
8116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
8117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8118 if (obj1) {
8119 arg2 = (int)SWIG_As_int(obj1);
8120 if (PyErr_Occurred()) SWIG_fail;
8121 }
8122 {
8123 PyThreadState* __tstate = wxPyBeginAllowThreads();
8124 (arg1)->NormalizeFontSizes(arg2);
8125
8126 wxPyEndAllowThreads(__tstate);
8127 if (PyErr_Occurred()) SWIG_fail;
8128 }
8129 Py_INCREF(Py_None); resultobj = Py_None;
8130 return resultobj;
8131 fail:
8132 return NULL;
8133 }
8134
8135
8136 static PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
8137 PyObject *resultobj;
8138 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
8139 float arg2 = (float) 25.2 ;
8140 float arg3 = (float) 25.2 ;
8141 float arg4 = (float) 25.2 ;
8142 float arg5 = (float) 25.2 ;
8143 float arg6 = (float) 5 ;
8144 PyObject * obj0 = 0 ;
8145 PyObject * obj1 = 0 ;
8146 PyObject * obj2 = 0 ;
8147 PyObject * obj3 = 0 ;
8148 PyObject * obj4 = 0 ;
8149 PyObject * obj5 = 0 ;
8150 char *kwnames[] = {
8151 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
8152 };
8153
8154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
8156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8157 if (obj1) {
8158 arg2 = (float)SWIG_As_float(obj1);
8159 if (PyErr_Occurred()) SWIG_fail;
8160 }
8161 if (obj2) {
8162 arg3 = (float)SWIG_As_float(obj2);
8163 if (PyErr_Occurred()) SWIG_fail;
8164 }
8165 if (obj3) {
8166 arg4 = (float)SWIG_As_float(obj3);
8167 if (PyErr_Occurred()) SWIG_fail;
8168 }
8169 if (obj4) {
8170 arg5 = (float)SWIG_As_float(obj4);
8171 if (PyErr_Occurred()) SWIG_fail;
8172 }
8173 if (obj5) {
8174 arg6 = (float)SWIG_As_float(obj5);
8175 if (PyErr_Occurred()) SWIG_fail;
8176 }
8177 {
8178 PyThreadState* __tstate = wxPyBeginAllowThreads();
8179 (arg1)->SetMargins(arg2,arg3,arg4,arg5,arg6);
8180
8181 wxPyEndAllowThreads(__tstate);
8182 if (PyErr_Occurred()) SWIG_fail;
8183 }
8184 Py_INCREF(Py_None); resultobj = Py_None;
8185 return resultobj;
8186 fail:
8187 return NULL;
8188 }
8189
8190
8191 static PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *, PyObject *args, PyObject *kwargs) {
8192 PyObject *resultobj;
8193 wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ;
8194 PyObject * obj0 = 0 ;
8195 char *kwnames[] = {
8196 (char *) "filter", NULL
8197 };
8198
8199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlPrintout_AddFilter",kwnames,&obj0)) goto fail;
8200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlFilter,
8201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8202 {
8203 PyThreadState* __tstate = wxPyBeginAllowThreads();
8204 wxHtmlPrintout::AddFilter(arg1);
8205
8206 wxPyEndAllowThreads(__tstate);
8207 if (PyErr_Occurred()) SWIG_fail;
8208 }
8209 Py_INCREF(Py_None); resultobj = Py_None;
8210 return resultobj;
8211 fail:
8212 return NULL;
8213 }
8214
8215
8216 static PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *, PyObject *args, PyObject *kwargs) {
8217 PyObject *resultobj;
8218 char *kwnames[] = {
8219 NULL
8220 };
8221
8222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HtmlPrintout_CleanUpStatics",kwnames)) goto fail;
8223 {
8224 PyThreadState* __tstate = wxPyBeginAllowThreads();
8225 wxHtmlPrintout::CleanUpStatics();
8226
8227 wxPyEndAllowThreads(__tstate);
8228 if (PyErr_Occurred()) SWIG_fail;
8229 }
8230 Py_INCREF(Py_None); resultobj = Py_None;
8231 return resultobj;
8232 fail:
8233 return NULL;
8234 }
8235
8236
8237 static PyObject * HtmlPrintout_swigregister(PyObject *, PyObject *args) {
8238 PyObject *obj;
8239 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8240 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlPrintout, obj);
8241 Py_INCREF(obj);
8242 return Py_BuildValue((char *)"");
8243 }
8244 static PyObject *_wrap_new_HtmlEasyPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
8245 PyObject *resultobj;
8246 wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ;
8247 wxString *arg1 = (wxString *) &arg1_defvalue ;
8248 wxWindow *arg2 = (wxWindow *) NULL ;
8249 wxHtmlEasyPrinting *result;
8250 bool temp1 = False ;
8251 PyObject * obj0 = 0 ;
8252 PyObject * obj1 = 0 ;
8253 char *kwnames[] = {
8254 (char *) "name",(char *) "parentWindow", NULL
8255 };
8256
8257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlEasyPrinting",kwnames,&obj0,&obj1)) goto fail;
8258 if (obj0) {
8259 {
8260 arg1 = wxString_in_helper(obj0);
8261 if (arg1 == NULL) SWIG_fail;
8262 temp1 = True;
8263 }
8264 }
8265 if (obj1) {
8266 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8268 }
8269 {
8270 if (!wxPyCheckForApp()) SWIG_fail;
8271 PyThreadState* __tstate = wxPyBeginAllowThreads();
8272 result = (wxHtmlEasyPrinting *)new wxHtmlEasyPrinting((wxString const &)*arg1,arg2);
8273
8274 wxPyEndAllowThreads(__tstate);
8275 if (PyErr_Occurred()) SWIG_fail;
8276 }
8277 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlEasyPrinting, 1);
8278 {
8279 if (temp1)
8280 delete arg1;
8281 }
8282 return resultobj;
8283 fail:
8284 {
8285 if (temp1)
8286 delete arg1;
8287 }
8288 return NULL;
8289 }
8290
8291
8292 static PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
8293 PyObject *resultobj;
8294 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8295 PyObject * obj0 = 0 ;
8296 char *kwnames[] = {
8297 (char *) "self", NULL
8298 };
8299
8300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlEasyPrinting",kwnames,&obj0)) goto fail;
8301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8303 {
8304 PyThreadState* __tstate = wxPyBeginAllowThreads();
8305 delete arg1;
8306
8307 wxPyEndAllowThreads(__tstate);
8308 if (PyErr_Occurred()) SWIG_fail;
8309 }
8310 Py_INCREF(Py_None); resultobj = Py_None;
8311 return resultobj;
8312 fail:
8313 return NULL;
8314 }
8315
8316
8317 static PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *, PyObject *args, PyObject *kwargs) {
8318 PyObject *resultobj;
8319 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8320 wxString *arg2 = 0 ;
8321 bool temp2 = False ;
8322 PyObject * obj0 = 0 ;
8323 PyObject * obj1 = 0 ;
8324 char *kwnames[] = {
8325 (char *) "self",(char *) "htmlfile", NULL
8326 };
8327
8328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames,&obj0,&obj1)) goto fail;
8329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8331 {
8332 arg2 = wxString_in_helper(obj1);
8333 if (arg2 == NULL) SWIG_fail;
8334 temp2 = True;
8335 }
8336 {
8337 PyThreadState* __tstate = wxPyBeginAllowThreads();
8338 (arg1)->PreviewFile((wxString const &)*arg2);
8339
8340 wxPyEndAllowThreads(__tstate);
8341 if (PyErr_Occurred()) SWIG_fail;
8342 }
8343 Py_INCREF(Py_None); resultobj = Py_None;
8344 {
8345 if (temp2)
8346 delete arg2;
8347 }
8348 return resultobj;
8349 fail:
8350 {
8351 if (temp2)
8352 delete arg2;
8353 }
8354 return NULL;
8355 }
8356
8357
8358 static PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *, PyObject *args, PyObject *kwargs) {
8359 PyObject *resultobj;
8360 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8361 wxString *arg2 = 0 ;
8362 wxString const &arg3_defvalue = wxPyEmptyString ;
8363 wxString *arg3 = (wxString *) &arg3_defvalue ;
8364 bool temp2 = False ;
8365 bool temp3 = False ;
8366 PyObject * obj0 = 0 ;
8367 PyObject * obj1 = 0 ;
8368 PyObject * obj2 = 0 ;
8369 char *kwnames[] = {
8370 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
8371 };
8372
8373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames,&obj0,&obj1,&obj2)) goto fail;
8374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8376 {
8377 arg2 = wxString_in_helper(obj1);
8378 if (arg2 == NULL) SWIG_fail;
8379 temp2 = True;
8380 }
8381 if (obj2) {
8382 {
8383 arg3 = wxString_in_helper(obj2);
8384 if (arg3 == NULL) SWIG_fail;
8385 temp3 = True;
8386 }
8387 }
8388 {
8389 PyThreadState* __tstate = wxPyBeginAllowThreads();
8390 (arg1)->PreviewText((wxString const &)*arg2,(wxString const &)*arg3);
8391
8392 wxPyEndAllowThreads(__tstate);
8393 if (PyErr_Occurred()) SWIG_fail;
8394 }
8395 Py_INCREF(Py_None); resultobj = Py_None;
8396 {
8397 if (temp2)
8398 delete arg2;
8399 }
8400 {
8401 if (temp3)
8402 delete arg3;
8403 }
8404 return resultobj;
8405 fail:
8406 {
8407 if (temp2)
8408 delete arg2;
8409 }
8410 {
8411 if (temp3)
8412 delete arg3;
8413 }
8414 return NULL;
8415 }
8416
8417
8418 static PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *, PyObject *args, PyObject *kwargs) {
8419 PyObject *resultobj;
8420 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8421 wxString *arg2 = 0 ;
8422 bool temp2 = False ;
8423 PyObject * obj0 = 0 ;
8424 PyObject * obj1 = 0 ;
8425 char *kwnames[] = {
8426 (char *) "self",(char *) "htmlfile", NULL
8427 };
8428
8429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames,&obj0,&obj1)) goto fail;
8430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8432 {
8433 arg2 = wxString_in_helper(obj1);
8434 if (arg2 == NULL) SWIG_fail;
8435 temp2 = True;
8436 }
8437 {
8438 PyThreadState* __tstate = wxPyBeginAllowThreads();
8439 (arg1)->PrintFile((wxString const &)*arg2);
8440
8441 wxPyEndAllowThreads(__tstate);
8442 if (PyErr_Occurred()) SWIG_fail;
8443 }
8444 Py_INCREF(Py_None); resultobj = Py_None;
8445 {
8446 if (temp2)
8447 delete arg2;
8448 }
8449 return resultobj;
8450 fail:
8451 {
8452 if (temp2)
8453 delete arg2;
8454 }
8455 return NULL;
8456 }
8457
8458
8459 static PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *, PyObject *args, PyObject *kwargs) {
8460 PyObject *resultobj;
8461 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8462 wxString *arg2 = 0 ;
8463 wxString const &arg3_defvalue = wxPyEmptyString ;
8464 wxString *arg3 = (wxString *) &arg3_defvalue ;
8465 bool temp2 = False ;
8466 bool temp3 = False ;
8467 PyObject * obj0 = 0 ;
8468 PyObject * obj1 = 0 ;
8469 PyObject * obj2 = 0 ;
8470 char *kwnames[] = {
8471 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
8472 };
8473
8474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames,&obj0,&obj1,&obj2)) goto fail;
8475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8477 {
8478 arg2 = wxString_in_helper(obj1);
8479 if (arg2 == NULL) SWIG_fail;
8480 temp2 = True;
8481 }
8482 if (obj2) {
8483 {
8484 arg3 = wxString_in_helper(obj2);
8485 if (arg3 == NULL) SWIG_fail;
8486 temp3 = True;
8487 }
8488 }
8489 {
8490 PyThreadState* __tstate = wxPyBeginAllowThreads();
8491 (arg1)->PrintText((wxString const &)*arg2,(wxString const &)*arg3);
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 {
8502 if (temp3)
8503 delete arg3;
8504 }
8505 return resultobj;
8506 fail:
8507 {
8508 if (temp2)
8509 delete arg2;
8510 }
8511 {
8512 if (temp3)
8513 delete arg3;
8514 }
8515 return NULL;
8516 }
8517
8518
8519 static PyObject *_wrap_HtmlEasyPrinting_PrinterSetup(PyObject *, PyObject *args, PyObject *kwargs) {
8520 PyObject *resultobj;
8521 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8522 PyObject * obj0 = 0 ;
8523 char *kwnames[] = {
8524 (char *) "self", NULL
8525 };
8526
8527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PrinterSetup",kwnames,&obj0)) goto fail;
8528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8530 {
8531 PyThreadState* __tstate = wxPyBeginAllowThreads();
8532 (arg1)->PrinterSetup();
8533
8534 wxPyEndAllowThreads(__tstate);
8535 if (PyErr_Occurred()) SWIG_fail;
8536 }
8537 Py_INCREF(Py_None); resultobj = Py_None;
8538 return resultobj;
8539 fail:
8540 return NULL;
8541 }
8542
8543
8544 static PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *, PyObject *args, PyObject *kwargs) {
8545 PyObject *resultobj;
8546 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8547 PyObject * obj0 = 0 ;
8548 char *kwnames[] = {
8549 (char *) "self", NULL
8550 };
8551
8552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PageSetup",kwnames,&obj0)) goto fail;
8553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8555 {
8556 PyThreadState* __tstate = wxPyBeginAllowThreads();
8557 (arg1)->PageSetup();
8558
8559 wxPyEndAllowThreads(__tstate);
8560 if (PyErr_Occurred()) SWIG_fail;
8561 }
8562 Py_INCREF(Py_None); resultobj = Py_None;
8563 return resultobj;
8564 fail:
8565 return NULL;
8566 }
8567
8568
8569 static PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *, PyObject *args, PyObject *kwargs) {
8570 PyObject *resultobj;
8571 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8572 wxString *arg2 = 0 ;
8573 int arg3 = (int) wxPAGE_ALL ;
8574 bool temp2 = False ;
8575 PyObject * obj0 = 0 ;
8576 PyObject * obj1 = 0 ;
8577 PyObject * obj2 = 0 ;
8578 char *kwnames[] = {
8579 (char *) "self",(char *) "header",(char *) "pg", NULL
8580 };
8581
8582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames,&obj0,&obj1,&obj2)) 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 if (obj2) {
8591 arg3 = (int)SWIG_As_int(obj2);
8592 if (PyErr_Occurred()) SWIG_fail;
8593 }
8594 {
8595 PyThreadState* __tstate = wxPyBeginAllowThreads();
8596 (arg1)->SetHeader((wxString const &)*arg2,arg3);
8597
8598 wxPyEndAllowThreads(__tstate);
8599 if (PyErr_Occurred()) SWIG_fail;
8600 }
8601 Py_INCREF(Py_None); resultobj = Py_None;
8602 {
8603 if (temp2)
8604 delete arg2;
8605 }
8606 return resultobj;
8607 fail:
8608 {
8609 if (temp2)
8610 delete arg2;
8611 }
8612 return NULL;
8613 }
8614
8615
8616 static PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *, PyObject *args, PyObject *kwargs) {
8617 PyObject *resultobj;
8618 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8619 wxString *arg2 = 0 ;
8620 int arg3 = (int) wxPAGE_ALL ;
8621 bool temp2 = False ;
8622 PyObject * obj0 = 0 ;
8623 PyObject * obj1 = 0 ;
8624 PyObject * obj2 = 0 ;
8625 char *kwnames[] = {
8626 (char *) "self",(char *) "footer",(char *) "pg", NULL
8627 };
8628
8629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail;
8630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8632 {
8633 arg2 = wxString_in_helper(obj1);
8634 if (arg2 == NULL) SWIG_fail;
8635 temp2 = True;
8636 }
8637 if (obj2) {
8638 arg3 = (int)SWIG_As_int(obj2);
8639 if (PyErr_Occurred()) SWIG_fail;
8640 }
8641 {
8642 PyThreadState* __tstate = wxPyBeginAllowThreads();
8643 (arg1)->SetFooter((wxString const &)*arg2,arg3);
8644
8645 wxPyEndAllowThreads(__tstate);
8646 if (PyErr_Occurred()) SWIG_fail;
8647 }
8648 Py_INCREF(Py_None); resultobj = Py_None;
8649 {
8650 if (temp2)
8651 delete arg2;
8652 }
8653 return resultobj;
8654 fail:
8655 {
8656 if (temp2)
8657 delete arg2;
8658 }
8659 return NULL;
8660 }
8661
8662
8663 static PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
8664 PyObject *resultobj;
8665 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8666 wxString arg2 ;
8667 wxString arg3 ;
8668 PyObject *arg4 = (PyObject *) NULL ;
8669 PyObject * obj0 = 0 ;
8670 PyObject * obj1 = 0 ;
8671 PyObject * obj2 = 0 ;
8672 PyObject * obj3 = 0 ;
8673 char *kwnames[] = {
8674 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
8675 };
8676
8677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8680 {
8681 wxString* sptr = wxString_in_helper(obj1);
8682 if (sptr == NULL) SWIG_fail;
8683 arg2 = *sptr;
8684 delete sptr;
8685 }
8686 {
8687 wxString* sptr = wxString_in_helper(obj2);
8688 if (sptr == NULL) SWIG_fail;
8689 arg3 = *sptr;
8690 delete sptr;
8691 }
8692 if (obj3) {
8693 arg4 = obj3;
8694 }
8695 {
8696 PyThreadState* __tstate = wxPyBeginAllowThreads();
8697 wxHtmlEasyPrinting_SetFonts(arg1,arg2,arg3,arg4);
8698
8699 wxPyEndAllowThreads(__tstate);
8700 if (PyErr_Occurred()) SWIG_fail;
8701 }
8702 Py_INCREF(Py_None); resultobj = Py_None;
8703 return resultobj;
8704 fail:
8705 return NULL;
8706 }
8707
8708
8709 static PyObject *_wrap_HtmlEasyPrinting_NormalizeFontSizes(PyObject *, PyObject *args, PyObject *kwargs) {
8710 PyObject *resultobj;
8711 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8712 int arg2 = (int) -1 ;
8713 PyObject * obj0 = 0 ;
8714 PyObject * obj1 = 0 ;
8715 char *kwnames[] = {
8716 (char *) "self",(char *) "size", NULL
8717 };
8718
8719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HtmlEasyPrinting_NormalizeFontSizes",kwnames,&obj0,&obj1)) goto fail;
8720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8722 if (obj1) {
8723 arg2 = (int)SWIG_As_int(obj1);
8724 if (PyErr_Occurred()) SWIG_fail;
8725 }
8726 {
8727 PyThreadState* __tstate = wxPyBeginAllowThreads();
8728 (arg1)->NormalizeFontSizes(arg2);
8729
8730 wxPyEndAllowThreads(__tstate);
8731 if (PyErr_Occurred()) SWIG_fail;
8732 }
8733 Py_INCREF(Py_None); resultobj = Py_None;
8734 return resultobj;
8735 fail:
8736 return NULL;
8737 }
8738
8739
8740 static PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
8741 PyObject *resultobj;
8742 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8743 wxPrintData *result;
8744 PyObject * obj0 = 0 ;
8745 char *kwnames[] = {
8746 (char *) "self", NULL
8747 };
8748
8749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPrintData",kwnames,&obj0)) goto fail;
8750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8752 {
8753 PyThreadState* __tstate = wxPyBeginAllowThreads();
8754 result = (wxPrintData *)(arg1)->GetPrintData();
8755
8756 wxPyEndAllowThreads(__tstate);
8757 if (PyErr_Occurred()) SWIG_fail;
8758 }
8759 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
8760 return resultobj;
8761 fail:
8762 return NULL;
8763 }
8764
8765
8766 static PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
8767 PyObject *resultobj;
8768 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8769 wxPageSetupDialogData *result;
8770 PyObject * obj0 = 0 ;
8771 char *kwnames[] = {
8772 (char *) "self", NULL
8773 };
8774
8775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPageSetupData",kwnames,&obj0)) goto fail;
8776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8778 {
8779 PyThreadState* __tstate = wxPyBeginAllowThreads();
8780 result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData();
8781
8782 wxPyEndAllowThreads(__tstate);
8783 if (PyErr_Occurred()) SWIG_fail;
8784 }
8785 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
8786 return resultobj;
8787 fail:
8788 return NULL;
8789 }
8790
8791
8792 static PyObject * HtmlEasyPrinting_swigregister(PyObject *, PyObject *args) {
8793 PyObject *obj;
8794 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8795 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlEasyPrinting, obj);
8796 Py_INCREF(obj);
8797 return Py_BuildValue((char *)"");
8798 }
8799 static PyObject *_wrap_new_HtmlBookRecord(PyObject *, PyObject *args, PyObject *kwargs) {
8800 PyObject *resultobj;
8801 wxString *arg1 = 0 ;
8802 wxString *arg2 = 0 ;
8803 wxString *arg3 = 0 ;
8804 wxString *arg4 = 0 ;
8805 wxHtmlBookRecord *result;
8806 bool temp1 = False ;
8807 bool temp2 = False ;
8808 bool temp3 = False ;
8809 bool temp4 = False ;
8810 PyObject * obj0 = 0 ;
8811 PyObject * obj1 = 0 ;
8812 PyObject * obj2 = 0 ;
8813 PyObject * obj3 = 0 ;
8814 char *kwnames[] = {
8815 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
8816 };
8817
8818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_HtmlBookRecord",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8819 {
8820 arg1 = wxString_in_helper(obj0);
8821 if (arg1 == NULL) SWIG_fail;
8822 temp1 = True;
8823 }
8824 {
8825 arg2 = wxString_in_helper(obj1);
8826 if (arg2 == NULL) SWIG_fail;
8827 temp2 = True;
8828 }
8829 {
8830 arg3 = wxString_in_helper(obj2);
8831 if (arg3 == NULL) SWIG_fail;
8832 temp3 = True;
8833 }
8834 {
8835 arg4 = wxString_in_helper(obj3);
8836 if (arg4 == NULL) SWIG_fail;
8837 temp4 = True;
8838 }
8839 {
8840 PyThreadState* __tstate = wxPyBeginAllowThreads();
8841 result = (wxHtmlBookRecord *)new wxHtmlBookRecord((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
8842
8843 wxPyEndAllowThreads(__tstate);
8844 if (PyErr_Occurred()) SWIG_fail;
8845 }
8846 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecord, 1);
8847 {
8848 if (temp1)
8849 delete arg1;
8850 }
8851 {
8852 if (temp2)
8853 delete arg2;
8854 }
8855 {
8856 if (temp3)
8857 delete arg3;
8858 }
8859 {
8860 if (temp4)
8861 delete arg4;
8862 }
8863 return resultobj;
8864 fail:
8865 {
8866 if (temp1)
8867 delete arg1;
8868 }
8869 {
8870 if (temp2)
8871 delete arg2;
8872 }
8873 {
8874 if (temp3)
8875 delete arg3;
8876 }
8877 {
8878 if (temp4)
8879 delete arg4;
8880 }
8881 return NULL;
8882 }
8883
8884
8885 static PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *, PyObject *args, PyObject *kwargs) {
8886 PyObject *resultobj;
8887 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8888 wxString result;
8889 PyObject * obj0 = 0 ;
8890 char *kwnames[] = {
8891 (char *) "self", NULL
8892 };
8893
8894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBookFile",kwnames,&obj0)) goto fail;
8895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8897 {
8898 PyThreadState* __tstate = wxPyBeginAllowThreads();
8899 result = (arg1)->GetBookFile();
8900
8901 wxPyEndAllowThreads(__tstate);
8902 if (PyErr_Occurred()) SWIG_fail;
8903 }
8904 {
8905 #if wxUSE_UNICODE
8906 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8907 #else
8908 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8909 #endif
8910 }
8911 return resultobj;
8912 fail:
8913 return NULL;
8914 }
8915
8916
8917 static PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
8918 PyObject *resultobj;
8919 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8920 wxString result;
8921 PyObject * obj0 = 0 ;
8922 char *kwnames[] = {
8923 (char *) "self", NULL
8924 };
8925
8926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetTitle",kwnames,&obj0)) goto fail;
8927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8929 {
8930 PyThreadState* __tstate = wxPyBeginAllowThreads();
8931 result = (arg1)->GetTitle();
8932
8933 wxPyEndAllowThreads(__tstate);
8934 if (PyErr_Occurred()) SWIG_fail;
8935 }
8936 {
8937 #if wxUSE_UNICODE
8938 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8939 #else
8940 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8941 #endif
8942 }
8943 return resultobj;
8944 fail:
8945 return NULL;
8946 }
8947
8948
8949 static PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *, PyObject *args, PyObject *kwargs) {
8950 PyObject *resultobj;
8951 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8952 wxString result;
8953 PyObject * obj0 = 0 ;
8954 char *kwnames[] = {
8955 (char *) "self", NULL
8956 };
8957
8958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetStart",kwnames,&obj0)) goto fail;
8959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8961 {
8962 PyThreadState* __tstate = wxPyBeginAllowThreads();
8963 result = (arg1)->GetStart();
8964
8965 wxPyEndAllowThreads(__tstate);
8966 if (PyErr_Occurred()) SWIG_fail;
8967 }
8968 {
8969 #if wxUSE_UNICODE
8970 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8971 #else
8972 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8973 #endif
8974 }
8975 return resultobj;
8976 fail:
8977 return NULL;
8978 }
8979
8980
8981 static PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *, PyObject *args, PyObject *kwargs) {
8982 PyObject *resultobj;
8983 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8984 wxString result;
8985 PyObject * obj0 = 0 ;
8986 char *kwnames[] = {
8987 (char *) "self", NULL
8988 };
8989
8990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBasePath",kwnames,&obj0)) goto fail;
8991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8993 {
8994 PyThreadState* __tstate = wxPyBeginAllowThreads();
8995 result = (arg1)->GetBasePath();
8996
8997 wxPyEndAllowThreads(__tstate);
8998 if (PyErr_Occurred()) SWIG_fail;
8999 }
9000 {
9001 #if wxUSE_UNICODE
9002 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9003 #else
9004 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9005 #endif
9006 }
9007 return resultobj;
9008 fail:
9009 return NULL;
9010 }
9011
9012
9013 static PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *, PyObject *args, PyObject *kwargs) {
9014 PyObject *resultobj;
9015 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
9016 int arg2 ;
9017 int arg3 ;
9018 PyObject * obj0 = 0 ;
9019 PyObject * obj1 = 0 ;
9020 PyObject * obj2 = 0 ;
9021 char *kwnames[] = {
9022 (char *) "self",(char *) "start",(char *) "end", NULL
9023 };
9024
9025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
9026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
9027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9028 arg2 = (int)SWIG_As_int(obj1);
9029 if (PyErr_Occurred()) SWIG_fail;
9030 arg3 = (int)SWIG_As_int(obj2);
9031 if (PyErr_Occurred()) SWIG_fail;
9032 {
9033 PyThreadState* __tstate = wxPyBeginAllowThreads();
9034 (arg1)->SetContentsRange(arg2,arg3);
9035
9036 wxPyEndAllowThreads(__tstate);
9037 if (PyErr_Occurred()) SWIG_fail;
9038 }
9039 Py_INCREF(Py_None); resultobj = Py_None;
9040 return resultobj;
9041 fail:
9042 return NULL;
9043 }
9044
9045
9046 static PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *, PyObject *args, PyObject *kwargs) {
9047 PyObject *resultobj;
9048 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
9049 int result;
9050 PyObject * obj0 = 0 ;
9051 char *kwnames[] = {
9052 (char *) "self", NULL
9053 };
9054
9055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsStart",kwnames,&obj0)) goto fail;
9056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
9057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9058 {
9059 PyThreadState* __tstate = wxPyBeginAllowThreads();
9060 result = (int)(arg1)->GetContentsStart();
9061
9062 wxPyEndAllowThreads(__tstate);
9063 if (PyErr_Occurred()) SWIG_fail;
9064 }
9065 resultobj = SWIG_From_int((int)result);
9066 return resultobj;
9067 fail:
9068 return NULL;
9069 }
9070
9071
9072 static PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *, PyObject *args, PyObject *kwargs) {
9073 PyObject *resultobj;
9074 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
9075 int result;
9076 PyObject * obj0 = 0 ;
9077 char *kwnames[] = {
9078 (char *) "self", NULL
9079 };
9080
9081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsEnd",kwnames,&obj0)) goto fail;
9082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
9083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9084 {
9085 PyThreadState* __tstate = wxPyBeginAllowThreads();
9086 result = (int)(arg1)->GetContentsEnd();
9087
9088 wxPyEndAllowThreads(__tstate);
9089 if (PyErr_Occurred()) SWIG_fail;
9090 }
9091 resultobj = SWIG_From_int((int)result);
9092 return resultobj;
9093 fail:
9094 return NULL;
9095 }
9096
9097
9098 static PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
9099 PyObject *resultobj;
9100 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
9101 wxString *arg2 = 0 ;
9102 bool temp2 = False ;
9103 PyObject * obj0 = 0 ;
9104 PyObject * obj1 = 0 ;
9105 char *kwnames[] = {
9106 (char *) "self",(char *) "title", NULL
9107 };
9108
9109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetTitle",kwnames,&obj0,&obj1)) goto fail;
9110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
9111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9112 {
9113 arg2 = wxString_in_helper(obj1);
9114 if (arg2 == NULL) SWIG_fail;
9115 temp2 = True;
9116 }
9117 {
9118 PyThreadState* __tstate = wxPyBeginAllowThreads();
9119 (arg1)->SetTitle((wxString const &)*arg2);
9120
9121 wxPyEndAllowThreads(__tstate);
9122 if (PyErr_Occurred()) SWIG_fail;
9123 }
9124 Py_INCREF(Py_None); resultobj = Py_None;
9125 {
9126 if (temp2)
9127 delete arg2;
9128 }
9129 return resultobj;
9130 fail:
9131 {
9132 if (temp2)
9133 delete arg2;
9134 }
9135 return NULL;
9136 }
9137
9138
9139 static PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *, PyObject *args, PyObject *kwargs) {
9140 PyObject *resultobj;
9141 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
9142 wxString *arg2 = 0 ;
9143 bool temp2 = False ;
9144 PyObject * obj0 = 0 ;
9145 PyObject * obj1 = 0 ;
9146 char *kwnames[] = {
9147 (char *) "self",(char *) "path", NULL
9148 };
9149
9150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames,&obj0,&obj1)) goto fail;
9151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
9152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9153 {
9154 arg2 = wxString_in_helper(obj1);
9155 if (arg2 == NULL) SWIG_fail;
9156 temp2 = True;
9157 }
9158 {
9159 PyThreadState* __tstate = wxPyBeginAllowThreads();
9160 (arg1)->SetBasePath((wxString const &)*arg2);
9161
9162 wxPyEndAllowThreads(__tstate);
9163 if (PyErr_Occurred()) SWIG_fail;
9164 }
9165 Py_INCREF(Py_None); resultobj = Py_None;
9166 {
9167 if (temp2)
9168 delete arg2;
9169 }
9170 return resultobj;
9171 fail:
9172 {
9173 if (temp2)
9174 delete arg2;
9175 }
9176 return NULL;
9177 }
9178
9179
9180 static PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *, PyObject *args, PyObject *kwargs) {
9181 PyObject *resultobj;
9182 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
9183 wxString *arg2 = 0 ;
9184 bool temp2 = False ;
9185 PyObject * obj0 = 0 ;
9186 PyObject * obj1 = 0 ;
9187 char *kwnames[] = {
9188 (char *) "self",(char *) "start", NULL
9189 };
9190
9191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetStart",kwnames,&obj0,&obj1)) goto fail;
9192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
9193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9194 {
9195 arg2 = wxString_in_helper(obj1);
9196 if (arg2 == NULL) SWIG_fail;
9197 temp2 = True;
9198 }
9199 {
9200 PyThreadState* __tstate = wxPyBeginAllowThreads();
9201 (arg1)->SetStart((wxString const &)*arg2);
9202
9203 wxPyEndAllowThreads(__tstate);
9204 if (PyErr_Occurred()) SWIG_fail;
9205 }
9206 Py_INCREF(Py_None); resultobj = Py_None;
9207 {
9208 if (temp2)
9209 delete arg2;
9210 }
9211 return resultobj;
9212 fail:
9213 {
9214 if (temp2)
9215 delete arg2;
9216 }
9217 return NULL;
9218 }
9219
9220
9221 static PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *, PyObject *args, PyObject *kwargs) {
9222 PyObject *resultobj;
9223 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
9224 wxString *arg2 = 0 ;
9225 wxString result;
9226 bool temp2 = False ;
9227 PyObject * obj0 = 0 ;
9228 PyObject * obj1 = 0 ;
9229 char *kwnames[] = {
9230 (char *) "self",(char *) "page", NULL
9231 };
9232
9233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames,&obj0,&obj1)) goto fail;
9234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
9235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9236 {
9237 arg2 = wxString_in_helper(obj1);
9238 if (arg2 == NULL) SWIG_fail;
9239 temp2 = True;
9240 }
9241 {
9242 PyThreadState* __tstate = wxPyBeginAllowThreads();
9243 result = ((wxHtmlBookRecord const *)arg1)->GetFullPath((wxString const &)*arg2);
9244
9245 wxPyEndAllowThreads(__tstate);
9246 if (PyErr_Occurred()) SWIG_fail;
9247 }
9248 {
9249 #if wxUSE_UNICODE
9250 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9251 #else
9252 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9253 #endif
9254 }
9255 {
9256 if (temp2)
9257 delete arg2;
9258 }
9259 return resultobj;
9260 fail:
9261 {
9262 if (temp2)
9263 delete arg2;
9264 }
9265 return NULL;
9266 }
9267
9268
9269 static PyObject * HtmlBookRecord_swigregister(PyObject *, PyObject *args) {
9270 PyObject *obj;
9271 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9272 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlBookRecord, obj);
9273 Py_INCREF(obj);
9274 return Py_BuildValue((char *)"");
9275 }
9276 static PyObject *_wrap_HtmlContentsItem_GetLevel(PyObject *, PyObject *args, PyObject *kwargs) {
9277 PyObject *resultobj;
9278 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
9279 int result;
9280 PyObject * obj0 = 0 ;
9281 char *kwnames[] = {
9282 (char *) "self", NULL
9283 };
9284
9285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetLevel",kwnames,&obj0)) goto fail;
9286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem,
9287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9288 {
9289 PyThreadState* __tstate = wxPyBeginAllowThreads();
9290 result = (int)wxHtmlContentsItem_GetLevel(arg1);
9291
9292 wxPyEndAllowThreads(__tstate);
9293 if (PyErr_Occurred()) SWIG_fail;
9294 }
9295 resultobj = SWIG_From_int((int)result);
9296 return resultobj;
9297 fail:
9298 return NULL;
9299 }
9300
9301
9302 static PyObject *_wrap_HtmlContentsItem_GetID(PyObject *, PyObject *args, PyObject *kwargs) {
9303 PyObject *resultobj;
9304 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
9305 int result;
9306 PyObject * obj0 = 0 ;
9307 char *kwnames[] = {
9308 (char *) "self", NULL
9309 };
9310
9311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetID",kwnames,&obj0)) goto fail;
9312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem,
9313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9314 {
9315 PyThreadState* __tstate = wxPyBeginAllowThreads();
9316 result = (int)wxHtmlContentsItem_GetID(arg1);
9317
9318 wxPyEndAllowThreads(__tstate);
9319 if (PyErr_Occurred()) SWIG_fail;
9320 }
9321 resultobj = SWIG_From_int((int)result);
9322 return resultobj;
9323 fail:
9324 return NULL;
9325 }
9326
9327
9328 static PyObject *_wrap_HtmlContentsItem_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
9329 PyObject *resultobj;
9330 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
9331 wxString result;
9332 PyObject * obj0 = 0 ;
9333 char *kwnames[] = {
9334 (char *) "self", NULL
9335 };
9336
9337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetName",kwnames,&obj0)) goto fail;
9338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem,
9339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9340 {
9341 PyThreadState* __tstate = wxPyBeginAllowThreads();
9342 result = wxHtmlContentsItem_GetName(arg1);
9343
9344 wxPyEndAllowThreads(__tstate);
9345 if (PyErr_Occurred()) SWIG_fail;
9346 }
9347 {
9348 #if wxUSE_UNICODE
9349 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9350 #else
9351 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9352 #endif
9353 }
9354 return resultobj;
9355 fail:
9356 return NULL;
9357 }
9358
9359
9360 static PyObject *_wrap_HtmlContentsItem_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
9361 PyObject *resultobj;
9362 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
9363 wxString result;
9364 PyObject * obj0 = 0 ;
9365 char *kwnames[] = {
9366 (char *) "self", NULL
9367 };
9368
9369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetPage",kwnames,&obj0)) goto fail;
9370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem,
9371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9372 {
9373 PyThreadState* __tstate = wxPyBeginAllowThreads();
9374 result = wxHtmlContentsItem_GetPage(arg1);
9375
9376 wxPyEndAllowThreads(__tstate);
9377 if (PyErr_Occurred()) SWIG_fail;
9378 }
9379 {
9380 #if wxUSE_UNICODE
9381 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9382 #else
9383 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9384 #endif
9385 }
9386 return resultobj;
9387 fail:
9388 return NULL;
9389 }
9390
9391
9392 static PyObject *_wrap_HtmlContentsItem_GetBook(PyObject *, PyObject *args, PyObject *kwargs) {
9393 PyObject *resultobj;
9394 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
9395 wxHtmlBookRecord *result;
9396 PyObject * obj0 = 0 ;
9397 char *kwnames[] = {
9398 (char *) "self", NULL
9399 };
9400
9401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetBook",kwnames,&obj0)) goto fail;
9402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem,
9403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9404 {
9405 PyThreadState* __tstate = wxPyBeginAllowThreads();
9406 result = (wxHtmlBookRecord *)wxHtmlContentsItem_GetBook(arg1);
9407
9408 wxPyEndAllowThreads(__tstate);
9409 if (PyErr_Occurred()) SWIG_fail;
9410 }
9411 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecord, 0);
9412 return resultobj;
9413 fail:
9414 return NULL;
9415 }
9416
9417
9418 static PyObject * HtmlContentsItem_swigregister(PyObject *, PyObject *args) {
9419 PyObject *obj;
9420 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9421 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContentsItem, obj);
9422 Py_INCREF(obj);
9423 return Py_BuildValue((char *)"");
9424 }
9425 static PyObject *_wrap_HtmlSearchStatus_Search(PyObject *, PyObject *args, PyObject *kwargs) {
9426 PyObject *resultobj;
9427 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
9428 bool result;
9429 PyObject * obj0 = 0 ;
9430 char *kwnames[] = {
9431 (char *) "self", NULL
9432 };
9433
9434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_Search",kwnames,&obj0)) goto fail;
9435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus,
9436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9437 {
9438 PyThreadState* __tstate = wxPyBeginAllowThreads();
9439 result = (bool)(arg1)->Search();
9440
9441 wxPyEndAllowThreads(__tstate);
9442 if (PyErr_Occurred()) SWIG_fail;
9443 }
9444 {
9445 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9446 }
9447 return resultobj;
9448 fail:
9449 return NULL;
9450 }
9451
9452
9453 static PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
9454 PyObject *resultobj;
9455 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
9456 bool result;
9457 PyObject * obj0 = 0 ;
9458 char *kwnames[] = {
9459 (char *) "self", NULL
9460 };
9461
9462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_IsActive",kwnames,&obj0)) goto fail;
9463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus,
9464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9465 {
9466 PyThreadState* __tstate = wxPyBeginAllowThreads();
9467 result = (bool)(arg1)->IsActive();
9468
9469 wxPyEndAllowThreads(__tstate);
9470 if (PyErr_Occurred()) SWIG_fail;
9471 }
9472 {
9473 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9474 }
9475 return resultobj;
9476 fail:
9477 return NULL;
9478 }
9479
9480
9481 static PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *, PyObject *args, PyObject *kwargs) {
9482 PyObject *resultobj;
9483 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
9484 int result;
9485 PyObject * obj0 = 0 ;
9486 char *kwnames[] = {
9487 (char *) "self", NULL
9488 };
9489
9490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetCurIndex",kwnames,&obj0)) goto fail;
9491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus,
9492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9493 {
9494 PyThreadState* __tstate = wxPyBeginAllowThreads();
9495 result = (int)(arg1)->GetCurIndex();
9496
9497 wxPyEndAllowThreads(__tstate);
9498 if (PyErr_Occurred()) SWIG_fail;
9499 }
9500 resultobj = SWIG_From_int((int)result);
9501 return resultobj;
9502 fail:
9503 return NULL;
9504 }
9505
9506
9507 static PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *, PyObject *args, PyObject *kwargs) {
9508 PyObject *resultobj;
9509 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
9510 int result;
9511 PyObject * obj0 = 0 ;
9512 char *kwnames[] = {
9513 (char *) "self", NULL
9514 };
9515
9516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetMaxIndex",kwnames,&obj0)) goto fail;
9517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus,
9518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9519 {
9520 PyThreadState* __tstate = wxPyBeginAllowThreads();
9521 result = (int)(arg1)->GetMaxIndex();
9522
9523 wxPyEndAllowThreads(__tstate);
9524 if (PyErr_Occurred()) SWIG_fail;
9525 }
9526 resultobj = SWIG_From_int((int)result);
9527 return resultobj;
9528 fail:
9529 return NULL;
9530 }
9531
9532
9533 static PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
9534 PyObject *resultobj;
9535 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
9536 wxString *result;
9537 PyObject * obj0 = 0 ;
9538 char *kwnames[] = {
9539 (char *) "self", NULL
9540 };
9541
9542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetName",kwnames,&obj0)) goto fail;
9543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus,
9544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9545 {
9546 PyThreadState* __tstate = wxPyBeginAllowThreads();
9547 {
9548 wxString const &_result_ref = (arg1)->GetName();
9549 result = (wxString *) &_result_ref;
9550 }
9551
9552 wxPyEndAllowThreads(__tstate);
9553 if (PyErr_Occurred()) SWIG_fail;
9554 }
9555 {
9556 #if wxUSE_UNICODE
9557 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
9558 #else
9559 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
9560 #endif
9561 }
9562 return resultobj;
9563 fail:
9564 return NULL;
9565 }
9566
9567
9568 static PyObject *_wrap_HtmlSearchStatus_GetContentsItem(PyObject *, PyObject *args, PyObject *kwargs) {
9569 PyObject *resultobj;
9570 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
9571 wxHtmlContentsItem *result;
9572 PyObject * obj0 = 0 ;
9573 char *kwnames[] = {
9574 (char *) "self", NULL
9575 };
9576
9577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetContentsItem",kwnames,&obj0)) goto fail;
9578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus,
9579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9580 {
9581 PyThreadState* __tstate = wxPyBeginAllowThreads();
9582 result = (wxHtmlContentsItem *)(arg1)->GetContentsItem();
9583
9584 wxPyEndAllowThreads(__tstate);
9585 if (PyErr_Occurred()) SWIG_fail;
9586 }
9587 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0);
9588 return resultobj;
9589 fail:
9590 return NULL;
9591 }
9592
9593
9594 static PyObject * HtmlSearchStatus_swigregister(PyObject *, PyObject *args) {
9595 PyObject *obj;
9596 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9597 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSearchStatus, obj);
9598 Py_INCREF(obj);
9599 return Py_BuildValue((char *)"");
9600 }
9601 static PyObject *_wrap_new_HtmlHelpData(PyObject *, PyObject *args, PyObject *kwargs) {
9602 PyObject *resultobj;
9603 wxHtmlHelpData *result;
9604 char *kwnames[] = {
9605 NULL
9606 };
9607
9608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlHelpData",kwnames)) goto fail;
9609 {
9610 PyThreadState* __tstate = wxPyBeginAllowThreads();
9611 result = (wxHtmlHelpData *)new wxHtmlHelpData();
9612
9613 wxPyEndAllowThreads(__tstate);
9614 if (PyErr_Occurred()) SWIG_fail;
9615 }
9616 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 1);
9617 return resultobj;
9618 fail:
9619 return NULL;
9620 }
9621
9622
9623 static PyObject *_wrap_delete_HtmlHelpData(PyObject *, PyObject *args, PyObject *kwargs) {
9624 PyObject *resultobj;
9625 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9626 PyObject * obj0 = 0 ;
9627 char *kwnames[] = {
9628 (char *) "self", NULL
9629 };
9630
9631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpData",kwnames,&obj0)) goto fail;
9632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9634 {
9635 PyThreadState* __tstate = wxPyBeginAllowThreads();
9636 delete arg1;
9637
9638 wxPyEndAllowThreads(__tstate);
9639 if (PyErr_Occurred()) SWIG_fail;
9640 }
9641 Py_INCREF(Py_None); resultobj = Py_None;
9642 return resultobj;
9643 fail:
9644 return NULL;
9645 }
9646
9647
9648 static PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *, PyObject *args, PyObject *kwargs) {
9649 PyObject *resultobj;
9650 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9651 wxString *arg2 = 0 ;
9652 bool temp2 = False ;
9653 PyObject * obj0 = 0 ;
9654 PyObject * obj1 = 0 ;
9655 char *kwnames[] = {
9656 (char *) "self",(char *) "path", NULL
9657 };
9658
9659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_SetTempDir",kwnames,&obj0,&obj1)) goto fail;
9660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9662 {
9663 arg2 = wxString_in_helper(obj1);
9664 if (arg2 == NULL) SWIG_fail;
9665 temp2 = True;
9666 }
9667 {
9668 PyThreadState* __tstate = wxPyBeginAllowThreads();
9669 (arg1)->SetTempDir((wxString const &)*arg2);
9670
9671 wxPyEndAllowThreads(__tstate);
9672 if (PyErr_Occurred()) SWIG_fail;
9673 }
9674 Py_INCREF(Py_None); resultobj = Py_None;
9675 {
9676 if (temp2)
9677 delete arg2;
9678 }
9679 return resultobj;
9680 fail:
9681 {
9682 if (temp2)
9683 delete arg2;
9684 }
9685 return NULL;
9686 }
9687
9688
9689 static PyObject *_wrap_HtmlHelpData_AddBook(PyObject *, PyObject *args, PyObject *kwargs) {
9690 PyObject *resultobj;
9691 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9692 wxString *arg2 = 0 ;
9693 bool result;
9694 bool temp2 = False ;
9695 PyObject * obj0 = 0 ;
9696 PyObject * obj1 = 0 ;
9697 char *kwnames[] = {
9698 (char *) "self",(char *) "book", NULL
9699 };
9700
9701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_AddBook",kwnames,&obj0,&obj1)) goto fail;
9702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9704 {
9705 arg2 = wxString_in_helper(obj1);
9706 if (arg2 == NULL) SWIG_fail;
9707 temp2 = True;
9708 }
9709 {
9710 PyThreadState* __tstate = wxPyBeginAllowThreads();
9711 result = (bool)(arg1)->AddBook((wxString const &)*arg2);
9712
9713 wxPyEndAllowThreads(__tstate);
9714 if (PyErr_Occurred()) SWIG_fail;
9715 }
9716 {
9717 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9718 }
9719 {
9720 if (temp2)
9721 delete arg2;
9722 }
9723 return resultobj;
9724 fail:
9725 {
9726 if (temp2)
9727 delete arg2;
9728 }
9729 return NULL;
9730 }
9731
9732
9733 static PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *, PyObject *args, PyObject *kwargs) {
9734 PyObject *resultobj;
9735 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9736 wxString *arg2 = 0 ;
9737 wxString result;
9738 bool temp2 = False ;
9739 PyObject * obj0 = 0 ;
9740 PyObject * obj1 = 0 ;
9741 char *kwnames[] = {
9742 (char *) "self",(char *) "page", NULL
9743 };
9744
9745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageByName",kwnames,&obj0,&obj1)) goto fail;
9746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9748 {
9749 arg2 = wxString_in_helper(obj1);
9750 if (arg2 == NULL) SWIG_fail;
9751 temp2 = True;
9752 }
9753 {
9754 PyThreadState* __tstate = wxPyBeginAllowThreads();
9755 result = (arg1)->FindPageByName((wxString const &)*arg2);
9756
9757 wxPyEndAllowThreads(__tstate);
9758 if (PyErr_Occurred()) SWIG_fail;
9759 }
9760 {
9761 #if wxUSE_UNICODE
9762 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9763 #else
9764 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9765 #endif
9766 }
9767 {
9768 if (temp2)
9769 delete arg2;
9770 }
9771 return resultobj;
9772 fail:
9773 {
9774 if (temp2)
9775 delete arg2;
9776 }
9777 return NULL;
9778 }
9779
9780
9781 static PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *, PyObject *args, PyObject *kwargs) {
9782 PyObject *resultobj;
9783 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9784 int arg2 ;
9785 wxString result;
9786 PyObject * obj0 = 0 ;
9787 PyObject * obj1 = 0 ;
9788 char *kwnames[] = {
9789 (char *) "self",(char *) "id", NULL
9790 };
9791
9792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageById",kwnames,&obj0,&obj1)) goto fail;
9793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9795 arg2 = (int)SWIG_As_int(obj1);
9796 if (PyErr_Occurred()) SWIG_fail;
9797 {
9798 PyThreadState* __tstate = wxPyBeginAllowThreads();
9799 result = (arg1)->FindPageById(arg2);
9800
9801 wxPyEndAllowThreads(__tstate);
9802 if (PyErr_Occurred()) SWIG_fail;
9803 }
9804 {
9805 #if wxUSE_UNICODE
9806 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9807 #else
9808 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9809 #endif
9810 }
9811 return resultobj;
9812 fail:
9813 return NULL;
9814 }
9815
9816
9817 static PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *, PyObject *args, PyObject *kwargs) {
9818 PyObject *resultobj;
9819 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9820 wxHtmlBookRecArray *result;
9821 PyObject * obj0 = 0 ;
9822 char *kwnames[] = {
9823 (char *) "self", NULL
9824 };
9825
9826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetBookRecArray",kwnames,&obj0)) goto fail;
9827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9829 {
9830 PyThreadState* __tstate = wxPyBeginAllowThreads();
9831 {
9832 wxHtmlBookRecArray const &_result_ref = (arg1)->GetBookRecArray();
9833 result = (wxHtmlBookRecArray *) &_result_ref;
9834 }
9835
9836 wxPyEndAllowThreads(__tstate);
9837 if (PyErr_Occurred()) SWIG_fail;
9838 }
9839 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecArray, 0);
9840 return resultobj;
9841 fail:
9842 return NULL;
9843 }
9844
9845
9846 static PyObject *_wrap_HtmlHelpData_GetContents(PyObject *, PyObject *args, PyObject *kwargs) {
9847 PyObject *resultobj;
9848 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9849 wxHtmlContentsItem *result;
9850 PyObject * obj0 = 0 ;
9851 char *kwnames[] = {
9852 (char *) "self", NULL
9853 };
9854
9855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContents",kwnames,&obj0)) goto fail;
9856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9858 {
9859 PyThreadState* __tstate = wxPyBeginAllowThreads();
9860 result = (wxHtmlContentsItem *)(arg1)->GetContents();
9861
9862 wxPyEndAllowThreads(__tstate);
9863 if (PyErr_Occurred()) SWIG_fail;
9864 }
9865 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0);
9866 return resultobj;
9867 fail:
9868 return NULL;
9869 }
9870
9871
9872 static PyObject *_wrap_HtmlHelpData_GetContentsCnt(PyObject *, PyObject *args, PyObject *kwargs) {
9873 PyObject *resultobj;
9874 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9875 int result;
9876 PyObject * obj0 = 0 ;
9877 char *kwnames[] = {
9878 (char *) "self", NULL
9879 };
9880
9881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContentsCnt",kwnames,&obj0)) goto fail;
9882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9884 {
9885 PyThreadState* __tstate = wxPyBeginAllowThreads();
9886 result = (int)(arg1)->GetContentsCnt();
9887
9888 wxPyEndAllowThreads(__tstate);
9889 if (PyErr_Occurred()) SWIG_fail;
9890 }
9891 resultobj = SWIG_From_int((int)result);
9892 return resultobj;
9893 fail:
9894 return NULL;
9895 }
9896
9897
9898 static PyObject *_wrap_HtmlHelpData_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
9899 PyObject *resultobj;
9900 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9901 wxHtmlContentsItem *result;
9902 PyObject * obj0 = 0 ;
9903 char *kwnames[] = {
9904 (char *) "self", NULL
9905 };
9906
9907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndex",kwnames,&obj0)) goto fail;
9908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9910 {
9911 PyThreadState* __tstate = wxPyBeginAllowThreads();
9912 result = (wxHtmlContentsItem *)(arg1)->GetIndex();
9913
9914 wxPyEndAllowThreads(__tstate);
9915 if (PyErr_Occurred()) SWIG_fail;
9916 }
9917 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0);
9918 return resultobj;
9919 fail:
9920 return NULL;
9921 }
9922
9923
9924 static PyObject *_wrap_HtmlHelpData_GetIndexCnt(PyObject *, PyObject *args, PyObject *kwargs) {
9925 PyObject *resultobj;
9926 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9927 int result;
9928 PyObject * obj0 = 0 ;
9929 char *kwnames[] = {
9930 (char *) "self", NULL
9931 };
9932
9933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndexCnt",kwnames,&obj0)) goto fail;
9934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9936 {
9937 PyThreadState* __tstate = wxPyBeginAllowThreads();
9938 result = (int)(arg1)->GetIndexCnt();
9939
9940 wxPyEndAllowThreads(__tstate);
9941 if (PyErr_Occurred()) SWIG_fail;
9942 }
9943 resultobj = SWIG_From_int((int)result);
9944 return resultobj;
9945 fail:
9946 return NULL;
9947 }
9948
9949
9950 static PyObject * HtmlHelpData_swigregister(PyObject *, PyObject *args) {
9951 PyObject *obj;
9952 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9953 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpData, obj);
9954 Py_INCREF(obj);
9955 return Py_BuildValue((char *)"");
9956 }
9957 static PyObject *_wrap_new_HtmlHelpFrame(PyObject *, PyObject *args, PyObject *kwargs) {
9958 PyObject *resultobj;
9959 wxWindow *arg1 = (wxWindow *) 0 ;
9960 int arg2 ;
9961 wxString const &arg3_defvalue = wxPyEmptyString ;
9962 wxString *arg3 = (wxString *) &arg3_defvalue ;
9963 int arg4 = (int) wxHF_DEFAULTSTYLE ;
9964 wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ;
9965 wxHtmlHelpFrame *result;
9966 bool temp3 = False ;
9967 PyObject * obj0 = 0 ;
9968 PyObject * obj1 = 0 ;
9969 PyObject * obj2 = 0 ;
9970 PyObject * obj3 = 0 ;
9971 PyObject * obj4 = 0 ;
9972 char *kwnames[] = {
9973 (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL
9974 };
9975
9976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
9977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9979 arg2 = (int)SWIG_As_int(obj1);
9980 if (PyErr_Occurred()) SWIG_fail;
9981 if (obj2) {
9982 {
9983 arg3 = wxString_in_helper(obj2);
9984 if (arg3 == NULL) SWIG_fail;
9985 temp3 = True;
9986 }
9987 }
9988 if (obj3) {
9989 arg4 = (int)SWIG_As_int(obj3);
9990 if (PyErr_Occurred()) SWIG_fail;
9991 }
9992 if (obj4) {
9993 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxHtmlHelpData,
9994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9995 }
9996 {
9997 if (!wxPyCheckForApp()) SWIG_fail;
9998 PyThreadState* __tstate = wxPyBeginAllowThreads();
9999 result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5);
10000
10001 wxPyEndAllowThreads(__tstate);
10002 if (PyErr_Occurred()) SWIG_fail;
10003 }
10004 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 1);
10005 {
10006 if (temp3)
10007 delete arg3;
10008 }
10009 return resultobj;
10010 fail:
10011 {
10012 if (temp3)
10013 delete arg3;
10014 }
10015 return NULL;
10016 }
10017
10018
10019 static PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
10020 PyObject *resultobj;
10021 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
10022 wxHtmlHelpData *result;
10023 PyObject * obj0 = 0 ;
10024 char *kwnames[] = {
10025 (char *) "self", NULL
10026 };
10027
10028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_GetData",kwnames,&obj0)) goto fail;
10029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
10030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10031 {
10032 PyThreadState* __tstate = wxPyBeginAllowThreads();
10033 result = (wxHtmlHelpData *)(arg1)->GetData();
10034
10035 wxPyEndAllowThreads(__tstate);
10036 if (PyErr_Occurred()) SWIG_fail;
10037 }
10038 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 0);
10039 return resultobj;
10040 fail:
10041 return NULL;
10042 }
10043
10044
10045 static PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) {
10046 PyObject *resultobj;
10047 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
10048 wxString *arg2 = 0 ;
10049 bool temp2 = False ;
10050 PyObject * obj0 = 0 ;
10051 PyObject * obj1 = 0 ;
10052 char *kwnames[] = {
10053 (char *) "self",(char *) "format", NULL
10054 };
10055
10056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
10057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
10058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10059 {
10060 arg2 = wxString_in_helper(obj1);
10061 if (arg2 == NULL) SWIG_fail;
10062 temp2 = True;
10063 }
10064 {
10065 PyThreadState* __tstate = wxPyBeginAllowThreads();
10066 (arg1)->SetTitleFormat((wxString const &)*arg2);
10067
10068 wxPyEndAllowThreads(__tstate);
10069 if (PyErr_Occurred()) SWIG_fail;
10070 }
10071 Py_INCREF(Py_None); resultobj = Py_None;
10072 {
10073 if (temp2)
10074 delete arg2;
10075 }
10076 return resultobj;
10077 fail:
10078 {
10079 if (temp2)
10080 delete arg2;
10081 }
10082 return NULL;
10083 }
10084
10085
10086 static PyObject *_wrap_HtmlHelpFrame_Display(PyObject *, PyObject *args, PyObject *kwargs) {
10087 PyObject *resultobj;
10088 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
10089 wxString *arg2 = 0 ;
10090 bool temp2 = False ;
10091 PyObject * obj0 = 0 ;
10092 PyObject * obj1 = 0 ;
10093 char *kwnames[] = {
10094 (char *) "self",(char *) "x", NULL
10095 };
10096
10097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_Display",kwnames,&obj0,&obj1)) goto fail;
10098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
10099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10100 {
10101 arg2 = wxString_in_helper(obj1);
10102 if (arg2 == NULL) SWIG_fail;
10103 temp2 = True;
10104 }
10105 {
10106 PyThreadState* __tstate = wxPyBeginAllowThreads();
10107 (arg1)->Display((wxString const &)*arg2);
10108
10109 wxPyEndAllowThreads(__tstate);
10110 if (PyErr_Occurred()) SWIG_fail;
10111 }
10112 Py_INCREF(Py_None); resultobj = Py_None;
10113 {
10114 if (temp2)
10115 delete arg2;
10116 }
10117 return resultobj;
10118 fail:
10119 {
10120 if (temp2)
10121 delete arg2;
10122 }
10123 return NULL;
10124 }
10125
10126
10127 static PyObject *_wrap_HtmlHelpFrame_DisplayID(PyObject *, PyObject *args, PyObject *kwargs) {
10128 PyObject *resultobj;
10129 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
10130 int arg2 ;
10131 PyObject * obj0 = 0 ;
10132 PyObject * obj1 = 0 ;
10133 char *kwnames[] = {
10134 (char *) "self",(char *) "id", NULL
10135 };
10136
10137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_DisplayID",kwnames,&obj0,&obj1)) goto fail;
10138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
10139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10140 arg2 = (int)SWIG_As_int(obj1);
10141 if (PyErr_Occurred()) SWIG_fail;
10142 {
10143 PyThreadState* __tstate = wxPyBeginAllowThreads();
10144 (arg1)->Display(arg2);
10145
10146 wxPyEndAllowThreads(__tstate);
10147 if (PyErr_Occurred()) SWIG_fail;
10148 }
10149 Py_INCREF(Py_None); resultobj = Py_None;
10150 return resultobj;
10151 fail:
10152 return NULL;
10153 }
10154
10155
10156 static PyObject *_wrap_HtmlHelpFrame_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) {
10157 PyObject *resultobj;
10158 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
10159 PyObject * obj0 = 0 ;
10160 char *kwnames[] = {
10161 (char *) "self", NULL
10162 };
10163
10164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayContents",kwnames,&obj0)) goto fail;
10165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
10166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10167 {
10168 PyThreadState* __tstate = wxPyBeginAllowThreads();
10169 (arg1)->DisplayContents();
10170
10171 wxPyEndAllowThreads(__tstate);
10172 if (PyErr_Occurred()) SWIG_fail;
10173 }
10174 Py_INCREF(Py_None); resultobj = Py_None;
10175 return resultobj;
10176 fail:
10177 return NULL;
10178 }
10179
10180
10181 static PyObject *_wrap_HtmlHelpFrame_DisplayIndex(PyObject *, PyObject *args, PyObject *kwargs) {
10182 PyObject *resultobj;
10183 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
10184 PyObject * obj0 = 0 ;
10185 char *kwnames[] = {
10186 (char *) "self", NULL
10187 };
10188
10189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayIndex",kwnames,&obj0)) goto fail;
10190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
10191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10192 {
10193 PyThreadState* __tstate = wxPyBeginAllowThreads();
10194 (arg1)->DisplayIndex();
10195
10196 wxPyEndAllowThreads(__tstate);
10197 if (PyErr_Occurred()) SWIG_fail;
10198 }
10199 Py_INCREF(Py_None); resultobj = Py_None;
10200 return resultobj;
10201 fail:
10202 return NULL;
10203 }
10204
10205
10206 static PyObject *_wrap_HtmlHelpFrame_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) {
10207 PyObject *resultobj;
10208 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
10209 wxString *arg2 = 0 ;
10210 bool result;
10211 bool temp2 = False ;
10212 PyObject * obj0 = 0 ;
10213 PyObject * obj1 = 0 ;
10214 char *kwnames[] = {
10215 (char *) "self",(char *) "keyword", NULL
10216 };
10217
10218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_KeywordSearch",kwnames,&obj0,&obj1)) goto fail;
10219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
10220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10221 {
10222 arg2 = wxString_in_helper(obj1);
10223 if (arg2 == NULL) SWIG_fail;
10224 temp2 = True;
10225 }
10226 {
10227 PyThreadState* __tstate = wxPyBeginAllowThreads();
10228 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
10229
10230 wxPyEndAllowThreads(__tstate);
10231 if (PyErr_Occurred()) SWIG_fail;
10232 }
10233 {
10234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10235 }
10236 {
10237 if (temp2)
10238 delete arg2;
10239 }
10240 return resultobj;
10241 fail:
10242 {
10243 if (temp2)
10244 delete arg2;
10245 }
10246 return NULL;
10247 }
10248
10249
10250 static PyObject *_wrap_HtmlHelpFrame_UseConfig(PyObject *, PyObject *args, PyObject *kwargs) {
10251 PyObject *resultobj;
10252 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
10253 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10254 wxString const &arg3_defvalue = wxPyEmptyString ;
10255 wxString *arg3 = (wxString *) &arg3_defvalue ;
10256 bool temp3 = False ;
10257 PyObject * obj0 = 0 ;
10258 PyObject * obj1 = 0 ;
10259 PyObject * obj2 = 0 ;
10260 char *kwnames[] = {
10261 (char *) "self",(char *) "config",(char *) "rootpath", NULL
10262 };
10263
10264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail;
10265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
10266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10267 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
10268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10269 if (obj2) {
10270 {
10271 arg3 = wxString_in_helper(obj2);
10272 if (arg3 == NULL) SWIG_fail;
10273 temp3 = True;
10274 }
10275 }
10276 {
10277 PyThreadState* __tstate = wxPyBeginAllowThreads();
10278 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
10279
10280 wxPyEndAllowThreads(__tstate);
10281 if (PyErr_Occurred()) SWIG_fail;
10282 }
10283 Py_INCREF(Py_None); resultobj = Py_None;
10284 {
10285 if (temp3)
10286 delete arg3;
10287 }
10288 return resultobj;
10289 fail:
10290 {
10291 if (temp3)
10292 delete arg3;
10293 }
10294 return NULL;
10295 }
10296
10297
10298 static PyObject *_wrap_HtmlHelpFrame_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
10299 PyObject *resultobj;
10300 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
10301 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10302 wxString arg3 = (wxString) wxPyEmptyString ;
10303 PyObject * obj0 = 0 ;
10304 PyObject * obj1 = 0 ;
10305 PyObject * obj2 = 0 ;
10306 char *kwnames[] = {
10307 (char *) "self",(char *) "cfg",(char *) "path", NULL
10308 };
10309
10310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
10311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
10312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10313 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
10314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10315 if (obj2) {
10316 {
10317 wxString* sptr = wxString_in_helper(obj2);
10318 if (sptr == NULL) SWIG_fail;
10319 arg3 = *sptr;
10320 delete sptr;
10321 }
10322 }
10323 {
10324 PyThreadState* __tstate = wxPyBeginAllowThreads();
10325 (arg1)->ReadCustomization(arg2,arg3);
10326
10327 wxPyEndAllowThreads(__tstate);
10328 if (PyErr_Occurred()) SWIG_fail;
10329 }
10330 Py_INCREF(Py_None); resultobj = Py_None;
10331 return resultobj;
10332 fail:
10333 return NULL;
10334 }
10335
10336
10337 static PyObject *_wrap_HtmlHelpFrame_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
10338 PyObject *resultobj;
10339 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
10340 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10341 wxString arg3 = (wxString) wxPyEmptyString ;
10342 PyObject * obj0 = 0 ;
10343 PyObject * obj1 = 0 ;
10344 PyObject * obj2 = 0 ;
10345 char *kwnames[] = {
10346 (char *) "self",(char *) "cfg",(char *) "path", NULL
10347 };
10348
10349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
10350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
10351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10352 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
10353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10354 if (obj2) {
10355 {
10356 wxString* sptr = wxString_in_helper(obj2);
10357 if (sptr == NULL) SWIG_fail;
10358 arg3 = *sptr;
10359 delete sptr;
10360 }
10361 }
10362 {
10363 PyThreadState* __tstate = wxPyBeginAllowThreads();
10364 (arg1)->WriteCustomization(arg2,arg3);
10365
10366 wxPyEndAllowThreads(__tstate);
10367 if (PyErr_Occurred()) SWIG_fail;
10368 }
10369 Py_INCREF(Py_None); resultobj = Py_None;
10370 return resultobj;
10371 fail:
10372 return NULL;
10373 }
10374
10375
10376 static PyObject * HtmlHelpFrame_swigregister(PyObject *, PyObject *args) {
10377 PyObject *obj;
10378 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10379 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpFrame, obj);
10380 Py_INCREF(obj);
10381 return Py_BuildValue((char *)"");
10382 }
10383 static PyObject *_wrap_new_HtmlHelpController(PyObject *, PyObject *args, PyObject *kwargs) {
10384 PyObject *resultobj;
10385 int arg1 = (int) wxHF_DEFAULTSTYLE ;
10386 wxHtmlHelpController *result;
10387 PyObject * obj0 = 0 ;
10388 char *kwnames[] = {
10389 (char *) "style", NULL
10390 };
10391
10392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlHelpController",kwnames,&obj0)) goto fail;
10393 if (obj0) {
10394 arg1 = (int)SWIG_As_int(obj0);
10395 if (PyErr_Occurred()) SWIG_fail;
10396 }
10397 {
10398 if (!wxPyCheckForApp()) SWIG_fail;
10399 PyThreadState* __tstate = wxPyBeginAllowThreads();
10400 result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1);
10401
10402 wxPyEndAllowThreads(__tstate);
10403 if (PyErr_Occurred()) SWIG_fail;
10404 }
10405 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpController, 1);
10406 return resultobj;
10407 fail:
10408 return NULL;
10409 }
10410
10411
10412 static PyObject *_wrap_delete_HtmlHelpController(PyObject *, PyObject *args, PyObject *kwargs) {
10413 PyObject *resultobj;
10414 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10415 PyObject * obj0 = 0 ;
10416 char *kwnames[] = {
10417 (char *) "self", NULL
10418 };
10419
10420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpController",kwnames,&obj0)) goto fail;
10421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10423 {
10424 PyThreadState* __tstate = wxPyBeginAllowThreads();
10425 delete arg1;
10426
10427 wxPyEndAllowThreads(__tstate);
10428 if (PyErr_Occurred()) SWIG_fail;
10429 }
10430 Py_INCREF(Py_None); resultobj = Py_None;
10431 return resultobj;
10432 fail:
10433 return NULL;
10434 }
10435
10436
10437 static PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) {
10438 PyObject *resultobj;
10439 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10440 wxString *arg2 = 0 ;
10441 bool temp2 = False ;
10442 PyObject * obj0 = 0 ;
10443 PyObject * obj1 = 0 ;
10444 char *kwnames[] = {
10445 (char *) "self",(char *) "format", NULL
10446 };
10447
10448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
10449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10451 {
10452 arg2 = wxString_in_helper(obj1);
10453 if (arg2 == NULL) SWIG_fail;
10454 temp2 = True;
10455 }
10456 {
10457 PyThreadState* __tstate = wxPyBeginAllowThreads();
10458 (arg1)->SetTitleFormat((wxString const &)*arg2);
10459
10460 wxPyEndAllowThreads(__tstate);
10461 if (PyErr_Occurred()) SWIG_fail;
10462 }
10463 Py_INCREF(Py_None); resultobj = Py_None;
10464 {
10465 if (temp2)
10466 delete arg2;
10467 }
10468 return resultobj;
10469 fail:
10470 {
10471 if (temp2)
10472 delete arg2;
10473 }
10474 return NULL;
10475 }
10476
10477
10478 static PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *, PyObject *args, PyObject *kwargs) {
10479 PyObject *resultobj;
10480 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10481 wxString *arg2 = 0 ;
10482 bool temp2 = False ;
10483 PyObject * obj0 = 0 ;
10484 PyObject * obj1 = 0 ;
10485 char *kwnames[] = {
10486 (char *) "self",(char *) "path", NULL
10487 };
10488
10489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",kwnames,&obj0,&obj1)) goto fail;
10490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10492 {
10493 arg2 = wxString_in_helper(obj1);
10494 if (arg2 == NULL) SWIG_fail;
10495 temp2 = True;
10496 }
10497 {
10498 PyThreadState* __tstate = wxPyBeginAllowThreads();
10499 (arg1)->SetTempDir((wxString const &)*arg2);
10500
10501 wxPyEndAllowThreads(__tstate);
10502 if (PyErr_Occurred()) SWIG_fail;
10503 }
10504 Py_INCREF(Py_None); resultobj = Py_None;
10505 {
10506 if (temp2)
10507 delete arg2;
10508 }
10509 return resultobj;
10510 fail:
10511 {
10512 if (temp2)
10513 delete arg2;
10514 }
10515 return NULL;
10516 }
10517
10518
10519 static PyObject *_wrap_HtmlHelpController_AddBook(PyObject *, PyObject *args, PyObject *kwargs) {
10520 PyObject *resultobj;
10521 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10522 wxString *arg2 = 0 ;
10523 int arg3 = (int) False ;
10524 bool result;
10525 bool temp2 = False ;
10526 PyObject * obj0 = 0 ;
10527 PyObject * obj1 = 0 ;
10528 PyObject * obj2 = 0 ;
10529 char *kwnames[] = {
10530 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
10531 };
10532
10533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&obj2)) goto fail;
10534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10536 {
10537 arg2 = wxString_in_helper(obj1);
10538 if (arg2 == NULL) SWIG_fail;
10539 temp2 = True;
10540 }
10541 if (obj2) {
10542 arg3 = (int)SWIG_As_int(obj2);
10543 if (PyErr_Occurred()) SWIG_fail;
10544 }
10545 {
10546 PyThreadState* __tstate = wxPyBeginAllowThreads();
10547 result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3);
10548
10549 wxPyEndAllowThreads(__tstate);
10550 if (PyErr_Occurred()) SWIG_fail;
10551 }
10552 {
10553 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10554 }
10555 {
10556 if (temp2)
10557 delete arg2;
10558 }
10559 return resultobj;
10560 fail:
10561 {
10562 if (temp2)
10563 delete arg2;
10564 }
10565 return NULL;
10566 }
10567
10568
10569 static PyObject *_wrap_HtmlHelpController_Display(PyObject *, PyObject *args, PyObject *kwargs) {
10570 PyObject *resultobj;
10571 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10572 wxString *arg2 = 0 ;
10573 bool temp2 = False ;
10574 PyObject * obj0 = 0 ;
10575 PyObject * obj1 = 0 ;
10576 char *kwnames[] = {
10577 (char *) "self",(char *) "x", NULL
10578 };
10579
10580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) goto fail;
10581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10583 {
10584 arg2 = wxString_in_helper(obj1);
10585 if (arg2 == NULL) SWIG_fail;
10586 temp2 = True;
10587 }
10588 {
10589 PyThreadState* __tstate = wxPyBeginAllowThreads();
10590 (arg1)->Display((wxString const &)*arg2);
10591
10592 wxPyEndAllowThreads(__tstate);
10593 if (PyErr_Occurred()) SWIG_fail;
10594 }
10595 Py_INCREF(Py_None); resultobj = Py_None;
10596 {
10597 if (temp2)
10598 delete arg2;
10599 }
10600 return resultobj;
10601 fail:
10602 {
10603 if (temp2)
10604 delete arg2;
10605 }
10606 return NULL;
10607 }
10608
10609
10610 static PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *, PyObject *args, PyObject *kwargs) {
10611 PyObject *resultobj;
10612 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10613 int arg2 ;
10614 PyObject * obj0 = 0 ;
10615 PyObject * obj1 = 0 ;
10616 char *kwnames[] = {
10617 (char *) "self",(char *) "id", NULL
10618 };
10619
10620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_DisplayID",kwnames,&obj0,&obj1)) goto fail;
10621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10623 arg2 = (int)SWIG_As_int(obj1);
10624 if (PyErr_Occurred()) SWIG_fail;
10625 {
10626 PyThreadState* __tstate = wxPyBeginAllowThreads();
10627 (arg1)->Display(arg2);
10628
10629 wxPyEndAllowThreads(__tstate);
10630 if (PyErr_Occurred()) SWIG_fail;
10631 }
10632 Py_INCREF(Py_None); resultobj = Py_None;
10633 return resultobj;
10634 fail:
10635 return NULL;
10636 }
10637
10638
10639 static PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) {
10640 PyObject *resultobj;
10641 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10642 PyObject * obj0 = 0 ;
10643 char *kwnames[] = {
10644 (char *) "self", NULL
10645 };
10646
10647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayContents",kwnames,&obj0)) goto fail;
10648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10650 {
10651 PyThreadState* __tstate = wxPyBeginAllowThreads();
10652 (arg1)->DisplayContents();
10653
10654 wxPyEndAllowThreads(__tstate);
10655 if (PyErr_Occurred()) SWIG_fail;
10656 }
10657 Py_INCREF(Py_None); resultobj = Py_None;
10658 return resultobj;
10659 fail:
10660 return NULL;
10661 }
10662
10663
10664 static PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *, PyObject *args, PyObject *kwargs) {
10665 PyObject *resultobj;
10666 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10667 PyObject * obj0 = 0 ;
10668 char *kwnames[] = {
10669 (char *) "self", NULL
10670 };
10671
10672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayIndex",kwnames,&obj0)) goto fail;
10673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10675 {
10676 PyThreadState* __tstate = wxPyBeginAllowThreads();
10677 (arg1)->DisplayIndex();
10678
10679 wxPyEndAllowThreads(__tstate);
10680 if (PyErr_Occurred()) SWIG_fail;
10681 }
10682 Py_INCREF(Py_None); resultobj = Py_None;
10683 return resultobj;
10684 fail:
10685 return NULL;
10686 }
10687
10688
10689 static PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) {
10690 PyObject *resultobj;
10691 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10692 wxString *arg2 = 0 ;
10693 bool result;
10694 bool temp2 = False ;
10695 PyObject * obj0 = 0 ;
10696 PyObject * obj1 = 0 ;
10697 char *kwnames[] = {
10698 (char *) "self",(char *) "keyword", NULL
10699 };
10700
10701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) goto fail;
10702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10704 {
10705 arg2 = wxString_in_helper(obj1);
10706 if (arg2 == NULL) SWIG_fail;
10707 temp2 = True;
10708 }
10709 {
10710 PyThreadState* __tstate = wxPyBeginAllowThreads();
10711 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
10712
10713 wxPyEndAllowThreads(__tstate);
10714 if (PyErr_Occurred()) SWIG_fail;
10715 }
10716 {
10717 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10718 }
10719 {
10720 if (temp2)
10721 delete arg2;
10722 }
10723 return resultobj;
10724 fail:
10725 {
10726 if (temp2)
10727 delete arg2;
10728 }
10729 return NULL;
10730 }
10731
10732
10733 static PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *, PyObject *args, PyObject *kwargs) {
10734 PyObject *resultobj;
10735 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10736 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10737 wxString const &arg3_defvalue = wxPyEmptyString ;
10738 wxString *arg3 = (wxString *) &arg3_defvalue ;
10739 bool temp3 = False ;
10740 PyObject * obj0 = 0 ;
10741 PyObject * obj1 = 0 ;
10742 PyObject * obj2 = 0 ;
10743 char *kwnames[] = {
10744 (char *) "self",(char *) "config",(char *) "rootpath", NULL
10745 };
10746
10747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail;
10748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10750 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
10751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10752 if (obj2) {
10753 {
10754 arg3 = wxString_in_helper(obj2);
10755 if (arg3 == NULL) SWIG_fail;
10756 temp3 = True;
10757 }
10758 }
10759 {
10760 PyThreadState* __tstate = wxPyBeginAllowThreads();
10761 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
10762
10763 wxPyEndAllowThreads(__tstate);
10764 if (PyErr_Occurred()) SWIG_fail;
10765 }
10766 Py_INCREF(Py_None); resultobj = Py_None;
10767 {
10768 if (temp3)
10769 delete arg3;
10770 }
10771 return resultobj;
10772 fail:
10773 {
10774 if (temp3)
10775 delete arg3;
10776 }
10777 return NULL;
10778 }
10779
10780
10781 static PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
10782 PyObject *resultobj;
10783 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10784 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10785 wxString arg3 = (wxString) wxPyEmptyString ;
10786 PyObject * obj0 = 0 ;
10787 PyObject * obj1 = 0 ;
10788 PyObject * obj2 = 0 ;
10789 char *kwnames[] = {
10790 (char *) "self",(char *) "cfg",(char *) "path", NULL
10791 };
10792
10793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
10794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10796 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
10797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10798 if (obj2) {
10799 {
10800 wxString* sptr = wxString_in_helper(obj2);
10801 if (sptr == NULL) SWIG_fail;
10802 arg3 = *sptr;
10803 delete sptr;
10804 }
10805 }
10806 {
10807 PyThreadState* __tstate = wxPyBeginAllowThreads();
10808 (arg1)->ReadCustomization(arg2,arg3);
10809
10810 wxPyEndAllowThreads(__tstate);
10811 if (PyErr_Occurred()) SWIG_fail;
10812 }
10813 Py_INCREF(Py_None); resultobj = Py_None;
10814 return resultobj;
10815 fail:
10816 return NULL;
10817 }
10818
10819
10820 static PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
10821 PyObject *resultobj;
10822 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10823 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10824 wxString arg3 = (wxString) wxPyEmptyString ;
10825 PyObject * obj0 = 0 ;
10826 PyObject * obj1 = 0 ;
10827 PyObject * obj2 = 0 ;
10828 char *kwnames[] = {
10829 (char *) "self",(char *) "cfg",(char *) "path", NULL
10830 };
10831
10832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
10833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10835 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
10836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10837 if (obj2) {
10838 {
10839 wxString* sptr = wxString_in_helper(obj2);
10840 if (sptr == NULL) SWIG_fail;
10841 arg3 = *sptr;
10842 delete sptr;
10843 }
10844 }
10845 {
10846 PyThreadState* __tstate = wxPyBeginAllowThreads();
10847 (arg1)->WriteCustomization(arg2,arg3);
10848
10849 wxPyEndAllowThreads(__tstate);
10850 if (PyErr_Occurred()) SWIG_fail;
10851 }
10852 Py_INCREF(Py_None); resultobj = Py_None;
10853 return resultobj;
10854 fail:
10855 return NULL;
10856 }
10857
10858
10859 static PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
10860 PyObject *resultobj;
10861 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10862 wxHtmlHelpFrame *result;
10863 PyObject * obj0 = 0 ;
10864 char *kwnames[] = {
10865 (char *) "self", NULL
10866 };
10867
10868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_GetFrame",kwnames,&obj0)) goto fail;
10869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10871 {
10872 PyThreadState* __tstate = wxPyBeginAllowThreads();
10873 result = (wxHtmlHelpFrame *)(arg1)->GetFrame();
10874
10875 wxPyEndAllowThreads(__tstate);
10876 if (PyErr_Occurred()) SWIG_fail;
10877 }
10878 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 0);
10879 return resultobj;
10880 fail:
10881 return NULL;
10882 }
10883
10884
10885 static PyObject * HtmlHelpController_swigregister(PyObject *, PyObject *args) {
10886 PyObject *obj;
10887 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10888 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpController, obj);
10889 Py_INCREF(obj);
10890 return Py_BuildValue((char *)"");
10891 }
10892 static PyMethodDef SwigMethods[] = {
10893 { (char *)"new_HtmlLinkInfo", (PyCFunction) _wrap_new_HtmlLinkInfo, METH_VARARGS | METH_KEYWORDS, NULL },
10894 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction) _wrap_HtmlLinkInfo_GetHref, METH_VARARGS | METH_KEYWORDS, NULL },
10895 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction) _wrap_HtmlLinkInfo_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL },
10896 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction) _wrap_HtmlLinkInfo_GetEvent, METH_VARARGS | METH_KEYWORDS, NULL },
10897 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_GetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL },
10898 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction) _wrap_HtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS, NULL },
10899 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL },
10900 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister, METH_VARARGS, NULL },
10901 { (char *)"HtmlTag_GetName", (PyCFunction) _wrap_HtmlTag_GetName, METH_VARARGS | METH_KEYWORDS, NULL },
10902 { (char *)"HtmlTag_HasParam", (PyCFunction) _wrap_HtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS, NULL },
10903 { (char *)"HtmlTag_GetParam", (PyCFunction) _wrap_HtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS, NULL },
10904 { (char *)"HtmlTag_GetAllParams", (PyCFunction) _wrap_HtmlTag_GetAllParams, METH_VARARGS | METH_KEYWORDS, NULL },
10905 { (char *)"HtmlTag_HasEnding", (PyCFunction) _wrap_HtmlTag_HasEnding, METH_VARARGS | METH_KEYWORDS, NULL },
10906 { (char *)"HtmlTag_GetBeginPos", (PyCFunction) _wrap_HtmlTag_GetBeginPos, METH_VARARGS | METH_KEYWORDS, NULL },
10907 { (char *)"HtmlTag_GetEndPos1", (PyCFunction) _wrap_HtmlTag_GetEndPos1, METH_VARARGS | METH_KEYWORDS, NULL },
10908 { (char *)"HtmlTag_GetEndPos2", (PyCFunction) _wrap_HtmlTag_GetEndPos2, METH_VARARGS | METH_KEYWORDS, NULL },
10909 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister, METH_VARARGS, NULL },
10910 { (char *)"HtmlParser_SetFS", (PyCFunction) _wrap_HtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS, NULL },
10911 { (char *)"HtmlParser_GetFS", (PyCFunction) _wrap_HtmlParser_GetFS, METH_VARARGS | METH_KEYWORDS, NULL },
10912 { (char *)"HtmlParser_Parse", (PyCFunction) _wrap_HtmlParser_Parse, METH_VARARGS | METH_KEYWORDS, NULL },
10913 { (char *)"HtmlParser_InitParser", (PyCFunction) _wrap_HtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS, NULL },
10914 { (char *)"HtmlParser_DoneParser", (PyCFunction) _wrap_HtmlParser_DoneParser, METH_VARARGS | METH_KEYWORDS, NULL },
10915 { (char *)"HtmlParser_DoParsing", (PyCFunction) _wrap_HtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS, NULL },
10916 { (char *)"HtmlParser_StopParsing", (PyCFunction) _wrap_HtmlParser_StopParsing, METH_VARARGS | METH_KEYWORDS, NULL },
10917 { (char *)"HtmlParser_AddTagHandler", (PyCFunction) _wrap_HtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL },
10918 { (char *)"HtmlParser_GetSource", (PyCFunction) _wrap_HtmlParser_GetSource, METH_VARARGS | METH_KEYWORDS, NULL },
10919 { (char *)"HtmlParser_PushTagHandler", (PyCFunction) _wrap_HtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS, NULL },
10920 { (char *)"HtmlParser_PopTagHandler", (PyCFunction) _wrap_HtmlParser_PopTagHandler, METH_VARARGS | METH_KEYWORDS, NULL },
10921 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister, METH_VARARGS, NULL },
10922 { (char *)"new_HtmlWinParser", (PyCFunction) _wrap_new_HtmlWinParser, METH_VARARGS | METH_KEYWORDS, NULL },
10923 { (char *)"HtmlWinParser_SetDC", (PyCFunction) _wrap_HtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS, NULL },
10924 { (char *)"HtmlWinParser_GetDC", (PyCFunction) _wrap_HtmlWinParser_GetDC, METH_VARARGS | METH_KEYWORDS, NULL },
10925 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction) _wrap_HtmlWinParser_GetCharHeight, METH_VARARGS | METH_KEYWORDS, NULL },
10926 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction) _wrap_HtmlWinParser_GetCharWidth, METH_VARARGS | METH_KEYWORDS, NULL },
10927 { (char *)"HtmlWinParser_GetWindow", (PyCFunction) _wrap_HtmlWinParser_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
10928 { (char *)"HtmlWinParser_SetFonts", (PyCFunction) _wrap_HtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL },
10929 { (char *)"HtmlWinParser_NormalizeFontSizes", (PyCFunction) _wrap_HtmlWinParser_NormalizeFontSizes, METH_VARARGS | METH_KEYWORDS, NULL },
10930 { (char *)"HtmlWinParser_GetContainer", (PyCFunction) _wrap_HtmlWinParser_GetContainer, METH_VARARGS | METH_KEYWORDS, NULL },
10931 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction) _wrap_HtmlWinParser_OpenContainer, METH_VARARGS | METH_KEYWORDS, NULL },
10932 { (char *)"HtmlWinParser_SetContainer", (PyCFunction) _wrap_HtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS, NULL },
10933 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction) _wrap_HtmlWinParser_CloseContainer, METH_VARARGS | METH_KEYWORDS, NULL },
10934 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction) _wrap_HtmlWinParser_GetFontSize, METH_VARARGS | METH_KEYWORDS, NULL },
10935 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction) _wrap_HtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS, NULL },
10936 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction) _wrap_HtmlWinParser_GetFontBold, METH_VARARGS | METH_KEYWORDS, NULL },
10937 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction) _wrap_HtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS, NULL },
10938 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction) _wrap_HtmlWinParser_GetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL },
10939 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction) _wrap_HtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL },
10940 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_GetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL },
10941 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL },
10942 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction) _wrap_HtmlWinParser_GetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL },
10943 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction) _wrap_HtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL },
10944 { (char *)"HtmlWinParser_GetAlign", (PyCFunction) _wrap_HtmlWinParser_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL },
10945 { (char *)"HtmlWinParser_SetAlign", (PyCFunction) _wrap_HtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL },
10946 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction) _wrap_HtmlWinParser_GetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL },
10947 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction) _wrap_HtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL },
10948 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction) _wrap_HtmlWinParser_GetActualColor, METH_VARARGS | METH_KEYWORDS, NULL },
10949 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction) _wrap_HtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS, NULL },
10950 { (char *)"HtmlWinParser_SetLink", (PyCFunction) _wrap_HtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS, NULL },
10951 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction) _wrap_HtmlWinParser_CreateCurrentFont, METH_VARARGS | METH_KEYWORDS, NULL },
10952 { (char *)"HtmlWinParser_GetLink", (PyCFunction) _wrap_HtmlWinParser_GetLink, METH_VARARGS | METH_KEYWORDS, NULL },
10953 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister, METH_VARARGS, NULL },
10954 { (char *)"new_HtmlTagHandler", (PyCFunction) _wrap_new_HtmlTagHandler, METH_VARARGS | METH_KEYWORDS, NULL },
10955 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
10956 { (char *)"HtmlTagHandler_SetParser", (PyCFunction) _wrap_HtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL },
10957 { (char *)"HtmlTagHandler_GetParser", (PyCFunction) _wrap_HtmlTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS, NULL },
10958 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction) _wrap_HtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL },
10959 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister, METH_VARARGS, NULL },
10960 { (char *)"new_HtmlWinTagHandler", (PyCFunction) _wrap_new_HtmlWinTagHandler, METH_VARARGS | METH_KEYWORDS, NULL },
10961 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
10962 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction) _wrap_HtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL },
10963 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction) _wrap_HtmlWinTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS, NULL },
10964 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_HtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL },
10965 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister, METH_VARARGS, NULL },
10966 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction) _wrap_HtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL },
10967 { (char *)"new_HtmlSelection", (PyCFunction) _wrap_new_HtmlSelection, METH_VARARGS | METH_KEYWORDS, NULL },
10968 { (char *)"delete_HtmlSelection", (PyCFunction) _wrap_delete_HtmlSelection, METH_VARARGS | METH_KEYWORDS, NULL },
10969 { (char *)"HtmlSelection_Set", (PyCFunction) _wrap_HtmlSelection_Set, METH_VARARGS | METH_KEYWORDS, NULL },
10970 { (char *)"HtmlSelection_SetCells", (PyCFunction) _wrap_HtmlSelection_SetCells, METH_VARARGS | METH_KEYWORDS, NULL },
10971 { (char *)"HtmlSelection_GetFromCell", (PyCFunction) _wrap_HtmlSelection_GetFromCell, METH_VARARGS | METH_KEYWORDS, NULL },
10972 { (char *)"HtmlSelection_GetToCell", (PyCFunction) _wrap_HtmlSelection_GetToCell, METH_VARARGS | METH_KEYWORDS, NULL },
10973 { (char *)"HtmlSelection_GetFromPos", (PyCFunction) _wrap_HtmlSelection_GetFromPos, METH_VARARGS | METH_KEYWORDS, NULL },
10974 { (char *)"HtmlSelection_GetToPos", (PyCFunction) _wrap_HtmlSelection_GetToPos, METH_VARARGS | METH_KEYWORDS, NULL },
10975 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_GetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL },
10976 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction) _wrap_HtmlSelection_GetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL },
10977 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_SetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL },
10978 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction) _wrap_HtmlSelection_SetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL },
10979 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction) _wrap_HtmlSelection_ClearPrivPos, METH_VARARGS | METH_KEYWORDS, NULL },
10980 { (char *)"HtmlSelection_IsEmpty", (PyCFunction) _wrap_HtmlSelection_IsEmpty, METH_VARARGS | METH_KEYWORDS, NULL },
10981 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister, METH_VARARGS, NULL },
10982 { (char *)"new_HtmlRenderingState", (PyCFunction) _wrap_new_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS, NULL },
10983 { (char *)"delete_HtmlRenderingState", (PyCFunction) _wrap_delete_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS, NULL },
10984 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_SetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL },
10985 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_GetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL },
10986 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction) _wrap_HtmlRenderingState_SetFgColour, METH_VARARGS | METH_KEYWORDS, NULL },
10987 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction) _wrap_HtmlRenderingState_GetFgColour, METH_VARARGS | METH_KEYWORDS, NULL },
10988 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction) _wrap_HtmlRenderingState_SetBgColour, METH_VARARGS | METH_KEYWORDS, NULL },
10989 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction) _wrap_HtmlRenderingState_GetBgColour, METH_VARARGS | METH_KEYWORDS, NULL },
10990 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister, METH_VARARGS, NULL },
10991 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
10992 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL },
10993 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister, METH_VARARGS, NULL },
10994 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
10995 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL },
10996 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister, METH_VARARGS, NULL },
10997 { (char *)"new_HtmlRenderingInfo", (PyCFunction) _wrap_new_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS, NULL },
10998 { (char *)"delete_HtmlRenderingInfo", (PyCFunction) _wrap_delete_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS, NULL },
10999 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
11000 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
11001 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
11002 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
11003 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction) _wrap_HtmlRenderingInfo_GetState, METH_VARARGS | METH_KEYWORDS, NULL },
11004 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister, METH_VARARGS, NULL },
11005 { (char *)"new_HtmlCell", (PyCFunction) _wrap_new_HtmlCell, METH_VARARGS | METH_KEYWORDS, NULL },
11006 { (char *)"HtmlCell_GetPosX", (PyCFunction) _wrap_HtmlCell_GetPosX, METH_VARARGS | METH_KEYWORDS, NULL },
11007 { (char *)"HtmlCell_GetPosY", (PyCFunction) _wrap_HtmlCell_GetPosY, METH_VARARGS | METH_KEYWORDS, NULL },
11008 { (char *)"HtmlCell_GetWidth", (PyCFunction) _wrap_HtmlCell_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
11009 { (char *)"HtmlCell_GetHeight", (PyCFunction) _wrap_HtmlCell_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
11010 { (char *)"HtmlCell_GetDescent", (PyCFunction) _wrap_HtmlCell_GetDescent, METH_VARARGS | METH_KEYWORDS, NULL },
11011 { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction) _wrap_HtmlCell_GetMaxTotalWidth, METH_VARARGS | METH_KEYWORDS, NULL },
11012 { (char *)"HtmlCell_GetId", (PyCFunction) _wrap_HtmlCell_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
11013 { (char *)"HtmlCell_SetId", (PyCFunction) _wrap_HtmlCell_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
11014 { (char *)"HtmlCell_GetLink", (PyCFunction) _wrap_HtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS, NULL },
11015 { (char *)"HtmlCell_GetNext", (PyCFunction) _wrap_HtmlCell_GetNext, METH_VARARGS | METH_KEYWORDS, NULL },
11016 { (char *)"HtmlCell_GetParent", (PyCFunction) _wrap_HtmlCell_GetParent, METH_VARARGS | METH_KEYWORDS, NULL },
11017 { (char *)"HtmlCell_GetFirstChild", (PyCFunction) _wrap_HtmlCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL },
11018 { (char *)"HtmlCell_GetCursor", (PyCFunction) _wrap_HtmlCell_GetCursor, METH_VARARGS | METH_KEYWORDS, NULL },
11019 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction) _wrap_HtmlCell_IsFormattingCell, METH_VARARGS | METH_KEYWORDS, NULL },
11020 { (char *)"HtmlCell_SetLink", (PyCFunction) _wrap_HtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS, NULL },
11021 { (char *)"HtmlCell_SetNext", (PyCFunction) _wrap_HtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS, NULL },
11022 { (char *)"HtmlCell_SetParent", (PyCFunction) _wrap_HtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS, NULL },
11023 { (char *)"HtmlCell_SetPos", (PyCFunction) _wrap_HtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS, NULL },
11024 { (char *)"HtmlCell_Layout", (PyCFunction) _wrap_HtmlCell_Layout, METH_VARARGS | METH_KEYWORDS, NULL },
11025 { (char *)"HtmlCell_Draw", (PyCFunction) _wrap_HtmlCell_Draw, METH_VARARGS | METH_KEYWORDS, NULL },
11026 { (char *)"HtmlCell_DrawInvisible", (PyCFunction) _wrap_HtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS, NULL },
11027 { (char *)"HtmlCell_Find", (PyCFunction) _wrap_HtmlCell_Find, METH_VARARGS | METH_KEYWORDS, NULL },
11028 { (char *)"HtmlCell_AdjustPagebreak", (PyCFunction) _wrap_HtmlCell_AdjustPagebreak, METH_VARARGS | METH_KEYWORDS, NULL },
11029 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_HtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS, NULL },
11030 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction) _wrap_HtmlCell_IsLinebreakAllowed, METH_VARARGS | METH_KEYWORDS, NULL },
11031 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction) _wrap_HtmlCell_IsTerminalCell, METH_VARARGS | METH_KEYWORDS, NULL },
11032 { (char *)"HtmlCell_FindCellByPos", (PyCFunction) _wrap_HtmlCell_FindCellByPos, METH_VARARGS | METH_KEYWORDS, NULL },
11033 { (char *)"HtmlCell_GetAbsPos", (PyCFunction) _wrap_HtmlCell_GetAbsPos, METH_VARARGS | METH_KEYWORDS, NULL },
11034 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction) _wrap_HtmlCell_GetFirstTerminal, METH_VARARGS | METH_KEYWORDS, NULL },
11035 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction) _wrap_HtmlCell_GetLastTerminal, METH_VARARGS | METH_KEYWORDS, NULL },
11036 { (char *)"HtmlCell_GetDepth", (PyCFunction) _wrap_HtmlCell_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL },
11037 { (char *)"HtmlCell_IsBefore", (PyCFunction) _wrap_HtmlCell_IsBefore, METH_VARARGS | METH_KEYWORDS, NULL },
11038 { (char *)"HtmlCell_ConvertToText", (PyCFunction) _wrap_HtmlCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL },
11039 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister, METH_VARARGS, NULL },
11040 { (char *)"new_HtmlWordCell", (PyCFunction) _wrap_new_HtmlWordCell, METH_VARARGS | METH_KEYWORDS, NULL },
11041 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister, METH_VARARGS, NULL },
11042 { (char *)"new_HtmlContainerCell", (PyCFunction) _wrap_new_HtmlContainerCell, METH_VARARGS | METH_KEYWORDS, NULL },
11043 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction) _wrap_HtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS, NULL },
11044 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL },
11045 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_GetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL },
11046 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL },
11047 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_GetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL },
11048 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction) _wrap_HtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL },
11049 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction) _wrap_HtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL },
11050 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_HtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS, NULL },
11051 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction) _wrap_HtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL },
11052 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS, NULL },
11053 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS, NULL },
11054 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_HtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL },
11055 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
11056 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
11057 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction) _wrap_HtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS, NULL },
11058 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction) _wrap_HtmlContainerCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL },
11059 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister, METH_VARARGS, NULL },
11060 { (char *)"new_HtmlColourCell", (PyCFunction) _wrap_new_HtmlColourCell, METH_VARARGS | METH_KEYWORDS, NULL },
11061 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister, METH_VARARGS, NULL },
11062 { (char *)"new_HtmlFontCell", (PyCFunction) _wrap_new_HtmlFontCell, METH_VARARGS | METH_KEYWORDS, NULL },
11063 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister, METH_VARARGS, NULL },
11064 { (char *)"new_HtmlWidgetCell", (PyCFunction) _wrap_new_HtmlWidgetCell, METH_VARARGS | METH_KEYWORDS, NULL },
11065 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister, METH_VARARGS, NULL },
11066 { (char *)"new_HtmlFilter", (PyCFunction) _wrap_new_HtmlFilter, METH_VARARGS | METH_KEYWORDS, NULL },
11067 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction) _wrap_HtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
11068 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister, METH_VARARGS, NULL },
11069 { (char *)"new_HtmlWindow", (PyCFunction) _wrap_new_HtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL },
11070 { (char *)"new_PreHtmlWindow", (PyCFunction) _wrap_new_PreHtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL },
11071 { (char *)"HtmlWindow_Create", (PyCFunction) _wrap_HtmlWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
11072 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction) _wrap_HtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
11073 { (char *)"HtmlWindow_SetPage", (PyCFunction) _wrap_HtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS, NULL },
11074 { (char *)"HtmlWindow_LoadPage", (PyCFunction) _wrap_HtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS, NULL },
11075 { (char *)"HtmlWindow_LoadFile", (PyCFunction) _wrap_HtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL },
11076 { (char *)"HtmlWindow_AppendToPage", (PyCFunction) _wrap_HtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS, NULL },
11077 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction) _wrap_HtmlWindow_GetOpenedPage, METH_VARARGS | METH_KEYWORDS, NULL },
11078 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction) _wrap_HtmlWindow_GetOpenedAnchor, METH_VARARGS | METH_KEYWORDS, NULL },
11079 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction) _wrap_HtmlWindow_GetOpenedPageTitle, METH_VARARGS | METH_KEYWORDS, NULL },
11080 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL },
11081 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_GetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL },
11082 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_HtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
11083 { (char *)"HtmlWindow_SetFonts", (PyCFunction) _wrap_HtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL },
11084 { (char *)"HtmlWindow_NormalizeFontSizes", (PyCFunction) _wrap_HtmlWindow_NormalizeFontSizes, METH_VARARGS | METH_KEYWORDS, NULL },
11085 { (char *)"HtmlWindow_SetTitle", (PyCFunction) _wrap_HtmlWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
11086 { (char *)"HtmlWindow_SetBorders", (PyCFunction) _wrap_HtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS, NULL },
11087 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction) _wrap_HtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL },
11088 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction) _wrap_HtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL },
11089 { (char *)"HtmlWindow_HistoryBack", (PyCFunction) _wrap_HtmlWindow_HistoryBack, METH_VARARGS | METH_KEYWORDS, NULL },
11090 { (char *)"HtmlWindow_HistoryForward", (PyCFunction) _wrap_HtmlWindow_HistoryForward, METH_VARARGS | METH_KEYWORDS, NULL },
11091 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction) _wrap_HtmlWindow_HistoryCanBack, METH_VARARGS | METH_KEYWORDS, NULL },
11092 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction) _wrap_HtmlWindow_HistoryCanForward, METH_VARARGS | METH_KEYWORDS, NULL },
11093 { (char *)"HtmlWindow_HistoryClear", (PyCFunction) _wrap_HtmlWindow_HistoryClear, METH_VARARGS | METH_KEYWORDS, NULL },
11094 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction) _wrap_HtmlWindow_GetInternalRepresentation, METH_VARARGS | METH_KEYWORDS, NULL },
11095 { (char *)"HtmlWindow_GetParser", (PyCFunction) _wrap_HtmlWindow_GetParser, METH_VARARGS | METH_KEYWORDS, NULL },
11096 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_HtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS, NULL },
11097 { (char *)"HtmlWindow_HasAnchor", (PyCFunction) _wrap_HtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS, NULL },
11098 { (char *)"HtmlWindow_AddFilter", (PyCFunction) _wrap_HtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL },
11099 { (char *)"HtmlWindow_SelectWord", (PyCFunction) _wrap_HtmlWindow_SelectWord, METH_VARARGS | METH_KEYWORDS, NULL },
11100 { (char *)"HtmlWindow_SelectLine", (PyCFunction) _wrap_HtmlWindow_SelectLine, METH_VARARGS | METH_KEYWORDS, NULL },
11101 { (char *)"HtmlWindow_SelectAll", (PyCFunction) _wrap_HtmlWindow_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL },
11102 { (char *)"HtmlWindow_SelectionToText", (PyCFunction) _wrap_HtmlWindow_SelectionToText, METH_VARARGS | METH_KEYWORDS, NULL },
11103 { (char *)"HtmlWindow_ToText", (PyCFunction) _wrap_HtmlWindow_ToText, METH_VARARGS | METH_KEYWORDS, NULL },
11104 { (char *)"HtmlWindow_base_OnLinkClicked", (PyCFunction) _wrap_HtmlWindow_base_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL },
11105 { (char *)"HtmlWindow_base_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_base_OnSetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
11106 { (char *)"HtmlWindow_base_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_base_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS, NULL },
11107 { (char *)"HtmlWindow_base_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_base_OnCellClicked, METH_VARARGS | METH_KEYWORDS, NULL },
11108 { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_HtmlWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
11109 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS, NULL },
11110 { (char *)"new_HtmlDCRenderer", (PyCFunction) _wrap_new_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS, NULL },
11111 { (char *)"delete_HtmlDCRenderer", (PyCFunction) _wrap_delete_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS, NULL },
11112 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction) _wrap_HtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS, NULL },
11113 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction) _wrap_HtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
11114 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_HtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL },
11115 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL },
11116 { (char *)"HtmlDCRenderer_NormalizeFontSizes", (PyCFunction) _wrap_HtmlDCRenderer_NormalizeFontSizes, METH_VARARGS | METH_KEYWORDS, NULL },
11117 { (char *)"HtmlDCRenderer_Render", (PyCFunction) _wrap_HtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS, NULL },
11118 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction) _wrap_HtmlDCRenderer_GetTotalHeight, METH_VARARGS | METH_KEYWORDS, NULL },
11119 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister, METH_VARARGS, NULL },
11120 { (char *)"new_HtmlPrintout", (PyCFunction) _wrap_new_HtmlPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
11121 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction) _wrap_HtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL },
11122 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_HtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS, NULL },
11123 { (char *)"HtmlPrintout_SetHeader", (PyCFunction) _wrap_HtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL },
11124 { (char *)"HtmlPrintout_SetFooter", (PyCFunction) _wrap_HtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL },
11125 { (char *)"HtmlPrintout_SetFonts", (PyCFunction) _wrap_HtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL },
11126 { (char *)"HtmlPrintout_NormalizeFontSizes", (PyCFunction) _wrap_HtmlPrintout_NormalizeFontSizes, METH_VARARGS | METH_KEYWORDS, NULL },
11127 { (char *)"HtmlPrintout_SetMargins", (PyCFunction) _wrap_HtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
11128 { (char *)"HtmlPrintout_AddFilter", (PyCFunction) _wrap_HtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL },
11129 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction) _wrap_HtmlPrintout_CleanUpStatics, METH_VARARGS | METH_KEYWORDS, NULL },
11130 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister, METH_VARARGS, NULL },
11131 { (char *)"new_HtmlEasyPrinting", (PyCFunction) _wrap_new_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
11132 { (char *)"delete_HtmlEasyPrinting", (PyCFunction) _wrap_delete_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
11133 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS, NULL },
11134 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS, NULL },
11135 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_HtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS, NULL },
11136 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction) _wrap_HtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS, NULL },
11137 { (char *)"HtmlEasyPrinting_PrinterSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PrinterSetup, METH_VARARGS | METH_KEYWORDS, NULL },
11138 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PageSetup, METH_VARARGS | METH_KEYWORDS, NULL },
11139 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_HtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL },
11140 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_HtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL },
11141 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL },
11142 { (char *)"HtmlEasyPrinting_NormalizeFontSizes", (PyCFunction) _wrap_HtmlEasyPrinting_NormalizeFontSizes, METH_VARARGS | METH_KEYWORDS, NULL },
11143 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
11144 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL },
11145 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister, METH_VARARGS, NULL },
11146 { (char *)"new_HtmlBookRecord", (PyCFunction) _wrap_new_HtmlBookRecord, METH_VARARGS | METH_KEYWORDS, NULL },
11147 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction) _wrap_HtmlBookRecord_GetBookFile, METH_VARARGS | METH_KEYWORDS, NULL },
11148 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction) _wrap_HtmlBookRecord_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
11149 { (char *)"HtmlBookRecord_GetStart", (PyCFunction) _wrap_HtmlBookRecord_GetStart, METH_VARARGS | METH_KEYWORDS, NULL },
11150 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction) _wrap_HtmlBookRecord_GetBasePath, METH_VARARGS | METH_KEYWORDS, NULL },
11151 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_HtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS, NULL },
11152 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction) _wrap_HtmlBookRecord_GetContentsStart, METH_VARARGS | METH_KEYWORDS, NULL },
11153 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction) _wrap_HtmlBookRecord_GetContentsEnd, METH_VARARGS | METH_KEYWORDS, NULL },
11154 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction) _wrap_HtmlBookRecord_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
11155 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction) _wrap_HtmlBookRecord_SetBasePath, METH_VARARGS | METH_KEYWORDS, NULL },
11156 { (char *)"HtmlBookRecord_SetStart", (PyCFunction) _wrap_HtmlBookRecord_SetStart, METH_VARARGS | METH_KEYWORDS, NULL },
11157 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction) _wrap_HtmlBookRecord_GetFullPath, METH_VARARGS | METH_KEYWORDS, NULL },
11158 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister, METH_VARARGS, NULL },
11159 { (char *)"HtmlContentsItem_GetLevel", (PyCFunction) _wrap_HtmlContentsItem_GetLevel, METH_VARARGS | METH_KEYWORDS, NULL },
11160 { (char *)"HtmlContentsItem_GetID", (PyCFunction) _wrap_HtmlContentsItem_GetID, METH_VARARGS | METH_KEYWORDS, NULL },
11161 { (char *)"HtmlContentsItem_GetName", (PyCFunction) _wrap_HtmlContentsItem_GetName, METH_VARARGS | METH_KEYWORDS, NULL },
11162 { (char *)"HtmlContentsItem_GetPage", (PyCFunction) _wrap_HtmlContentsItem_GetPage, METH_VARARGS | METH_KEYWORDS, NULL },
11163 { (char *)"HtmlContentsItem_GetBook", (PyCFunction) _wrap_HtmlContentsItem_GetBook, METH_VARARGS | METH_KEYWORDS, NULL },
11164 { (char *)"HtmlContentsItem_swigregister", HtmlContentsItem_swigregister, METH_VARARGS, NULL },
11165 { (char *)"HtmlSearchStatus_Search", (PyCFunction) _wrap_HtmlSearchStatus_Search, METH_VARARGS | METH_KEYWORDS, NULL },
11166 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction) _wrap_HtmlSearchStatus_IsActive, METH_VARARGS | METH_KEYWORDS, NULL },
11167 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetCurIndex, METH_VARARGS | METH_KEYWORDS, NULL },
11168 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetMaxIndex, METH_VARARGS | METH_KEYWORDS, NULL },
11169 { (char *)"HtmlSearchStatus_GetName", (PyCFunction) _wrap_HtmlSearchStatus_GetName, METH_VARARGS | METH_KEYWORDS, NULL },
11170 { (char *)"HtmlSearchStatus_GetContentsItem", (PyCFunction) _wrap_HtmlSearchStatus_GetContentsItem, METH_VARARGS | METH_KEYWORDS, NULL },
11171 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister, METH_VARARGS, NULL },
11172 { (char *)"new_HtmlHelpData", (PyCFunction) _wrap_new_HtmlHelpData, METH_VARARGS | METH_KEYWORDS, NULL },
11173 { (char *)"delete_HtmlHelpData", (PyCFunction) _wrap_delete_HtmlHelpData, METH_VARARGS | METH_KEYWORDS, NULL },
11174 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction) _wrap_HtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL },
11175 { (char *)"HtmlHelpData_AddBook", (PyCFunction) _wrap_HtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS, NULL },
11176 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction) _wrap_HtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS, NULL },
11177 { (char *)"HtmlHelpData_FindPageById", (PyCFunction) _wrap_HtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS, NULL },
11178 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction) _wrap_HtmlHelpData_GetBookRecArray, METH_VARARGS | METH_KEYWORDS, NULL },
11179 { (char *)"HtmlHelpData_GetContents", (PyCFunction) _wrap_HtmlHelpData_GetContents, METH_VARARGS | METH_KEYWORDS, NULL },
11180 { (char *)"HtmlHelpData_GetContentsCnt", (PyCFunction) _wrap_HtmlHelpData_GetContentsCnt, METH_VARARGS | METH_KEYWORDS, NULL },
11181 { (char *)"HtmlHelpData_GetIndex", (PyCFunction) _wrap_HtmlHelpData_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL },
11182 { (char *)"HtmlHelpData_GetIndexCnt", (PyCFunction) _wrap_HtmlHelpData_GetIndexCnt, METH_VARARGS | METH_KEYWORDS, NULL },
11183 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister, METH_VARARGS, NULL },
11184 { (char *)"new_HtmlHelpFrame", (PyCFunction) _wrap_new_HtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL },
11185 { (char *)"HtmlHelpFrame_GetData", (PyCFunction) _wrap_HtmlHelpFrame_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
11186 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL },
11187 { (char *)"HtmlHelpFrame_Display", (PyCFunction) _wrap_HtmlHelpFrame_Display, METH_VARARGS | METH_KEYWORDS, NULL },
11188 { (char *)"HtmlHelpFrame_DisplayID", (PyCFunction) _wrap_HtmlHelpFrame_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL },
11189 { (char *)"HtmlHelpFrame_DisplayContents", (PyCFunction) _wrap_HtmlHelpFrame_DisplayContents, METH_VARARGS | METH_KEYWORDS, NULL },
11190 { (char *)"HtmlHelpFrame_DisplayIndex", (PyCFunction) _wrap_HtmlHelpFrame_DisplayIndex, METH_VARARGS | METH_KEYWORDS, NULL },
11191 { (char *)"HtmlHelpFrame_KeywordSearch", (PyCFunction) _wrap_HtmlHelpFrame_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL },
11192 { (char *)"HtmlHelpFrame_UseConfig", (PyCFunction) _wrap_HtmlHelpFrame_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL },
11193 { (char *)"HtmlHelpFrame_ReadCustomization", (PyCFunction) _wrap_HtmlHelpFrame_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL },
11194 { (char *)"HtmlHelpFrame_WriteCustomization", (PyCFunction) _wrap_HtmlHelpFrame_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL },
11195 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister, METH_VARARGS, NULL },
11196 { (char *)"new_HtmlHelpController", (PyCFunction) _wrap_new_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL },
11197 { (char *)"delete_HtmlHelpController", (PyCFunction) _wrap_delete_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL },
11198 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL },
11199 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction) _wrap_HtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL },
11200 { (char *)"HtmlHelpController_AddBook", (PyCFunction) _wrap_HtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS, NULL },
11201 { (char *)"HtmlHelpController_Display", (PyCFunction) _wrap_HtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS, NULL },
11202 { (char *)"HtmlHelpController_DisplayID", (PyCFunction) _wrap_HtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL },
11203 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction) _wrap_HtmlHelpController_DisplayContents, METH_VARARGS | METH_KEYWORDS, NULL },
11204 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction) _wrap_HtmlHelpController_DisplayIndex, METH_VARARGS | METH_KEYWORDS, NULL },
11205 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction) _wrap_HtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL },
11206 { (char *)"HtmlHelpController_UseConfig", (PyCFunction) _wrap_HtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL },
11207 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction) _wrap_HtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL },
11208 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction) _wrap_HtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL },
11209 { (char *)"HtmlHelpController_GetFrame", (PyCFunction) _wrap_HtmlHelpController_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
11210 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister, METH_VARARGS, NULL },
11211 { NULL, NULL, 0, NULL }
11212 };
11213
11214
11215 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
11216
11217 static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x) {
11218 return (void *)((wxHtmlRenderingStyle *) ((wxDefaultHtmlRenderingStyle *) x));
11219 }
11220 static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) {
11221 return (void *)((wxHtmlParser *) ((wxHtmlWinParser *) x));
11222 }
11223 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
11224 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
11225 }
11226 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
11227 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
11228 }
11229 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
11230 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11231 }
11232 static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) {
11233 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x));
11234 }
11235 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
11236 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11237 }
11238 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
11239 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11240 }
11241 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
11242 return (void *)((wxPanel *) ((wxPyPanel *) x));
11243 }
11244 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
11245 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
11246 }
11247 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
11248 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
11249 }
11250 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
11251 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11252 }
11253 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
11254 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11255 }
11256 static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) {
11257 return (void *)((wxScrolledWindow *) ((wxPyHtmlWindow *) x));
11258 }
11259 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
11260 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
11261 }
11262 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
11263 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
11264 }
11265 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
11266 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
11267 }
11268 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
11269 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
11270 }
11271 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
11272 return (void *)((wxWindow *) ((wxMenuBar *) x));
11273 }
11274 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
11275 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
11276 }
11277 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
11278 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
11279 }
11280 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
11281 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
11282 }
11283 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
11284 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
11285 }
11286 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
11287 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
11288 }
11289 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
11290 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
11291 }
11292 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
11293 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
11294 }
11295 static void *_p_wxPanelTo_p_wxWindow(void *x) {
11296 return (void *)((wxWindow *) ((wxPanel *) x));
11297 }
11298 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
11299 return (void *)((wxWindow *) ((wxStatusBar *) x));
11300 }
11301 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
11302 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
11303 }
11304 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
11305 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
11306 }
11307 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
11308 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
11309 }
11310 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
11311 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
11312 }
11313 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
11314 return (void *)((wxWindow *) ((wxPopupWindow *) x));
11315 }
11316 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
11317 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
11318 }
11319 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
11320 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
11321 }
11322 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
11323 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
11324 }
11325 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
11326 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
11327 }
11328 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
11329 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
11330 }
11331 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
11332 return (void *)((wxWindow *) ((wxSashWindow *) x));
11333 }
11334 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
11335 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11336 }
11337 static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) {
11338 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
11339 }
11340 static void *_p_wxControlTo_p_wxWindow(void *x) {
11341 return (void *)((wxWindow *) ((wxControl *) x));
11342 }
11343 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
11344 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
11345 }
11346 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
11347 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11348 }
11349 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
11350 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
11351 }
11352 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
11353 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
11354 }
11355 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
11356 return (void *)((wxWindow *) ((wxPyWindow *) x));
11357 }
11358 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
11359 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
11360 }
11361 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
11362 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11363 }
11364 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
11365 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11366 }
11367 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
11368 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
11369 }
11370 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
11371 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11372 }
11373 static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) {
11374 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
11375 }
11376 static void *_p_wxFrameTo_p_wxWindow(void *x) {
11377 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
11378 }
11379 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
11380 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
11381 }
11382 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
11383 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
11384 }
11385 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
11386 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
11387 }
11388 static void *_p_wxDialogTo_p_wxWindow(void *x) {
11389 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
11390 }
11391 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
11392 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
11393 }
11394 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
11395 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
11396 }
11397 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
11398 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
11399 }
11400 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
11401 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
11402 }
11403 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
11404 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
11405 }
11406 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
11407 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
11408 }
11409 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
11410 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
11411 }
11412 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
11413 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
11414 }
11415 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
11416 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
11417 }
11418 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
11419 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
11420 }
11421 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
11422 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
11423 }
11424 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
11425 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
11426 }
11427 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
11428 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
11429 }
11430 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
11431 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
11432 }
11433 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
11434 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
11435 }
11436 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
11437 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
11438 }
11439 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
11440 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
11441 }
11442 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
11443 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
11444 }
11445 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
11446 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
11447 }
11448 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
11449 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
11450 }
11451 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
11452 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
11453 }
11454 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
11455 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
11456 }
11457 static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) {
11458 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x));
11459 }
11460 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
11461 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
11462 }
11463 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
11464 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11465 }
11466 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
11467 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
11468 }
11469 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
11470 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
11471 }
11472 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
11473 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
11474 }
11475 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
11476 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11477 }
11478 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
11479 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
11480 }
11481 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
11482 return (void *)((wxObject *) ((wxSizerItem *) x));
11483 }
11484 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
11485 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
11486 }
11487 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
11488 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
11489 }
11490 static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) {
11491 return (void *)((wxObject *) ((wxHtmlLinkInfo *) x));
11492 }
11493 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
11494 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
11495 }
11496 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
11497 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
11498 }
11499 static void *_p_wxSizerTo_p_wxObject(void *x) {
11500 return (void *)((wxObject *) ((wxSizer *) x));
11501 }
11502 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
11503 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
11504 }
11505 static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) {
11506 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x));
11507 }
11508 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
11509 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
11510 }
11511 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
11512 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
11513 }
11514 static void *_p_wxEventTo_p_wxObject(void *x) {
11515 return (void *)((wxObject *) ((wxEvent *) x));
11516 }
11517 static void *_p_wxFontDataTo_p_wxObject(void *x) {
11518 return (void *)((wxObject *) ((wxFontData *) x));
11519 }
11520 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
11521 return (void *)((wxObject *) ((wxPrintData *) x));
11522 }
11523 static void *_p_wxHtmlTagTo_p_wxObject(void *x) {
11524 return (void *)((wxObject *) ((wxHtmlTag *) x));
11525 }
11526 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
11527 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
11528 }
11529 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
11530 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
11531 }
11532 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
11533 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
11534 }
11535 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
11536 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
11537 }
11538 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
11539 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
11540 }
11541 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
11542 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
11543 }
11544 static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) {
11545 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
11546 }
11547 static void *_p_wxHtmlCellTo_p_wxObject(void *x) {
11548 return (void *)((wxObject *) ((wxHtmlCell *) x));
11549 }
11550 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
11551 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
11552 }
11553 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
11554 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
11555 }
11556 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
11557 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
11558 }
11559 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
11560 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
11561 }
11562 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
11563 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
11564 }
11565 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
11566 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
11567 }
11568 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
11569 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
11570 }
11571 static void *_p_wxControlTo_p_wxObject(void *x) {
11572 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
11573 }
11574 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
11575 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
11576 }
11577 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
11578 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
11579 }
11580 static void *_p_wxFSFileTo_p_wxObject(void *x) {
11581 return (void *)((wxObject *) ((wxFSFile *) x));
11582 }
11583 static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) {
11584 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x));
11585 }
11586 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
11587 return (void *)((wxObject *) ((wxFindReplaceData *) x));
11588 }
11589 static void *_p_wxPySizerTo_p_wxObject(void *x) {
11590 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
11591 }
11592 static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) {
11593 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x));
11594 }
11595 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
11596 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
11597 }
11598 static void *_p_wxColourDataTo_p_wxObject(void *x) {
11599 return (void *)((wxObject *) ((wxColourData *) x));
11600 }
11601 static void *_p_wxPyEventTo_p_wxObject(void *x) {
11602 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
11603 }
11604 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
11605 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
11606 }
11607 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
11608 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
11609 }
11610 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
11611 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
11612 }
11613 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
11614 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
11615 }
11616 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
11617 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
11618 }
11619 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
11620 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
11621 }
11622 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
11623 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
11624 }
11625 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
11626 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
11627 }
11628 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
11629 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
11630 }
11631 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
11632 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
11633 }
11634 static void *_p_wxShowEventTo_p_wxObject(void *x) {
11635 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
11636 }
11637 static void *_p_wxPrinterTo_p_wxObject(void *x) {
11638 return (void *)((wxObject *) ((wxPrinter *) x));
11639 }
11640 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
11641 return (void *)((wxObject *) ((wxMenuItem *) x));
11642 }
11643 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
11644 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
11645 }
11646 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
11647 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
11648 }
11649 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
11650 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
11651 }
11652 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
11653 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
11654 }
11655 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
11656 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
11657 }
11658 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
11659 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
11660 }
11661 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
11662 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
11663 }
11664 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
11665 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
11666 }
11667 static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) {
11668 return (void *)((wxObject *) ((wxPyHtmlFilter *) x));
11669 }
11670 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
11671 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
11672 }
11673 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
11674 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
11675 }
11676 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
11677 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
11678 }
11679 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
11680 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
11681 }
11682 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
11683 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
11684 }
11685 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
11686 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
11687 }
11688 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
11689 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
11690 }
11691 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
11692 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
11693 }
11694 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
11695 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
11696 }
11697 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
11698 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
11699 }
11700 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
11701 return (void *)((wxObject *) ((wxImageHandler *) x));
11702 }
11703 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
11704 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
11705 }
11706 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
11707 return (void *)((wxObject *) ((wxEvtHandler *) x));
11708 }
11709 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
11710 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
11711 }
11712 static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) {
11713 return (void *)((wxObject *) ((wxPyHtmlTagHandler *) x));
11714 }
11715 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) {
11716 return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
11717 }
11718 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
11719 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11720 }
11721 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
11722 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11723 }
11724 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
11725 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
11726 }
11727 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
11728 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
11729 }
11730 static void *_p_wxImageTo_p_wxObject(void *x) {
11731 return (void *)((wxObject *) ((wxImage *) x));
11732 }
11733 static void *_p_wxFrameTo_p_wxObject(void *x) {
11734 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
11735 }
11736 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
11737 return (void *)((wxObject *) ((wxPyPrintout *) x));
11738 }
11739 static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) {
11740 return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x));
11741 }
11742 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
11743 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
11744 }
11745 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
11746 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
11747 }
11748 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
11749 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
11750 }
11751 static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x) {
11752 return (void *)((wxObject *) ((wxHtmlDCRenderer *) x));
11753 }
11754 static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) {
11755 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x));
11756 }
11757 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
11758 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
11759 }
11760 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
11761 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
11762 }
11763 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
11764 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
11765 }
11766 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
11767 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
11768 }
11769 static void *_p_wxWindowTo_p_wxObject(void *x) {
11770 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
11771 }
11772 static void *_p_wxMenuTo_p_wxObject(void *x) {
11773 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
11774 }
11775 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
11776 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
11777 }
11778 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
11779 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
11780 }
11781 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
11782 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
11783 }
11784 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
11785 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
11786 }
11787 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
11788 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
11789 }
11790 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
11791 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
11792 }
11793 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
11794 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
11795 }
11796 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
11797 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
11798 }
11799 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
11800 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
11801 }
11802 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
11803 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
11804 }
11805 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
11806 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
11807 }
11808 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
11809 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
11810 }
11811 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
11812 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11813 }
11814 static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) {
11815 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
11816 }
11817 static void *_p_wxSashEventTo_p_wxObject(void *x) {
11818 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
11819 }
11820 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
11821 return (void *)((wxObject *) ((wxPrintPreview *) x));
11822 }
11823 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
11824 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
11825 }
11826 static void *_p_wxPanelTo_p_wxObject(void *x) {
11827 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
11828 }
11829 static void *_p_wxDialogTo_p_wxObject(void *x) {
11830 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
11831 }
11832 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
11833 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
11834 }
11835 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
11836 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
11837 }
11838 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
11839 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
11840 }
11841 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
11842 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
11843 }
11844 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
11845 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
11846 }
11847 static void *_p_wxHtmlParserTo_p_wxObject(void *x) {
11848 return (void *)((wxObject *) ((wxHtmlParser *) x));
11849 }
11850 static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) {
11851 return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x));
11852 }
11853 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
11854 return (void *)((wxObject *) ((wxFileSystem *) x));
11855 }
11856 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
11857 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
11858 }
11859 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
11860 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
11861 }
11862 static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) {
11863 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x));
11864 }
11865 static void *_p_wxPyAppTo_p_wxObject(void *x) {
11866 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
11867 }
11868 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
11869 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
11870 }
11871 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
11872 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
11873 }
11874 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
11875 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
11876 }
11877 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
11878 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
11879 }
11880 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
11881 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
11882 }
11883 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
11884 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
11885 }
11886 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
11887 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11888 }
11889 static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) {
11890 return (void *)((wxObject *) ((wxHtmlEasyPrinting *) x));
11891 }
11892 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
11893 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
11894 }
11895 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
11896 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
11897 }
11898 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
11899 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
11900 }
11901 static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) {
11902 return (void *)((wxObject *) (wxEvtHandler *) ((wxHtmlHelpController *) x));
11903 }
11904 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
11905 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
11906 }
11907 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
11908 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
11909 }
11910 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
11911 return (void *)((wxObject *) ((wxPrintDialogData *) x));
11912 }
11913 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
11914 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
11915 }
11916 static void *_p_wxValidatorTo_p_wxObject(void *x) {
11917 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
11918 }
11919 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) {
11920 return (void *)((wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
11921 }
11922 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
11923 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
11924 }
11925 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
11926 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
11927 }
11928 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
11929 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
11930 }
11931 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
11932 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
11933 }
11934 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
11935 return (void *)((wxEvtHandler *) ((wxValidator *) x));
11936 }
11937 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
11938 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
11939 }
11940 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
11941 return (void *)((wxEvtHandler *) ((wxMenu *) x));
11942 }
11943 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
11944 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
11945 }
11946 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
11947 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
11948 }
11949 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
11950 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
11951 }
11952 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
11953 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
11954 }
11955 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
11956 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
11957 }
11958 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
11959 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
11960 }
11961 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
11962 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
11963 }
11964 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
11965 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
11966 }
11967 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
11968 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
11969 }
11970 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
11971 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
11972 }
11973 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
11974 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
11975 }
11976 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
11977 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
11978 }
11979 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
11980 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
11981 }
11982 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
11983 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
11984 }
11985 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
11986 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
11987 }
11988 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
11989 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
11990 }
11991 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
11992 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
11993 }
11994 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
11995 return (void *)((wxEvtHandler *) ((wxWindow *) x));
11996 }
11997 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
11998 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
11999 }
12000 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
12001 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
12002 }
12003 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
12004 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
12005 }
12006 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
12007 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
12008 }
12009 static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) {
12010 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
12011 }
12012 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
12013 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
12014 }
12015 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
12016 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
12017 }
12018 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
12019 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
12020 }
12021 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
12022 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
12023 }
12024 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
12025 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
12026 }
12027 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
12028 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
12029 }
12030 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
12031 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
12032 }
12033 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
12034 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
12035 }
12036 static void *_p_wxHtmlHelpControllerTo_p_wxEvtHandler(void *x) {
12037 return (void *)((wxEvtHandler *) ((wxHtmlHelpController *) x));
12038 }
12039 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
12040 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
12041 }
12042 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
12043 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
12044 }
12045 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
12046 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
12047 }
12048 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
12049 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
12050 }
12051 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
12052 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
12053 }
12054 static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) {
12055 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
12056 }
12057 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
12058 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
12059 }
12060 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
12061 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
12062 }
12063 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
12064 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
12065 }
12066 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
12067 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
12068 }
12069 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
12070 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
12071 }
12072 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
12073 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
12074 }
12075 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
12076 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
12077 }
12078 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
12079 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
12080 }
12081 static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) {
12082 return (void *)((wxPyPrintout *) ((wxHtmlPrintout *) x));
12083 }
12084 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
12085 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
12086 }
12087 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
12088 return (void *)((wxFrame *) ((wxProgressDialog *) x));
12089 }
12090 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
12091 return (void *)((wxFrame *) ((wxTipWindow *) x));
12092 }
12093 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
12094 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
12095 }
12096 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
12097 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
12098 }
12099 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
12100 return (void *)((wxFrame *) ((wxMiniFrame *) x));
12101 }
12102 static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) {
12103 return (void *)((wxFrame *) ((wxHtmlHelpFrame *) x));
12104 }
12105 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
12106 return (void *)((wxFrame *) ((wxSplashScreen *) x));
12107 }
12108 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
12109 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
12110 }
12111 static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) {
12112 return (void *)((wxHtmlCell *) ((wxHtmlContainerCell *) x));
12113 }
12114 static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) {
12115 return (void *)((wxHtmlCell *) ((wxHtmlWidgetCell *) x));
12116 }
12117 static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) {
12118 return (void *)((wxHtmlCell *) ((wxHtmlColourCell *) x));
12119 }
12120 static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) {
12121 return (void *)((wxHtmlCell *) ((wxHtmlWordCell *) x));
12122 }
12123 static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) {
12124 return (void *)((wxHtmlCell *) ((wxHtmlFontCell *) x));
12125 }
12126 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}};
12127 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}};
12128 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}};
12129 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}};
12130 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}};
12131 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}};
12132 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}};
12133 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}};
12134 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}};
12135 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}};
12136 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}};
12137 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}};
12138 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}};
12139 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}};
12140 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}};
12141 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}};
12142 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}};
12143 static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12144 static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12145 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}};
12146 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}};
12147 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}};
12148 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}};
12149 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}};
12150 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}};
12151 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlLinkInfo", _p_wxHtmlLinkInfoTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlFontCell", _p_wxHtmlFontCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlTag", _p_wxHtmlTagTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlCell", _p_wxHtmlCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlWidgetCell", _p_wxHtmlWidgetCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlColourCell", _p_wxHtmlColourCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlFilter", _p_wxPyHtmlFilterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlTagHandler", _p_wxPyHtmlTagHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWinTagHandler", _p_wxPyHtmlWinTagHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlPrintout", _p_wxHtmlPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlDCRenderer", _p_wxHtmlDCRendererTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlContainerCell", _p_wxHtmlContainerCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlParser", _p_wxHtmlParserTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlWinParser", _p_wxHtmlWinParserTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlWordCell", _p_wxHtmlWordCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlEasyPrinting", _p_wxHtmlEasyPrintingTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpController", _p_wxHtmlHelpControllerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12152 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}};
12153 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}};
12154 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}};
12155 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}};
12156 static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpController", _p_wxHtmlHelpControllerTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12157 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}};
12158 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}};
12159 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}};
12160 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}};
12161 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}};
12162 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}};
12163 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}};
12164 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}};
12165 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}};
12166 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}};
12167 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}};
12168 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}};
12169 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}};
12170 static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12171 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}};
12172 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}};
12173 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}};
12174 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}};
12175 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}};
12176 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}};
12177 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}};
12178 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}};
12179
12180 static swig_type_info *swig_types_initial[] = {
12181 _swigt__p_wxHtmlDCRenderer,
12182 _swigt__p_wxColour,
12183 _swigt__p_wxPageSetupDialogData,
12184 _swigt__p_wxDC,
12185 _swigt__p_wxDefaultHtmlRenderingStyle,
12186 _swigt__p_wxHtmlRenderingStyle,
12187 _swigt__p_wxMouseEvent,
12188 _swigt__p_wxHtmlWordCell,
12189 _swigt__p_wxVisualAttributes,
12190 _swigt__p_wxHtmlHelpData,
12191 _swigt__p_char,
12192 _swigt__p_wxHtmlWinParser,
12193 _swigt__p_wxHtmlParser,
12194 _swigt__p_wxPanel,
12195 _swigt__p_wxFont,
12196 _swigt__p_wxPyHtmlWindow,
12197 _swigt__p_wxScrolledWindow,
12198 _swigt__p_wxWindow,
12199 _swigt__p_wxTopLevelWindow,
12200 _swigt__p_wxHtmlColourCell,
12201 _swigt__p_wxHtmlFontCell,
12202 _swigt__p_wxHtmlEasyPrinting,
12203 _swigt__p_wxHtmlSelection,
12204 _swigt__p_wxHtmlRenderingInfo,
12205 _swigt__p_wxHtmlWidgetCell,
12206 _swigt__p_wxObject,
12207 _swigt__p_wxString,
12208 _swigt__p_wxPyHtmlWinTagHandler,
12209 _swigt__p_wxHtmlTagHandler,
12210 _swigt__p_wxPyHtmlTagHandler,
12211 _swigt__p_wxEvtHandler,
12212 _swigt__p_wxPoint,
12213 _swigt__p_wxHtmlHelpController,
12214 _swigt__p_wxCursor,
12215 _swigt__p_wxFileSystem,
12216 _swigt__p_wxHtmlBookRecArray,
12217 _swigt__p_wxPyPrintout,
12218 _swigt__p_wxHtmlPrintout,
12219 _swigt__p_wxHtmlSearchStatus,
12220 _swigt__p_wxHtmlContentsItem,
12221 _swigt__p_wxConfigBase,
12222 _swigt__p_wxPrintData,
12223 _swigt__p_wxHtmlHelpFrame,
12224 _swigt__p_wxHtmlRenderingState,
12225 _swigt__p_wxFrame,
12226 _swigt__p_wxPyHtmlFilter,
12227 _swigt__p_wxHtmlFilter,
12228 _swigt__p_wxHtmlCell,
12229 _swigt__p_wxHtmlContainerCell,
12230 _swigt__p_wxHtmlTag,
12231 _swigt__p_int,
12232 _swigt__p_wxHtmlLinkInfo,
12233 _swigt__p_wxHtmlBookRecord,
12234 0
12235 };
12236
12237
12238 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
12239
12240 static swig_const_info swig_const_table[] = {
12241 {0, 0, 0, 0.0, 0, 0}};
12242
12243 #ifdef __cplusplus
12244 }
12245 #endif
12246
12247 #ifdef __cplusplus
12248 extern "C"
12249 #endif
12250 SWIGEXPORT(void) SWIG_init(void) {
12251 static PyObject *SWIG_globals = 0;
12252 static int typeinit = 0;
12253 PyObject *m, *d;
12254 int i;
12255 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
12256 m = Py_InitModule((char *) SWIG_name, SwigMethods);
12257 d = PyModule_GetDict(m);
12258
12259 if (!typeinit) {
12260 for (i = 0; swig_types_initial[i]; i++) {
12261 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
12262 }
12263 typeinit = 1;
12264 }
12265 SWIG_InstallConstants(d,swig_const_table);
12266
12267 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
12268 SWIG_addvarlink(SWIG_globals,(char*)"HtmlWindowNameStr",_wrap_HtmlWindowNameStr_get, _wrap_HtmlWindowNameStr_set);
12269 SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintoutTitleStr",_wrap_HtmlPrintoutTitleStr_get, _wrap_HtmlPrintoutTitleStr_set);
12270 SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintingTitleStr",_wrap_HtmlPrintingTitleStr_get, _wrap_HtmlPrintingTitleStr_set);
12271 PyDict_SetItemString(d,"HTML_ALIGN_LEFT", SWIG_From_int((int)wxHTML_ALIGN_LEFT));
12272 PyDict_SetItemString(d,"HTML_ALIGN_CENTER", SWIG_From_int((int)wxHTML_ALIGN_CENTER));
12273 PyDict_SetItemString(d,"HTML_ALIGN_RIGHT", SWIG_From_int((int)wxHTML_ALIGN_RIGHT));
12274 PyDict_SetItemString(d,"HTML_ALIGN_BOTTOM", SWIG_From_int((int)wxHTML_ALIGN_BOTTOM));
12275 PyDict_SetItemString(d,"HTML_ALIGN_TOP", SWIG_From_int((int)wxHTML_ALIGN_TOP));
12276 PyDict_SetItemString(d,"HTML_CLR_FOREGROUND", SWIG_From_int((int)wxHTML_CLR_FOREGROUND));
12277 PyDict_SetItemString(d,"HTML_CLR_BACKGROUND", SWIG_From_int((int)wxHTML_CLR_BACKGROUND));
12278 PyDict_SetItemString(d,"HTML_UNITS_PIXELS", SWIG_From_int((int)wxHTML_UNITS_PIXELS));
12279 PyDict_SetItemString(d,"HTML_UNITS_PERCENT", SWIG_From_int((int)wxHTML_UNITS_PERCENT));
12280 PyDict_SetItemString(d,"HTML_INDENT_LEFT", SWIG_From_int((int)wxHTML_INDENT_LEFT));
12281 PyDict_SetItemString(d,"HTML_INDENT_RIGHT", SWIG_From_int((int)wxHTML_INDENT_RIGHT));
12282 PyDict_SetItemString(d,"HTML_INDENT_TOP", SWIG_From_int((int)wxHTML_INDENT_TOP));
12283 PyDict_SetItemString(d,"HTML_INDENT_BOTTOM", SWIG_From_int((int)wxHTML_INDENT_BOTTOM));
12284 PyDict_SetItemString(d,"HTML_INDENT_HORIZONTAL", SWIG_From_int((int)wxHTML_INDENT_HORIZONTAL));
12285 PyDict_SetItemString(d,"HTML_INDENT_VERTICAL", SWIG_From_int((int)wxHTML_INDENT_VERTICAL));
12286 PyDict_SetItemString(d,"HTML_INDENT_ALL", SWIG_From_int((int)wxHTML_INDENT_ALL));
12287 PyDict_SetItemString(d,"HTML_COND_ISANCHOR", SWIG_From_int((int)wxHTML_COND_ISANCHOR));
12288 PyDict_SetItemString(d,"HTML_COND_ISIMAGEMAP", SWIG_From_int((int)wxHTML_COND_ISIMAGEMAP));
12289 PyDict_SetItemString(d,"HTML_COND_USER", SWIG_From_int((int)wxHTML_COND_USER));
12290 PyDict_SetItemString(d,"HTML_FONT_SIZE_1", SWIG_From_int((int)wxHTML_FONT_SIZE_1));
12291 PyDict_SetItemString(d,"HTML_FONT_SIZE_2", SWIG_From_int((int)wxHTML_FONT_SIZE_2));
12292 PyDict_SetItemString(d,"HTML_FONT_SIZE_3", SWIG_From_int((int)wxHTML_FONT_SIZE_3));
12293 PyDict_SetItemString(d,"HTML_FONT_SIZE_4", SWIG_From_int((int)wxHTML_FONT_SIZE_4));
12294 PyDict_SetItemString(d,"HTML_FONT_SIZE_5", SWIG_From_int((int)wxHTML_FONT_SIZE_5));
12295 PyDict_SetItemString(d,"HTML_FONT_SIZE_6", SWIG_From_int((int)wxHTML_FONT_SIZE_6));
12296 PyDict_SetItemString(d,"HTML_FONT_SIZE_7", SWIG_From_int((int)wxHTML_FONT_SIZE_7));
12297 PyDict_SetItemString(d,"HW_SCROLLBAR_NEVER", SWIG_From_int((int)wxHW_SCROLLBAR_NEVER));
12298 PyDict_SetItemString(d,"HW_SCROLLBAR_AUTO", SWIG_From_int((int)wxHW_SCROLLBAR_AUTO));
12299 PyDict_SetItemString(d,"HW_NO_SELECTION", SWIG_From_int((int)wxHW_NO_SELECTION));
12300 PyDict_SetItemString(d,"HW_DEFAULT_STYLE", SWIG_From_int((int)wxHW_DEFAULT_STYLE));
12301 PyDict_SetItemString(d,"HTML_OPEN", SWIG_From_int((int)wxHTML_OPEN));
12302 PyDict_SetItemString(d,"HTML_BLOCK", SWIG_From_int((int)wxHTML_BLOCK));
12303 PyDict_SetItemString(d,"HTML_REDIRECT", SWIG_From_int((int)wxHTML_REDIRECT));
12304 PyDict_SetItemString(d,"HTML_URL_PAGE", SWIG_From_int((int)wxHTML_URL_PAGE));
12305 PyDict_SetItemString(d,"HTML_URL_IMAGE", SWIG_From_int((int)wxHTML_URL_IMAGE));
12306 PyDict_SetItemString(d,"HTML_URL_OTHER", SWIG_From_int((int)wxHTML_URL_OTHER));
12307 PyDict_SetItemString(d,"HTML_SEL_OUT", SWIG_From_int((int)wxHTML_SEL_OUT));
12308 PyDict_SetItemString(d,"HTML_SEL_IN", SWIG_From_int((int)wxHTML_SEL_IN));
12309 PyDict_SetItemString(d,"HTML_SEL_CHANGING", SWIG_From_int((int)wxHTML_SEL_CHANGING));
12310 PyDict_SetItemString(d,"HTML_FIND_EXACT", SWIG_From_int((int)wxHTML_FIND_EXACT));
12311 PyDict_SetItemString(d,"HTML_FIND_NEAREST_BEFORE", SWIG_From_int((int)wxHTML_FIND_NEAREST_BEFORE));
12312 PyDict_SetItemString(d,"HTML_FIND_NEAREST_AFTER", SWIG_From_int((int)wxHTML_FIND_NEAREST_AFTER));
12313 PyDict_SetItemString(d,"PAGE_ODD", SWIG_From_int((int)wxPAGE_ODD));
12314 PyDict_SetItemString(d,"PAGE_EVEN", SWIG_From_int((int)wxPAGE_EVEN));
12315 PyDict_SetItemString(d,"PAGE_ALL", SWIG_From_int((int)wxPAGE_ALL));
12316 PyDict_SetItemString(d,"HF_TOOLBAR", SWIG_From_int((int)wxHF_TOOLBAR));
12317 PyDict_SetItemString(d,"HF_FLATTOOLBAR", SWIG_From_int((int)wxHF_FLATTOOLBAR));
12318 PyDict_SetItemString(d,"HF_CONTENTS", SWIG_From_int((int)wxHF_CONTENTS));
12319 PyDict_SetItemString(d,"HF_INDEX", SWIG_From_int((int)wxHF_INDEX));
12320 PyDict_SetItemString(d,"HF_SEARCH", SWIG_From_int((int)wxHF_SEARCH));
12321 PyDict_SetItemString(d,"HF_BOOKMARKS", SWIG_From_int((int)wxHF_BOOKMARKS));
12322 PyDict_SetItemString(d,"HF_OPENFILES", SWIG_From_int((int)wxHF_OPENFILES));
12323 PyDict_SetItemString(d,"HF_PRINT", SWIG_From_int((int)wxHF_PRINT));
12324 PyDict_SetItemString(d,"HF_DEFAULTSTYLE", SWIG_From_int((int)wxHF_DEFAULTSTYLE));
12325
12326 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
12327 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
12328 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
12329 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");
12330
12331 }
12332