]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/html_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / msw / html_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124 #endif
125
126 /***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
136 #include "Python.h"
137
138 #ifdef __cplusplus
139 extern "C" {
140 #endif
141
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
147
148 /* Flags for pointer conversion */
149
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
152
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
155
156 /* Constant information structure */
157 typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164 } swig_const_info;
165
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
186 typedef double (*py_objasdbl_conv)(PyObject *obj);
187
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198 /* Contract support */
199
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
201
202 #ifdef __cplusplus
203 }
204 #endif
205
206
207 /* -------- TYPES TABLE (BEGIN) -------- */
208
209 #define SWIGTYPE_p_wxHtmlDCRenderer swig_types[0]
210 #define SWIGTYPE_p_wxColour swig_types[1]
211 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[2]
212 #define SWIGTYPE_p_wxDC swig_types[3]
213 #define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[4]
214 #define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[5]
215 #define SWIGTYPE_p_wxMouseEvent swig_types[6]
216 #define SWIGTYPE_p_wxHtmlWordCell swig_types[7]
217 #define SWIGTYPE_p_wxVisualAttributes swig_types[8]
218 #define SWIGTYPE_p_wxHtmlHelpData swig_types[9]
219 #define SWIGTYPE_p_char swig_types[10]
220 #define SWIGTYPE_p_wxHtmlWinParser swig_types[11]
221 #define SWIGTYPE_p_wxHtmlParser swig_types[12]
222 #define SWIGTYPE_p_wxPanel swig_types[13]
223 #define SWIGTYPE_p_wxFont swig_types[14]
224 #define SWIGTYPE_p_wxHtmlColourCell swig_types[15]
225 #define SWIGTYPE_p_wxPyHtmlWindow swig_types[16]
226 #define SWIGTYPE_p_wxScrolledWindow swig_types[17]
227 #define SWIGTYPE_p_wxWindow swig_types[18]
228 #define SWIGTYPE_p_wxTopLevelWindow swig_types[19]
229 #define SWIGTYPE_p_wxHtmlFontCell swig_types[20]
230 #define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[21]
231 #define SWIGTYPE_p_wxHtmlSelection swig_types[22]
232 #define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[23]
233 #define SWIGTYPE_p_wxHtmlWidgetCell swig_types[24]
234 #define SWIGTYPE_p_wxObject swig_types[25]
235 #define SWIGTYPE_p_wxString swig_types[26]
236 #define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[27]
237 #define SWIGTYPE_p_wxHtmlTagHandler swig_types[28]
238 #define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[29]
239 #define SWIGTYPE_p_wxEvtHandler swig_types[30]
240 #define SWIGTYPE_p_wxPoint swig_types[31]
241 #define SWIGTYPE_p_wxHtmlHelpController swig_types[32]
242 #define SWIGTYPE_p_wxCursor swig_types[33]
243 #define SWIGTYPE_p_wxFileSystem swig_types[34]
244 #define SWIGTYPE_p_wxHtmlBookRecArray swig_types[35]
245 #define SWIGTYPE_p_wxPyPrintout swig_types[36]
246 #define SWIGTYPE_p_wxHtmlPrintout swig_types[37]
247 #define SWIGTYPE_p_wxHtmlSearchStatus swig_types[38]
248 #define SWIGTYPE_p_wxHtmlContentsItem swig_types[39]
249 #define SWIGTYPE_p_wxConfigBase swig_types[40]
250 #define SWIGTYPE_p_wxPrintData swig_types[41]
251 #define SWIGTYPE_p_wxHtmlHelpFrame swig_types[42]
252 #define SWIGTYPE_p_wxHtmlRenderingState swig_types[43]
253 #define SWIGTYPE_p_wxFrame swig_types[44]
254 #define SWIGTYPE_p_wxPyHtmlFilter swig_types[45]
255 #define SWIGTYPE_p_wxHtmlFilter swig_types[46]
256 #define SWIGTYPE_p_wxHtmlCell swig_types[47]
257 #define SWIGTYPE_p_wxHtmlContainerCell swig_types[48]
258 #define SWIGTYPE_p_wxHtmlTag swig_types[49]
259 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[50]
260 #define SWIGTYPE_p_int swig_types[51]
261 #define SWIGTYPE_p_wxHtmlBookRecord swig_types[52]
262 static swig_type_info *swig_types[54];
263
264 /* -------- TYPES TABLE (END) -------- */
265
266
267 /*-----------------------------------------------
268 @(target):= _html.so
269 ------------------------------------------------*/
270 #define SWIG_init init_html
271
272 #define SWIG_name "_html"
273
274 /* Auxiliar swig macros */
275
276 #ifdef __cplusplus
277 #define SWIGSTATICINLINE(a) static inline a
278 #define SWIGSTATIC(a) static a
279 #define swig_new_array(type, size) (new type[(size)])
280 #define swig_delete_array(cptr) delete[] cptr
281 #define swig_const_cast(type,a) const_cast<type>(a)
282 #define swig_static_cast(type,a) static_cast<type>(a)
283 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
284
285 #ifdef HAVE_NUMERIC_CAST
286 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
287 #else
288 #define swig_numeric_cast(type,a) static_cast<type>(a)
289 #endif
290
291 #else /* C case */
292
293 #define SWIGSTATICINLINE(a) static a
294 #define SWIGSTATIC(a) static a
295 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
296 #define swig_delete_array(cptr) free((char*)cptr)
297 #define swig_const_cast(type,a) (type)(a)
298 #define swig_static_cast(type,a) (type)(a)
299 #define swig_reinterpret_cast(type,a) (type)(a)
300 #define swig_numeric_cast(type,a) (type)(a)
301
302 #endif /* __cplusplus */
303
304
305 #define SWIG_FromSignedChar PyInt_FromLong
306 #define SWIG_FromUnsignedChar PyInt_FromLong
307 #define SWIG_FromShort PyInt_FromLong
308 #define SWIG_FromUnsignedShort PyInt_FromLong
309 #define SWIG_FromInt PyInt_FromLong
310 #define SWIG_FromLong PyInt_FromLong
311 #define SWIG_FromFloat PyFloat_FromDouble
312 #define SWIG_FromDouble PyFloat_FromDouble
313 #define SWIG_FromFloat PyFloat_FromDouble
314 #define SWIG_FromDouble PyFloat_FromDouble
315
316
317 #include "wx/wxPython/wxPython.h"
318 #include "wx/wxPython/pyclasses.h"
319 #include "wx/wxPython/pyistream.h"
320 #include "wx/wxPython/printfw.h"
321
322 #include <wx/html/htmlwin.h>
323 #include <wx/html/htmprint.h>
324 #include <wx/html/helpctrl.h>
325
326
327 static const wxString wxPyEmptyString(wxEmptyString);
328 static const wxString wxPyHtmlWindowNameStr(wxT("htmlWindow"));
329 static const wxString wxPyHtmlPrintoutTitleStr(wxT("Printout"));
330 static const wxString wxPyHtmlPrintingTitleStr(wxT("Printing"));
331
332 #include <limits.h>
333
334
335 SWIGSTATICINLINE(long)
336 SWIG_CheckLongInRange(long value, const char* type,
337 long min_value, long max_value)
338 {
339 if (!PyErr_Occurred()) {
340 if (value < min_value) {
341 PyObject *err =
342 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
343 value, type, min_value);
344
345 PyErr_SetObject(PyExc_OverflowError, err);
346 Py_DECREF(err);
347 } else if (value > max_value) {
348 PyObject *err =
349 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
350 value, type, max_value);
351 PyErr_SetObject(PyExc_OverflowError, err);
352 Py_DECREF(err);
353 }
354 }
355 return value;
356 }
357
358
359 SWIGSTATICINLINE(long)
360 SWIG_AsLong(PyObject * obj)
361 {
362 if (PyNumber_Check(obj))
363 return PyInt_AsLong(obj);
364 else {
365 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
366 obj->ob_type->tp_name);
367 PyErr_SetObject(PyExc_TypeError, errmsg);
368 Py_DECREF(errmsg);
369 return 0;
370 }
371 }
372
373
374 #if INT_MAX != LONG_MAX
375 SWIGSTATICINLINE(int)
376 SWIG_AsInt(PyObject *obj)
377 {
378 return swig_numeric_cast(int,
379 SWIG_CheckLongInRange(SWIG_AsLong(obj),
380 "int", INT_MIN, INT_MAX));
381 }
382 #else
383 #define SWIG_AsInt SWIG_AsLong
384 #endif
385
386
387 SWIGSTATICINLINE(int)
388 SWIG_CheckInt(PyObject* obj)
389 {
390 SWIG_AsInt(obj);
391 if (PyErr_Occurred()) {
392 PyErr_Clear();
393 return 0;
394 } else {
395 return 1;
396 }
397 }
398
399 void wxHtmlWinParser_SetFonts(wxHtmlWinParser *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
400 int* temp = NULL;
401 if (sizes) temp = int_LIST_helper(sizes);
402 self->SetFonts(normal_face, fixed_face, temp);
403 if (temp)
404 delete [] temp;
405 }
406
407 class wxPyHtmlTagHandler : public wxHtmlTagHandler {
408 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler);
409 public:
410 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
411
412 wxHtmlParser* GetParser() { return m_Parser; }
413 void ParseInner(const wxHtmlTag& tag) { wxHtmlTagHandler::ParseInner(tag); }
414
415 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
416 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
417
418 PYPRIVATE;
419 };
420
421 IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler, wxHtmlTagHandler);
422
423 IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler, wxHtmlTagHandler, GetSupportedTags);
424 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag);
425
426
427 class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler {
428 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler);
429 public:
430 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
431
432 wxHtmlWinParser* GetParser() { return m_WParser; }
433 void ParseInner(const wxHtmlTag& tag)
434 { wxHtmlWinTagHandler::ParseInner(tag); }
435
436 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
437 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
438
439 PYPRIVATE;
440 };
441
442 IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler, wxHtmlWinTagHandler);
443
444 IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, GetSupportedTags);
445 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, HandleTag);
446
447
448
449 class wxPyHtmlTagsModule : public wxHtmlTagsModule {
450 public:
451 wxPyHtmlTagsModule(PyObject* thc) : wxHtmlTagsModule() {
452 m_tagHandlerClass = thc;
453 Py_INCREF(m_tagHandlerClass);
454 RegisterModule(this);
455 wxHtmlWinParser::AddModule(this);
456 }
457
458 void OnExit() {
459 bool blocked = wxPyBeginBlockThreads();
460 Py_DECREF(m_tagHandlerClass);
461 m_tagHandlerClass = NULL;
462 for (size_t x=0; x < m_objArray.GetCount(); x++) {
463 PyObject* obj = (PyObject*)m_objArray.Item(x);
464 Py_DECREF(obj);
465 }
466 wxPyEndBlockThreads(blocked);
467 };
468
469 void FillHandlersTable(wxHtmlWinParser *parser) {
470 // Wave our magic wand... (if it works it's a miracle! ;-)
471
472 // First, make a new instance of the tag handler
473 bool blocked = wxPyBeginBlockThreads();
474 PyObject* arg = PyTuple_New(0);
475 PyObject* obj = PyObject_CallObject(m_tagHandlerClass, arg);
476 Py_DECREF(arg);
477
478 // now figure out where it's C++ object is...
479 wxPyHtmlWinTagHandler* thPtr;
480 if (! wxPyConvertSwigPtr(obj, (void **)&thPtr, wxT("wxPyHtmlWinTagHandler"))) {
481 wxPyEndBlockThreads(blocked);
482 return;
483 }
484 wxPyEndBlockThreads(blocked);
485
486 // add it,
487 parser->AddTagHandler(thPtr);
488
489 // and track it.
490 m_objArray.Add(obj);
491 }
492
493 private:
494 PyObject* m_tagHandlerClass;
495 wxArrayPtrVoid m_objArray;
496
497 };
498
499
500 void wxHtmlWinParser_AddTagHandler(PyObject* tagHandlerClass) {
501 // Dynamically create a new wxModule. Refcounts tagHandlerClass
502 // and adds itself to the wxModules list and to the wxHtmlWinParser.
503 new wxPyHtmlTagsModule(tagHandlerClass);
504 }
505
506
507 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
508 PyObject* o2;
509 PyObject* o3;
510
511 if (!target) {
512 target = o;
513 } else if (target == Py_None) {
514 Py_DECREF(Py_None);
515 target = o;
516 } else {
517 if (!PyTuple_Check(target)) {
518 o2 = target;
519 target = PyTuple_New(1);
520 PyTuple_SetItem(target, 0, o2);
521 }
522 o3 = PyTuple_New(1);
523 PyTuple_SetItem(o3, 0, o);
524
525 o2 = target;
526 target = PySequence_Concat(o2, o3);
527 Py_DECREF(o2);
528 Py_DECREF(o3);
529 }
530 return target;
531 }
532
533
534 SWIGSTATICINLINE(bool)
535 SWIG_AsBool(PyObject *obj)
536 {
537 return PyObject_IsTrue(obj) ? true : false;
538 }
539
540
541 SWIGSTATICINLINE(int)
542 SWIG_CheckBool(PyObject* obj)
543 {
544 SWIG_AsBool(obj);
545 if (PyErr_Occurred()) {
546 PyErr_Clear();
547 return 0;
548 } else {
549 return 1;
550 }
551 }
552
553
554 SWIGSTATICINLINE(unsigned long)
555 SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type,
556 unsigned long max_value)
557 {
558 if (!PyErr_Occurred()) {
559 if (value > max_value) {
560 PyObject *err =
561 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
562 value, type, max_value);
563 PyErr_SetObject(PyExc_OverflowError, err);
564 Py_DECREF(err);
565 }
566 }
567 return value;
568 }
569
570
571 SWIGSTATICINLINE(unsigned long)
572 SWIG_AsUnsignedLong(PyObject * obj)
573 {
574 if (PyLong_Check(obj)) {
575 return PyLong_AsUnsignedLong(obj);
576 } else {
577 long i = SWIG_AsLong(obj);
578 if ( !PyErr_Occurred() && (i < 0)) {
579 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
580 }
581 return i;
582 }
583 }
584
585
586 #if UINT_MAX != ULONG_MAX
587 SWIGSTATICINLINE(unsigned int)
588 SWIG_AsUnsignedInt(PyObject *obj)
589 {
590 return swig_numeric_cast(unsigned int,
591 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
592 "unsigned int", UINT_MAX));
593 }
594 #else
595 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
596 #endif
597
598
599 SWIGSTATICINLINE(int)
600 SWIG_CheckUnsignedInt(PyObject* obj)
601 {
602 SWIG_AsUnsignedInt(obj);
603 if (PyErr_Occurred()) {
604 PyErr_Clear();
605 return 0;
606 } else {
607 return 1;
608 }
609 }
610
611
612 SWIGSTATICINLINE(PyObject* )
613 SWIG_FromUnsignedLong(unsigned long value)
614 {
615 return (value > LONG_MAX) ?
616 PyLong_FromUnsignedLong(value)
617 : PyInt_FromLong(swig_numeric_cast(long,value));
618 }
619
620
621 #if UINT_MAX < LONG_MAX
622 #define SWIG_FromUnsignedInt SWIG_FromLong
623 #else
624 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
625 #endif
626
627 // here's the C++ version
628 class wxPyHtmlFilter : public wxHtmlFilter {
629 DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter);
630 public:
631 wxPyHtmlFilter() : wxHtmlFilter() {}
632
633 // returns True if this filter is able to open&read given file
634 virtual bool CanRead(const wxFSFile& file) const {
635 bool rval = False;
636 bool found;
637 bool blocked = wxPyBeginBlockThreads();
638 if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) {
639 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const
640 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
641 Py_DECREF(obj);
642 }
643 wxPyEndBlockThreads(blocked);
644 return rval;
645 }
646
647
648 // Reads given file and returns HTML document.
649 // Returns empty string if opening failed
650 virtual wxString ReadFile(const wxFSFile& file) const {
651 wxString rval;
652 bool found;
653 bool blocked = wxPyBeginBlockThreads();
654 if ((found = wxPyCBH_findCallback(m_myInst, "ReadFile"))) {
655 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const
656 PyObject* ro;
657 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(O)", obj));
658 Py_DECREF(obj);
659 if (ro) {
660 rval = Py2wxString(ro);
661 Py_DECREF(ro);
662 }
663 }
664 wxPyEndBlockThreads(blocked);
665 return rval;
666 }
667
668 PYPRIVATE;
669 };
670
671 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter, wxHtmlFilter);
672
673
674 class wxPyHtmlWindow : public wxHtmlWindow {
675 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow);
676 public:
677 wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1,
678 const wxPoint& pos = wxDefaultPosition,
679 const wxSize& size = wxDefaultSize,
680 long style = wxHW_DEFAULT_STYLE,
681 const wxString& name = wxPyHtmlWindowNameStr)
682 : wxHtmlWindow(parent, id, pos, size, style, name) {};
683 wxPyHtmlWindow() : wxHtmlWindow() {};
684
685 bool ScrollToAnchor(const wxString& anchor) {
686 return wxHtmlWindow::ScrollToAnchor(anchor);
687 }
688
689 bool HasAnchor(const wxString& anchor) {
690 const wxHtmlCell *c = m_Cell->Find(wxHTML_COND_ISANCHOR, &anchor);
691 return c!=NULL;
692 }
693
694 void OnLinkClicked(const wxHtmlLinkInfo& link);
695 void base_OnLinkClicked(const wxHtmlLinkInfo& link);
696
697 wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type,
698 const wxString& url,
699 wxString *redirect) const;
700
701 DEC_PYCALLBACK__STRING(OnSetTitle);
702 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover);
703 DEC_PYCALLBACK__CELLINTINTME(OnCellClicked);
704 PYPRIVATE;
705 };
706
707 IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow, wxHtmlWindow );
708 IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnSetTitle);
709 IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow, wxHtmlWindow, OnCellMouseHover);
710 IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow, wxHtmlWindow, OnCellClicked);
711
712
713 void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) {
714 bool found;
715 bool blocked = wxPyBeginBlockThreads();
716 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
717 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
718 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
719 Py_DECREF(obj);
720 }
721 wxPyEndBlockThreads(blocked);
722 if (! found)
723 wxHtmlWindow::OnLinkClicked(link);
724 }
725 void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo& link) {
726 wxHtmlWindow::OnLinkClicked(link);
727 }
728
729
730 wxHtmlOpeningStatus wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type,
731 const wxString& url,
732 wxString *redirect) const {
733 bool found;
734 wxHtmlOpeningStatus rval;
735 bool blocked = wxPyBeginBlockThreads();
736 if ((found = wxPyCBH_findCallback(m_myInst, "OnOpeningURL"))) {
737 PyObject* ro;
738 PyObject* s = wx2PyString(url);
739 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iO)", type, s));
740 Py_DECREF(s);
741 if (PyString_Check(ro)
742 #if PYTHON_API_VERSION >= 1009
743 || PyUnicode_Check(ro)
744 #endif
745 ) {
746 *redirect = Py2wxString(ro);
747 rval = wxHTML_REDIRECT;
748 }
749 else {
750 PyObject* num = PyNumber_Int(ro);
751 rval = (wxHtmlOpeningStatus)PyInt_AsLong(num);
752 Py_DECREF(num);
753 }
754 Py_DECREF(ro);
755 }
756 wxPyEndBlockThreads(blocked);
757 if (! found)
758 rval = wxHtmlWindow::OnOpeningURL(type, url, redirect);
759 return rval;
760 }
761
762
763
764 void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
765 int* temp = NULL;
766 if (sizes) temp = int_LIST_helper(sizes);
767 self->SetFonts(normal_face, fixed_face, temp);
768 if (temp)
769 delete [] temp;
770 }
771 void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
772 int* temp = NULL;
773 if (sizes) temp = int_LIST_helper(sizes);
774 self->SetFonts(normal_face, fixed_face, temp);
775 if (temp)
776 delete [] temp;
777 }
778 void wxHtmlPrintout_SetFonts(wxHtmlPrintout *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
779 int* temp = NULL;
780 if (sizes) temp = int_LIST_helper(sizes);
781 self->SetFonts(normal_face, fixed_face, temp);
782 if (temp)
783 delete [] temp;
784 }
785
786 #include <float.h>
787
788 SWIGSTATIC(float)
789 SWIG_FloatCast(double value)
790 {
791 float f = 0;
792 if (!PyErr_Occurred()) {
793 if (value < FLT_MIN) {
794 PyObject *err =
795 PyString_FromFormat("value %g is less than float minimum %g",
796 value, FLT_MIN);
797 PyErr_SetObject(PyExc_OverflowError, err);
798 Py_DECREF(err);
799 } else if (value > FLT_MAX) {
800 PyObject *err =
801 PyString_FromFormat("value %g is greater than float maximum %g",
802 value, FLT_MAX);
803 PyErr_SetObject(PyExc_OverflowError, err);
804 Py_DECREF(err);
805 } else {
806 f = swig_numeric_cast(float, value);
807 }
808 }
809 return f;
810 }
811
812
813 SWIGSTATICINLINE(double)
814 SWIG_AsDouble(PyObject *obj)
815 {
816 if (PyNumber_Check(obj))
817 return PyFloat_AsDouble(obj);
818 else {
819 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
820 obj->ob_type->tp_name);
821 PyErr_SetObject(PyExc_TypeError, errmsg);
822 Py_DECREF(errmsg);
823 return 0;
824 }
825 }
826
827
828 SWIGSTATICINLINE(float)
829 SWIG_AsFloat(PyObject *obj)
830 {
831 return SWIG_FloatCast(SWIG_AsDouble(obj));
832 }
833
834
835 SWIGSTATICINLINE(int)
836 SWIG_CheckFloat(PyObject* obj)
837 {
838 SWIG_AsFloat(obj);
839 if (PyErr_Occurred()) {
840 PyErr_Clear();
841 return 0;
842 } else {
843 return 1;
844 }
845 }
846
847 void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
848 int* temp = NULL;
849 if (sizes) temp = int_LIST_helper(sizes);
850 self->SetFonts(normal_face, fixed_face, temp);
851 if (temp)
852 delete [] temp;
853 }
854 int wxHtmlContentsItem_GetLevel(wxHtmlContentsItem *self){ return self->m_Level; }
855 int wxHtmlContentsItem_GetID(wxHtmlContentsItem *self){ return self->m_ID; }
856 wxString wxHtmlContentsItem_GetName(wxHtmlContentsItem *self){ return self->m_Name; }
857 wxString wxHtmlContentsItem_GetPage(wxHtmlContentsItem *self){ return self->m_Page; }
858 wxHtmlBookRecord *wxHtmlContentsItem_GetBook(wxHtmlContentsItem *self){ return self->m_Book; }
859 #ifdef __cplusplus
860 extern "C" {
861 #endif
862 static int _wrap_HtmlWindowNameStr_set(PyObject *_val) {
863 PyErr_SetString(PyExc_TypeError,"Variable HtmlWindowNameStr is read-only.");
864 return 1;
865 }
866
867
868 static PyObject *_wrap_HtmlWindowNameStr_get() {
869 PyObject *pyobj;
870
871 {
872 #if wxUSE_UNICODE
873 pyobj = PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
874 #else
875 pyobj = PyString_FromStringAndSize((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
876 #endif
877 }
878 return pyobj;
879 }
880
881
882 static int _wrap_HtmlPrintoutTitleStr_set(PyObject *_val) {
883 PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintoutTitleStr is read-only.");
884 return 1;
885 }
886
887
888 static PyObject *_wrap_HtmlPrintoutTitleStr_get() {
889 PyObject *pyobj;
890
891 {
892 #if wxUSE_UNICODE
893 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
894 #else
895 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
896 #endif
897 }
898 return pyobj;
899 }
900
901
902 static int _wrap_HtmlPrintingTitleStr_set(PyObject *_val) {
903 PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintingTitleStr is read-only.");
904 return 1;
905 }
906
907
908 static PyObject *_wrap_HtmlPrintingTitleStr_get() {
909 PyObject *pyobj;
910
911 {
912 #if wxUSE_UNICODE
913 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
914 #else
915 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
916 #endif
917 }
918 return pyobj;
919 }
920
921
922 static PyObject *_wrap_new_HtmlLinkInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
923 PyObject *resultobj;
924 wxString *arg1 = 0 ;
925 wxString const &arg2_defvalue = wxPyEmptyString ;
926 wxString *arg2 = (wxString *) &arg2_defvalue ;
927 wxHtmlLinkInfo *result;
928 bool temp1 = False ;
929 bool temp2 = False ;
930 PyObject * obj0 = 0 ;
931 PyObject * obj1 = 0 ;
932 char *kwnames[] = {
933 (char *) "href",(char *) "target", NULL
934 };
935
936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlLinkInfo",kwnames,&obj0,&obj1)) goto fail;
937 {
938 arg1 = wxString_in_helper(obj0);
939 if (arg1 == NULL) SWIG_fail;
940 temp1 = True;
941 }
942 if (obj1) {
943 {
944 arg2 = wxString_in_helper(obj1);
945 if (arg2 == NULL) SWIG_fail;
946 temp2 = True;
947 }
948 }
949 {
950 PyThreadState* __tstate = wxPyBeginAllowThreads();
951 result = (wxHtmlLinkInfo *)new wxHtmlLinkInfo((wxString const &)*arg1,(wxString const &)*arg2);
952
953 wxPyEndAllowThreads(__tstate);
954 if (PyErr_Occurred()) SWIG_fail;
955 }
956 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlLinkInfo, 1);
957 {
958 if (temp1)
959 delete arg1;
960 }
961 {
962 if (temp2)
963 delete arg2;
964 }
965 return resultobj;
966 fail:
967 {
968 if (temp1)
969 delete arg1;
970 }
971 {
972 if (temp2)
973 delete arg2;
974 }
975 return NULL;
976 }
977
978
979 static PyObject *_wrap_HtmlLinkInfo_GetHref(PyObject *self, PyObject *args, PyObject *kwargs) {
980 PyObject *resultobj;
981 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
982 wxString result;
983 PyObject * obj0 = 0 ;
984 char *kwnames[] = {
985 (char *) "self", NULL
986 };
987
988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHref",kwnames,&obj0)) goto fail;
989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo,
990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
991 {
992 PyThreadState* __tstate = wxPyBeginAllowThreads();
993 result = (arg1)->GetHref();
994
995 wxPyEndAllowThreads(__tstate);
996 if (PyErr_Occurred()) SWIG_fail;
997 }
998 {
999 #if wxUSE_UNICODE
1000 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1001 #else
1002 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1003 #endif
1004 }
1005 return resultobj;
1006 fail:
1007 return NULL;
1008 }
1009
1010
1011 static PyObject *_wrap_HtmlLinkInfo_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
1012 PyObject *resultobj;
1013 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
1014 wxString result;
1015 PyObject * obj0 = 0 ;
1016 char *kwnames[] = {
1017 (char *) "self", NULL
1018 };
1019
1020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetTarget",kwnames,&obj0)) goto fail;
1021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo,
1022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1023 {
1024 PyThreadState* __tstate = wxPyBeginAllowThreads();
1025 result = (arg1)->GetTarget();
1026
1027 wxPyEndAllowThreads(__tstate);
1028 if (PyErr_Occurred()) SWIG_fail;
1029 }
1030 {
1031 #if wxUSE_UNICODE
1032 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1033 #else
1034 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1035 #endif
1036 }
1037 return resultobj;
1038 fail:
1039 return NULL;
1040 }
1041
1042
1043 static PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
1044 PyObject *resultobj;
1045 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
1046 wxMouseEvent *result;
1047 PyObject * obj0 = 0 ;
1048 char *kwnames[] = {
1049 (char *) "self", NULL
1050 };
1051
1052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetEvent",kwnames,&obj0)) goto fail;
1053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo,
1054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1055 {
1056 PyThreadState* __tstate = wxPyBeginAllowThreads();
1057 result = (wxMouseEvent *)(arg1)->GetEvent();
1058
1059 wxPyEndAllowThreads(__tstate);
1060 if (PyErr_Occurred()) SWIG_fail;
1061 }
1062 {
1063 resultobj = wxPyMake_wxObject(result, 0);
1064 }
1065 return resultobj;
1066 fail:
1067 return NULL;
1068 }
1069
1070
1071 static PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) {
1072 PyObject *resultobj;
1073 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
1074 wxHtmlCell *result;
1075 PyObject * obj0 = 0 ;
1076 char *kwnames[] = {
1077 (char *) "self", NULL
1078 };
1079
1080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHtmlCell",kwnames,&obj0)) goto fail;
1081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo,
1082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1083 {
1084 PyThreadState* __tstate = wxPyBeginAllowThreads();
1085 result = (wxHtmlCell *)(arg1)->GetHtmlCell();
1086
1087 wxPyEndAllowThreads(__tstate);
1088 if (PyErr_Occurred()) SWIG_fail;
1089 }
1090 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
1091 return resultobj;
1092 fail:
1093 return NULL;
1094 }
1095
1096
1097 static PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
1098 PyObject *resultobj;
1099 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
1100 wxMouseEvent *arg2 = (wxMouseEvent *) 0 ;
1101 PyObject * obj0 = 0 ;
1102 PyObject * obj1 = 0 ;
1103 char *kwnames[] = {
1104 (char *) "self",(char *) "e", NULL
1105 };
1106
1107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames,&obj0,&obj1)) goto fail;
1108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo,
1109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1110 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMouseEvent,
1111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1112 {
1113 PyThreadState* __tstate = wxPyBeginAllowThreads();
1114 (arg1)->SetEvent((wxMouseEvent const *)arg2);
1115
1116 wxPyEndAllowThreads(__tstate);
1117 if (PyErr_Occurred()) SWIG_fail;
1118 }
1119 Py_INCREF(Py_None); resultobj = Py_None;
1120 return resultobj;
1121 fail:
1122 return NULL;
1123 }
1124
1125
1126 static PyObject *_wrap_HtmlLinkInfo_SetHtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) {
1127 PyObject *resultobj;
1128 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
1129 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
1130 PyObject * obj0 = 0 ;
1131 PyObject * obj1 = 0 ;
1132 char *kwnames[] = {
1133 (char *) "self",(char *) "e", NULL
1134 };
1135
1136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames,&obj0,&obj1)) goto fail;
1137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo,
1138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1139 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
1140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1141 {
1142 PyThreadState* __tstate = wxPyBeginAllowThreads();
1143 (arg1)->SetHtmlCell((wxHtmlCell const *)arg2);
1144
1145 wxPyEndAllowThreads(__tstate);
1146 if (PyErr_Occurred()) SWIG_fail;
1147 }
1148 Py_INCREF(Py_None); resultobj = Py_None;
1149 return resultobj;
1150 fail:
1151 return NULL;
1152 }
1153
1154
1155 static PyObject * HtmlLinkInfo_swigregister(PyObject *self, PyObject *args) {
1156 PyObject *obj;
1157 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1158 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlLinkInfo, obj);
1159 Py_INCREF(obj);
1160 return Py_BuildValue((char *)"");
1161 }
1162 static PyObject *_wrap_HtmlTag_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
1163 PyObject *resultobj;
1164 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1165 wxString result;
1166 PyObject * obj0 = 0 ;
1167 char *kwnames[] = {
1168 (char *) "self", NULL
1169 };
1170
1171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetName",kwnames,&obj0)) goto fail;
1172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1174 {
1175 PyThreadState* __tstate = wxPyBeginAllowThreads();
1176 result = (arg1)->GetName();
1177
1178 wxPyEndAllowThreads(__tstate);
1179 if (PyErr_Occurred()) SWIG_fail;
1180 }
1181 {
1182 #if wxUSE_UNICODE
1183 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1184 #else
1185 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1186 #endif
1187 }
1188 return resultobj;
1189 fail:
1190 return NULL;
1191 }
1192
1193
1194 static PyObject *_wrap_HtmlTag_HasParam(PyObject *self, PyObject *args, PyObject *kwargs) {
1195 PyObject *resultobj;
1196 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1197 wxString *arg2 = 0 ;
1198 bool result;
1199 bool temp2 = False ;
1200 PyObject * obj0 = 0 ;
1201 PyObject * obj1 = 0 ;
1202 char *kwnames[] = {
1203 (char *) "self",(char *) "par", NULL
1204 };
1205
1206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTag_HasParam",kwnames,&obj0,&obj1)) goto fail;
1207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1209 {
1210 arg2 = wxString_in_helper(obj1);
1211 if (arg2 == NULL) SWIG_fail;
1212 temp2 = True;
1213 }
1214 {
1215 PyThreadState* __tstate = wxPyBeginAllowThreads();
1216 result = (bool)(arg1)->HasParam((wxString const &)*arg2);
1217
1218 wxPyEndAllowThreads(__tstate);
1219 if (PyErr_Occurred()) SWIG_fail;
1220 }
1221 {
1222 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1223 }
1224 {
1225 if (temp2)
1226 delete arg2;
1227 }
1228 return resultobj;
1229 fail:
1230 {
1231 if (temp2)
1232 delete arg2;
1233 }
1234 return NULL;
1235 }
1236
1237
1238 static PyObject *_wrap_HtmlTag_GetParam(PyObject *self, PyObject *args, PyObject *kwargs) {
1239 PyObject *resultobj;
1240 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1241 wxString *arg2 = 0 ;
1242 int arg3 = (int) False ;
1243 wxString result;
1244 bool temp2 = False ;
1245 PyObject * obj0 = 0 ;
1246 PyObject * obj1 = 0 ;
1247 PyObject * obj2 = 0 ;
1248 char *kwnames[] = {
1249 (char *) "self",(char *) "par",(char *) "with_commas", NULL
1250 };
1251
1252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlTag_GetParam",kwnames,&obj0,&obj1,&obj2)) goto fail;
1253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1255 {
1256 arg2 = wxString_in_helper(obj1);
1257 if (arg2 == NULL) SWIG_fail;
1258 temp2 = True;
1259 }
1260 if (obj2) {
1261 arg3 = (int) SWIG_AsInt(obj2);
1262 if (PyErr_Occurred()) SWIG_fail;
1263 }
1264 {
1265 PyThreadState* __tstate = wxPyBeginAllowThreads();
1266 result = (arg1)->GetParam((wxString const &)*arg2,arg3);
1267
1268 wxPyEndAllowThreads(__tstate);
1269 if (PyErr_Occurred()) SWIG_fail;
1270 }
1271 {
1272 #if wxUSE_UNICODE
1273 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1274 #else
1275 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1276 #endif
1277 }
1278 {
1279 if (temp2)
1280 delete arg2;
1281 }
1282 return resultobj;
1283 fail:
1284 {
1285 if (temp2)
1286 delete arg2;
1287 }
1288 return NULL;
1289 }
1290
1291
1292 static PyObject *_wrap_HtmlTag_GetAllParams(PyObject *self, PyObject *args, PyObject *kwargs) {
1293 PyObject *resultobj;
1294 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1295 wxString result;
1296 PyObject * obj0 = 0 ;
1297 char *kwnames[] = {
1298 (char *) "self", NULL
1299 };
1300
1301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetAllParams",kwnames,&obj0)) goto fail;
1302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1304 {
1305 PyThreadState* __tstate = wxPyBeginAllowThreads();
1306 result = (arg1)->GetAllParams();
1307
1308 wxPyEndAllowThreads(__tstate);
1309 if (PyErr_Occurred()) SWIG_fail;
1310 }
1311 {
1312 #if wxUSE_UNICODE
1313 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1314 #else
1315 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1316 #endif
1317 }
1318 return resultobj;
1319 fail:
1320 return NULL;
1321 }
1322
1323
1324 static PyObject *_wrap_HtmlTag_HasEnding(PyObject *self, PyObject *args, PyObject *kwargs) {
1325 PyObject *resultobj;
1326 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1327 bool result;
1328 PyObject * obj0 = 0 ;
1329 char *kwnames[] = {
1330 (char *) "self", NULL
1331 };
1332
1333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_HasEnding",kwnames,&obj0)) goto fail;
1334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1336 {
1337 PyThreadState* __tstate = wxPyBeginAllowThreads();
1338 result = (bool)(arg1)->HasEnding();
1339
1340 wxPyEndAllowThreads(__tstate);
1341 if (PyErr_Occurred()) SWIG_fail;
1342 }
1343 {
1344 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1345 }
1346 return resultobj;
1347 fail:
1348 return NULL;
1349 }
1350
1351
1352 static PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *self, PyObject *args, PyObject *kwargs) {
1353 PyObject *resultobj;
1354 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1355 int result;
1356 PyObject * obj0 = 0 ;
1357 char *kwnames[] = {
1358 (char *) "self", NULL
1359 };
1360
1361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetBeginPos",kwnames,&obj0)) goto fail;
1362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1364 {
1365 PyThreadState* __tstate = wxPyBeginAllowThreads();
1366 result = (int)(arg1)->GetBeginPos();
1367
1368 wxPyEndAllowThreads(__tstate);
1369 if (PyErr_Occurred()) SWIG_fail;
1370 }
1371 resultobj = SWIG_FromInt((int)result);
1372 return resultobj;
1373 fail:
1374 return NULL;
1375 }
1376
1377
1378 static PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *self, PyObject *args, PyObject *kwargs) {
1379 PyObject *resultobj;
1380 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1381 int result;
1382 PyObject * obj0 = 0 ;
1383 char *kwnames[] = {
1384 (char *) "self", NULL
1385 };
1386
1387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos1",kwnames,&obj0)) goto fail;
1388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1390 {
1391 PyThreadState* __tstate = wxPyBeginAllowThreads();
1392 result = (int)(arg1)->GetEndPos1();
1393
1394 wxPyEndAllowThreads(__tstate);
1395 if (PyErr_Occurred()) SWIG_fail;
1396 }
1397 resultobj = SWIG_FromInt((int)result);
1398 return resultobj;
1399 fail:
1400 return NULL;
1401 }
1402
1403
1404 static PyObject *_wrap_HtmlTag_GetEndPos2(PyObject *self, PyObject *args, PyObject *kwargs) {
1405 PyObject *resultobj;
1406 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1407 int result;
1408 PyObject * obj0 = 0 ;
1409 char *kwnames[] = {
1410 (char *) "self", NULL
1411 };
1412
1413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos2",kwnames,&obj0)) goto fail;
1414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1416 {
1417 PyThreadState* __tstate = wxPyBeginAllowThreads();
1418 result = (int)(arg1)->GetEndPos2();
1419
1420 wxPyEndAllowThreads(__tstate);
1421 if (PyErr_Occurred()) SWIG_fail;
1422 }
1423 resultobj = SWIG_FromInt((int)result);
1424 return resultobj;
1425 fail:
1426 return NULL;
1427 }
1428
1429
1430 static PyObject * HtmlTag_swigregister(PyObject *self, PyObject *args) {
1431 PyObject *obj;
1432 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1433 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlTag, obj);
1434 Py_INCREF(obj);
1435 return Py_BuildValue((char *)"");
1436 }
1437 static PyObject *_wrap_HtmlParser_SetFS(PyObject *self, PyObject *args, PyObject *kwargs) {
1438 PyObject *resultobj;
1439 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1440 wxFileSystem *arg2 = (wxFileSystem *) 0 ;
1441 PyObject * obj0 = 0 ;
1442 PyObject * obj1 = 0 ;
1443 char *kwnames[] = {
1444 (char *) "self",(char *) "fs", NULL
1445 };
1446
1447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_SetFS",kwnames,&obj0,&obj1)) goto fail;
1448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1450 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
1451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1452 {
1453 PyThreadState* __tstate = wxPyBeginAllowThreads();
1454 (arg1)->SetFS(arg2);
1455
1456 wxPyEndAllowThreads(__tstate);
1457 if (PyErr_Occurred()) SWIG_fail;
1458 }
1459 Py_INCREF(Py_None); resultobj = Py_None;
1460 return resultobj;
1461 fail:
1462 return NULL;
1463 }
1464
1465
1466 static PyObject *_wrap_HtmlParser_GetFS(PyObject *self, PyObject *args, PyObject *kwargs) {
1467 PyObject *resultobj;
1468 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1469 wxFileSystem *result;
1470 PyObject * obj0 = 0 ;
1471 char *kwnames[] = {
1472 (char *) "self", NULL
1473 };
1474
1475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetFS",kwnames,&obj0)) goto fail;
1476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1478 {
1479 PyThreadState* __tstate = wxPyBeginAllowThreads();
1480 result = (wxFileSystem *)(arg1)->GetFS();
1481
1482 wxPyEndAllowThreads(__tstate);
1483 if (PyErr_Occurred()) SWIG_fail;
1484 }
1485 {
1486 resultobj = wxPyMake_wxObject(result, 0);
1487 }
1488 return resultobj;
1489 fail:
1490 return NULL;
1491 }
1492
1493
1494 static PyObject *_wrap_HtmlParser_Parse(PyObject *self, PyObject *args, PyObject *kwargs) {
1495 PyObject *resultobj;
1496 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1497 wxString *arg2 = 0 ;
1498 wxObject *result;
1499 bool temp2 = False ;
1500 PyObject * obj0 = 0 ;
1501 PyObject * obj1 = 0 ;
1502 char *kwnames[] = {
1503 (char *) "self",(char *) "source", NULL
1504 };
1505
1506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_Parse",kwnames,&obj0,&obj1)) goto fail;
1507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1509 {
1510 arg2 = wxString_in_helper(obj1);
1511 if (arg2 == NULL) SWIG_fail;
1512 temp2 = True;
1513 }
1514 {
1515 PyThreadState* __tstate = wxPyBeginAllowThreads();
1516 result = (wxObject *)(arg1)->Parse((wxString const &)*arg2);
1517
1518 wxPyEndAllowThreads(__tstate);
1519 if (PyErr_Occurred()) SWIG_fail;
1520 }
1521 {
1522 resultobj = wxPyMake_wxObject(result, 0);
1523 }
1524 {
1525 if (temp2)
1526 delete arg2;
1527 }
1528 return resultobj;
1529 fail:
1530 {
1531 if (temp2)
1532 delete arg2;
1533 }
1534 return NULL;
1535 }
1536
1537
1538 static PyObject *_wrap_HtmlParser_InitParser(PyObject *self, PyObject *args, PyObject *kwargs) {
1539 PyObject *resultobj;
1540 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1541 wxString *arg2 = 0 ;
1542 bool temp2 = False ;
1543 PyObject * obj0 = 0 ;
1544 PyObject * obj1 = 0 ;
1545 char *kwnames[] = {
1546 (char *) "self",(char *) "source", NULL
1547 };
1548
1549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_InitParser",kwnames,&obj0,&obj1)) goto fail;
1550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1552 {
1553 arg2 = wxString_in_helper(obj1);
1554 if (arg2 == NULL) SWIG_fail;
1555 temp2 = True;
1556 }
1557 {
1558 PyThreadState* __tstate = wxPyBeginAllowThreads();
1559 (arg1)->InitParser((wxString const &)*arg2);
1560
1561 wxPyEndAllowThreads(__tstate);
1562 if (PyErr_Occurred()) SWIG_fail;
1563 }
1564 Py_INCREF(Py_None); resultobj = Py_None;
1565 {
1566 if (temp2)
1567 delete arg2;
1568 }
1569 return resultobj;
1570 fail:
1571 {
1572 if (temp2)
1573 delete arg2;
1574 }
1575 return NULL;
1576 }
1577
1578
1579 static PyObject *_wrap_HtmlParser_DoneParser(PyObject *self, PyObject *args, PyObject *kwargs) {
1580 PyObject *resultobj;
1581 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1582 PyObject * obj0 = 0 ;
1583 char *kwnames[] = {
1584 (char *) "self", NULL
1585 };
1586
1587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_DoneParser",kwnames,&obj0)) goto fail;
1588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1590 {
1591 PyThreadState* __tstate = wxPyBeginAllowThreads();
1592 (arg1)->DoneParser();
1593
1594 wxPyEndAllowThreads(__tstate);
1595 if (PyErr_Occurred()) SWIG_fail;
1596 }
1597 Py_INCREF(Py_None); resultobj = Py_None;
1598 return resultobj;
1599 fail:
1600 return NULL;
1601 }
1602
1603
1604 static PyObject *_wrap_HtmlParser_DoParsing(PyObject *self, PyObject *args, PyObject *kwargs) {
1605 PyObject *resultobj;
1606 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1607 int arg2 ;
1608 int arg3 ;
1609 PyObject * obj0 = 0 ;
1610 PyObject * obj1 = 0 ;
1611 PyObject * obj2 = 0 ;
1612 char *kwnames[] = {
1613 (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
1614 };
1615
1616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_DoParsing",kwnames,&obj0,&obj1,&obj2)) goto fail;
1617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1619 arg2 = (int) SWIG_AsInt(obj1);
1620 if (PyErr_Occurred()) SWIG_fail;
1621 arg3 = (int) SWIG_AsInt(obj2);
1622 if (PyErr_Occurred()) SWIG_fail;
1623 {
1624 PyThreadState* __tstate = wxPyBeginAllowThreads();
1625 (arg1)->DoParsing(arg2,arg3);
1626
1627 wxPyEndAllowThreads(__tstate);
1628 if (PyErr_Occurred()) SWIG_fail;
1629 }
1630 Py_INCREF(Py_None); resultobj = Py_None;
1631 return resultobj;
1632 fail:
1633 return NULL;
1634 }
1635
1636
1637 static PyObject *_wrap_HtmlParser_StopParsing(PyObject *self, PyObject *args, PyObject *kwargs) {
1638 PyObject *resultobj;
1639 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1640 PyObject * obj0 = 0 ;
1641 char *kwnames[] = {
1642 (char *) "self", NULL
1643 };
1644
1645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_StopParsing",kwnames,&obj0)) goto fail;
1646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1648 {
1649 PyThreadState* __tstate = wxPyBeginAllowThreads();
1650 (arg1)->StopParsing();
1651
1652 wxPyEndAllowThreads(__tstate);
1653 if (PyErr_Occurred()) SWIG_fail;
1654 }
1655 Py_INCREF(Py_None); resultobj = Py_None;
1656 return resultobj;
1657 fail:
1658 return NULL;
1659 }
1660
1661
1662 static PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1663 PyObject *resultobj;
1664 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1665 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
1666 PyObject * obj0 = 0 ;
1667 PyObject * obj1 = 0 ;
1668 char *kwnames[] = {
1669 (char *) "self",(char *) "handler", NULL
1670 };
1671
1672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_AddTagHandler",kwnames,&obj0,&obj1)) goto fail;
1673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1675 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTagHandler,
1676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1677 {
1678 PyThreadState* __tstate = wxPyBeginAllowThreads();
1679 (arg1)->AddTagHandler(arg2);
1680
1681 wxPyEndAllowThreads(__tstate);
1682 if (PyErr_Occurred()) SWIG_fail;
1683 }
1684 Py_INCREF(Py_None); resultobj = Py_None;
1685 return resultobj;
1686 fail:
1687 return NULL;
1688 }
1689
1690
1691 static PyObject *_wrap_HtmlParser_GetSource(PyObject *self, PyObject *args, PyObject *kwargs) {
1692 PyObject *resultobj;
1693 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1694 wxString *result;
1695 PyObject * obj0 = 0 ;
1696 char *kwnames[] = {
1697 (char *) "self", NULL
1698 };
1699
1700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetSource",kwnames,&obj0)) goto fail;
1701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1703 {
1704 PyThreadState* __tstate = wxPyBeginAllowThreads();
1705 result = (wxString *)(arg1)->GetSource();
1706
1707 wxPyEndAllowThreads(__tstate);
1708 if (PyErr_Occurred()) SWIG_fail;
1709 }
1710 {
1711 #if wxUSE_UNICODE
1712 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
1713 #else
1714 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
1715 #endif
1716 }
1717 return resultobj;
1718 fail:
1719 return NULL;
1720 }
1721
1722
1723 static PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1724 PyObject *resultobj;
1725 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1726 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
1727 wxString arg3 ;
1728 PyObject * obj0 = 0 ;
1729 PyObject * obj1 = 0 ;
1730 PyObject * obj2 = 0 ;
1731 char *kwnames[] = {
1732 (char *) "self",(char *) "handler",(char *) "tags", NULL
1733 };
1734
1735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_PushTagHandler",kwnames,&obj0,&obj1,&obj2)) goto fail;
1736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1738 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTagHandler,
1739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1740 {
1741 wxString* sptr = wxString_in_helper(obj2);
1742 if (sptr == NULL) SWIG_fail;
1743 arg3 = *sptr;
1744 delete sptr;
1745 }
1746 {
1747 PyThreadState* __tstate = wxPyBeginAllowThreads();
1748 (arg1)->PushTagHandler(arg2,arg3);
1749
1750 wxPyEndAllowThreads(__tstate);
1751 if (PyErr_Occurred()) SWIG_fail;
1752 }
1753 Py_INCREF(Py_None); resultobj = Py_None;
1754 return resultobj;
1755 fail:
1756 return NULL;
1757 }
1758
1759
1760 static PyObject *_wrap_HtmlParser_PopTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1761 PyObject *resultobj;
1762 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1763 PyObject * obj0 = 0 ;
1764 char *kwnames[] = {
1765 (char *) "self", NULL
1766 };
1767
1768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_PopTagHandler",kwnames,&obj0)) goto fail;
1769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1771 {
1772 PyThreadState* __tstate = wxPyBeginAllowThreads();
1773 (arg1)->PopTagHandler();
1774
1775 wxPyEndAllowThreads(__tstate);
1776 if (PyErr_Occurred()) SWIG_fail;
1777 }
1778 Py_INCREF(Py_None); resultobj = Py_None;
1779 return resultobj;
1780 fail:
1781 return NULL;
1782 }
1783
1784
1785 static PyObject * HtmlParser_swigregister(PyObject *self, PyObject *args) {
1786 PyObject *obj;
1787 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1788 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlParser, obj);
1789 Py_INCREF(obj);
1790 return Py_BuildValue((char *)"");
1791 }
1792 static PyObject *_wrap_new_HtmlWinParser(PyObject *self, PyObject *args, PyObject *kwargs) {
1793 PyObject *resultobj;
1794 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) NULL ;
1795 wxHtmlWinParser *result;
1796 PyObject * obj0 = 0 ;
1797 char *kwnames[] = {
1798 (char *) "wnd", NULL
1799 };
1800
1801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlWinParser",kwnames,&obj0)) goto fail;
1802 if (obj0) {
1803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
1804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1805 }
1806 {
1807 PyThreadState* __tstate = wxPyBeginAllowThreads();
1808 result = (wxHtmlWinParser *)new wxHtmlWinParser(arg1);
1809
1810 wxPyEndAllowThreads(__tstate);
1811 if (PyErr_Occurred()) SWIG_fail;
1812 }
1813 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 1);
1814 return resultobj;
1815 fail:
1816 return NULL;
1817 }
1818
1819
1820 static PyObject *_wrap_HtmlWinParser_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
1821 PyObject *resultobj;
1822 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1823 wxDC *arg2 = (wxDC *) 0 ;
1824 PyObject * obj0 = 0 ;
1825 PyObject * obj1 = 0 ;
1826 char *kwnames[] = {
1827 (char *) "self",(char *) "dc", NULL
1828 };
1829
1830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetDC",kwnames,&obj0,&obj1)) goto fail;
1831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
1832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1833 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
1834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1835 {
1836 PyThreadState* __tstate = wxPyBeginAllowThreads();
1837 (arg1)->SetDC(arg2);
1838
1839 wxPyEndAllowThreads(__tstate);
1840 if (PyErr_Occurred()) SWIG_fail;
1841 }
1842 Py_INCREF(Py_None); resultobj = Py_None;
1843 return resultobj;
1844 fail:
1845 return NULL;
1846 }
1847
1848
1849 static PyObject *_wrap_HtmlWinParser_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
1850 PyObject *resultobj;
1851 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1852 wxDC *result;
1853 PyObject * obj0 = 0 ;
1854 char *kwnames[] = {
1855 (char *) "self", NULL
1856 };
1857
1858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetDC",kwnames,&obj0)) goto fail;
1859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
1860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1861 {
1862 PyThreadState* __tstate = wxPyBeginAllowThreads();
1863 result = (wxDC *)(arg1)->GetDC();
1864
1865 wxPyEndAllowThreads(__tstate);
1866 if (PyErr_Occurred()) SWIG_fail;
1867 }
1868 {
1869 resultobj = wxPyMake_wxObject(result, 0);
1870 }
1871 return resultobj;
1872 fail:
1873 return NULL;
1874 }
1875
1876
1877 static PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1878 PyObject *resultobj;
1879 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1880 int result;
1881 PyObject * obj0 = 0 ;
1882 char *kwnames[] = {
1883 (char *) "self", NULL
1884 };
1885
1886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharHeight",kwnames,&obj0)) goto fail;
1887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
1888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1889 {
1890 PyThreadState* __tstate = wxPyBeginAllowThreads();
1891 result = (int)(arg1)->GetCharHeight();
1892
1893 wxPyEndAllowThreads(__tstate);
1894 if (PyErr_Occurred()) SWIG_fail;
1895 }
1896 resultobj = SWIG_FromInt((int)result);
1897 return resultobj;
1898 fail:
1899 return NULL;
1900 }
1901
1902
1903 static PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1904 PyObject *resultobj;
1905 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1906 int result;
1907 PyObject * obj0 = 0 ;
1908 char *kwnames[] = {
1909 (char *) "self", NULL
1910 };
1911
1912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharWidth",kwnames,&obj0)) goto fail;
1913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
1914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1915 {
1916 PyThreadState* __tstate = wxPyBeginAllowThreads();
1917 result = (int)(arg1)->GetCharWidth();
1918
1919 wxPyEndAllowThreads(__tstate);
1920 if (PyErr_Occurred()) SWIG_fail;
1921 }
1922 resultobj = SWIG_FromInt((int)result);
1923 return resultobj;
1924 fail:
1925 return NULL;
1926 }
1927
1928
1929 static PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1930 PyObject *resultobj;
1931 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1932 wxPyHtmlWindow *result;
1933 PyObject * obj0 = 0 ;
1934 char *kwnames[] = {
1935 (char *) "self", NULL
1936 };
1937
1938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetWindow",kwnames,&obj0)) goto fail;
1939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
1940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1941 {
1942 PyThreadState* __tstate = wxPyBeginAllowThreads();
1943 result = (wxPyHtmlWindow *)(arg1)->GetWindow();
1944
1945 wxPyEndAllowThreads(__tstate);
1946 if (PyErr_Occurred()) SWIG_fail;
1947 }
1948 {
1949 resultobj = wxPyMake_wxObject(result, 0);
1950 }
1951 return resultobj;
1952 fail:
1953 return NULL;
1954 }
1955
1956
1957 static PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
1958 PyObject *resultobj;
1959 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1960 wxString arg2 ;
1961 wxString arg3 ;
1962 PyObject *arg4 = (PyObject *) NULL ;
1963 PyObject * obj0 = 0 ;
1964 PyObject * obj1 = 0 ;
1965 PyObject * obj2 = 0 ;
1966 PyObject * obj3 = 0 ;
1967 char *kwnames[] = {
1968 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
1969 };
1970
1971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
1972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
1973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1974 {
1975 wxString* sptr = wxString_in_helper(obj1);
1976 if (sptr == NULL) SWIG_fail;
1977 arg2 = *sptr;
1978 delete sptr;
1979 }
1980 {
1981 wxString* sptr = wxString_in_helper(obj2);
1982 if (sptr == NULL) SWIG_fail;
1983 arg3 = *sptr;
1984 delete sptr;
1985 }
1986 if (obj3) {
1987 arg4 = obj3;
1988 }
1989 {
1990 PyThreadState* __tstate = wxPyBeginAllowThreads();
1991 wxHtmlWinParser_SetFonts(arg1,arg2,arg3,arg4);
1992
1993 wxPyEndAllowThreads(__tstate);
1994 if (PyErr_Occurred()) SWIG_fail;
1995 }
1996 Py_INCREF(Py_None); resultobj = Py_None;
1997 return resultobj;
1998 fail:
1999 return NULL;
2000 }
2001
2002
2003 static PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
2004 PyObject *resultobj;
2005 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2006 wxHtmlContainerCell *result;
2007 PyObject * obj0 = 0 ;
2008 char *kwnames[] = {
2009 (char *) "self", NULL
2010 };
2011
2012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetContainer",kwnames,&obj0)) goto fail;
2013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2015 {
2016 PyThreadState* __tstate = wxPyBeginAllowThreads();
2017 result = (wxHtmlContainerCell *)(arg1)->GetContainer();
2018
2019 wxPyEndAllowThreads(__tstate);
2020 if (PyErr_Occurred()) SWIG_fail;
2021 }
2022 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
2023 return resultobj;
2024 fail:
2025 return NULL;
2026 }
2027
2028
2029 static PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
2030 PyObject *resultobj;
2031 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2032 wxHtmlContainerCell *result;
2033 PyObject * obj0 = 0 ;
2034 char *kwnames[] = {
2035 (char *) "self", NULL
2036 };
2037
2038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_OpenContainer",kwnames,&obj0)) goto fail;
2039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2041 {
2042 PyThreadState* __tstate = wxPyBeginAllowThreads();
2043 result = (wxHtmlContainerCell *)(arg1)->OpenContainer();
2044
2045 wxPyEndAllowThreads(__tstate);
2046 if (PyErr_Occurred()) SWIG_fail;
2047 }
2048 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
2049 return resultobj;
2050 fail:
2051 return NULL;
2052 }
2053
2054
2055 static PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
2056 PyObject *resultobj;
2057 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2058 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
2059 wxHtmlContainerCell *result;
2060 PyObject * obj0 = 0 ;
2061 PyObject * obj1 = 0 ;
2062 char *kwnames[] = {
2063 (char *) "self",(char *) "c", NULL
2064 };
2065
2066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetContainer",kwnames,&obj0,&obj1)) goto fail;
2067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2069 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlContainerCell,
2070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2071 {
2072 PyThreadState* __tstate = wxPyBeginAllowThreads();
2073 result = (wxHtmlContainerCell *)(arg1)->SetContainer(arg2);
2074
2075 wxPyEndAllowThreads(__tstate);
2076 if (PyErr_Occurred()) SWIG_fail;
2077 }
2078 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
2079 return resultobj;
2080 fail:
2081 return NULL;
2082 }
2083
2084
2085 static PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
2086 PyObject *resultobj;
2087 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2088 wxHtmlContainerCell *result;
2089 PyObject * obj0 = 0 ;
2090 char *kwnames[] = {
2091 (char *) "self", NULL
2092 };
2093
2094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CloseContainer",kwnames,&obj0)) goto fail;
2095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2097 {
2098 PyThreadState* __tstate = wxPyBeginAllowThreads();
2099 result = (wxHtmlContainerCell *)(arg1)->CloseContainer();
2100
2101 wxPyEndAllowThreads(__tstate);
2102 if (PyErr_Occurred()) SWIG_fail;
2103 }
2104 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
2105 return resultobj;
2106 fail:
2107 return NULL;
2108 }
2109
2110
2111 static PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2112 PyObject *resultobj;
2113 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2114 int result;
2115 PyObject * obj0 = 0 ;
2116 char *kwnames[] = {
2117 (char *) "self", NULL
2118 };
2119
2120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontSize",kwnames,&obj0)) goto fail;
2121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2123 {
2124 PyThreadState* __tstate = wxPyBeginAllowThreads();
2125 result = (int)(arg1)->GetFontSize();
2126
2127 wxPyEndAllowThreads(__tstate);
2128 if (PyErr_Occurred()) SWIG_fail;
2129 }
2130 resultobj = SWIG_FromInt((int)result);
2131 return resultobj;
2132 fail:
2133 return NULL;
2134 }
2135
2136
2137 static PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2138 PyObject *resultobj;
2139 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2140 int arg2 ;
2141 PyObject * obj0 = 0 ;
2142 PyObject * obj1 = 0 ;
2143 char *kwnames[] = {
2144 (char *) "self",(char *) "s", NULL
2145 };
2146
2147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontSize",kwnames,&obj0,&obj1)) goto fail;
2148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2150 arg2 = (int) SWIG_AsInt(obj1);
2151 if (PyErr_Occurred()) SWIG_fail;
2152 {
2153 PyThreadState* __tstate = wxPyBeginAllowThreads();
2154 (arg1)->SetFontSize(arg2);
2155
2156 wxPyEndAllowThreads(__tstate);
2157 if (PyErr_Occurred()) SWIG_fail;
2158 }
2159 Py_INCREF(Py_None); resultobj = Py_None;
2160 return resultobj;
2161 fail:
2162 return NULL;
2163 }
2164
2165
2166 static PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *self, PyObject *args, PyObject *kwargs) {
2167 PyObject *resultobj;
2168 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2169 int result;
2170 PyObject * obj0 = 0 ;
2171 char *kwnames[] = {
2172 (char *) "self", NULL
2173 };
2174
2175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontBold",kwnames,&obj0)) goto fail;
2176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2178 {
2179 PyThreadState* __tstate = wxPyBeginAllowThreads();
2180 result = (int)(arg1)->GetFontBold();
2181
2182 wxPyEndAllowThreads(__tstate);
2183 if (PyErr_Occurred()) SWIG_fail;
2184 }
2185 resultobj = SWIG_FromInt((int)result);
2186 return resultobj;
2187 fail:
2188 return NULL;
2189 }
2190
2191
2192 static PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *self, PyObject *args, PyObject *kwargs) {
2193 PyObject *resultobj;
2194 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2195 int arg2 ;
2196 PyObject * obj0 = 0 ;
2197 PyObject * obj1 = 0 ;
2198 char *kwnames[] = {
2199 (char *) "self",(char *) "x", NULL
2200 };
2201
2202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontBold",kwnames,&obj0,&obj1)) goto fail;
2203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2205 arg2 = (int) SWIG_AsInt(obj1);
2206 if (PyErr_Occurred()) SWIG_fail;
2207 {
2208 PyThreadState* __tstate = wxPyBeginAllowThreads();
2209 (arg1)->SetFontBold(arg2);
2210
2211 wxPyEndAllowThreads(__tstate);
2212 if (PyErr_Occurred()) SWIG_fail;
2213 }
2214 Py_INCREF(Py_None); resultobj = Py_None;
2215 return resultobj;
2216 fail:
2217 return NULL;
2218 }
2219
2220
2221 static PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *self, PyObject *args, PyObject *kwargs) {
2222 PyObject *resultobj;
2223 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2224 int result;
2225 PyObject * obj0 = 0 ;
2226 char *kwnames[] = {
2227 (char *) "self", NULL
2228 };
2229
2230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontItalic",kwnames,&obj0)) goto fail;
2231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2233 {
2234 PyThreadState* __tstate = wxPyBeginAllowThreads();
2235 result = (int)(arg1)->GetFontItalic();
2236
2237 wxPyEndAllowThreads(__tstate);
2238 if (PyErr_Occurred()) SWIG_fail;
2239 }
2240 resultobj = SWIG_FromInt((int)result);
2241 return resultobj;
2242 fail:
2243 return NULL;
2244 }
2245
2246
2247 static PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *self, PyObject *args, PyObject *kwargs) {
2248 PyObject *resultobj;
2249 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2250 int arg2 ;
2251 PyObject * obj0 = 0 ;
2252 PyObject * obj1 = 0 ;
2253 char *kwnames[] = {
2254 (char *) "self",(char *) "x", NULL
2255 };
2256
2257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames,&obj0,&obj1)) goto fail;
2258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2260 arg2 = (int) SWIG_AsInt(obj1);
2261 if (PyErr_Occurred()) SWIG_fail;
2262 {
2263 PyThreadState* __tstate = wxPyBeginAllowThreads();
2264 (arg1)->SetFontItalic(arg2);
2265
2266 wxPyEndAllowThreads(__tstate);
2267 if (PyErr_Occurred()) SWIG_fail;
2268 }
2269 Py_INCREF(Py_None); resultobj = Py_None;
2270 return resultobj;
2271 fail:
2272 return NULL;
2273 }
2274
2275
2276 static PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) {
2277 PyObject *resultobj;
2278 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2279 int result;
2280 PyObject * obj0 = 0 ;
2281 char *kwnames[] = {
2282 (char *) "self", NULL
2283 };
2284
2285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontUnderlined",kwnames,&obj0)) goto fail;
2286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2288 {
2289 PyThreadState* __tstate = wxPyBeginAllowThreads();
2290 result = (int)(arg1)->GetFontUnderlined();
2291
2292 wxPyEndAllowThreads(__tstate);
2293 if (PyErr_Occurred()) SWIG_fail;
2294 }
2295 resultobj = SWIG_FromInt((int)result);
2296 return resultobj;
2297 fail:
2298 return NULL;
2299 }
2300
2301
2302 static PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) {
2303 PyObject *resultobj;
2304 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2305 int arg2 ;
2306 PyObject * obj0 = 0 ;
2307 PyObject * obj1 = 0 ;
2308 char *kwnames[] = {
2309 (char *) "self",(char *) "x", NULL
2310 };
2311
2312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames,&obj0,&obj1)) goto fail;
2313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2315 arg2 = (int) SWIG_AsInt(obj1);
2316 if (PyErr_Occurred()) SWIG_fail;
2317 {
2318 PyThreadState* __tstate = wxPyBeginAllowThreads();
2319 (arg1)->SetFontUnderlined(arg2);
2320
2321 wxPyEndAllowThreads(__tstate);
2322 if (PyErr_Occurred()) SWIG_fail;
2323 }
2324 Py_INCREF(Py_None); resultobj = Py_None;
2325 return resultobj;
2326 fail:
2327 return NULL;
2328 }
2329
2330
2331 static PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *self, PyObject *args, PyObject *kwargs) {
2332 PyObject *resultobj;
2333 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2334 int result;
2335 PyObject * obj0 = 0 ;
2336 char *kwnames[] = {
2337 (char *) "self", NULL
2338 };
2339
2340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontFixed",kwnames,&obj0)) goto fail;
2341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2343 {
2344 PyThreadState* __tstate = wxPyBeginAllowThreads();
2345 result = (int)(arg1)->GetFontFixed();
2346
2347 wxPyEndAllowThreads(__tstate);
2348 if (PyErr_Occurred()) SWIG_fail;
2349 }
2350 resultobj = SWIG_FromInt((int)result);
2351 return resultobj;
2352 fail:
2353 return NULL;
2354 }
2355
2356
2357 static PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *self, PyObject *args, PyObject *kwargs) {
2358 PyObject *resultobj;
2359 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2360 int arg2 ;
2361 PyObject * obj0 = 0 ;
2362 PyObject * obj1 = 0 ;
2363 char *kwnames[] = {
2364 (char *) "self",(char *) "x", NULL
2365 };
2366
2367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames,&obj0,&obj1)) goto fail;
2368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2370 arg2 = (int) SWIG_AsInt(obj1);
2371 if (PyErr_Occurred()) SWIG_fail;
2372 {
2373 PyThreadState* __tstate = wxPyBeginAllowThreads();
2374 (arg1)->SetFontFixed(arg2);
2375
2376 wxPyEndAllowThreads(__tstate);
2377 if (PyErr_Occurred()) SWIG_fail;
2378 }
2379 Py_INCREF(Py_None); resultobj = Py_None;
2380 return resultobj;
2381 fail:
2382 return NULL;
2383 }
2384
2385
2386 static PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
2387 PyObject *resultobj;
2388 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2389 int result;
2390 PyObject * obj0 = 0 ;
2391 char *kwnames[] = {
2392 (char *) "self", NULL
2393 };
2394
2395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetAlign",kwnames,&obj0)) goto fail;
2396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2398 {
2399 PyThreadState* __tstate = wxPyBeginAllowThreads();
2400 result = (int)(arg1)->GetAlign();
2401
2402 wxPyEndAllowThreads(__tstate);
2403 if (PyErr_Occurred()) SWIG_fail;
2404 }
2405 resultobj = SWIG_FromInt((int)result);
2406 return resultobj;
2407 fail:
2408 return NULL;
2409 }
2410
2411
2412 static PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
2413 PyObject *resultobj;
2414 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2415 int arg2 ;
2416 PyObject * obj0 = 0 ;
2417 PyObject * obj1 = 0 ;
2418 char *kwnames[] = {
2419 (char *) "self",(char *) "a", NULL
2420 };
2421
2422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetAlign",kwnames,&obj0,&obj1)) goto fail;
2423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2425 arg2 = (int) SWIG_AsInt(obj1);
2426 if (PyErr_Occurred()) SWIG_fail;
2427 {
2428 PyThreadState* __tstate = wxPyBeginAllowThreads();
2429 (arg1)->SetAlign(arg2);
2430
2431 wxPyEndAllowThreads(__tstate);
2432 if (PyErr_Occurred()) SWIG_fail;
2433 }
2434 Py_INCREF(Py_None); resultobj = Py_None;
2435 return resultobj;
2436 fail:
2437 return NULL;
2438 }
2439
2440
2441 static PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *self, PyObject *args, PyObject *kwargs) {
2442 PyObject *resultobj;
2443 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2444 wxColour result;
2445 PyObject * obj0 = 0 ;
2446 char *kwnames[] = {
2447 (char *) "self", NULL
2448 };
2449
2450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLinkColor",kwnames,&obj0)) goto fail;
2451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2453 {
2454 PyThreadState* __tstate = wxPyBeginAllowThreads();
2455 result = (arg1)->GetLinkColor();
2456
2457 wxPyEndAllowThreads(__tstate);
2458 if (PyErr_Occurred()) SWIG_fail;
2459 }
2460 {
2461 wxColour * resultptr;
2462 resultptr = new wxColour((wxColour &) result);
2463 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
2464 }
2465 return resultobj;
2466 fail:
2467 return NULL;
2468 }
2469
2470
2471 static PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *self, PyObject *args, PyObject *kwargs) {
2472 PyObject *resultobj;
2473 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2474 wxColour *arg2 = 0 ;
2475 wxColour temp2 ;
2476 PyObject * obj0 = 0 ;
2477 PyObject * obj1 = 0 ;
2478 char *kwnames[] = {
2479 (char *) "self",(char *) "clr", NULL
2480 };
2481
2482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames,&obj0,&obj1)) goto fail;
2483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2485 {
2486 arg2 = &temp2;
2487 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2488 }
2489 {
2490 PyThreadState* __tstate = wxPyBeginAllowThreads();
2491 (arg1)->SetLinkColor((wxColour const &)*arg2);
2492
2493 wxPyEndAllowThreads(__tstate);
2494 if (PyErr_Occurred()) SWIG_fail;
2495 }
2496 Py_INCREF(Py_None); resultobj = Py_None;
2497 return resultobj;
2498 fail:
2499 return NULL;
2500 }
2501
2502
2503 static PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *self, PyObject *args, PyObject *kwargs) {
2504 PyObject *resultobj;
2505 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2506 wxColour result;
2507 PyObject * obj0 = 0 ;
2508 char *kwnames[] = {
2509 (char *) "self", NULL
2510 };
2511
2512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetActualColor",kwnames,&obj0)) goto fail;
2513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2515 {
2516 PyThreadState* __tstate = wxPyBeginAllowThreads();
2517 result = (arg1)->GetActualColor();
2518
2519 wxPyEndAllowThreads(__tstate);
2520 if (PyErr_Occurred()) SWIG_fail;
2521 }
2522 {
2523 wxColour * resultptr;
2524 resultptr = new wxColour((wxColour &) result);
2525 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
2526 }
2527 return resultobj;
2528 fail:
2529 return NULL;
2530 }
2531
2532
2533 static PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *self, PyObject *args, PyObject *kwargs) {
2534 PyObject *resultobj;
2535 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2536 wxColour *arg2 = 0 ;
2537 wxColour temp2 ;
2538 PyObject * obj0 = 0 ;
2539 PyObject * obj1 = 0 ;
2540 char *kwnames[] = {
2541 (char *) "self",(char *) "clr", NULL
2542 };
2543
2544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetActualColor",kwnames,&obj0,&obj1)) goto fail;
2545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2547 {
2548 arg2 = &temp2;
2549 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2550 }
2551 {
2552 PyThreadState* __tstate = wxPyBeginAllowThreads();
2553 (arg1)->SetActualColor((wxColour const &)*arg2);
2554
2555 wxPyEndAllowThreads(__tstate);
2556 if (PyErr_Occurred()) SWIG_fail;
2557 }
2558 Py_INCREF(Py_None); resultobj = Py_None;
2559 return resultobj;
2560 fail:
2561 return NULL;
2562 }
2563
2564
2565 static PyObject *_wrap_HtmlWinParser_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
2566 PyObject *resultobj;
2567 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2568 wxString *arg2 = 0 ;
2569 bool temp2 = False ;
2570 PyObject * obj0 = 0 ;
2571 PyObject * obj1 = 0 ;
2572 char *kwnames[] = {
2573 (char *) "self",(char *) "link", NULL
2574 };
2575
2576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLink",kwnames,&obj0,&obj1)) goto fail;
2577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2579 {
2580 arg2 = wxString_in_helper(obj1);
2581 if (arg2 == NULL) SWIG_fail;
2582 temp2 = True;
2583 }
2584 {
2585 PyThreadState* __tstate = wxPyBeginAllowThreads();
2586 (arg1)->SetLink((wxString const &)*arg2);
2587
2588 wxPyEndAllowThreads(__tstate);
2589 if (PyErr_Occurred()) SWIG_fail;
2590 }
2591 Py_INCREF(Py_None); resultobj = Py_None;
2592 {
2593 if (temp2)
2594 delete arg2;
2595 }
2596 return resultobj;
2597 fail:
2598 {
2599 if (temp2)
2600 delete arg2;
2601 }
2602 return NULL;
2603 }
2604
2605
2606 static PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *self, PyObject *args, PyObject *kwargs) {
2607 PyObject *resultobj;
2608 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2609 wxFont *result;
2610 PyObject * obj0 = 0 ;
2611 char *kwnames[] = {
2612 (char *) "self", NULL
2613 };
2614
2615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CreateCurrentFont",kwnames,&obj0)) goto fail;
2616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2618 {
2619 PyThreadState* __tstate = wxPyBeginAllowThreads();
2620 result = (wxFont *)(arg1)->CreateCurrentFont();
2621
2622 wxPyEndAllowThreads(__tstate);
2623 if (PyErr_Occurred()) SWIG_fail;
2624 }
2625 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
2626 return resultobj;
2627 fail:
2628 return NULL;
2629 }
2630
2631
2632 static PyObject *_wrap_HtmlWinParser_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
2633 PyObject *resultobj;
2634 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2635 SwigValueWrapper< wxHtmlLinkInfo > result;
2636 PyObject * obj0 = 0 ;
2637 char *kwnames[] = {
2638 (char *) "self", NULL
2639 };
2640
2641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLink",kwnames,&obj0)) goto fail;
2642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2644 {
2645 PyThreadState* __tstate = wxPyBeginAllowThreads();
2646 result = (arg1)->GetLink();
2647
2648 wxPyEndAllowThreads(__tstate);
2649 if (PyErr_Occurred()) SWIG_fail;
2650 }
2651 {
2652 wxHtmlLinkInfo * resultptr;
2653 resultptr = new wxHtmlLinkInfo((wxHtmlLinkInfo &) result);
2654 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxHtmlLinkInfo, 1);
2655 }
2656 return resultobj;
2657 fail:
2658 return NULL;
2659 }
2660
2661
2662 static PyObject * HtmlWinParser_swigregister(PyObject *self, PyObject *args) {
2663 PyObject *obj;
2664 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2665 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWinParser, obj);
2666 Py_INCREF(obj);
2667 return Py_BuildValue((char *)"");
2668 }
2669 static PyObject *_wrap_new_HtmlTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2670 PyObject *resultobj;
2671 wxPyHtmlTagHandler *result;
2672 char *kwnames[] = {
2673 NULL
2674 };
2675
2676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlTagHandler",kwnames)) goto fail;
2677 {
2678 PyThreadState* __tstate = wxPyBeginAllowThreads();
2679 result = (wxPyHtmlTagHandler *)new wxPyHtmlTagHandler();
2680
2681 wxPyEndAllowThreads(__tstate);
2682 if (PyErr_Occurred()) SWIG_fail;
2683 }
2684 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlTagHandler, 1);
2685 return resultobj;
2686 fail:
2687 return NULL;
2688 }
2689
2690
2691 static PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2692 PyObject *resultobj;
2693 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
2694 PyObject *arg2 = (PyObject *) 0 ;
2695 PyObject *arg3 = (PyObject *) 0 ;
2696 PyObject * obj0 = 0 ;
2697 PyObject * obj1 = 0 ;
2698 PyObject * obj2 = 0 ;
2699 char *kwnames[] = {
2700 (char *) "self",(char *) "self",(char *) "_class", NULL
2701 };
2702
2703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler,
2705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2706 arg2 = obj1;
2707 arg3 = obj2;
2708 {
2709 PyThreadState* __tstate = wxPyBeginAllowThreads();
2710 (arg1)->_setCallbackInfo(arg2,arg3);
2711
2712 wxPyEndAllowThreads(__tstate);
2713 if (PyErr_Occurred()) SWIG_fail;
2714 }
2715 Py_INCREF(Py_None); resultobj = Py_None;
2716 return resultobj;
2717 fail:
2718 return NULL;
2719 }
2720
2721
2722 static PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
2723 PyObject *resultobj;
2724 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
2725 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
2726 PyObject * obj0 = 0 ;
2727 PyObject * obj1 = 0 ;
2728 char *kwnames[] = {
2729 (char *) "self",(char *) "parser", NULL
2730 };
2731
2732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail;
2733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler,
2734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2735 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlParser,
2736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2737 {
2738 PyThreadState* __tstate = wxPyBeginAllowThreads();
2739 (arg1)->SetParser(arg2);
2740
2741 wxPyEndAllowThreads(__tstate);
2742 if (PyErr_Occurred()) SWIG_fail;
2743 }
2744 Py_INCREF(Py_None); resultobj = Py_None;
2745 return resultobj;
2746 fail:
2747 return NULL;
2748 }
2749
2750
2751 static PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
2752 PyObject *resultobj;
2753 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
2754 wxHtmlParser *result;
2755 PyObject * obj0 = 0 ;
2756 char *kwnames[] = {
2757 (char *) "self", NULL
2758 };
2759
2760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTagHandler_GetParser",kwnames,&obj0)) goto fail;
2761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler,
2762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2763 {
2764 PyThreadState* __tstate = wxPyBeginAllowThreads();
2765 result = (wxHtmlParser *)(arg1)->GetParser();
2766
2767 wxPyEndAllowThreads(__tstate);
2768 if (PyErr_Occurred()) SWIG_fail;
2769 }
2770 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlParser, 0);
2771 return resultobj;
2772 fail:
2773 return NULL;
2774 }
2775
2776
2777 static PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *self, PyObject *args, PyObject *kwargs) {
2778 PyObject *resultobj;
2779 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
2780 wxHtmlTag *arg2 = 0 ;
2781 PyObject * obj0 = 0 ;
2782 PyObject * obj1 = 0 ;
2783 char *kwnames[] = {
2784 (char *) "self",(char *) "tag", NULL
2785 };
2786
2787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail;
2788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler,
2789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2790 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag,
2791 SWIG_POINTER_EXCEPTION | 0)) == -1)
2792 SWIG_fail;
2793 if (arg2 == NULL) {
2794 PyErr_SetString(PyExc_TypeError,"null reference");
2795 SWIG_fail;
2796 }
2797 {
2798 PyThreadState* __tstate = wxPyBeginAllowThreads();
2799 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
2800
2801 wxPyEndAllowThreads(__tstate);
2802 if (PyErr_Occurred()) SWIG_fail;
2803 }
2804 Py_INCREF(Py_None); resultobj = Py_None;
2805 return resultobj;
2806 fail:
2807 return NULL;
2808 }
2809
2810
2811 static PyObject * HtmlTagHandler_swigregister(PyObject *self, PyObject *args) {
2812 PyObject *obj;
2813 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2814 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlTagHandler, obj);
2815 Py_INCREF(obj);
2816 return Py_BuildValue((char *)"");
2817 }
2818 static PyObject *_wrap_new_HtmlWinTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2819 PyObject *resultobj;
2820 wxPyHtmlWinTagHandler *result;
2821 char *kwnames[] = {
2822 NULL
2823 };
2824
2825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlWinTagHandler",kwnames)) goto fail;
2826 {
2827 PyThreadState* __tstate = wxPyBeginAllowThreads();
2828 result = (wxPyHtmlWinTagHandler *)new wxPyHtmlWinTagHandler();
2829
2830 wxPyEndAllowThreads(__tstate);
2831 if (PyErr_Occurred()) SWIG_fail;
2832 }
2833 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWinTagHandler, 1);
2834 return resultobj;
2835 fail:
2836 return NULL;
2837 }
2838
2839
2840 static PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2841 PyObject *resultobj;
2842 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
2843 PyObject *arg2 = (PyObject *) 0 ;
2844 PyObject *arg3 = (PyObject *) 0 ;
2845 PyObject * obj0 = 0 ;
2846 PyObject * obj1 = 0 ;
2847 PyObject * obj2 = 0 ;
2848 char *kwnames[] = {
2849 (char *) "self",(char *) "self",(char *) "_class", NULL
2850 };
2851
2852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler,
2854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2855 arg2 = obj1;
2856 arg3 = obj2;
2857 {
2858 PyThreadState* __tstate = wxPyBeginAllowThreads();
2859 (arg1)->_setCallbackInfo(arg2,arg3);
2860
2861 wxPyEndAllowThreads(__tstate);
2862 if (PyErr_Occurred()) SWIG_fail;
2863 }
2864 Py_INCREF(Py_None); resultobj = Py_None;
2865 return resultobj;
2866 fail:
2867 return NULL;
2868 }
2869
2870
2871 static PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
2872 PyObject *resultobj;
2873 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
2874 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
2875 PyObject * obj0 = 0 ;
2876 PyObject * obj1 = 0 ;
2877 char *kwnames[] = {
2878 (char *) "self",(char *) "parser", NULL
2879 };
2880
2881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail;
2882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler,
2883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2884 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlParser,
2885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2886 {
2887 PyThreadState* __tstate = wxPyBeginAllowThreads();
2888 (arg1)->SetParser(arg2);
2889
2890 wxPyEndAllowThreads(__tstate);
2891 if (PyErr_Occurred()) SWIG_fail;
2892 }
2893 Py_INCREF(Py_None); resultobj = Py_None;
2894 return resultobj;
2895 fail:
2896 return NULL;
2897 }
2898
2899
2900 static PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
2901 PyObject *resultobj;
2902 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
2903 wxHtmlWinParser *result;
2904 PyObject * obj0 = 0 ;
2905 char *kwnames[] = {
2906 (char *) "self", NULL
2907 };
2908
2909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinTagHandler_GetParser",kwnames,&obj0)) goto fail;
2910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler,
2911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2912 {
2913 PyThreadState* __tstate = wxPyBeginAllowThreads();
2914 result = (wxHtmlWinParser *)(arg1)->GetParser();
2915
2916 wxPyEndAllowThreads(__tstate);
2917 if (PyErr_Occurred()) SWIG_fail;
2918 }
2919 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0);
2920 return resultobj;
2921 fail:
2922 return NULL;
2923 }
2924
2925
2926 static PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *self, PyObject *args, PyObject *kwargs) {
2927 PyObject *resultobj;
2928 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
2929 wxHtmlTag *arg2 = 0 ;
2930 PyObject * obj0 = 0 ;
2931 PyObject * obj1 = 0 ;
2932 char *kwnames[] = {
2933 (char *) "self",(char *) "tag", NULL
2934 };
2935
2936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail;
2937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler,
2938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2939 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag,
2940 SWIG_POINTER_EXCEPTION | 0)) == -1)
2941 SWIG_fail;
2942 if (arg2 == NULL) {
2943 PyErr_SetString(PyExc_TypeError,"null reference");
2944 SWIG_fail;
2945 }
2946 {
2947 PyThreadState* __tstate = wxPyBeginAllowThreads();
2948 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
2949
2950 wxPyEndAllowThreads(__tstate);
2951 if (PyErr_Occurred()) SWIG_fail;
2952 }
2953 Py_INCREF(Py_None); resultobj = Py_None;
2954 return resultobj;
2955 fail:
2956 return NULL;
2957 }
2958
2959
2960 static PyObject * HtmlWinTagHandler_swigregister(PyObject *self, PyObject *args) {
2961 PyObject *obj;
2962 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2963 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler, obj);
2964 Py_INCREF(obj);
2965 return Py_BuildValue((char *)"");
2966 }
2967 static PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2968 PyObject *resultobj;
2969 PyObject *arg1 = (PyObject *) 0 ;
2970 PyObject * obj0 = 0 ;
2971 char *kwnames[] = {
2972 (char *) "tagHandlerClass", NULL
2973 };
2974
2975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_AddTagHandler",kwnames,&obj0)) goto fail;
2976 arg1 = obj0;
2977 {
2978 PyThreadState* __tstate = wxPyBeginAllowThreads();
2979 wxHtmlWinParser_AddTagHandler(arg1);
2980
2981 wxPyEndAllowThreads(__tstate);
2982 if (PyErr_Occurred()) SWIG_fail;
2983 }
2984 Py_INCREF(Py_None); resultobj = Py_None;
2985 return resultobj;
2986 fail:
2987 return NULL;
2988 }
2989
2990
2991 static PyObject *_wrap_new_HtmlSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2992 PyObject *resultobj;
2993 wxHtmlSelection *result;
2994 char *kwnames[] = {
2995 NULL
2996 };
2997
2998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlSelection",kwnames)) goto fail;
2999 {
3000 PyThreadState* __tstate = wxPyBeginAllowThreads();
3001 result = (wxHtmlSelection *)new wxHtmlSelection();
3002
3003 wxPyEndAllowThreads(__tstate);
3004 if (PyErr_Occurred()) SWIG_fail;
3005 }
3006 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 1);
3007 return resultobj;
3008 fail:
3009 return NULL;
3010 }
3011
3012
3013 static PyObject *_wrap_delete_HtmlSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3014 PyObject *resultobj;
3015 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3016 PyObject * obj0 = 0 ;
3017 char *kwnames[] = {
3018 (char *) "self", NULL
3019 };
3020
3021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlSelection",kwnames,&obj0)) goto fail;
3022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3024 {
3025 PyThreadState* __tstate = wxPyBeginAllowThreads();
3026 delete arg1;
3027
3028 wxPyEndAllowThreads(__tstate);
3029 if (PyErr_Occurred()) SWIG_fail;
3030 }
3031 Py_INCREF(Py_None); resultobj = Py_None;
3032 return resultobj;
3033 fail:
3034 return NULL;
3035 }
3036
3037
3038 static PyObject *_wrap_HtmlSelection_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
3039 PyObject *resultobj;
3040 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3041 wxPoint *arg2 = 0 ;
3042 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
3043 wxPoint *arg4 = 0 ;
3044 wxHtmlCell *arg5 = (wxHtmlCell *) 0 ;
3045 wxPoint temp2 ;
3046 wxPoint temp4 ;
3047 PyObject * obj0 = 0 ;
3048 PyObject * obj1 = 0 ;
3049 PyObject * obj2 = 0 ;
3050 PyObject * obj3 = 0 ;
3051 PyObject * obj4 = 0 ;
3052 char *kwnames[] = {
3053 (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
3054 };
3055
3056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlSelection_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3059 {
3060 arg2 = &temp2;
3061 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3062 }
3063 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxHtmlCell,
3064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3065 {
3066 arg4 = &temp4;
3067 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3068 }
3069 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxHtmlCell,
3070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3071 {
3072 PyThreadState* __tstate = wxPyBeginAllowThreads();
3073 (arg1)->Set((wxPoint const &)*arg2,(wxHtmlCell const *)arg3,(wxPoint const &)*arg4,(wxHtmlCell const *)arg5);
3074
3075 wxPyEndAllowThreads(__tstate);
3076 if (PyErr_Occurred()) SWIG_fail;
3077 }
3078 Py_INCREF(Py_None); resultobj = Py_None;
3079 return resultobj;
3080 fail:
3081 return NULL;
3082 }
3083
3084
3085 static PyObject *_wrap_HtmlSelection_SetCells(PyObject *self, PyObject *args, PyObject *kwargs) {
3086 PyObject *resultobj;
3087 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3088 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
3089 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
3090 PyObject * obj0 = 0 ;
3091 PyObject * obj1 = 0 ;
3092 PyObject * obj2 = 0 ;
3093 char *kwnames[] = {
3094 (char *) "self",(char *) "fromCell",(char *) "toCell", NULL
3095 };
3096
3097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlSelection_SetCells",kwnames,&obj0,&obj1,&obj2)) goto fail;
3098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3100 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
3101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3102 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxHtmlCell,
3103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3104 {
3105 PyThreadState* __tstate = wxPyBeginAllowThreads();
3106 (arg1)->Set((wxHtmlCell const *)arg2,(wxHtmlCell const *)arg3);
3107
3108 wxPyEndAllowThreads(__tstate);
3109 if (PyErr_Occurred()) SWIG_fail;
3110 }
3111 Py_INCREF(Py_None); resultobj = Py_None;
3112 return resultobj;
3113 fail:
3114 return NULL;
3115 }
3116
3117
3118 static PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *self, PyObject *args, PyObject *kwargs) {
3119 PyObject *resultobj;
3120 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3121 wxHtmlCell *result;
3122 PyObject * obj0 = 0 ;
3123 char *kwnames[] = {
3124 (char *) "self", NULL
3125 };
3126
3127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromCell",kwnames,&obj0)) goto fail;
3128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3130 {
3131 PyThreadState* __tstate = wxPyBeginAllowThreads();
3132 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetFromCell();
3133
3134 wxPyEndAllowThreads(__tstate);
3135 if (PyErr_Occurred()) SWIG_fail;
3136 }
3137 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
3138 return resultobj;
3139 fail:
3140 return NULL;
3141 }
3142
3143
3144 static PyObject *_wrap_HtmlSelection_GetToCell(PyObject *self, PyObject *args, PyObject *kwargs) {
3145 PyObject *resultobj;
3146 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3147 wxHtmlCell *result;
3148 PyObject * obj0 = 0 ;
3149 char *kwnames[] = {
3150 (char *) "self", NULL
3151 };
3152
3153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToCell",kwnames,&obj0)) goto fail;
3154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3156 {
3157 PyThreadState* __tstate = wxPyBeginAllowThreads();
3158 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetToCell();
3159
3160 wxPyEndAllowThreads(__tstate);
3161 if (PyErr_Occurred()) SWIG_fail;
3162 }
3163 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
3164 return resultobj;
3165 fail:
3166 return NULL;
3167 }
3168
3169
3170 static PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3171 PyObject *resultobj;
3172 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3173 wxPoint *result;
3174 PyObject * obj0 = 0 ;
3175 char *kwnames[] = {
3176 (char *) "self", NULL
3177 };
3178
3179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPos",kwnames,&obj0)) goto fail;
3180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3182 {
3183 PyThreadState* __tstate = wxPyBeginAllowThreads();
3184 {
3185 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPos();
3186 result = (wxPoint *) &_result_ref;
3187 }
3188
3189 wxPyEndAllowThreads(__tstate);
3190 if (PyErr_Occurred()) SWIG_fail;
3191 }
3192 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
3193 return resultobj;
3194 fail:
3195 return NULL;
3196 }
3197
3198
3199 static PyObject *_wrap_HtmlSelection_GetToPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3200 PyObject *resultobj;
3201 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3202 wxPoint *result;
3203 PyObject * obj0 = 0 ;
3204 char *kwnames[] = {
3205 (char *) "self", NULL
3206 };
3207
3208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPos",kwnames,&obj0)) goto fail;
3209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3211 {
3212 PyThreadState* __tstate = wxPyBeginAllowThreads();
3213 {
3214 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPos();
3215 result = (wxPoint *) &_result_ref;
3216 }
3217
3218 wxPyEndAllowThreads(__tstate);
3219 if (PyErr_Occurred()) SWIG_fail;
3220 }
3221 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
3222 return resultobj;
3223 fail:
3224 return NULL;
3225 }
3226
3227
3228 static PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3229 PyObject *resultobj;
3230 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3231 wxPoint *result;
3232 PyObject * obj0 = 0 ;
3233 char *kwnames[] = {
3234 (char *) "self", NULL
3235 };
3236
3237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPrivPos",kwnames,&obj0)) goto fail;
3238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3240 {
3241 PyThreadState* __tstate = wxPyBeginAllowThreads();
3242 {
3243 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPrivPos();
3244 result = (wxPoint *) &_result_ref;
3245 }
3246
3247 wxPyEndAllowThreads(__tstate);
3248 if (PyErr_Occurred()) SWIG_fail;
3249 }
3250 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
3251 return resultobj;
3252 fail:
3253 return NULL;
3254 }
3255
3256
3257 static PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3258 PyObject *resultobj;
3259 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3260 wxPoint *result;
3261 PyObject * obj0 = 0 ;
3262 char *kwnames[] = {
3263 (char *) "self", NULL
3264 };
3265
3266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPrivPos",kwnames,&obj0)) goto fail;
3267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3269 {
3270 PyThreadState* __tstate = wxPyBeginAllowThreads();
3271 {
3272 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPrivPos();
3273 result = (wxPoint *) &_result_ref;
3274 }
3275
3276 wxPyEndAllowThreads(__tstate);
3277 if (PyErr_Occurred()) SWIG_fail;
3278 }
3279 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
3280 return resultobj;
3281 fail:
3282 return NULL;
3283 }
3284
3285
3286 static PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3287 PyObject *resultobj;
3288 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3289 wxPoint *arg2 = 0 ;
3290 wxPoint temp2 ;
3291 PyObject * obj0 = 0 ;
3292 PyObject * obj1 = 0 ;
3293 char *kwnames[] = {
3294 (char *) "self",(char *) "pos", NULL
3295 };
3296
3297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames,&obj0,&obj1)) goto fail;
3298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3300 {
3301 arg2 = &temp2;
3302 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3303 }
3304 {
3305 PyThreadState* __tstate = wxPyBeginAllowThreads();
3306 (arg1)->SetFromPrivPos((wxPoint const &)*arg2);
3307
3308 wxPyEndAllowThreads(__tstate);
3309 if (PyErr_Occurred()) SWIG_fail;
3310 }
3311 Py_INCREF(Py_None); resultobj = Py_None;
3312 return resultobj;
3313 fail:
3314 return NULL;
3315 }
3316
3317
3318 static PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3319 PyObject *resultobj;
3320 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3321 wxPoint *arg2 = 0 ;
3322 wxPoint temp2 ;
3323 PyObject * obj0 = 0 ;
3324 PyObject * obj1 = 0 ;
3325 char *kwnames[] = {
3326 (char *) "self",(char *) "pos", NULL
3327 };
3328
3329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames,&obj0,&obj1)) goto fail;
3330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3332 {
3333 arg2 = &temp2;
3334 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3335 }
3336 {
3337 PyThreadState* __tstate = wxPyBeginAllowThreads();
3338 (arg1)->SetToPrivPos((wxPoint const &)*arg2);
3339
3340 wxPyEndAllowThreads(__tstate);
3341 if (PyErr_Occurred()) SWIG_fail;
3342 }
3343 Py_INCREF(Py_None); resultobj = Py_None;
3344 return resultobj;
3345 fail:
3346 return NULL;
3347 }
3348
3349
3350 static PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3351 PyObject *resultobj;
3352 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3353 PyObject * obj0 = 0 ;
3354 char *kwnames[] = {
3355 (char *) "self", NULL
3356 };
3357
3358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_ClearPrivPos",kwnames,&obj0)) goto fail;
3359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3361 {
3362 PyThreadState* __tstate = wxPyBeginAllowThreads();
3363 (arg1)->ClearPrivPos();
3364
3365 wxPyEndAllowThreads(__tstate);
3366 if (PyErr_Occurred()) SWIG_fail;
3367 }
3368 Py_INCREF(Py_None); resultobj = Py_None;
3369 return resultobj;
3370 fail:
3371 return NULL;
3372 }
3373
3374
3375 static PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *self, PyObject *args, PyObject *kwargs) {
3376 PyObject *resultobj;
3377 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3378 bool result;
3379 PyObject * obj0 = 0 ;
3380 char *kwnames[] = {
3381 (char *) "self", NULL
3382 };
3383
3384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_IsEmpty",kwnames,&obj0)) goto fail;
3385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3387 {
3388 PyThreadState* __tstate = wxPyBeginAllowThreads();
3389 result = (bool)((wxHtmlSelection const *)arg1)->IsEmpty();
3390
3391 wxPyEndAllowThreads(__tstate);
3392 if (PyErr_Occurred()) SWIG_fail;
3393 }
3394 {
3395 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3396 }
3397 return resultobj;
3398 fail:
3399 return NULL;
3400 }
3401
3402
3403 static PyObject * HtmlSelection_swigregister(PyObject *self, PyObject *args) {
3404 PyObject *obj;
3405 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3406 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSelection, obj);
3407 Py_INCREF(obj);
3408 return Py_BuildValue((char *)"");
3409 }
3410 static PyObject *_wrap_new_HtmlRenderingState(PyObject *self, PyObject *args, PyObject *kwargs) {
3411 PyObject *resultobj;
3412 wxHtmlRenderingState *result;
3413 char *kwnames[] = {
3414 NULL
3415 };
3416
3417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingState",kwnames)) goto fail;
3418 {
3419 PyThreadState* __tstate = wxPyBeginAllowThreads();
3420 result = (wxHtmlRenderingState *)new wxHtmlRenderingState();
3421
3422 wxPyEndAllowThreads(__tstate);
3423 if (PyErr_Occurred()) SWIG_fail;
3424 }
3425 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 1);
3426 return resultobj;
3427 fail:
3428 return NULL;
3429 }
3430
3431
3432 static PyObject *_wrap_delete_HtmlRenderingState(PyObject *self, PyObject *args, PyObject *kwargs) {
3433 PyObject *resultobj;
3434 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3435 PyObject * obj0 = 0 ;
3436 char *kwnames[] = {
3437 (char *) "self", NULL
3438 };
3439
3440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingState",kwnames,&obj0)) goto fail;
3441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3443 {
3444 PyThreadState* __tstate = wxPyBeginAllowThreads();
3445 delete arg1;
3446
3447 wxPyEndAllowThreads(__tstate);
3448 if (PyErr_Occurred()) SWIG_fail;
3449 }
3450 Py_INCREF(Py_None); resultobj = Py_None;
3451 return resultobj;
3452 fail:
3453 return NULL;
3454 }
3455
3456
3457 static PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *self, PyObject *args, PyObject *kwargs) {
3458 PyObject *resultobj;
3459 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3460 int arg2 ;
3461 PyObject * obj0 = 0 ;
3462 PyObject * obj1 = 0 ;
3463 char *kwnames[] = {
3464 (char *) "self",(char *) "s", NULL
3465 };
3466
3467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames,&obj0,&obj1)) goto fail;
3468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3470 arg2 = (wxHtmlSelectionState) SWIG_AsInt(obj1);
3471 if (PyErr_Occurred()) SWIG_fail;
3472 {
3473 PyThreadState* __tstate = wxPyBeginAllowThreads();
3474 (arg1)->SetSelectionState((wxHtmlSelectionState )arg2);
3475
3476 wxPyEndAllowThreads(__tstate);
3477 if (PyErr_Occurred()) SWIG_fail;
3478 }
3479 Py_INCREF(Py_None); resultobj = Py_None;
3480 return resultobj;
3481 fail:
3482 return NULL;
3483 }
3484
3485
3486 static PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *self, PyObject *args, PyObject *kwargs) {
3487 PyObject *resultobj;
3488 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3489 int result;
3490 PyObject * obj0 = 0 ;
3491 char *kwnames[] = {
3492 (char *) "self", NULL
3493 };
3494
3495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetSelectionState",kwnames,&obj0)) goto fail;
3496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3498 {
3499 PyThreadState* __tstate = wxPyBeginAllowThreads();
3500 result = (int)((wxHtmlRenderingState const *)arg1)->GetSelectionState();
3501
3502 wxPyEndAllowThreads(__tstate);
3503 if (PyErr_Occurred()) SWIG_fail;
3504 }
3505 resultobj = SWIG_FromInt((int)result);
3506 return resultobj;
3507 fail:
3508 return NULL;
3509 }
3510
3511
3512 static PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3513 PyObject *resultobj;
3514 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3515 wxColour *arg2 = 0 ;
3516 wxColour temp2 ;
3517 PyObject * obj0 = 0 ;
3518 PyObject * obj1 = 0 ;
3519 char *kwnames[] = {
3520 (char *) "self",(char *) "c", NULL
3521 };
3522
3523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames,&obj0,&obj1)) goto fail;
3524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3526 {
3527 arg2 = &temp2;
3528 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3529 }
3530 {
3531 PyThreadState* __tstate = wxPyBeginAllowThreads();
3532 (arg1)->SetFgColour((wxColour const &)*arg2);
3533
3534 wxPyEndAllowThreads(__tstate);
3535 if (PyErr_Occurred()) SWIG_fail;
3536 }
3537 Py_INCREF(Py_None); resultobj = Py_None;
3538 return resultobj;
3539 fail:
3540 return NULL;
3541 }
3542
3543
3544 static PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3545 PyObject *resultobj;
3546 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3547 wxColour *result;
3548 PyObject * obj0 = 0 ;
3549 char *kwnames[] = {
3550 (char *) "self", NULL
3551 };
3552
3553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetFgColour",kwnames,&obj0)) goto fail;
3554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3556 {
3557 PyThreadState* __tstate = wxPyBeginAllowThreads();
3558 {
3559 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetFgColour();
3560 result = (wxColour *) &_result_ref;
3561 }
3562
3563 wxPyEndAllowThreads(__tstate);
3564 if (PyErr_Occurred()) SWIG_fail;
3565 }
3566 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
3567 return resultobj;
3568 fail:
3569 return NULL;
3570 }
3571
3572
3573 static PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3574 PyObject *resultobj;
3575 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3576 wxColour *arg2 = 0 ;
3577 wxColour temp2 ;
3578 PyObject * obj0 = 0 ;
3579 PyObject * obj1 = 0 ;
3580 char *kwnames[] = {
3581 (char *) "self",(char *) "c", NULL
3582 };
3583
3584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames,&obj0,&obj1)) goto fail;
3585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3587 {
3588 arg2 = &temp2;
3589 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3590 }
3591 {
3592 PyThreadState* __tstate = wxPyBeginAllowThreads();
3593 (arg1)->SetBgColour((wxColour const &)*arg2);
3594
3595 wxPyEndAllowThreads(__tstate);
3596 if (PyErr_Occurred()) SWIG_fail;
3597 }
3598 Py_INCREF(Py_None); resultobj = Py_None;
3599 return resultobj;
3600 fail:
3601 return NULL;
3602 }
3603
3604
3605 static PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3606 PyObject *resultobj;
3607 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3608 wxColour *result;
3609 PyObject * obj0 = 0 ;
3610 char *kwnames[] = {
3611 (char *) "self", NULL
3612 };
3613
3614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetBgColour",kwnames,&obj0)) goto fail;
3615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3617 {
3618 PyThreadState* __tstate = wxPyBeginAllowThreads();
3619 {
3620 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetBgColour();
3621 result = (wxColour *) &_result_ref;
3622 }
3623
3624 wxPyEndAllowThreads(__tstate);
3625 if (PyErr_Occurred()) SWIG_fail;
3626 }
3627 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
3628 return resultobj;
3629 fail:
3630 return NULL;
3631 }
3632
3633
3634 static PyObject * HtmlRenderingState_swigregister(PyObject *self, PyObject *args) {
3635 PyObject *obj;
3636 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3637 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingState, obj);
3638 Py_INCREF(obj);
3639 return Py_BuildValue((char *)"");
3640 }
3641 static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3642 PyObject *resultobj;
3643 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
3644 wxColour *arg2 = 0 ;
3645 wxColour result;
3646 wxColour temp2 ;
3647 PyObject * obj0 = 0 ;
3648 PyObject * obj1 = 0 ;
3649 char *kwnames[] = {
3650 (char *) "self",(char *) "clr", NULL
3651 };
3652
3653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail;
3654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingStyle,
3655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3656 {
3657 arg2 = &temp2;
3658 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3659 }
3660 {
3661 PyThreadState* __tstate = wxPyBeginAllowThreads();
3662 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
3663
3664 wxPyEndAllowThreads(__tstate);
3665 if (PyErr_Occurred()) SWIG_fail;
3666 }
3667 {
3668 wxColour * resultptr;
3669 resultptr = new wxColour((wxColour &) result);
3670 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
3671 }
3672 return resultobj;
3673 fail:
3674 return NULL;
3675 }
3676
3677
3678 static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3679 PyObject *resultobj;
3680 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
3681 wxColour *arg2 = 0 ;
3682 wxColour result;
3683 wxColour temp2 ;
3684 PyObject * obj0 = 0 ;
3685 PyObject * obj1 = 0 ;
3686 char *kwnames[] = {
3687 (char *) "self",(char *) "clr", NULL
3688 };
3689
3690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail;
3691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingStyle,
3692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3693 {
3694 arg2 = &temp2;
3695 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3696 }
3697 {
3698 PyThreadState* __tstate = wxPyBeginAllowThreads();
3699 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
3700
3701 wxPyEndAllowThreads(__tstate);
3702 if (PyErr_Occurred()) SWIG_fail;
3703 }
3704 {
3705 wxColour * resultptr;
3706 resultptr = new wxColour((wxColour &) result);
3707 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
3708 }
3709 return resultobj;
3710 fail:
3711 return NULL;
3712 }
3713
3714
3715 static PyObject * HtmlRenderingStyle_swigregister(PyObject *self, PyObject *args) {
3716 PyObject *obj;
3717 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3718 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingStyle, obj);
3719 Py_INCREF(obj);
3720 return Py_BuildValue((char *)"");
3721 }
3722 static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3723 PyObject *resultobj;
3724 wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ;
3725 wxColour *arg2 = 0 ;
3726 wxColour result;
3727 wxColour temp2 ;
3728 PyObject * obj0 = 0 ;
3729 PyObject * obj1 = 0 ;
3730 char *kwnames[] = {
3731 (char *) "self",(char *) "clr", NULL
3732 };
3733
3734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail;
3735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDefaultHtmlRenderingStyle,
3736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3737 {
3738 arg2 = &temp2;
3739 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3740 }
3741 {
3742 PyThreadState* __tstate = wxPyBeginAllowThreads();
3743 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
3744
3745 wxPyEndAllowThreads(__tstate);
3746 if (PyErr_Occurred()) SWIG_fail;
3747 }
3748 {
3749 wxColour * resultptr;
3750 resultptr = new wxColour((wxColour &) result);
3751 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
3752 }
3753 return resultobj;
3754 fail:
3755 return NULL;
3756 }
3757
3758
3759 static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3760 PyObject *resultobj;
3761 wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ;
3762 wxColour *arg2 = 0 ;
3763 wxColour result;
3764 wxColour temp2 ;
3765 PyObject * obj0 = 0 ;
3766 PyObject * obj1 = 0 ;
3767 char *kwnames[] = {
3768 (char *) "self",(char *) "clr", NULL
3769 };
3770
3771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail;
3772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDefaultHtmlRenderingStyle,
3773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3774 {
3775 arg2 = &temp2;
3776 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3777 }
3778 {
3779 PyThreadState* __tstate = wxPyBeginAllowThreads();
3780 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
3781
3782 wxPyEndAllowThreads(__tstate);
3783 if (PyErr_Occurred()) SWIG_fail;
3784 }
3785 {
3786 wxColour * resultptr;
3787 resultptr = new wxColour((wxColour &) result);
3788 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
3789 }
3790 return resultobj;
3791 fail:
3792 return NULL;
3793 }
3794
3795
3796 static PyObject * DefaultHtmlRenderingStyle_swigregister(PyObject *self, PyObject *args) {
3797 PyObject *obj;
3798 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3799 SWIG_TypeClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle, obj);
3800 Py_INCREF(obj);
3801 return Py_BuildValue((char *)"");
3802 }
3803 static PyObject *_wrap_new_HtmlRenderingInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3804 PyObject *resultobj;
3805 wxHtmlRenderingInfo *result;
3806 char *kwnames[] = {
3807 NULL
3808 };
3809
3810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingInfo",kwnames)) goto fail;
3811 {
3812 PyThreadState* __tstate = wxPyBeginAllowThreads();
3813 result = (wxHtmlRenderingInfo *)new wxHtmlRenderingInfo();
3814
3815 wxPyEndAllowThreads(__tstate);
3816 if (PyErr_Occurred()) SWIG_fail;
3817 }
3818 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingInfo, 1);
3819 return resultobj;
3820 fail:
3821 return NULL;
3822 }
3823
3824
3825 static PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3826 PyObject *resultobj;
3827 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3828 PyObject * obj0 = 0 ;
3829 char *kwnames[] = {
3830 (char *) "self", NULL
3831 };
3832
3833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingInfo",kwnames,&obj0)) goto fail;
3834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo,
3835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3836 {
3837 PyThreadState* __tstate = wxPyBeginAllowThreads();
3838 delete arg1;
3839
3840 wxPyEndAllowThreads(__tstate);
3841 if (PyErr_Occurred()) SWIG_fail;
3842 }
3843 Py_INCREF(Py_None); resultobj = Py_None;
3844 return resultobj;
3845 fail:
3846 return NULL;
3847 }
3848
3849
3850 static PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3851 PyObject *resultobj;
3852 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3853 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
3854 PyObject * obj0 = 0 ;
3855 PyObject * obj1 = 0 ;
3856 char *kwnames[] = {
3857 (char *) "self",(char *) "s", NULL
3858 };
3859
3860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames,&obj0,&obj1)) goto fail;
3861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo,
3862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3863 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlSelection,
3864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3865 {
3866 PyThreadState* __tstate = wxPyBeginAllowThreads();
3867 (arg1)->SetSelection(arg2);
3868
3869 wxPyEndAllowThreads(__tstate);
3870 if (PyErr_Occurred()) SWIG_fail;
3871 }
3872 Py_INCREF(Py_None); resultobj = Py_None;
3873 return resultobj;
3874 fail:
3875 return NULL;
3876 }
3877
3878
3879 static PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3880 PyObject *resultobj;
3881 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3882 wxHtmlSelection *result;
3883 PyObject * obj0 = 0 ;
3884 char *kwnames[] = {
3885 (char *) "self", NULL
3886 };
3887
3888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetSelection",kwnames,&obj0)) goto fail;
3889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo,
3890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3891 {
3892 PyThreadState* __tstate = wxPyBeginAllowThreads();
3893 result = (wxHtmlSelection *)((wxHtmlRenderingInfo const *)arg1)->GetSelection();
3894
3895 wxPyEndAllowThreads(__tstate);
3896 if (PyErr_Occurred()) SWIG_fail;
3897 }
3898 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 0);
3899 return resultobj;
3900 fail:
3901 return NULL;
3902 }
3903
3904
3905 static PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
3906 PyObject *resultobj;
3907 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3908 wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ;
3909 PyObject * obj0 = 0 ;
3910 PyObject * obj1 = 0 ;
3911 char *kwnames[] = {
3912 (char *) "self",(char *) "style", NULL
3913 };
3914
3915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames,&obj0,&obj1)) goto fail;
3916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo,
3917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3918 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlRenderingStyle,
3919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3920 {
3921 PyThreadState* __tstate = wxPyBeginAllowThreads();
3922 (arg1)->SetStyle(arg2);
3923
3924 wxPyEndAllowThreads(__tstate);
3925 if (PyErr_Occurred()) SWIG_fail;
3926 }
3927 Py_INCREF(Py_None); resultobj = Py_None;
3928 return resultobj;
3929 fail:
3930 return NULL;
3931 }
3932
3933
3934 static PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
3935 PyObject *resultobj;
3936 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3937 wxHtmlRenderingStyle *result;
3938 PyObject * obj0 = 0 ;
3939 char *kwnames[] = {
3940 (char *) "self", NULL
3941 };
3942
3943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetStyle",kwnames,&obj0)) goto fail;
3944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo,
3945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3946 {
3947 PyThreadState* __tstate = wxPyBeginAllowThreads();
3948 {
3949 wxHtmlRenderingStyle &_result_ref = (arg1)->GetStyle();
3950 result = (wxHtmlRenderingStyle *) &_result_ref;
3951 }
3952
3953 wxPyEndAllowThreads(__tstate);
3954 if (PyErr_Occurred()) SWIG_fail;
3955 }
3956 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingStyle, 0);
3957 return resultobj;
3958 fail:
3959 return NULL;
3960 }
3961
3962
3963 static PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
3964 PyObject *resultobj;
3965 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3966 wxHtmlRenderingState *result;
3967 PyObject * obj0 = 0 ;
3968 char *kwnames[] = {
3969 (char *) "self", NULL
3970 };
3971
3972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetState",kwnames,&obj0)) goto fail;
3973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo,
3974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3975 {
3976 PyThreadState* __tstate = wxPyBeginAllowThreads();
3977 {
3978 wxHtmlRenderingState &_result_ref = (arg1)->GetState();
3979 result = (wxHtmlRenderingState *) &_result_ref;
3980 }
3981
3982 wxPyEndAllowThreads(__tstate);
3983 if (PyErr_Occurred()) SWIG_fail;
3984 }
3985 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 0);
3986 return resultobj;
3987 fail:
3988 return NULL;
3989 }
3990
3991
3992 static PyObject * HtmlRenderingInfo_swigregister(PyObject *self, PyObject *args) {
3993 PyObject *obj;
3994 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3995 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingInfo, obj);
3996 Py_INCREF(obj);
3997 return Py_BuildValue((char *)"");
3998 }
3999 static PyObject *_wrap_new_HtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4000 PyObject *resultobj;
4001 wxHtmlCell *result;
4002 char *kwnames[] = {
4003 NULL
4004 };
4005
4006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlCell",kwnames)) goto fail;
4007 {
4008 PyThreadState* __tstate = wxPyBeginAllowThreads();
4009 result = (wxHtmlCell *)new wxHtmlCell();
4010
4011 wxPyEndAllowThreads(__tstate);
4012 if (PyErr_Occurred()) SWIG_fail;
4013 }
4014 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 1);
4015 return resultobj;
4016 fail:
4017 return NULL;
4018 }
4019
4020
4021 static PyObject *_wrap_HtmlCell_GetPosX(PyObject *self, PyObject *args, PyObject *kwargs) {
4022 PyObject *resultobj;
4023 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4024 int result;
4025 PyObject * obj0 = 0 ;
4026 char *kwnames[] = {
4027 (char *) "self", NULL
4028 };
4029
4030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosX",kwnames,&obj0)) goto fail;
4031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4033 {
4034 PyThreadState* __tstate = wxPyBeginAllowThreads();
4035 result = (int)(arg1)->GetPosX();
4036
4037 wxPyEndAllowThreads(__tstate);
4038 if (PyErr_Occurred()) SWIG_fail;
4039 }
4040 resultobj = SWIG_FromInt((int)result);
4041 return resultobj;
4042 fail:
4043 return NULL;
4044 }
4045
4046
4047 static PyObject *_wrap_HtmlCell_GetPosY(PyObject *self, PyObject *args, PyObject *kwargs) {
4048 PyObject *resultobj;
4049 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4050 int result;
4051 PyObject * obj0 = 0 ;
4052 char *kwnames[] = {
4053 (char *) "self", NULL
4054 };
4055
4056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosY",kwnames,&obj0)) goto fail;
4057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4059 {
4060 PyThreadState* __tstate = wxPyBeginAllowThreads();
4061 result = (int)(arg1)->GetPosY();
4062
4063 wxPyEndAllowThreads(__tstate);
4064 if (PyErr_Occurred()) SWIG_fail;
4065 }
4066 resultobj = SWIG_FromInt((int)result);
4067 return resultobj;
4068 fail:
4069 return NULL;
4070 }
4071
4072
4073 static PyObject *_wrap_HtmlCell_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
4074 PyObject *resultobj;
4075 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4076 int result;
4077 PyObject * obj0 = 0 ;
4078 char *kwnames[] = {
4079 (char *) "self", NULL
4080 };
4081
4082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetWidth",kwnames,&obj0)) goto fail;
4083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4085 {
4086 PyThreadState* __tstate = wxPyBeginAllowThreads();
4087 result = (int)(arg1)->GetWidth();
4088
4089 wxPyEndAllowThreads(__tstate);
4090 if (PyErr_Occurred()) SWIG_fail;
4091 }
4092 resultobj = SWIG_FromInt((int)result);
4093 return resultobj;
4094 fail:
4095 return NULL;
4096 }
4097
4098
4099 static PyObject *_wrap_HtmlCell_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
4100 PyObject *resultobj;
4101 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4102 int result;
4103 PyObject * obj0 = 0 ;
4104 char *kwnames[] = {
4105 (char *) "self", NULL
4106 };
4107
4108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetHeight",kwnames,&obj0)) goto fail;
4109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4111 {
4112 PyThreadState* __tstate = wxPyBeginAllowThreads();
4113 result = (int)(arg1)->GetHeight();
4114
4115 wxPyEndAllowThreads(__tstate);
4116 if (PyErr_Occurred()) SWIG_fail;
4117 }
4118 resultobj = SWIG_FromInt((int)result);
4119 return resultobj;
4120 fail:
4121 return NULL;
4122 }
4123
4124
4125 static PyObject *_wrap_HtmlCell_GetDescent(PyObject *self, PyObject *args, PyObject *kwargs) {
4126 PyObject *resultobj;
4127 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4128 int result;
4129 PyObject * obj0 = 0 ;
4130 char *kwnames[] = {
4131 (char *) "self", NULL
4132 };
4133
4134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDescent",kwnames,&obj0)) goto fail;
4135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4137 {
4138 PyThreadState* __tstate = wxPyBeginAllowThreads();
4139 result = (int)(arg1)->GetDescent();
4140
4141 wxPyEndAllowThreads(__tstate);
4142 if (PyErr_Occurred()) SWIG_fail;
4143 }
4144 resultobj = SWIG_FromInt((int)result);
4145 return resultobj;
4146 fail:
4147 return NULL;
4148 }
4149
4150
4151 static PyObject *_wrap_HtmlCell_GetMaxTotalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
4152 PyObject *resultobj;
4153 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4154 int result;
4155 PyObject * obj0 = 0 ;
4156 char *kwnames[] = {
4157 (char *) "self", NULL
4158 };
4159
4160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetMaxTotalWidth",kwnames,&obj0)) goto fail;
4161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4163 {
4164 PyThreadState* __tstate = wxPyBeginAllowThreads();
4165 result = (int)((wxHtmlCell const *)arg1)->GetMaxTotalWidth();
4166
4167 wxPyEndAllowThreads(__tstate);
4168 if (PyErr_Occurred()) SWIG_fail;
4169 }
4170 resultobj = SWIG_FromInt((int)result);
4171 return resultobj;
4172 fail:
4173 return NULL;
4174 }
4175
4176
4177 static PyObject *_wrap_HtmlCell_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
4178 PyObject *resultobj;
4179 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4180 wxString *result;
4181 PyObject * obj0 = 0 ;
4182 char *kwnames[] = {
4183 (char *) "self", NULL
4184 };
4185
4186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetId",kwnames,&obj0)) goto fail;
4187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4189 {
4190 PyThreadState* __tstate = wxPyBeginAllowThreads();
4191 {
4192 wxString const &_result_ref = ((wxHtmlCell const *)arg1)->GetId();
4193 result = (wxString *) &_result_ref;
4194 }
4195
4196 wxPyEndAllowThreads(__tstate);
4197 if (PyErr_Occurred()) SWIG_fail;
4198 }
4199 {
4200 #if wxUSE_UNICODE
4201 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
4202 #else
4203 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
4204 #endif
4205 }
4206 return resultobj;
4207 fail:
4208 return NULL;
4209 }
4210
4211
4212 static PyObject *_wrap_HtmlCell_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
4213 PyObject *resultobj;
4214 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4215 wxString *arg2 = 0 ;
4216 bool temp2 = False ;
4217 PyObject * obj0 = 0 ;
4218 PyObject * obj1 = 0 ;
4219 char *kwnames[] = {
4220 (char *) "self",(char *) "id", NULL
4221 };
4222
4223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetId",kwnames,&obj0,&obj1)) goto fail;
4224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4226 {
4227 arg2 = wxString_in_helper(obj1);
4228 if (arg2 == NULL) SWIG_fail;
4229 temp2 = True;
4230 }
4231 {
4232 PyThreadState* __tstate = wxPyBeginAllowThreads();
4233 (arg1)->SetId((wxString const &)*arg2);
4234
4235 wxPyEndAllowThreads(__tstate);
4236 if (PyErr_Occurred()) SWIG_fail;
4237 }
4238 Py_INCREF(Py_None); resultobj = Py_None;
4239 {
4240 if (temp2)
4241 delete arg2;
4242 }
4243 return resultobj;
4244 fail:
4245 {
4246 if (temp2)
4247 delete arg2;
4248 }
4249 return NULL;
4250 }
4251
4252
4253 static PyObject *_wrap_HtmlCell_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
4254 PyObject *resultobj;
4255 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4256 int arg2 = (int) 0 ;
4257 int arg3 = (int) 0 ;
4258 wxHtmlLinkInfo *result;
4259 PyObject * obj0 = 0 ;
4260 PyObject * obj1 = 0 ;
4261 PyObject * obj2 = 0 ;
4262 char *kwnames[] = {
4263 (char *) "self",(char *) "x",(char *) "y", NULL
4264 };
4265
4266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:HtmlCell_GetLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
4267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4269 if (obj1) {
4270 arg2 = (int) SWIG_AsInt(obj1);
4271 if (PyErr_Occurred()) SWIG_fail;
4272 }
4273 if (obj2) {
4274 arg3 = (int) SWIG_AsInt(obj2);
4275 if (PyErr_Occurred()) SWIG_fail;
4276 }
4277 {
4278 PyThreadState* __tstate = wxPyBeginAllowThreads();
4279 result = (wxHtmlLinkInfo *)(arg1)->GetLink(arg2,arg3);
4280
4281 wxPyEndAllowThreads(__tstate);
4282 if (PyErr_Occurred()) SWIG_fail;
4283 }
4284 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlLinkInfo, 0);
4285 return resultobj;
4286 fail:
4287 return NULL;
4288 }
4289
4290
4291 static PyObject *_wrap_HtmlCell_GetNext(PyObject *self, PyObject *args, PyObject *kwargs) {
4292 PyObject *resultobj;
4293 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4294 wxHtmlCell *result;
4295 PyObject * obj0 = 0 ;
4296 char *kwnames[] = {
4297 (char *) "self", NULL
4298 };
4299
4300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetNext",kwnames,&obj0)) goto fail;
4301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4303 {
4304 PyThreadState* __tstate = wxPyBeginAllowThreads();
4305 result = (wxHtmlCell *)(arg1)->GetNext();
4306
4307 wxPyEndAllowThreads(__tstate);
4308 if (PyErr_Occurred()) SWIG_fail;
4309 }
4310 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
4311 return resultobj;
4312 fail:
4313 return NULL;
4314 }
4315
4316
4317 static PyObject *_wrap_HtmlCell_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
4318 PyObject *resultobj;
4319 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4320 wxHtmlContainerCell *result;
4321 PyObject * obj0 = 0 ;
4322 char *kwnames[] = {
4323 (char *) "self", NULL
4324 };
4325
4326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetParent",kwnames,&obj0)) goto fail;
4327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4329 {
4330 PyThreadState* __tstate = wxPyBeginAllowThreads();
4331 result = (wxHtmlContainerCell *)(arg1)->GetParent();
4332
4333 wxPyEndAllowThreads(__tstate);
4334 if (PyErr_Occurred()) SWIG_fail;
4335 }
4336 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
4337 return resultobj;
4338 fail:
4339 return NULL;
4340 }
4341
4342
4343 static PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
4344 PyObject *resultobj;
4345 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4346 wxHtmlCell *result;
4347 PyObject * obj0 = 0 ;
4348 char *kwnames[] = {
4349 (char *) "self", NULL
4350 };
4351
4352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstChild",kwnames,&obj0)) goto fail;
4353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4355 {
4356 PyThreadState* __tstate = wxPyBeginAllowThreads();
4357 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstChild();
4358
4359 wxPyEndAllowThreads(__tstate);
4360 if (PyErr_Occurred()) SWIG_fail;
4361 }
4362 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
4363 return resultobj;
4364 fail:
4365 return NULL;
4366 }
4367
4368
4369 static PyObject *_wrap_HtmlCell_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4370 PyObject *resultobj;
4371 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4372 wxCursor result;
4373 PyObject * obj0 = 0 ;
4374 char *kwnames[] = {
4375 (char *) "self", NULL
4376 };
4377
4378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetCursor",kwnames,&obj0)) goto fail;
4379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4381 {
4382 PyThreadState* __tstate = wxPyBeginAllowThreads();
4383 result = ((wxHtmlCell const *)arg1)->GetCursor();
4384
4385 wxPyEndAllowThreads(__tstate);
4386 if (PyErr_Occurred()) SWIG_fail;
4387 }
4388 {
4389 wxCursor * resultptr;
4390 resultptr = new wxCursor((wxCursor &) result);
4391 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxCursor, 1);
4392 }
4393 return resultobj;
4394 fail:
4395 return NULL;
4396 }
4397
4398
4399 static PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4400 PyObject *resultobj;
4401 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4402 bool result;
4403 PyObject * obj0 = 0 ;
4404 char *kwnames[] = {
4405 (char *) "self", NULL
4406 };
4407
4408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsFormattingCell",kwnames,&obj0)) goto fail;
4409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4411 {
4412 PyThreadState* __tstate = wxPyBeginAllowThreads();
4413 result = (bool)((wxHtmlCell const *)arg1)->IsFormattingCell();
4414
4415 wxPyEndAllowThreads(__tstate);
4416 if (PyErr_Occurred()) SWIG_fail;
4417 }
4418 {
4419 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4420 }
4421 return resultobj;
4422 fail:
4423 return NULL;
4424 }
4425
4426
4427 static PyObject *_wrap_HtmlCell_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
4428 PyObject *resultobj;
4429 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4430 wxHtmlLinkInfo *arg2 = 0 ;
4431 PyObject * obj0 = 0 ;
4432 PyObject * obj1 = 0 ;
4433 char *kwnames[] = {
4434 (char *) "self",(char *) "link", NULL
4435 };
4436
4437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetLink",kwnames,&obj0,&obj1)) goto fail;
4438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4440 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlLinkInfo,
4441 SWIG_POINTER_EXCEPTION | 0)) == -1)
4442 SWIG_fail;
4443 if (arg2 == NULL) {
4444 PyErr_SetString(PyExc_TypeError,"null reference");
4445 SWIG_fail;
4446 }
4447 {
4448 PyThreadState* __tstate = wxPyBeginAllowThreads();
4449 (arg1)->SetLink((wxHtmlLinkInfo const &)*arg2);
4450
4451 wxPyEndAllowThreads(__tstate);
4452 if (PyErr_Occurred()) SWIG_fail;
4453 }
4454 Py_INCREF(Py_None); resultobj = Py_None;
4455 return resultobj;
4456 fail:
4457 return NULL;
4458 }
4459
4460
4461 static PyObject *_wrap_HtmlCell_SetNext(PyObject *self, PyObject *args, PyObject *kwargs) {
4462 PyObject *resultobj;
4463 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4464 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
4465 PyObject * obj0 = 0 ;
4466 PyObject * obj1 = 0 ;
4467 char *kwnames[] = {
4468 (char *) "self",(char *) "cell", NULL
4469 };
4470
4471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetNext",kwnames,&obj0,&obj1)) goto fail;
4472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4474 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
4475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4476 {
4477 PyThreadState* __tstate = wxPyBeginAllowThreads();
4478 (arg1)->SetNext(arg2);
4479
4480 wxPyEndAllowThreads(__tstate);
4481 if (PyErr_Occurred()) SWIG_fail;
4482 }
4483 Py_INCREF(Py_None); resultobj = Py_None;
4484 return resultobj;
4485 fail:
4486 return NULL;
4487 }
4488
4489
4490 static PyObject *_wrap_HtmlCell_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
4491 PyObject *resultobj;
4492 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4493 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
4494 PyObject * obj0 = 0 ;
4495 PyObject * obj1 = 0 ;
4496 char *kwnames[] = {
4497 (char *) "self",(char *) "p", NULL
4498 };
4499
4500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetParent",kwnames,&obj0,&obj1)) goto fail;
4501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4503 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlContainerCell,
4504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4505 {
4506 PyThreadState* __tstate = wxPyBeginAllowThreads();
4507 (arg1)->SetParent(arg2);
4508
4509 wxPyEndAllowThreads(__tstate);
4510 if (PyErr_Occurred()) SWIG_fail;
4511 }
4512 Py_INCREF(Py_None); resultobj = Py_None;
4513 return resultobj;
4514 fail:
4515 return NULL;
4516 }
4517
4518
4519 static PyObject *_wrap_HtmlCell_SetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
4520 PyObject *resultobj;
4521 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4522 int arg2 ;
4523 int arg3 ;
4524 PyObject * obj0 = 0 ;
4525 PyObject * obj1 = 0 ;
4526 PyObject * obj2 = 0 ;
4527 char *kwnames[] = {
4528 (char *) "self",(char *) "x",(char *) "y", NULL
4529 };
4530
4531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_SetPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
4532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4534 arg2 = (int) SWIG_AsInt(obj1);
4535 if (PyErr_Occurred()) SWIG_fail;
4536 arg3 = (int) SWIG_AsInt(obj2);
4537 if (PyErr_Occurred()) SWIG_fail;
4538 {
4539 PyThreadState* __tstate = wxPyBeginAllowThreads();
4540 (arg1)->SetPos(arg2,arg3);
4541
4542 wxPyEndAllowThreads(__tstate);
4543 if (PyErr_Occurred()) SWIG_fail;
4544 }
4545 Py_INCREF(Py_None); resultobj = Py_None;
4546 return resultobj;
4547 fail:
4548 return NULL;
4549 }
4550
4551
4552 static PyObject *_wrap_HtmlCell_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
4553 PyObject *resultobj;
4554 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4555 int arg2 ;
4556 PyObject * obj0 = 0 ;
4557 PyObject * obj1 = 0 ;
4558 char *kwnames[] = {
4559 (char *) "self",(char *) "w", NULL
4560 };
4561
4562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_Layout",kwnames,&obj0,&obj1)) goto fail;
4563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4565 arg2 = (int) SWIG_AsInt(obj1);
4566 if (PyErr_Occurred()) SWIG_fail;
4567 {
4568 PyThreadState* __tstate = wxPyBeginAllowThreads();
4569 (arg1)->Layout(arg2);
4570
4571 wxPyEndAllowThreads(__tstate);
4572 if (PyErr_Occurred()) SWIG_fail;
4573 }
4574 Py_INCREF(Py_None); resultobj = Py_None;
4575 return resultobj;
4576 fail:
4577 return NULL;
4578 }
4579
4580
4581 static PyObject *_wrap_HtmlCell_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
4582 PyObject *resultobj;
4583 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4584 wxDC *arg2 = 0 ;
4585 int arg3 ;
4586 int arg4 ;
4587 int arg5 ;
4588 int arg6 ;
4589 wxHtmlRenderingInfo *arg7 = 0 ;
4590 PyObject * obj0 = 0 ;
4591 PyObject * obj1 = 0 ;
4592 PyObject * obj2 = 0 ;
4593 PyObject * obj3 = 0 ;
4594 PyObject * obj4 = 0 ;
4595 PyObject * obj5 = 0 ;
4596 PyObject * obj6 = 0 ;
4597 char *kwnames[] = {
4598 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
4599 };
4600
4601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:HtmlCell_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4604 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
4605 SWIG_POINTER_EXCEPTION | 0)) == -1)
4606 SWIG_fail;
4607 if (arg2 == NULL) {
4608 PyErr_SetString(PyExc_TypeError,"null reference");
4609 SWIG_fail;
4610 }
4611 arg3 = (int) SWIG_AsInt(obj2);
4612 if (PyErr_Occurred()) SWIG_fail;
4613 arg4 = (int) SWIG_AsInt(obj3);
4614 if (PyErr_Occurred()) SWIG_fail;
4615 arg5 = (int) SWIG_AsInt(obj4);
4616 if (PyErr_Occurred()) SWIG_fail;
4617 arg6 = (int) SWIG_AsInt(obj5);
4618 if (PyErr_Occurred()) SWIG_fail;
4619 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxHtmlRenderingInfo,
4620 SWIG_POINTER_EXCEPTION | 0)) == -1)
4621 SWIG_fail;
4622 if (arg7 == NULL) {
4623 PyErr_SetString(PyExc_TypeError,"null reference");
4624 SWIG_fail;
4625 }
4626 {
4627 PyThreadState* __tstate = wxPyBeginAllowThreads();
4628 (arg1)->Draw(*arg2,arg3,arg4,arg5,arg6,*arg7);
4629
4630 wxPyEndAllowThreads(__tstate);
4631 if (PyErr_Occurred()) SWIG_fail;
4632 }
4633 Py_INCREF(Py_None); resultobj = Py_None;
4634 return resultobj;
4635 fail:
4636 return NULL;
4637 }
4638
4639
4640 static PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4641 PyObject *resultobj;
4642 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4643 wxDC *arg2 = 0 ;
4644 int arg3 ;
4645 int arg4 ;
4646 wxHtmlRenderingInfo *arg5 = 0 ;
4647 PyObject * obj0 = 0 ;
4648 PyObject * obj1 = 0 ;
4649 PyObject * obj2 = 0 ;
4650 PyObject * obj3 = 0 ;
4651 PyObject * obj4 = 0 ;
4652 char *kwnames[] = {
4653 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
4654 };
4655
4656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4659 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
4660 SWIG_POINTER_EXCEPTION | 0)) == -1)
4661 SWIG_fail;
4662 if (arg2 == NULL) {
4663 PyErr_SetString(PyExc_TypeError,"null reference");
4664 SWIG_fail;
4665 }
4666 arg3 = (int) SWIG_AsInt(obj2);
4667 if (PyErr_Occurred()) SWIG_fail;
4668 arg4 = (int) SWIG_AsInt(obj3);
4669 if (PyErr_Occurred()) SWIG_fail;
4670 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxHtmlRenderingInfo,
4671 SWIG_POINTER_EXCEPTION | 0)) == -1)
4672 SWIG_fail;
4673 if (arg5 == NULL) {
4674 PyErr_SetString(PyExc_TypeError,"null reference");
4675 SWIG_fail;
4676 }
4677 {
4678 PyThreadState* __tstate = wxPyBeginAllowThreads();
4679 (arg1)->DrawInvisible(*arg2,arg3,arg4,*arg5);
4680
4681 wxPyEndAllowThreads(__tstate);
4682 if (PyErr_Occurred()) SWIG_fail;
4683 }
4684 Py_INCREF(Py_None); resultobj = Py_None;
4685 return resultobj;
4686 fail:
4687 return NULL;
4688 }
4689
4690
4691 static PyObject *_wrap_HtmlCell_Find(PyObject *self, PyObject *args, PyObject *kwargs) {
4692 PyObject *resultobj;
4693 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4694 int arg2 ;
4695 void *arg3 = (void *) 0 ;
4696 wxHtmlCell *result;
4697 PyObject * obj0 = 0 ;
4698 PyObject * obj1 = 0 ;
4699 PyObject * obj2 = 0 ;
4700 char *kwnames[] = {
4701 (char *) "self",(char *) "condition",(char *) "param", NULL
4702 };
4703
4704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_Find",kwnames,&obj0,&obj1,&obj2)) goto fail;
4705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4707 arg2 = (int) SWIG_AsInt(obj1);
4708 if (PyErr_Occurred()) SWIG_fail;
4709 if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4710 {
4711 PyThreadState* __tstate = wxPyBeginAllowThreads();
4712 result = (wxHtmlCell *)(arg1)->Find(arg2,(void const *)arg3);
4713
4714 wxPyEndAllowThreads(__tstate);
4715 if (PyErr_Occurred()) SWIG_fail;
4716 }
4717 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
4718 return resultobj;
4719 fail:
4720 return NULL;
4721 }
4722
4723
4724 static PyObject *_wrap_HtmlCell_AdjustPagebreak(PyObject *self, PyObject *args, PyObject *kwargs) {
4725 PyObject *resultobj;
4726 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4727 int *arg2 = (int *) 0 ;
4728 bool result;
4729 int temp2 ;
4730 PyObject * obj0 = 0 ;
4731 PyObject * obj1 = 0 ;
4732 char *kwnames[] = {
4733 (char *) "self",(char *) "INOUT", NULL
4734 };
4735
4736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_AdjustPagebreak",kwnames,&obj0,&obj1)) goto fail;
4737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4739 {
4740 temp2 = PyInt_AsLong(obj1);
4741 if (PyErr_Occurred()) SWIG_fail;
4742 arg2 = &temp2;
4743 }
4744 {
4745 PyThreadState* __tstate = wxPyBeginAllowThreads();
4746 result = (bool)(arg1)->AdjustPagebreak(arg2);
4747
4748 wxPyEndAllowThreads(__tstate);
4749 if (PyErr_Occurred()) SWIG_fail;
4750 }
4751 {
4752 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4753 }
4754 {
4755 PyObject *o = PyInt_FromLong((long) (*arg2));
4756 resultobj = t_output_helper(resultobj,o);
4757 }
4758 return resultobj;
4759 fail:
4760 return NULL;
4761 }
4762
4763
4764 static PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *self, PyObject *args, PyObject *kwargs) {
4765 PyObject *resultobj;
4766 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4767 bool arg2 ;
4768 PyObject * obj0 = 0 ;
4769 PyObject * obj1 = 0 ;
4770 char *kwnames[] = {
4771 (char *) "self",(char *) "can", NULL
4772 };
4773
4774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames,&obj0,&obj1)) goto fail;
4775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4777 arg2 = (bool) SWIG_AsBool(obj1);
4778 if (PyErr_Occurred()) SWIG_fail;
4779 {
4780 PyThreadState* __tstate = wxPyBeginAllowThreads();
4781 (arg1)->SetCanLiveOnPagebreak(arg2);
4782
4783 wxPyEndAllowThreads(__tstate);
4784 if (PyErr_Occurred()) SWIG_fail;
4785 }
4786 Py_INCREF(Py_None); resultobj = Py_None;
4787 return resultobj;
4788 fail:
4789 return NULL;
4790 }
4791
4792
4793 static PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *self, PyObject *args, PyObject *kwargs) {
4794 PyObject *resultobj;
4795 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4796 bool result;
4797 PyObject * obj0 = 0 ;
4798 char *kwnames[] = {
4799 (char *) "self", NULL
4800 };
4801
4802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsLinebreakAllowed",kwnames,&obj0)) goto fail;
4803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4805 {
4806 PyThreadState* __tstate = wxPyBeginAllowThreads();
4807 result = (bool)((wxHtmlCell const *)arg1)->IsLinebreakAllowed();
4808
4809 wxPyEndAllowThreads(__tstate);
4810 if (PyErr_Occurred()) SWIG_fail;
4811 }
4812 {
4813 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4814 }
4815 return resultobj;
4816 fail:
4817 return NULL;
4818 }
4819
4820
4821 static PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4822 PyObject *resultobj;
4823 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4824 bool result;
4825 PyObject * obj0 = 0 ;
4826 char *kwnames[] = {
4827 (char *) "self", NULL
4828 };
4829
4830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsTerminalCell",kwnames,&obj0)) goto fail;
4831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4833 {
4834 PyThreadState* __tstate = wxPyBeginAllowThreads();
4835 result = (bool)((wxHtmlCell const *)arg1)->IsTerminalCell();
4836
4837 wxPyEndAllowThreads(__tstate);
4838 if (PyErr_Occurred()) SWIG_fail;
4839 }
4840 {
4841 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4842 }
4843 return resultobj;
4844 fail:
4845 return NULL;
4846 }
4847
4848
4849 static PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
4850 PyObject *resultobj;
4851 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4852 int arg2 ;
4853 int arg3 ;
4854 unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ;
4855 wxHtmlCell *result;
4856 PyObject * obj0 = 0 ;
4857 PyObject * obj1 = 0 ;
4858 PyObject * obj2 = 0 ;
4859 PyObject * obj3 = 0 ;
4860 char *kwnames[] = {
4861 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
4862 };
4863
4864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4867 arg2 = (int) SWIG_AsInt(obj1);
4868 if (PyErr_Occurred()) SWIG_fail;
4869 arg3 = (int) SWIG_AsInt(obj2);
4870 if (PyErr_Occurred()) SWIG_fail;
4871 if (obj3) {
4872 arg4 = (unsigned int) SWIG_AsUnsignedInt(obj3);
4873 if (PyErr_Occurred()) SWIG_fail;
4874 }
4875 {
4876 PyThreadState* __tstate = wxPyBeginAllowThreads();
4877 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->FindCellByPos(arg2,arg3,arg4);
4878
4879 wxPyEndAllowThreads(__tstate);
4880 if (PyErr_Occurred()) SWIG_fail;
4881 }
4882 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
4883 return resultobj;
4884 fail:
4885 return NULL;
4886 }
4887
4888
4889 static PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *self, PyObject *args, PyObject *kwargs) {
4890 PyObject *resultobj;
4891 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4892 wxPoint result;
4893 PyObject * obj0 = 0 ;
4894 char *kwnames[] = {
4895 (char *) "self", NULL
4896 };
4897
4898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetAbsPos",kwnames,&obj0)) goto fail;
4899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4901 {
4902 PyThreadState* __tstate = wxPyBeginAllowThreads();
4903 result = ((wxHtmlCell const *)arg1)->GetAbsPos();
4904
4905 wxPyEndAllowThreads(__tstate);
4906 if (PyErr_Occurred()) SWIG_fail;
4907 }
4908 {
4909 wxPoint * resultptr;
4910 resultptr = new wxPoint((wxPoint &) result);
4911 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
4912 }
4913 return resultobj;
4914 fail:
4915 return NULL;
4916 }
4917
4918
4919 static PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *self, PyObject *args, PyObject *kwargs) {
4920 PyObject *resultobj;
4921 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4922 wxHtmlCell *result;
4923 PyObject * obj0 = 0 ;
4924 char *kwnames[] = {
4925 (char *) "self", NULL
4926 };
4927
4928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstTerminal",kwnames,&obj0)) goto fail;
4929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4931 {
4932 PyThreadState* __tstate = wxPyBeginAllowThreads();
4933 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstTerminal();
4934
4935 wxPyEndAllowThreads(__tstate);
4936 if (PyErr_Occurred()) SWIG_fail;
4937 }
4938 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
4939 return resultobj;
4940 fail:
4941 return NULL;
4942 }
4943
4944
4945 static PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *self, PyObject *args, PyObject *kwargs) {
4946 PyObject *resultobj;
4947 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4948 wxHtmlCell *result;
4949 PyObject * obj0 = 0 ;
4950 char *kwnames[] = {
4951 (char *) "self", NULL
4952 };
4953
4954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetLastTerminal",kwnames,&obj0)) goto fail;
4955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4957 {
4958 PyThreadState* __tstate = wxPyBeginAllowThreads();
4959 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetLastTerminal();
4960
4961 wxPyEndAllowThreads(__tstate);
4962 if (PyErr_Occurred()) SWIG_fail;
4963 }
4964 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
4965 return resultobj;
4966 fail:
4967 return NULL;
4968 }
4969
4970
4971 static PyObject *_wrap_HtmlCell_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
4972 PyObject *resultobj;
4973 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4974 unsigned int result;
4975 PyObject * obj0 = 0 ;
4976 char *kwnames[] = {
4977 (char *) "self", NULL
4978 };
4979
4980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDepth",kwnames,&obj0)) goto fail;
4981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4983 {
4984 PyThreadState* __tstate = wxPyBeginAllowThreads();
4985 result = (unsigned int)((wxHtmlCell const *)arg1)->GetDepth();
4986
4987 wxPyEndAllowThreads(__tstate);
4988 if (PyErr_Occurred()) SWIG_fail;
4989 }
4990 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
4991 return resultobj;
4992 fail:
4993 return NULL;
4994 }
4995
4996
4997 static PyObject *_wrap_HtmlCell_IsBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
4998 PyObject *resultobj;
4999 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5000 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
5001 bool result;
5002 PyObject * obj0 = 0 ;
5003 PyObject * obj1 = 0 ;
5004 char *kwnames[] = {
5005 (char *) "self",(char *) "cell", NULL
5006 };
5007
5008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_IsBefore",kwnames,&obj0,&obj1)) goto fail;
5009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
5010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5011 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
5012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5013 {
5014 PyThreadState* __tstate = wxPyBeginAllowThreads();
5015 result = (bool)((wxHtmlCell const *)arg1)->IsBefore(arg2);
5016
5017 wxPyEndAllowThreads(__tstate);
5018 if (PyErr_Occurred()) SWIG_fail;
5019 }
5020 {
5021 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5022 }
5023 return resultobj;
5024 fail:
5025 return NULL;
5026 }
5027
5028
5029 static PyObject *_wrap_HtmlCell_ConvertToText(PyObject *self, PyObject *args, PyObject *kwargs) {
5030 PyObject *resultobj;
5031 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5032 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
5033 wxString result;
5034 PyObject * obj0 = 0 ;
5035 PyObject * obj1 = 0 ;
5036 char *kwnames[] = {
5037 (char *) "self",(char *) "sel", NULL
5038 };
5039
5040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_ConvertToText",kwnames,&obj0,&obj1)) goto fail;
5041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
5042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5043 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlSelection,
5044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5045 {
5046 PyThreadState* __tstate = wxPyBeginAllowThreads();
5047 result = ((wxHtmlCell const *)arg1)->ConvertToText(arg2);
5048
5049 wxPyEndAllowThreads(__tstate);
5050 if (PyErr_Occurred()) SWIG_fail;
5051 }
5052 {
5053 #if wxUSE_UNICODE
5054 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5055 #else
5056 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5057 #endif
5058 }
5059 return resultobj;
5060 fail:
5061 return NULL;
5062 }
5063
5064
5065 static PyObject * HtmlCell_swigregister(PyObject *self, PyObject *args) {
5066 PyObject *obj;
5067 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5068 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlCell, obj);
5069 Py_INCREF(obj);
5070 return Py_BuildValue((char *)"");
5071 }
5072 static PyObject *_wrap_new_HtmlWordCell(PyObject *self, PyObject *args, PyObject *kwargs) {
5073 PyObject *resultobj;
5074 wxString *arg1 = 0 ;
5075 wxDC *arg2 = 0 ;
5076 wxHtmlWordCell *result;
5077 bool temp1 = False ;
5078 PyObject * obj0 = 0 ;
5079 PyObject * obj1 = 0 ;
5080 char *kwnames[] = {
5081 (char *) "word",(char *) "dc", NULL
5082 };
5083
5084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlWordCell",kwnames,&obj0,&obj1)) goto fail;
5085 {
5086 arg1 = wxString_in_helper(obj0);
5087 if (arg1 == NULL) SWIG_fail;
5088 temp1 = True;
5089 }
5090 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5091 SWIG_POINTER_EXCEPTION | 0)) == -1)
5092 SWIG_fail;
5093 if (arg2 == NULL) {
5094 PyErr_SetString(PyExc_TypeError,"null reference");
5095 SWIG_fail;
5096 }
5097 {
5098 PyThreadState* __tstate = wxPyBeginAllowThreads();
5099 result = (wxHtmlWordCell *)new wxHtmlWordCell((wxString const &)*arg1,*arg2);
5100
5101 wxPyEndAllowThreads(__tstate);
5102 if (PyErr_Occurred()) SWIG_fail;
5103 }
5104 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWordCell, 1);
5105 {
5106 if (temp1)
5107 delete arg1;
5108 }
5109 return resultobj;
5110 fail:
5111 {
5112 if (temp1)
5113 delete arg1;
5114 }
5115 return NULL;
5116 }
5117
5118
5119 static PyObject * HtmlWordCell_swigregister(PyObject *self, PyObject *args) {
5120 PyObject *obj;
5121 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5122 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWordCell, obj);
5123 Py_INCREF(obj);
5124 return Py_BuildValue((char *)"");
5125 }
5126 static PyObject *_wrap_new_HtmlContainerCell(PyObject *self, PyObject *args, PyObject *kwargs) {
5127 PyObject *resultobj;
5128 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5129 wxHtmlContainerCell *result;
5130 PyObject * obj0 = 0 ;
5131 char *kwnames[] = {
5132 (char *) "parent", NULL
5133 };
5134
5135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlContainerCell",kwnames,&obj0)) goto fail;
5136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5138 {
5139 PyThreadState* __tstate = wxPyBeginAllowThreads();
5140 result = (wxHtmlContainerCell *)new wxHtmlContainerCell(arg1);
5141
5142 wxPyEndAllowThreads(__tstate);
5143 if (PyErr_Occurred()) SWIG_fail;
5144 }
5145 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 1);
5146 return resultobj;
5147 fail:
5148 return NULL;
5149 }
5150
5151
5152 static PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *self, PyObject *args, PyObject *kwargs) {
5153 PyObject *resultobj;
5154 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5155 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
5156 PyObject * obj0 = 0 ;
5157 PyObject * obj1 = 0 ;
5158 char *kwnames[] = {
5159 (char *) "self",(char *) "cell", NULL
5160 };
5161
5162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_InsertCell",kwnames,&obj0,&obj1)) goto fail;
5163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5165 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
5166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5167 {
5168 PyThreadState* __tstate = wxPyBeginAllowThreads();
5169 (arg1)->InsertCell(arg2);
5170
5171 wxPyEndAllowThreads(__tstate);
5172 if (PyErr_Occurred()) SWIG_fail;
5173 }
5174 Py_INCREF(Py_None); resultobj = Py_None;
5175 return resultobj;
5176 fail:
5177 return NULL;
5178 }
5179
5180
5181 static PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *self, PyObject *args, PyObject *kwargs) {
5182 PyObject *resultobj;
5183 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5184 int arg2 ;
5185 PyObject * obj0 = 0 ;
5186 PyObject * obj1 = 0 ;
5187 char *kwnames[] = {
5188 (char *) "self",(char *) "al", NULL
5189 };
5190
5191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames,&obj0,&obj1)) goto fail;
5192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5194 arg2 = (int) SWIG_AsInt(obj1);
5195 if (PyErr_Occurred()) SWIG_fail;
5196 {
5197 PyThreadState* __tstate = wxPyBeginAllowThreads();
5198 (arg1)->SetAlignHor(arg2);
5199
5200 wxPyEndAllowThreads(__tstate);
5201 if (PyErr_Occurred()) SWIG_fail;
5202 }
5203 Py_INCREF(Py_None); resultobj = Py_None;
5204 return resultobj;
5205 fail:
5206 return NULL;
5207 }
5208
5209
5210 static PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *self, PyObject *args, PyObject *kwargs) {
5211 PyObject *resultobj;
5212 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5213 int result;
5214 PyObject * obj0 = 0 ;
5215 char *kwnames[] = {
5216 (char *) "self", NULL
5217 };
5218
5219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignHor",kwnames,&obj0)) goto fail;
5220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5222 {
5223 PyThreadState* __tstate = wxPyBeginAllowThreads();
5224 result = (int)(arg1)->GetAlignHor();
5225
5226 wxPyEndAllowThreads(__tstate);
5227 if (PyErr_Occurred()) SWIG_fail;
5228 }
5229 resultobj = SWIG_FromInt((int)result);
5230 return resultobj;
5231 fail:
5232 return NULL;
5233 }
5234
5235
5236 static PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *self, PyObject *args, PyObject *kwargs) {
5237 PyObject *resultobj;
5238 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5239 int arg2 ;
5240 PyObject * obj0 = 0 ;
5241 PyObject * obj1 = 0 ;
5242 char *kwnames[] = {
5243 (char *) "self",(char *) "al", NULL
5244 };
5245
5246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames,&obj0,&obj1)) goto fail;
5247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5249 arg2 = (int) SWIG_AsInt(obj1);
5250 if (PyErr_Occurred()) SWIG_fail;
5251 {
5252 PyThreadState* __tstate = wxPyBeginAllowThreads();
5253 (arg1)->SetAlignVer(arg2);
5254
5255 wxPyEndAllowThreads(__tstate);
5256 if (PyErr_Occurred()) SWIG_fail;
5257 }
5258 Py_INCREF(Py_None); resultobj = Py_None;
5259 return resultobj;
5260 fail:
5261 return NULL;
5262 }
5263
5264
5265 static PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *self, PyObject *args, PyObject *kwargs) {
5266 PyObject *resultobj;
5267 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5268 int result;
5269 PyObject * obj0 = 0 ;
5270 char *kwnames[] = {
5271 (char *) "self", NULL
5272 };
5273
5274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignVer",kwnames,&obj0)) goto fail;
5275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5277 {
5278 PyThreadState* __tstate = wxPyBeginAllowThreads();
5279 result = (int)(arg1)->GetAlignVer();
5280
5281 wxPyEndAllowThreads(__tstate);
5282 if (PyErr_Occurred()) SWIG_fail;
5283 }
5284 resultobj = SWIG_FromInt((int)result);
5285 return resultobj;
5286 fail:
5287 return NULL;
5288 }
5289
5290
5291 static PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5292 PyObject *resultobj;
5293 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5294 int arg2 ;
5295 int arg3 ;
5296 int arg4 = (int) wxHTML_UNITS_PIXELS ;
5297 PyObject * obj0 = 0 ;
5298 PyObject * obj1 = 0 ;
5299 PyObject * obj2 = 0 ;
5300 PyObject * obj3 = 0 ;
5301 char *kwnames[] = {
5302 (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
5303 };
5304
5305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5308 arg2 = (int) SWIG_AsInt(obj1);
5309 if (PyErr_Occurred()) SWIG_fail;
5310 arg3 = (int) SWIG_AsInt(obj2);
5311 if (PyErr_Occurred()) SWIG_fail;
5312 if (obj3) {
5313 arg4 = (int) SWIG_AsInt(obj3);
5314 if (PyErr_Occurred()) SWIG_fail;
5315 }
5316 {
5317 PyThreadState* __tstate = wxPyBeginAllowThreads();
5318 (arg1)->SetIndent(arg2,arg3,arg4);
5319
5320 wxPyEndAllowThreads(__tstate);
5321 if (PyErr_Occurred()) SWIG_fail;
5322 }
5323 Py_INCREF(Py_None); resultobj = Py_None;
5324 return resultobj;
5325 fail:
5326 return NULL;
5327 }
5328
5329
5330 static PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5331 PyObject *resultobj;
5332 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5333 int arg2 ;
5334 int result;
5335 PyObject * obj0 = 0 ;
5336 PyObject * obj1 = 0 ;
5337 char *kwnames[] = {
5338 (char *) "self",(char *) "ind", NULL
5339 };
5340
5341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndent",kwnames,&obj0,&obj1)) goto fail;
5342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5344 arg2 = (int) SWIG_AsInt(obj1);
5345 if (PyErr_Occurred()) SWIG_fail;
5346 {
5347 PyThreadState* __tstate = wxPyBeginAllowThreads();
5348 result = (int)(arg1)->GetIndent(arg2);
5349
5350 wxPyEndAllowThreads(__tstate);
5351 if (PyErr_Occurred()) SWIG_fail;
5352 }
5353 resultobj = SWIG_FromInt((int)result);
5354 return resultobj;
5355 fail:
5356 return NULL;
5357 }
5358
5359
5360 static PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *self, PyObject *args, PyObject *kwargs) {
5361 PyObject *resultobj;
5362 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5363 int arg2 ;
5364 int result;
5365 PyObject * obj0 = 0 ;
5366 PyObject * obj1 = 0 ;
5367 char *kwnames[] = {
5368 (char *) "self",(char *) "ind", NULL
5369 };
5370
5371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames,&obj0,&obj1)) goto fail;
5372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5374 arg2 = (int) SWIG_AsInt(obj1);
5375 if (PyErr_Occurred()) SWIG_fail;
5376 {
5377 PyThreadState* __tstate = wxPyBeginAllowThreads();
5378 result = (int)(arg1)->GetIndentUnits(arg2);
5379
5380 wxPyEndAllowThreads(__tstate);
5381 if (PyErr_Occurred()) SWIG_fail;
5382 }
5383 resultobj = SWIG_FromInt((int)result);
5384 return resultobj;
5385 fail:
5386 return NULL;
5387 }
5388
5389
5390 static PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
5391 PyObject *resultobj;
5392 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5393 wxHtmlTag *arg2 = 0 ;
5394 PyObject * obj0 = 0 ;
5395 PyObject * obj1 = 0 ;
5396 char *kwnames[] = {
5397 (char *) "self",(char *) "tag", NULL
5398 };
5399
5400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlign",kwnames,&obj0,&obj1)) goto fail;
5401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5403 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag,
5404 SWIG_POINTER_EXCEPTION | 0)) == -1)
5405 SWIG_fail;
5406 if (arg2 == NULL) {
5407 PyErr_SetString(PyExc_TypeError,"null reference");
5408 SWIG_fail;
5409 }
5410 {
5411 PyThreadState* __tstate = wxPyBeginAllowThreads();
5412 (arg1)->SetAlign((wxHtmlTag const &)*arg2);
5413
5414 wxPyEndAllowThreads(__tstate);
5415 if (PyErr_Occurred()) SWIG_fail;
5416 }
5417 Py_INCREF(Py_None); resultobj = Py_None;
5418 return resultobj;
5419 fail:
5420 return NULL;
5421 }
5422
5423
5424 static PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
5425 PyObject *resultobj;
5426 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5427 int arg2 ;
5428 int arg3 ;
5429 PyObject * obj0 = 0 ;
5430 PyObject * obj1 = 0 ;
5431 PyObject * obj2 = 0 ;
5432 char *kwnames[] = {
5433 (char *) "self",(char *) "w",(char *) "units", NULL
5434 };
5435
5436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
5437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5439 arg2 = (int) SWIG_AsInt(obj1);
5440 if (PyErr_Occurred()) SWIG_fail;
5441 arg3 = (int) SWIG_AsInt(obj2);
5442 if (PyErr_Occurred()) SWIG_fail;
5443 {
5444 PyThreadState* __tstate = wxPyBeginAllowThreads();
5445 (arg1)->SetWidthFloat(arg2,arg3);
5446
5447 wxPyEndAllowThreads(__tstate);
5448 if (PyErr_Occurred()) SWIG_fail;
5449 }
5450 Py_INCREF(Py_None); resultobj = Py_None;
5451 return resultobj;
5452 fail:
5453 return NULL;
5454 }
5455
5456
5457 static PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *self, PyObject *args, PyObject *kwargs) {
5458 PyObject *resultobj;
5459 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5460 wxHtmlTag *arg2 = 0 ;
5461 PyObject * obj0 = 0 ;
5462 PyObject * obj1 = 0 ;
5463 char *kwnames[] = {
5464 (char *) "self",(char *) "tag", NULL
5465 };
5466
5467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames,&obj0,&obj1)) goto fail;
5468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5470 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag,
5471 SWIG_POINTER_EXCEPTION | 0)) == -1)
5472 SWIG_fail;
5473 if (arg2 == NULL) {
5474 PyErr_SetString(PyExc_TypeError,"null reference");
5475 SWIG_fail;
5476 }
5477 {
5478 PyThreadState* __tstate = wxPyBeginAllowThreads();
5479 (arg1)->SetWidthFloat((wxHtmlTag const &)*arg2);
5480
5481 wxPyEndAllowThreads(__tstate);
5482 if (PyErr_Occurred()) SWIG_fail;
5483 }
5484 Py_INCREF(Py_None); resultobj = Py_None;
5485 return resultobj;
5486 fail:
5487 return NULL;
5488 }
5489
5490
5491 static PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5492 PyObject *resultobj;
5493 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5494 int arg2 ;
5495 int arg3 = (int) wxHTML_ALIGN_TOP ;
5496 PyObject * obj0 = 0 ;
5497 PyObject * obj1 = 0 ;
5498 PyObject * obj2 = 0 ;
5499 char *kwnames[] = {
5500 (char *) "self",(char *) "h",(char *) "align", NULL
5501 };
5502
5503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames,&obj0,&obj1,&obj2)) goto fail;
5504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5506 arg2 = (int) SWIG_AsInt(obj1);
5507 if (PyErr_Occurred()) SWIG_fail;
5508 if (obj2) {
5509 arg3 = (int) SWIG_AsInt(obj2);
5510 if (PyErr_Occurred()) SWIG_fail;
5511 }
5512 {
5513 PyThreadState* __tstate = wxPyBeginAllowThreads();
5514 (arg1)->SetMinHeight(arg2,arg3);
5515
5516 wxPyEndAllowThreads(__tstate);
5517 if (PyErr_Occurred()) SWIG_fail;
5518 }
5519 Py_INCREF(Py_None); resultobj = Py_None;
5520 return resultobj;
5521 fail:
5522 return NULL;
5523 }
5524
5525
5526 static PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5527 PyObject *resultobj;
5528 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5529 wxColour *arg2 = 0 ;
5530 wxColour temp2 ;
5531 PyObject * obj0 = 0 ;
5532 PyObject * obj1 = 0 ;
5533 char *kwnames[] = {
5534 (char *) "self",(char *) "clr", NULL
5535 };
5536
5537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
5538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5540 {
5541 arg2 = &temp2;
5542 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5543 }
5544 {
5545 PyThreadState* __tstate = wxPyBeginAllowThreads();
5546 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
5547
5548 wxPyEndAllowThreads(__tstate);
5549 if (PyErr_Occurred()) SWIG_fail;
5550 }
5551 Py_INCREF(Py_None); resultobj = Py_None;
5552 return resultobj;
5553 fail:
5554 return NULL;
5555 }
5556
5557
5558 static PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5559 PyObject *resultobj;
5560 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5561 wxColour result;
5562 PyObject * obj0 = 0 ;
5563 char *kwnames[] = {
5564 (char *) "self", NULL
5565 };
5566
5567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetBackgroundColour",kwnames,&obj0)) goto fail;
5568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5570 {
5571 PyThreadState* __tstate = wxPyBeginAllowThreads();
5572 result = (arg1)->GetBackgroundColour();
5573
5574 wxPyEndAllowThreads(__tstate);
5575 if (PyErr_Occurred()) SWIG_fail;
5576 }
5577 {
5578 wxColour * resultptr;
5579 resultptr = new wxColour((wxColour &) result);
5580 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
5581 }
5582 return resultobj;
5583 fail:
5584 return NULL;
5585 }
5586
5587
5588 static PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
5589 PyObject *resultobj;
5590 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5591 wxColour *arg2 = 0 ;
5592 wxColour *arg3 = 0 ;
5593 wxColour temp2 ;
5594 wxColour temp3 ;
5595 PyObject * obj0 = 0 ;
5596 PyObject * obj1 = 0 ;
5597 PyObject * obj2 = 0 ;
5598 char *kwnames[] = {
5599 (char *) "self",(char *) "clr1",(char *) "clr2", NULL
5600 };
5601
5602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
5603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5605 {
5606 arg2 = &temp2;
5607 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5608 }
5609 {
5610 arg3 = &temp3;
5611 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5612 }
5613 {
5614 PyThreadState* __tstate = wxPyBeginAllowThreads();
5615 (arg1)->SetBorder((wxColour const &)*arg2,(wxColour const &)*arg3);
5616
5617 wxPyEndAllowThreads(__tstate);
5618 if (PyErr_Occurred()) SWIG_fail;
5619 }
5620 Py_INCREF(Py_None); resultobj = Py_None;
5621 return resultobj;
5622 fail:
5623 return NULL;
5624 }
5625
5626
5627 static PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
5628 PyObject *resultobj;
5629 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5630 wxHtmlCell *result;
5631 PyObject * obj0 = 0 ;
5632 char *kwnames[] = {
5633 (char *) "self", NULL
5634 };
5635
5636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetFirstChild",kwnames,&obj0)) goto fail;
5637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5639 {
5640 PyThreadState* __tstate = wxPyBeginAllowThreads();
5641 result = (wxHtmlCell *)(arg1)->GetFirstChild();
5642
5643 wxPyEndAllowThreads(__tstate);
5644 if (PyErr_Occurred()) SWIG_fail;
5645 }
5646 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
5647 return resultobj;
5648 fail:
5649 return NULL;
5650 }
5651
5652
5653 static PyObject * HtmlContainerCell_swigregister(PyObject *self, PyObject *args) {
5654 PyObject *obj;
5655 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5656 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContainerCell, obj);
5657 Py_INCREF(obj);
5658 return Py_BuildValue((char *)"");
5659 }
5660 static PyObject *_wrap_new_HtmlColourCell(PyObject *self, PyObject *args, PyObject *kwargs) {
5661 PyObject *resultobj;
5662 wxColour arg1 ;
5663 int arg2 = (int) wxHTML_CLR_FOREGROUND ;
5664 wxHtmlColourCell *result;
5665 wxColour *argp1 ;
5666 PyObject * obj0 = 0 ;
5667 PyObject * obj1 = 0 ;
5668 char *kwnames[] = {
5669 (char *) "clr",(char *) "flags", NULL
5670 };
5671
5672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlColourCell",kwnames,&obj0,&obj1)) goto fail;
5673 if ((SWIG_ConvertPtr(obj0,(void **)(&argp1),SWIGTYPE_p_wxColour,
5674 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5675 arg1 = *argp1;
5676 if (obj1) {
5677 arg2 = (int) SWIG_AsInt(obj1);
5678 if (PyErr_Occurred()) SWIG_fail;
5679 }
5680 {
5681 PyThreadState* __tstate = wxPyBeginAllowThreads();
5682 result = (wxHtmlColourCell *)new wxHtmlColourCell(arg1,arg2);
5683
5684 wxPyEndAllowThreads(__tstate);
5685 if (PyErr_Occurred()) SWIG_fail;
5686 }
5687 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlColourCell, 1);
5688 return resultobj;
5689 fail:
5690 return NULL;
5691 }
5692
5693
5694 static PyObject * HtmlColourCell_swigregister(PyObject *self, PyObject *args) {
5695 PyObject *obj;
5696 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5697 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlColourCell, obj);
5698 Py_INCREF(obj);
5699 return Py_BuildValue((char *)"");
5700 }
5701 static PyObject *_wrap_new_HtmlFontCell(PyObject *self, PyObject *args, PyObject *kwargs) {
5702 PyObject *resultobj;
5703 wxFont *arg1 = (wxFont *) 0 ;
5704 wxHtmlFontCell *result;
5705 PyObject * obj0 = 0 ;
5706 char *kwnames[] = {
5707 (char *) "font", NULL
5708 };
5709
5710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlFontCell",kwnames,&obj0)) goto fail;
5711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
5712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5713 {
5714 PyThreadState* __tstate = wxPyBeginAllowThreads();
5715 result = (wxHtmlFontCell *)new wxHtmlFontCell(arg1);
5716
5717 wxPyEndAllowThreads(__tstate);
5718 if (PyErr_Occurred()) SWIG_fail;
5719 }
5720 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlFontCell, 1);
5721 return resultobj;
5722 fail:
5723 return NULL;
5724 }
5725
5726
5727 static PyObject * HtmlFontCell_swigregister(PyObject *self, PyObject *args) {
5728 PyObject *obj;
5729 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5730 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlFontCell, obj);
5731 Py_INCREF(obj);
5732 return Py_BuildValue((char *)"");
5733 }
5734 static PyObject *_wrap_new_HtmlWidgetCell(PyObject *self, PyObject *args, PyObject *kwargs) {
5735 PyObject *resultobj;
5736 wxWindow *arg1 = (wxWindow *) 0 ;
5737 int arg2 = (int) 0 ;
5738 wxHtmlWidgetCell *result;
5739 PyObject * obj0 = 0 ;
5740 PyObject * obj1 = 0 ;
5741 char *kwnames[] = {
5742 (char *) "wnd",(char *) "w", NULL
5743 };
5744
5745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlWidgetCell",kwnames,&obj0,&obj1)) goto fail;
5746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5748 if (obj1) {
5749 arg2 = (int) SWIG_AsInt(obj1);
5750 if (PyErr_Occurred()) SWIG_fail;
5751 }
5752 {
5753 PyThreadState* __tstate = wxPyBeginAllowThreads();
5754 result = (wxHtmlWidgetCell *)new wxHtmlWidgetCell(arg1,arg2);
5755
5756 wxPyEndAllowThreads(__tstate);
5757 if (PyErr_Occurred()) SWIG_fail;
5758 }
5759 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWidgetCell, 1);
5760 return resultobj;
5761 fail:
5762 return NULL;
5763 }
5764
5765
5766 static PyObject * HtmlWidgetCell_swigregister(PyObject *self, PyObject *args) {
5767 PyObject *obj;
5768 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5769 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWidgetCell, obj);
5770 Py_INCREF(obj);
5771 return Py_BuildValue((char *)"");
5772 }
5773 static PyObject *_wrap_new_HtmlFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
5774 PyObject *resultobj;
5775 wxPyHtmlFilter *result;
5776 char *kwnames[] = {
5777 NULL
5778 };
5779
5780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlFilter",kwnames)) goto fail;
5781 {
5782 PyThreadState* __tstate = wxPyBeginAllowThreads();
5783 result = (wxPyHtmlFilter *)new wxPyHtmlFilter();
5784
5785 wxPyEndAllowThreads(__tstate);
5786 if (PyErr_Occurred()) SWIG_fail;
5787 }
5788 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlFilter, 1);
5789 return resultobj;
5790 fail:
5791 return NULL;
5792 }
5793
5794
5795 static PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5796 PyObject *resultobj;
5797 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
5798 PyObject *arg2 = (PyObject *) 0 ;
5799 PyObject *arg3 = (PyObject *) 0 ;
5800 PyObject * obj0 = 0 ;
5801 PyObject * obj1 = 0 ;
5802 PyObject * obj2 = 0 ;
5803 char *kwnames[] = {
5804 (char *) "self",(char *) "self",(char *) "_class", NULL
5805 };
5806
5807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlFilter,
5809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5810 arg2 = obj1;
5811 arg3 = obj2;
5812 {
5813 PyThreadState* __tstate = wxPyBeginAllowThreads();
5814 (arg1)->_setCallbackInfo(arg2,arg3);
5815
5816 wxPyEndAllowThreads(__tstate);
5817 if (PyErr_Occurred()) SWIG_fail;
5818 }
5819 Py_INCREF(Py_None); resultobj = Py_None;
5820 return resultobj;
5821 fail:
5822 return NULL;
5823 }
5824
5825
5826 static PyObject * HtmlFilter_swigregister(PyObject *self, PyObject *args) {
5827 PyObject *obj;
5828 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5829 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlFilter, obj);
5830 Py_INCREF(obj);
5831 return Py_BuildValue((char *)"");
5832 }
5833 static PyObject *_wrap_new_HtmlWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5834 PyObject *resultobj;
5835 wxWindow *arg1 = (wxWindow *) 0 ;
5836 int arg2 = (int) -1 ;
5837 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5838 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5839 wxSize const &arg4_defvalue = wxDefaultSize ;
5840 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5841 int arg5 = (int) wxHW_DEFAULT_STYLE ;
5842 wxString const &arg6_defvalue = wxPyHtmlWindowNameStr ;
5843 wxString *arg6 = (wxString *) &arg6_defvalue ;
5844 wxPyHtmlWindow *result;
5845 wxPoint temp3 ;
5846 wxSize temp4 ;
5847 bool temp6 = False ;
5848 PyObject * obj0 = 0 ;
5849 PyObject * obj1 = 0 ;
5850 PyObject * obj2 = 0 ;
5851 PyObject * obj3 = 0 ;
5852 PyObject * obj4 = 0 ;
5853 PyObject * obj5 = 0 ;
5854 char *kwnames[] = {
5855 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5856 };
5857
5858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5861 if (obj1) {
5862 arg2 = (int) SWIG_AsInt(obj1);
5863 if (PyErr_Occurred()) SWIG_fail;
5864 }
5865 if (obj2) {
5866 {
5867 arg3 = &temp3;
5868 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5869 }
5870 }
5871 if (obj3) {
5872 {
5873 arg4 = &temp4;
5874 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5875 }
5876 }
5877 if (obj4) {
5878 arg5 = (int) SWIG_AsInt(obj4);
5879 if (PyErr_Occurred()) SWIG_fail;
5880 }
5881 if (obj5) {
5882 {
5883 arg6 = wxString_in_helper(obj5);
5884 if (arg6 == NULL) SWIG_fail;
5885 temp6 = True;
5886 }
5887 }
5888 {
5889 if (!wxPyCheckForApp()) SWIG_fail;
5890 PyThreadState* __tstate = wxPyBeginAllowThreads();
5891 result = (wxPyHtmlWindow *)new wxPyHtmlWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5892
5893 wxPyEndAllowThreads(__tstate);
5894 if (PyErr_Occurred()) SWIG_fail;
5895 }
5896 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWindow, 1);
5897 {
5898 if (temp6)
5899 delete arg6;
5900 }
5901 return resultobj;
5902 fail:
5903 {
5904 if (temp6)
5905 delete arg6;
5906 }
5907 return NULL;
5908 }
5909
5910
5911 static PyObject *_wrap_new_PreHtmlWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5912 PyObject *resultobj;
5913 wxPyHtmlWindow *result;
5914 char *kwnames[] = {
5915 NULL
5916 };
5917
5918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlWindow",kwnames)) goto fail;
5919 {
5920 if (!wxPyCheckForApp()) SWIG_fail;
5921 PyThreadState* __tstate = wxPyBeginAllowThreads();
5922 result = (wxPyHtmlWindow *)new wxPyHtmlWindow();
5923
5924 wxPyEndAllowThreads(__tstate);
5925 if (PyErr_Occurred()) SWIG_fail;
5926 }
5927 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWindow, 1);
5928 return resultobj;
5929 fail:
5930 return NULL;
5931 }
5932
5933
5934 static PyObject *_wrap_HtmlWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5935 PyObject *resultobj;
5936 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5937 wxWindow *arg2 = (wxWindow *) 0 ;
5938 int arg3 = (int) -1 ;
5939 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5940 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5941 wxSize const &arg5_defvalue = wxDefaultSize ;
5942 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5943 int arg6 = (int) wxHW_SCROLLBAR_AUTO ;
5944 wxString const &arg7_defvalue = wxPyHtmlWindowNameStr ;
5945 wxString *arg7 = (wxString *) &arg7_defvalue ;
5946 bool result;
5947 wxPoint temp4 ;
5948 wxSize temp5 ;
5949 bool temp7 = False ;
5950 PyObject * obj0 = 0 ;
5951 PyObject * obj1 = 0 ;
5952 PyObject * obj2 = 0 ;
5953 PyObject * obj3 = 0 ;
5954 PyObject * obj4 = 0 ;
5955 PyObject * obj5 = 0 ;
5956 PyObject * obj6 = 0 ;
5957 char *kwnames[] = {
5958 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5959 };
5960
5961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
5963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5964 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5966 if (obj2) {
5967 arg3 = (int) SWIG_AsInt(obj2);
5968 if (PyErr_Occurred()) SWIG_fail;
5969 }
5970 if (obj3) {
5971 {
5972 arg4 = &temp4;
5973 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5974 }
5975 }
5976 if (obj4) {
5977 {
5978 arg5 = &temp5;
5979 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5980 }
5981 }
5982 if (obj5) {
5983 arg6 = (int) SWIG_AsInt(obj5);
5984 if (PyErr_Occurred()) SWIG_fail;
5985 }
5986 if (obj6) {
5987 {
5988 arg7 = wxString_in_helper(obj6);
5989 if (arg7 == NULL) SWIG_fail;
5990 temp7 = True;
5991 }
5992 }
5993 {
5994 PyThreadState* __tstate = wxPyBeginAllowThreads();
5995 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5996
5997 wxPyEndAllowThreads(__tstate);
5998 if (PyErr_Occurred()) SWIG_fail;
5999 }
6000 {
6001 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6002 }
6003 {
6004 if (temp7)
6005 delete arg7;
6006 }
6007 return resultobj;
6008 fail:
6009 {
6010 if (temp7)
6011 delete arg7;
6012 }
6013 return NULL;
6014 }
6015
6016
6017 static PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6018 PyObject *resultobj;
6019 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6020 PyObject *arg2 = (PyObject *) 0 ;
6021 PyObject *arg3 = (PyObject *) 0 ;
6022 PyObject * obj0 = 0 ;
6023 PyObject * obj1 = 0 ;
6024 PyObject * obj2 = 0 ;
6025 char *kwnames[] = {
6026 (char *) "self",(char *) "self",(char *) "_class", NULL
6027 };
6028
6029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
6030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6032 arg2 = obj1;
6033 arg3 = obj2;
6034 {
6035 PyThreadState* __tstate = wxPyBeginAllowThreads();
6036 (arg1)->_setCallbackInfo(arg2,arg3);
6037
6038 wxPyEndAllowThreads(__tstate);
6039 if (PyErr_Occurred()) SWIG_fail;
6040 }
6041 Py_INCREF(Py_None); resultobj = Py_None;
6042 return resultobj;
6043 fail:
6044 return NULL;
6045 }
6046
6047
6048 static PyObject *_wrap_HtmlWindow_SetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
6049 PyObject *resultobj;
6050 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6051 wxString *arg2 = 0 ;
6052 bool result;
6053 bool temp2 = False ;
6054 PyObject * obj0 = 0 ;
6055 PyObject * obj1 = 0 ;
6056 char *kwnames[] = {
6057 (char *) "self",(char *) "source", NULL
6058 };
6059
6060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetPage",kwnames,&obj0,&obj1)) goto fail;
6061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6063 {
6064 arg2 = wxString_in_helper(obj1);
6065 if (arg2 == NULL) SWIG_fail;
6066 temp2 = True;
6067 }
6068 {
6069 PyThreadState* __tstate = wxPyBeginAllowThreads();
6070 result = (bool)(arg1)->SetPage((wxString const &)*arg2);
6071
6072 wxPyEndAllowThreads(__tstate);
6073 if (PyErr_Occurred()) SWIG_fail;
6074 }
6075 {
6076 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6077 }
6078 {
6079 if (temp2)
6080 delete arg2;
6081 }
6082 return resultobj;
6083 fail:
6084 {
6085 if (temp2)
6086 delete arg2;
6087 }
6088 return NULL;
6089 }
6090
6091
6092 static PyObject *_wrap_HtmlWindow_LoadPage(PyObject *self, PyObject *args, PyObject *kwargs) {
6093 PyObject *resultobj;
6094 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6095 wxString *arg2 = 0 ;
6096 bool result;
6097 bool temp2 = False ;
6098 PyObject * obj0 = 0 ;
6099 PyObject * obj1 = 0 ;
6100 char *kwnames[] = {
6101 (char *) "self",(char *) "location", NULL
6102 };
6103
6104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadPage",kwnames,&obj0,&obj1)) goto fail;
6105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6107 {
6108 arg2 = wxString_in_helper(obj1);
6109 if (arg2 == NULL) SWIG_fail;
6110 temp2 = True;
6111 }
6112 {
6113 PyThreadState* __tstate = wxPyBeginAllowThreads();
6114 result = (bool)(arg1)->LoadPage((wxString const &)*arg2);
6115
6116 wxPyEndAllowThreads(__tstate);
6117 if (PyErr_Occurred()) SWIG_fail;
6118 }
6119 {
6120 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6121 }
6122 {
6123 if (temp2)
6124 delete arg2;
6125 }
6126 return resultobj;
6127 fail:
6128 {
6129 if (temp2)
6130 delete arg2;
6131 }
6132 return NULL;
6133 }
6134
6135
6136 static PyObject *_wrap_HtmlWindow_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6137 PyObject *resultobj;
6138 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6139 wxString *arg2 = 0 ;
6140 bool result;
6141 bool temp2 = False ;
6142 PyObject * obj0 = 0 ;
6143 PyObject * obj1 = 0 ;
6144 char *kwnames[] = {
6145 (char *) "self",(char *) "filename", NULL
6146 };
6147
6148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadFile",kwnames,&obj0,&obj1)) goto fail;
6149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6151 {
6152 arg2 = wxString_in_helper(obj1);
6153 if (arg2 == NULL) SWIG_fail;
6154 temp2 = True;
6155 }
6156 {
6157 PyThreadState* __tstate = wxPyBeginAllowThreads();
6158 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
6159
6160 wxPyEndAllowThreads(__tstate);
6161 if (PyErr_Occurred()) SWIG_fail;
6162 }
6163 {
6164 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6165 }
6166 {
6167 if (temp2)
6168 delete arg2;
6169 }
6170 return resultobj;
6171 fail:
6172 {
6173 if (temp2)
6174 delete arg2;
6175 }
6176 return NULL;
6177 }
6178
6179
6180 static PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
6181 PyObject *resultobj;
6182 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6183 wxString *arg2 = 0 ;
6184 bool result;
6185 bool temp2 = False ;
6186 PyObject * obj0 = 0 ;
6187 PyObject * obj1 = 0 ;
6188 char *kwnames[] = {
6189 (char *) "self",(char *) "source", NULL
6190 };
6191
6192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_AppendToPage",kwnames,&obj0,&obj1)) goto fail;
6193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6195 {
6196 arg2 = wxString_in_helper(obj1);
6197 if (arg2 == NULL) SWIG_fail;
6198 temp2 = True;
6199 }
6200 {
6201 PyThreadState* __tstate = wxPyBeginAllowThreads();
6202 result = (bool)(arg1)->AppendToPage((wxString const &)*arg2);
6203
6204 wxPyEndAllowThreads(__tstate);
6205 if (PyErr_Occurred()) SWIG_fail;
6206 }
6207 {
6208 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6209 }
6210 {
6211 if (temp2)
6212 delete arg2;
6213 }
6214 return resultobj;
6215 fail:
6216 {
6217 if (temp2)
6218 delete arg2;
6219 }
6220 return NULL;
6221 }
6222
6223
6224 static PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *self, PyObject *args, PyObject *kwargs) {
6225 PyObject *resultobj;
6226 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6227 wxString result;
6228 PyObject * obj0 = 0 ;
6229 char *kwnames[] = {
6230 (char *) "self", NULL
6231 };
6232
6233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPage",kwnames,&obj0)) goto fail;
6234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6236 {
6237 PyThreadState* __tstate = wxPyBeginAllowThreads();
6238 result = (arg1)->GetOpenedPage();
6239
6240 wxPyEndAllowThreads(__tstate);
6241 if (PyErr_Occurred()) SWIG_fail;
6242 }
6243 {
6244 #if wxUSE_UNICODE
6245 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6246 #else
6247 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6248 #endif
6249 }
6250 return resultobj;
6251 fail:
6252 return NULL;
6253 }
6254
6255
6256 static PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
6257 PyObject *resultobj;
6258 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6259 wxString result;
6260 PyObject * obj0 = 0 ;
6261 char *kwnames[] = {
6262 (char *) "self", NULL
6263 };
6264
6265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedAnchor",kwnames,&obj0)) goto fail;
6266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6268 {
6269 PyThreadState* __tstate = wxPyBeginAllowThreads();
6270 result = (arg1)->GetOpenedAnchor();
6271
6272 wxPyEndAllowThreads(__tstate);
6273 if (PyErr_Occurred()) SWIG_fail;
6274 }
6275 {
6276 #if wxUSE_UNICODE
6277 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6278 #else
6279 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6280 #endif
6281 }
6282 return resultobj;
6283 fail:
6284 return NULL;
6285 }
6286
6287
6288 static PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
6289 PyObject *resultobj;
6290 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6291 wxString result;
6292 PyObject * obj0 = 0 ;
6293 char *kwnames[] = {
6294 (char *) "self", NULL
6295 };
6296
6297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPageTitle",kwnames,&obj0)) goto fail;
6298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6300 {
6301 PyThreadState* __tstate = wxPyBeginAllowThreads();
6302 result = (arg1)->GetOpenedPageTitle();
6303
6304 wxPyEndAllowThreads(__tstate);
6305 if (PyErr_Occurred()) SWIG_fail;
6306 }
6307 {
6308 #if wxUSE_UNICODE
6309 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6310 #else
6311 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6312 #endif
6313 }
6314 return resultobj;
6315 fail:
6316 return NULL;
6317 }
6318
6319
6320 static PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
6321 PyObject *resultobj;
6322 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6323 wxFrame *arg2 = (wxFrame *) 0 ;
6324 wxString *arg3 = 0 ;
6325 bool temp3 = False ;
6326 PyObject * obj0 = 0 ;
6327 PyObject * obj1 = 0 ;
6328 PyObject * obj2 = 0 ;
6329 char *kwnames[] = {
6330 (char *) "self",(char *) "frame",(char *) "format", NULL
6331 };
6332
6333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
6334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6336 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
6337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6338 {
6339 arg3 = wxString_in_helper(obj2);
6340 if (arg3 == NULL) SWIG_fail;
6341 temp3 = True;
6342 }
6343 {
6344 PyThreadState* __tstate = wxPyBeginAllowThreads();
6345 (arg1)->SetRelatedFrame(arg2,(wxString const &)*arg3);
6346
6347 wxPyEndAllowThreads(__tstate);
6348 if (PyErr_Occurred()) SWIG_fail;
6349 }
6350 Py_INCREF(Py_None); resultobj = Py_None;
6351 {
6352 if (temp3)
6353 delete arg3;
6354 }
6355 return resultobj;
6356 fail:
6357 {
6358 if (temp3)
6359 delete arg3;
6360 }
6361 return NULL;
6362 }
6363
6364
6365 static PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
6366 PyObject *resultobj;
6367 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6368 wxFrame *result;
6369 PyObject * obj0 = 0 ;
6370 char *kwnames[] = {
6371 (char *) "self", NULL
6372 };
6373
6374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetRelatedFrame",kwnames,&obj0)) goto fail;
6375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6377 {
6378 PyThreadState* __tstate = wxPyBeginAllowThreads();
6379 result = (wxFrame *)(arg1)->GetRelatedFrame();
6380
6381 wxPyEndAllowThreads(__tstate);
6382 if (PyErr_Occurred()) SWIG_fail;
6383 }
6384 {
6385 resultobj = wxPyMake_wxObject(result, 0);
6386 }
6387 return resultobj;
6388 fail:
6389 return NULL;
6390 }
6391
6392
6393 static PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
6394 PyObject *resultobj;
6395 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6396 int arg2 ;
6397 PyObject * obj0 = 0 ;
6398 PyObject * obj1 = 0 ;
6399 char *kwnames[] = {
6400 (char *) "self",(char *) "bar", NULL
6401 };
6402
6403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames,&obj0,&obj1)) goto fail;
6404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6406 arg2 = (int) SWIG_AsInt(obj1);
6407 if (PyErr_Occurred()) SWIG_fail;
6408 {
6409 PyThreadState* __tstate = wxPyBeginAllowThreads();
6410 (arg1)->SetRelatedStatusBar(arg2);
6411
6412 wxPyEndAllowThreads(__tstate);
6413 if (PyErr_Occurred()) SWIG_fail;
6414 }
6415 Py_INCREF(Py_None); resultobj = Py_None;
6416 return resultobj;
6417 fail:
6418 return NULL;
6419 }
6420
6421
6422 static PyObject *_wrap_HtmlWindow_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
6423 PyObject *resultobj;
6424 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6425 wxString arg2 ;
6426 wxString arg3 ;
6427 PyObject *arg4 = (PyObject *) NULL ;
6428 PyObject * obj0 = 0 ;
6429 PyObject * obj1 = 0 ;
6430 PyObject * obj2 = 0 ;
6431 PyObject * obj3 = 0 ;
6432 char *kwnames[] = {
6433 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
6434 };
6435
6436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6439 {
6440 wxString* sptr = wxString_in_helper(obj1);
6441 if (sptr == NULL) SWIG_fail;
6442 arg2 = *sptr;
6443 delete sptr;
6444 }
6445 {
6446 wxString* sptr = wxString_in_helper(obj2);
6447 if (sptr == NULL) SWIG_fail;
6448 arg3 = *sptr;
6449 delete sptr;
6450 }
6451 if (obj3) {
6452 arg4 = obj3;
6453 }
6454 {
6455 PyThreadState* __tstate = wxPyBeginAllowThreads();
6456 wxPyHtmlWindow_SetFonts(arg1,arg2,arg3,arg4);
6457
6458 wxPyEndAllowThreads(__tstate);
6459 if (PyErr_Occurred()) SWIG_fail;
6460 }
6461 Py_INCREF(Py_None); resultobj = Py_None;
6462 return resultobj;
6463 fail:
6464 return NULL;
6465 }
6466
6467
6468 static PyObject *_wrap_HtmlWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
6469 PyObject *resultobj;
6470 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6471 wxString *arg2 = 0 ;
6472 bool temp2 = False ;
6473 PyObject * obj0 = 0 ;
6474 PyObject * obj1 = 0 ;
6475 char *kwnames[] = {
6476 (char *) "self",(char *) "title", NULL
6477 };
6478
6479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
6480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6482 {
6483 arg2 = wxString_in_helper(obj1);
6484 if (arg2 == NULL) SWIG_fail;
6485 temp2 = True;
6486 }
6487 {
6488 PyThreadState* __tstate = wxPyBeginAllowThreads();
6489 (arg1)->SetTitle((wxString const &)*arg2);
6490
6491 wxPyEndAllowThreads(__tstate);
6492 if (PyErr_Occurred()) SWIG_fail;
6493 }
6494 Py_INCREF(Py_None); resultobj = Py_None;
6495 {
6496 if (temp2)
6497 delete arg2;
6498 }
6499 return resultobj;
6500 fail:
6501 {
6502 if (temp2)
6503 delete arg2;
6504 }
6505 return NULL;
6506 }
6507
6508
6509 static PyObject *_wrap_HtmlWindow_SetBorders(PyObject *self, PyObject *args, PyObject *kwargs) {
6510 PyObject *resultobj;
6511 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6512 int arg2 ;
6513 PyObject * obj0 = 0 ;
6514 PyObject * obj1 = 0 ;
6515 char *kwnames[] = {
6516 (char *) "self",(char *) "b", NULL
6517 };
6518
6519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBorders",kwnames,&obj0,&obj1)) goto fail;
6520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6522 arg2 = (int) SWIG_AsInt(obj1);
6523 if (PyErr_Occurred()) SWIG_fail;
6524 {
6525 PyThreadState* __tstate = wxPyBeginAllowThreads();
6526 (arg1)->SetBorders(arg2);
6527
6528 wxPyEndAllowThreads(__tstate);
6529 if (PyErr_Occurred()) SWIG_fail;
6530 }
6531 Py_INCREF(Py_None); resultobj = Py_None;
6532 return resultobj;
6533 fail:
6534 return NULL;
6535 }
6536
6537
6538 static PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
6539 PyObject *resultobj;
6540 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6541 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
6542 wxString arg3 = (wxString) wxPyEmptyString ;
6543 PyObject * obj0 = 0 ;
6544 PyObject * obj1 = 0 ;
6545 PyObject * obj2 = 0 ;
6546 char *kwnames[] = {
6547 (char *) "self",(char *) "cfg",(char *) "path", NULL
6548 };
6549
6550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
6551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6553 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
6554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6555 if (obj2) {
6556 {
6557 wxString* sptr = wxString_in_helper(obj2);
6558 if (sptr == NULL) SWIG_fail;
6559 arg3 = *sptr;
6560 delete sptr;
6561 }
6562 }
6563 {
6564 PyThreadState* __tstate = wxPyBeginAllowThreads();
6565 (arg1)->ReadCustomization(arg2,arg3);
6566
6567 wxPyEndAllowThreads(__tstate);
6568 if (PyErr_Occurred()) SWIG_fail;
6569 }
6570 Py_INCREF(Py_None); resultobj = Py_None;
6571 return resultobj;
6572 fail:
6573 return NULL;
6574 }
6575
6576
6577 static PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
6578 PyObject *resultobj;
6579 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6580 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
6581 wxString arg3 = (wxString) wxPyEmptyString ;
6582 PyObject * obj0 = 0 ;
6583 PyObject * obj1 = 0 ;
6584 PyObject * obj2 = 0 ;
6585 char *kwnames[] = {
6586 (char *) "self",(char *) "cfg",(char *) "path", NULL
6587 };
6588
6589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
6590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6592 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
6593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6594 if (obj2) {
6595 {
6596 wxString* sptr = wxString_in_helper(obj2);
6597 if (sptr == NULL) SWIG_fail;
6598 arg3 = *sptr;
6599 delete sptr;
6600 }
6601 }
6602 {
6603 PyThreadState* __tstate = wxPyBeginAllowThreads();
6604 (arg1)->WriteCustomization(arg2,arg3);
6605
6606 wxPyEndAllowThreads(__tstate);
6607 if (PyErr_Occurred()) SWIG_fail;
6608 }
6609 Py_INCREF(Py_None); resultobj = Py_None;
6610 return resultobj;
6611 fail:
6612 return NULL;
6613 }
6614
6615
6616 static PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *self, PyObject *args, PyObject *kwargs) {
6617 PyObject *resultobj;
6618 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6619 bool result;
6620 PyObject * obj0 = 0 ;
6621 char *kwnames[] = {
6622 (char *) "self", NULL
6623 };
6624
6625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryBack",kwnames,&obj0)) goto fail;
6626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6628 {
6629 PyThreadState* __tstate = wxPyBeginAllowThreads();
6630 result = (bool)(arg1)->HistoryBack();
6631
6632 wxPyEndAllowThreads(__tstate);
6633 if (PyErr_Occurred()) SWIG_fail;
6634 }
6635 {
6636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6637 }
6638 return resultobj;
6639 fail:
6640 return NULL;
6641 }
6642
6643
6644 static PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *self, PyObject *args, PyObject *kwargs) {
6645 PyObject *resultobj;
6646 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6647 bool result;
6648 PyObject * obj0 = 0 ;
6649 char *kwnames[] = {
6650 (char *) "self", NULL
6651 };
6652
6653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryForward",kwnames,&obj0)) goto fail;
6654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6656 {
6657 PyThreadState* __tstate = wxPyBeginAllowThreads();
6658 result = (bool)(arg1)->HistoryForward();
6659
6660 wxPyEndAllowThreads(__tstate);
6661 if (PyErr_Occurred()) SWIG_fail;
6662 }
6663 {
6664 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6665 }
6666 return resultobj;
6667 fail:
6668 return NULL;
6669 }
6670
6671
6672 static PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *self, PyObject *args, PyObject *kwargs) {
6673 PyObject *resultobj;
6674 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6675 bool result;
6676 PyObject * obj0 = 0 ;
6677 char *kwnames[] = {
6678 (char *) "self", NULL
6679 };
6680
6681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanBack",kwnames,&obj0)) goto fail;
6682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6684 {
6685 PyThreadState* __tstate = wxPyBeginAllowThreads();
6686 result = (bool)(arg1)->HistoryCanBack();
6687
6688 wxPyEndAllowThreads(__tstate);
6689 if (PyErr_Occurred()) SWIG_fail;
6690 }
6691 {
6692 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6693 }
6694 return resultobj;
6695 fail:
6696 return NULL;
6697 }
6698
6699
6700 static PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *self, PyObject *args, PyObject *kwargs) {
6701 PyObject *resultobj;
6702 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6703 bool result;
6704 PyObject * obj0 = 0 ;
6705 char *kwnames[] = {
6706 (char *) "self", NULL
6707 };
6708
6709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanForward",kwnames,&obj0)) goto fail;
6710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6712 {
6713 PyThreadState* __tstate = wxPyBeginAllowThreads();
6714 result = (bool)(arg1)->HistoryCanForward();
6715
6716 wxPyEndAllowThreads(__tstate);
6717 if (PyErr_Occurred()) SWIG_fail;
6718 }
6719 {
6720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6721 }
6722 return resultobj;
6723 fail:
6724 return NULL;
6725 }
6726
6727
6728 static PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *self, PyObject *args, PyObject *kwargs) {
6729 PyObject *resultobj;
6730 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6731 PyObject * obj0 = 0 ;
6732 char *kwnames[] = {
6733 (char *) "self", NULL
6734 };
6735
6736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryClear",kwnames,&obj0)) goto fail;
6737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6739 {
6740 PyThreadState* __tstate = wxPyBeginAllowThreads();
6741 (arg1)->HistoryClear();
6742
6743 wxPyEndAllowThreads(__tstate);
6744 if (PyErr_Occurred()) SWIG_fail;
6745 }
6746 Py_INCREF(Py_None); resultobj = Py_None;
6747 return resultobj;
6748 fail:
6749 return NULL;
6750 }
6751
6752
6753 static PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *self, PyObject *args, PyObject *kwargs) {
6754 PyObject *resultobj;
6755 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6756 wxHtmlContainerCell *result;
6757 PyObject * obj0 = 0 ;
6758 char *kwnames[] = {
6759 (char *) "self", NULL
6760 };
6761
6762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetInternalRepresentation",kwnames,&obj0)) goto fail;
6763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6765 {
6766 PyThreadState* __tstate = wxPyBeginAllowThreads();
6767 result = (wxHtmlContainerCell *)(arg1)->GetInternalRepresentation();
6768
6769 wxPyEndAllowThreads(__tstate);
6770 if (PyErr_Occurred()) SWIG_fail;
6771 }
6772 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
6773 return resultobj;
6774 fail:
6775 return NULL;
6776 }
6777
6778
6779 static PyObject *_wrap_HtmlWindow_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
6780 PyObject *resultobj;
6781 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6782 wxHtmlWinParser *result;
6783 PyObject * obj0 = 0 ;
6784 char *kwnames[] = {
6785 (char *) "self", NULL
6786 };
6787
6788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetParser",kwnames,&obj0)) goto fail;
6789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6791 {
6792 PyThreadState* __tstate = wxPyBeginAllowThreads();
6793 result = (wxHtmlWinParser *)(arg1)->GetParser();
6794
6795 wxPyEndAllowThreads(__tstate);
6796 if (PyErr_Occurred()) SWIG_fail;
6797 }
6798 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0);
6799 return resultobj;
6800 fail:
6801 return NULL;
6802 }
6803
6804
6805 static PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
6806 PyObject *resultobj;
6807 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6808 wxString *arg2 = 0 ;
6809 bool result;
6810 bool temp2 = False ;
6811 PyObject * obj0 = 0 ;
6812 PyObject * obj1 = 0 ;
6813 char *kwnames[] = {
6814 (char *) "self",(char *) "anchor", NULL
6815 };
6816
6817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames,&obj0,&obj1)) goto fail;
6818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6820 {
6821 arg2 = wxString_in_helper(obj1);
6822 if (arg2 == NULL) SWIG_fail;
6823 temp2 = True;
6824 }
6825 {
6826 PyThreadState* __tstate = wxPyBeginAllowThreads();
6827 result = (bool)(arg1)->ScrollToAnchor((wxString const &)*arg2);
6828
6829 wxPyEndAllowThreads(__tstate);
6830 if (PyErr_Occurred()) SWIG_fail;
6831 }
6832 {
6833 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6834 }
6835 {
6836 if (temp2)
6837 delete arg2;
6838 }
6839 return resultobj;
6840 fail:
6841 {
6842 if (temp2)
6843 delete arg2;
6844 }
6845 return NULL;
6846 }
6847
6848
6849 static PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
6850 PyObject *resultobj;
6851 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6852 wxString *arg2 = 0 ;
6853 bool result;
6854 bool temp2 = False ;
6855 PyObject * obj0 = 0 ;
6856 PyObject * obj1 = 0 ;
6857 char *kwnames[] = {
6858 (char *) "self",(char *) "anchor", NULL
6859 };
6860
6861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_HasAnchor",kwnames,&obj0,&obj1)) goto fail;
6862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6864 {
6865 arg2 = wxString_in_helper(obj1);
6866 if (arg2 == NULL) SWIG_fail;
6867 temp2 = True;
6868 }
6869 {
6870 PyThreadState* __tstate = wxPyBeginAllowThreads();
6871 result = (bool)(arg1)->HasAnchor((wxString const &)*arg2);
6872
6873 wxPyEndAllowThreads(__tstate);
6874 if (PyErr_Occurred()) SWIG_fail;
6875 }
6876 {
6877 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6878 }
6879 {
6880 if (temp2)
6881 delete arg2;
6882 }
6883 return resultobj;
6884 fail:
6885 {
6886 if (temp2)
6887 delete arg2;
6888 }
6889 return NULL;
6890 }
6891
6892
6893 static PyObject *_wrap_HtmlWindow_AddFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
6894 PyObject *resultobj;
6895 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
6896 PyObject * obj0 = 0 ;
6897 char *kwnames[] = {
6898 (char *) "filter", NULL
6899 };
6900
6901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_AddFilter",kwnames,&obj0)) goto fail;
6902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlFilter,
6903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6904 {
6905 PyThreadState* __tstate = wxPyBeginAllowThreads();
6906 wxPyHtmlWindow::AddFilter(arg1);
6907
6908 wxPyEndAllowThreads(__tstate);
6909 if (PyErr_Occurred()) SWIG_fail;
6910 }
6911 Py_INCREF(Py_None); resultobj = Py_None;
6912 return resultobj;
6913 fail:
6914 return NULL;
6915 }
6916
6917
6918 static PyObject *_wrap_HtmlWindow_SelectWord(PyObject *self, PyObject *args, PyObject *kwargs) {
6919 PyObject *resultobj;
6920 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6921 wxPoint *arg2 = 0 ;
6922 wxPoint temp2 ;
6923 PyObject * obj0 = 0 ;
6924 PyObject * obj1 = 0 ;
6925 char *kwnames[] = {
6926 (char *) "self",(char *) "pos", NULL
6927 };
6928
6929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectWord",kwnames,&obj0,&obj1)) goto fail;
6930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6932 {
6933 arg2 = &temp2;
6934 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6935 }
6936 {
6937 PyThreadState* __tstate = wxPyBeginAllowThreads();
6938 (arg1)->SelectWord((wxPoint const &)*arg2);
6939
6940 wxPyEndAllowThreads(__tstate);
6941 if (PyErr_Occurred()) SWIG_fail;
6942 }
6943 Py_INCREF(Py_None); resultobj = Py_None;
6944 return resultobj;
6945 fail:
6946 return NULL;
6947 }
6948
6949
6950 static PyObject *_wrap_HtmlWindow_SelectLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6951 PyObject *resultobj;
6952 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6953 wxPoint *arg2 = 0 ;
6954 wxPoint temp2 ;
6955 PyObject * obj0 = 0 ;
6956 PyObject * obj1 = 0 ;
6957 char *kwnames[] = {
6958 (char *) "self",(char *) "pos", NULL
6959 };
6960
6961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectLine",kwnames,&obj0,&obj1)) goto fail;
6962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6964 {
6965 arg2 = &temp2;
6966 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6967 }
6968 {
6969 PyThreadState* __tstate = wxPyBeginAllowThreads();
6970 (arg1)->SelectLine((wxPoint const &)*arg2);
6971
6972 wxPyEndAllowThreads(__tstate);
6973 if (PyErr_Occurred()) SWIG_fail;
6974 }
6975 Py_INCREF(Py_None); resultobj = Py_None;
6976 return resultobj;
6977 fail:
6978 return NULL;
6979 }
6980
6981
6982 static PyObject *_wrap_HtmlWindow_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
6983 PyObject *resultobj;
6984 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6985 PyObject * obj0 = 0 ;
6986 char *kwnames[] = {
6987 (char *) "self", NULL
6988 };
6989
6990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_SelectAll",kwnames,&obj0)) goto fail;
6991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6993 {
6994 PyThreadState* __tstate = wxPyBeginAllowThreads();
6995 (arg1)->SelectAll();
6996
6997 wxPyEndAllowThreads(__tstate);
6998 if (PyErr_Occurred()) SWIG_fail;
6999 }
7000 Py_INCREF(Py_None); resultobj = Py_None;
7001 return resultobj;
7002 fail:
7003 return NULL;
7004 }
7005
7006
7007 static PyObject *_wrap_HtmlWindow_SelectionToText(PyObject *self, PyObject *args, PyObject *kwargs) {
7008 PyObject *resultobj;
7009 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7010 wxString result;
7011 PyObject * obj0 = 0 ;
7012 char *kwnames[] = {
7013 (char *) "self", NULL
7014 };
7015
7016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_SelectionToText",kwnames,&obj0)) goto fail;
7017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7019 {
7020 PyThreadState* __tstate = wxPyBeginAllowThreads();
7021 result = (arg1)->SelectionToText();
7022
7023 wxPyEndAllowThreads(__tstate);
7024 if (PyErr_Occurred()) SWIG_fail;
7025 }
7026 {
7027 #if wxUSE_UNICODE
7028 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7029 #else
7030 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7031 #endif
7032 }
7033 return resultobj;
7034 fail:
7035 return NULL;
7036 }
7037
7038
7039 static PyObject *_wrap_HtmlWindow_ToText(PyObject *self, PyObject *args, PyObject *kwargs) {
7040 PyObject *resultobj;
7041 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7042 wxString result;
7043 PyObject * obj0 = 0 ;
7044 char *kwnames[] = {
7045 (char *) "self", NULL
7046 };
7047
7048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_ToText",kwnames,&obj0)) goto fail;
7049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7051 {
7052 PyThreadState* __tstate = wxPyBeginAllowThreads();
7053 result = (arg1)->ToText();
7054
7055 wxPyEndAllowThreads(__tstate);
7056 if (PyErr_Occurred()) SWIG_fail;
7057 }
7058 {
7059 #if wxUSE_UNICODE
7060 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7061 #else
7062 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7063 #endif
7064 }
7065 return resultobj;
7066 fail:
7067 return NULL;
7068 }
7069
7070
7071 static PyObject *_wrap_HtmlWindow_base_OnLinkClicked(PyObject *self, PyObject *args, PyObject *kwargs) {
7072 PyObject *resultobj;
7073 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7074 wxHtmlLinkInfo *arg2 = 0 ;
7075 PyObject * obj0 = 0 ;
7076 PyObject * obj1 = 0 ;
7077 char *kwnames[] = {
7078 (char *) "self",(char *) "link", NULL
7079 };
7080
7081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnLinkClicked",kwnames,&obj0,&obj1)) goto fail;
7082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7084 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlLinkInfo,
7085 SWIG_POINTER_EXCEPTION | 0)) == -1)
7086 SWIG_fail;
7087 if (arg2 == NULL) {
7088 PyErr_SetString(PyExc_TypeError,"null reference");
7089 SWIG_fail;
7090 }
7091 {
7092 PyThreadState* __tstate = wxPyBeginAllowThreads();
7093 (arg1)->base_OnLinkClicked((wxHtmlLinkInfo const &)*arg2);
7094
7095 wxPyEndAllowThreads(__tstate);
7096 if (PyErr_Occurred()) SWIG_fail;
7097 }
7098 Py_INCREF(Py_None); resultobj = Py_None;
7099 return resultobj;
7100 fail:
7101 return NULL;
7102 }
7103
7104
7105 static PyObject *_wrap_HtmlWindow_base_OnSetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
7106 PyObject *resultobj;
7107 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7108 wxString *arg2 = 0 ;
7109 bool temp2 = False ;
7110 PyObject * obj0 = 0 ;
7111 PyObject * obj1 = 0 ;
7112 char *kwnames[] = {
7113 (char *) "self",(char *) "title", NULL
7114 };
7115
7116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnSetTitle",kwnames,&obj0,&obj1)) goto fail;
7117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7119 {
7120 arg2 = wxString_in_helper(obj1);
7121 if (arg2 == NULL) SWIG_fail;
7122 temp2 = True;
7123 }
7124 {
7125 PyThreadState* __tstate = wxPyBeginAllowThreads();
7126 (arg1)->base_OnSetTitle((wxString const &)*arg2);
7127
7128 wxPyEndAllowThreads(__tstate);
7129 if (PyErr_Occurred()) SWIG_fail;
7130 }
7131 Py_INCREF(Py_None); resultobj = Py_None;
7132 {
7133 if (temp2)
7134 delete arg2;
7135 }
7136 return resultobj;
7137 fail:
7138 {
7139 if (temp2)
7140 delete arg2;
7141 }
7142 return NULL;
7143 }
7144
7145
7146 static PyObject *_wrap_HtmlWindow_base_OnCellMouseHover(PyObject *self, PyObject *args, PyObject *kwargs) {
7147 PyObject *resultobj;
7148 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7149 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
7150 int arg3 ;
7151 int arg4 ;
7152 PyObject * obj0 = 0 ;
7153 PyObject * obj1 = 0 ;
7154 PyObject * obj2 = 0 ;
7155 PyObject * obj3 = 0 ;
7156 char *kwnames[] = {
7157 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
7158 };
7159
7160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_base_OnCellMouseHover",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7163 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
7164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7165 arg3 = (int) SWIG_AsInt(obj2);
7166 if (PyErr_Occurred()) SWIG_fail;
7167 arg4 = (int) SWIG_AsInt(obj3);
7168 if (PyErr_Occurred()) SWIG_fail;
7169 {
7170 PyThreadState* __tstate = wxPyBeginAllowThreads();
7171 (arg1)->base_OnCellMouseHover(arg2,arg3,arg4);
7172
7173 wxPyEndAllowThreads(__tstate);
7174 if (PyErr_Occurred()) SWIG_fail;
7175 }
7176 Py_INCREF(Py_None); resultobj = Py_None;
7177 return resultobj;
7178 fail:
7179 return NULL;
7180 }
7181
7182
7183 static PyObject *_wrap_HtmlWindow_base_OnCellClicked(PyObject *self, PyObject *args, PyObject *kwargs) {
7184 PyObject *resultobj;
7185 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7186 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
7187 int arg3 ;
7188 int arg4 ;
7189 wxMouseEvent *arg5 = 0 ;
7190 PyObject * obj0 = 0 ;
7191 PyObject * obj1 = 0 ;
7192 PyObject * obj2 = 0 ;
7193 PyObject * obj3 = 0 ;
7194 PyObject * obj4 = 0 ;
7195 char *kwnames[] = {
7196 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
7197 };
7198
7199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlWindow_base_OnCellClicked",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
7200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7202 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
7203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7204 arg3 = (int) SWIG_AsInt(obj2);
7205 if (PyErr_Occurred()) SWIG_fail;
7206 arg4 = (int) SWIG_AsInt(obj3);
7207 if (PyErr_Occurred()) SWIG_fail;
7208 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxMouseEvent,
7209 SWIG_POINTER_EXCEPTION | 0)) == -1)
7210 SWIG_fail;
7211 if (arg5 == NULL) {
7212 PyErr_SetString(PyExc_TypeError,"null reference");
7213 SWIG_fail;
7214 }
7215 {
7216 PyThreadState* __tstate = wxPyBeginAllowThreads();
7217 (arg1)->base_OnCellClicked(arg2,arg3,arg4,(wxMouseEvent const &)*arg5);
7218
7219 wxPyEndAllowThreads(__tstate);
7220 if (PyErr_Occurred()) SWIG_fail;
7221 }
7222 Py_INCREF(Py_None); resultobj = Py_None;
7223 return resultobj;
7224 fail:
7225 return NULL;
7226 }
7227
7228
7229 static PyObject *_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
7230 PyObject *resultobj;
7231 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
7232 wxVisualAttributes result;
7233 PyObject * obj0 = 0 ;
7234 char *kwnames[] = {
7235 (char *) "variant", NULL
7236 };
7237
7238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7239 if (obj0) {
7240 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
7241 if (PyErr_Occurred()) SWIG_fail;
7242 }
7243 {
7244 if (!wxPyCheckForApp()) SWIG_fail;
7245 PyThreadState* __tstate = wxPyBeginAllowThreads();
7246 result = wxPyHtmlWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
7247
7248 wxPyEndAllowThreads(__tstate);
7249 if (PyErr_Occurred()) SWIG_fail;
7250 }
7251 {
7252 wxVisualAttributes * resultptr;
7253 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
7254 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7255 }
7256 return resultobj;
7257 fail:
7258 return NULL;
7259 }
7260
7261
7262 static PyObject * HtmlWindow_swigregister(PyObject *self, PyObject *args) {
7263 PyObject *obj;
7264 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7265 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWindow, obj);
7266 Py_INCREF(obj);
7267 return Py_BuildValue((char *)"");
7268 }
7269 static PyObject *_wrap_new_HtmlDCRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
7270 PyObject *resultobj;
7271 wxHtmlDCRenderer *result;
7272 char *kwnames[] = {
7273 NULL
7274 };
7275
7276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlDCRenderer",kwnames)) goto fail;
7277 {
7278 if (!wxPyCheckForApp()) SWIG_fail;
7279 PyThreadState* __tstate = wxPyBeginAllowThreads();
7280 result = (wxHtmlDCRenderer *)new wxHtmlDCRenderer();
7281
7282 wxPyEndAllowThreads(__tstate);
7283 if (PyErr_Occurred()) SWIG_fail;
7284 }
7285 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlDCRenderer, 1);
7286 return resultobj;
7287 fail:
7288 return NULL;
7289 }
7290
7291
7292 static PyObject *_wrap_delete_HtmlDCRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
7293 PyObject *resultobj;
7294 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7295 PyObject * obj0 = 0 ;
7296 char *kwnames[] = {
7297 (char *) "self", NULL
7298 };
7299
7300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlDCRenderer",kwnames,&obj0)) goto fail;
7301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7303 {
7304 PyThreadState* __tstate = wxPyBeginAllowThreads();
7305 delete arg1;
7306
7307 wxPyEndAllowThreads(__tstate);
7308 if (PyErr_Occurred()) SWIG_fail;
7309 }
7310 Py_INCREF(Py_None); resultobj = Py_None;
7311 return resultobj;
7312 fail:
7313 return NULL;
7314 }
7315
7316
7317 static PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
7318 PyObject *resultobj;
7319 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7320 wxDC *arg2 = (wxDC *) 0 ;
7321 int arg3 ;
7322 PyObject * obj0 = 0 ;
7323 PyObject * obj1 = 0 ;
7324 PyObject * obj2 = 0 ;
7325 char *kwnames[] = {
7326 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
7327 };
7328
7329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames,&obj0,&obj1,&obj2)) goto fail;
7330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7332 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
7333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7334 arg3 = (int) SWIG_AsInt(obj2);
7335 if (PyErr_Occurred()) SWIG_fail;
7336 {
7337 PyThreadState* __tstate = wxPyBeginAllowThreads();
7338 (arg1)->SetDC(arg2,arg3);
7339
7340 wxPyEndAllowThreads(__tstate);
7341 if (PyErr_Occurred()) SWIG_fail;
7342 }
7343 Py_INCREF(Py_None); resultobj = Py_None;
7344 return resultobj;
7345 fail:
7346 return NULL;
7347 }
7348
7349
7350 static PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7351 PyObject *resultobj;
7352 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7353 int arg2 ;
7354 int arg3 ;
7355 PyObject * obj0 = 0 ;
7356 PyObject * obj1 = 0 ;
7357 PyObject * obj2 = 0 ;
7358 char *kwnames[] = {
7359 (char *) "self",(char *) "width",(char *) "height", NULL
7360 };
7361
7362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
7363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7365 arg2 = (int) SWIG_AsInt(obj1);
7366 if (PyErr_Occurred()) SWIG_fail;
7367 arg3 = (int) SWIG_AsInt(obj2);
7368 if (PyErr_Occurred()) SWIG_fail;
7369 {
7370 PyThreadState* __tstate = wxPyBeginAllowThreads();
7371 (arg1)->SetSize(arg2,arg3);
7372
7373 wxPyEndAllowThreads(__tstate);
7374 if (PyErr_Occurred()) SWIG_fail;
7375 }
7376 Py_INCREF(Py_None); resultobj = Py_None;
7377 return resultobj;
7378 fail:
7379 return NULL;
7380 }
7381
7382
7383 static PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *self, PyObject *args, PyObject *kwargs) {
7384 PyObject *resultobj;
7385 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7386 wxString *arg2 = 0 ;
7387 wxString const &arg3_defvalue = wxPyEmptyString ;
7388 wxString *arg3 = (wxString *) &arg3_defvalue ;
7389 bool arg4 = (bool) True ;
7390 bool temp2 = False ;
7391 bool temp3 = False ;
7392 PyObject * obj0 = 0 ;
7393 PyObject * obj1 = 0 ;
7394 PyObject * obj2 = 0 ;
7395 PyObject * obj3 = 0 ;
7396 char *kwnames[] = {
7397 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
7398 };
7399
7400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7403 {
7404 arg2 = wxString_in_helper(obj1);
7405 if (arg2 == NULL) SWIG_fail;
7406 temp2 = True;
7407 }
7408 if (obj2) {
7409 {
7410 arg3 = wxString_in_helper(obj2);
7411 if (arg3 == NULL) SWIG_fail;
7412 temp3 = True;
7413 }
7414 }
7415 if (obj3) {
7416 arg4 = (bool) SWIG_AsBool(obj3);
7417 if (PyErr_Occurred()) SWIG_fail;
7418 }
7419 {
7420 PyThreadState* __tstate = wxPyBeginAllowThreads();
7421 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
7422
7423 wxPyEndAllowThreads(__tstate);
7424 if (PyErr_Occurred()) SWIG_fail;
7425 }
7426 Py_INCREF(Py_None); resultobj = Py_None;
7427 {
7428 if (temp2)
7429 delete arg2;
7430 }
7431 {
7432 if (temp3)
7433 delete arg3;
7434 }
7435 return resultobj;
7436 fail:
7437 {
7438 if (temp2)
7439 delete arg2;
7440 }
7441 {
7442 if (temp3)
7443 delete arg3;
7444 }
7445 return NULL;
7446 }
7447
7448
7449 static PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
7450 PyObject *resultobj;
7451 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7452 wxString arg2 ;
7453 wxString arg3 ;
7454 PyObject *arg4 = (PyObject *) NULL ;
7455 PyObject * obj0 = 0 ;
7456 PyObject * obj1 = 0 ;
7457 PyObject * obj2 = 0 ;
7458 PyObject * obj3 = 0 ;
7459 char *kwnames[] = {
7460 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
7461 };
7462
7463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7466 {
7467 wxString* sptr = wxString_in_helper(obj1);
7468 if (sptr == NULL) SWIG_fail;
7469 arg2 = *sptr;
7470 delete sptr;
7471 }
7472 {
7473 wxString* sptr = wxString_in_helper(obj2);
7474 if (sptr == NULL) SWIG_fail;
7475 arg3 = *sptr;
7476 delete sptr;
7477 }
7478 if (obj3) {
7479 arg4 = obj3;
7480 }
7481 {
7482 PyThreadState* __tstate = wxPyBeginAllowThreads();
7483 wxHtmlDCRenderer_SetFonts(arg1,arg2,arg3,arg4);
7484
7485 wxPyEndAllowThreads(__tstate);
7486 if (PyErr_Occurred()) SWIG_fail;
7487 }
7488 Py_INCREF(Py_None); resultobj = Py_None;
7489 return resultobj;
7490 fail:
7491 return NULL;
7492 }
7493
7494
7495 static PyObject *_wrap_HtmlDCRenderer_Render(PyObject *self, PyObject *args, PyObject *kwargs) {
7496 PyObject *resultobj;
7497 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7498 int arg2 ;
7499 int arg3 ;
7500 int arg4 = (int) 0 ;
7501 int arg5 = (int) False ;
7502 int arg6 = (int) INT_MAX ;
7503 int *arg7 = (int *) NULL ;
7504 int arg8 = (int) 0 ;
7505 int result;
7506 PyObject * obj0 = 0 ;
7507 PyObject * obj1 = 0 ;
7508 PyObject * obj2 = 0 ;
7509 PyObject * obj3 = 0 ;
7510 PyObject * obj4 = 0 ;
7511 PyObject * obj5 = 0 ;
7512 PyObject * obj6 = 0 ;
7513 PyObject * obj7 = 0 ;
7514 char *kwnames[] = {
7515 (char *) "self",(char *) "x",(char *) "y",(char *) "from",(char *) "dont_render",(char *) "to",(char *) "choices",(char *) "LCOUNT", NULL
7516 };
7517
7518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:HtmlDCRenderer_Render",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7521 arg2 = (int) SWIG_AsInt(obj1);
7522 if (PyErr_Occurred()) SWIG_fail;
7523 arg3 = (int) SWIG_AsInt(obj2);
7524 if (PyErr_Occurred()) SWIG_fail;
7525 if (obj3) {
7526 arg4 = (int) SWIG_AsInt(obj3);
7527 if (PyErr_Occurred()) SWIG_fail;
7528 }
7529 if (obj4) {
7530 arg5 = (int) SWIG_AsInt(obj4);
7531 if (PyErr_Occurred()) SWIG_fail;
7532 }
7533 if (obj5) {
7534 arg6 = (int) SWIG_AsInt(obj5);
7535 if (PyErr_Occurred()) SWIG_fail;
7536 }
7537 if (obj6) {
7538 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_int,
7539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7540 }
7541 if (obj7) {
7542 arg8 = (int) SWIG_AsInt(obj7);
7543 if (PyErr_Occurred()) SWIG_fail;
7544 }
7545 {
7546 PyThreadState* __tstate = wxPyBeginAllowThreads();
7547 result = (int)(arg1)->Render(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
7548
7549 wxPyEndAllowThreads(__tstate);
7550 if (PyErr_Occurred()) SWIG_fail;
7551 }
7552 resultobj = SWIG_FromInt((int)result);
7553 return resultobj;
7554 fail:
7555 return NULL;
7556 }
7557
7558
7559 static PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
7560 PyObject *resultobj;
7561 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7562 int result;
7563 PyObject * obj0 = 0 ;
7564 char *kwnames[] = {
7565 (char *) "self", NULL
7566 };
7567
7568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlDCRenderer_GetTotalHeight",kwnames,&obj0)) goto fail;
7569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7571 {
7572 PyThreadState* __tstate = wxPyBeginAllowThreads();
7573 result = (int)(arg1)->GetTotalHeight();
7574
7575 wxPyEndAllowThreads(__tstate);
7576 if (PyErr_Occurred()) SWIG_fail;
7577 }
7578 resultobj = SWIG_FromInt((int)result);
7579 return resultobj;
7580 fail:
7581 return NULL;
7582 }
7583
7584
7585 static PyObject * HtmlDCRenderer_swigregister(PyObject *self, PyObject *args) {
7586 PyObject *obj;
7587 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7588 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlDCRenderer, obj);
7589 Py_INCREF(obj);
7590 return Py_BuildValue((char *)"");
7591 }
7592 static PyObject *_wrap_new_HtmlPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
7593 PyObject *resultobj;
7594 wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ;
7595 wxString *arg1 = (wxString *) &arg1_defvalue ;
7596 wxHtmlPrintout *result;
7597 bool temp1 = False ;
7598 PyObject * obj0 = 0 ;
7599 char *kwnames[] = {
7600 (char *) "title", NULL
7601 };
7602
7603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlPrintout",kwnames,&obj0)) goto fail;
7604 if (obj0) {
7605 {
7606 arg1 = wxString_in_helper(obj0);
7607 if (arg1 == NULL) SWIG_fail;
7608 temp1 = True;
7609 }
7610 }
7611 {
7612 if (!wxPyCheckForApp()) SWIG_fail;
7613 PyThreadState* __tstate = wxPyBeginAllowThreads();
7614 result = (wxHtmlPrintout *)new wxHtmlPrintout((wxString const &)*arg1);
7615
7616 wxPyEndAllowThreads(__tstate);
7617 if (PyErr_Occurred()) SWIG_fail;
7618 }
7619 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlPrintout, 1);
7620 {
7621 if (temp1)
7622 delete arg1;
7623 }
7624 return resultobj;
7625 fail:
7626 {
7627 if (temp1)
7628 delete arg1;
7629 }
7630 return NULL;
7631 }
7632
7633
7634 static PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *self, PyObject *args, PyObject *kwargs) {
7635 PyObject *resultobj;
7636 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7637 wxString *arg2 = 0 ;
7638 wxString const &arg3_defvalue = wxPyEmptyString ;
7639 wxString *arg3 = (wxString *) &arg3_defvalue ;
7640 bool arg4 = (bool) True ;
7641 bool temp2 = False ;
7642 bool temp3 = False ;
7643 PyObject * obj0 = 0 ;
7644 PyObject * obj1 = 0 ;
7645 PyObject * obj2 = 0 ;
7646 PyObject * obj3 = 0 ;
7647 char *kwnames[] = {
7648 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
7649 };
7650
7651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
7653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7654 {
7655 arg2 = wxString_in_helper(obj1);
7656 if (arg2 == NULL) SWIG_fail;
7657 temp2 = True;
7658 }
7659 if (obj2) {
7660 {
7661 arg3 = wxString_in_helper(obj2);
7662 if (arg3 == NULL) SWIG_fail;
7663 temp3 = True;
7664 }
7665 }
7666 if (obj3) {
7667 arg4 = (bool) SWIG_AsBool(obj3);
7668 if (PyErr_Occurred()) SWIG_fail;
7669 }
7670 {
7671 PyThreadState* __tstate = wxPyBeginAllowThreads();
7672 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
7673
7674 wxPyEndAllowThreads(__tstate);
7675 if (PyErr_Occurred()) SWIG_fail;
7676 }
7677 Py_INCREF(Py_None); resultobj = Py_None;
7678 {
7679 if (temp2)
7680 delete arg2;
7681 }
7682 {
7683 if (temp3)
7684 delete arg3;
7685 }
7686 return resultobj;
7687 fail:
7688 {
7689 if (temp2)
7690 delete arg2;
7691 }
7692 {
7693 if (temp3)
7694 delete arg3;
7695 }
7696 return NULL;
7697 }
7698
7699
7700 static PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7701 PyObject *resultobj;
7702 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7703 wxString *arg2 = 0 ;
7704 bool temp2 = False ;
7705 PyObject * obj0 = 0 ;
7706 PyObject * obj1 = 0 ;
7707 char *kwnames[] = {
7708 (char *) "self",(char *) "htmlfile", NULL
7709 };
7710
7711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames,&obj0,&obj1)) goto fail;
7712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
7713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7714 {
7715 arg2 = wxString_in_helper(obj1);
7716 if (arg2 == NULL) SWIG_fail;
7717 temp2 = True;
7718 }
7719 {
7720 PyThreadState* __tstate = wxPyBeginAllowThreads();
7721 (arg1)->SetHtmlFile((wxString const &)*arg2);
7722
7723 wxPyEndAllowThreads(__tstate);
7724 if (PyErr_Occurred()) SWIG_fail;
7725 }
7726 Py_INCREF(Py_None); resultobj = Py_None;
7727 {
7728 if (temp2)
7729 delete arg2;
7730 }
7731 return resultobj;
7732 fail:
7733 {
7734 if (temp2)
7735 delete arg2;
7736 }
7737 return NULL;
7738 }
7739
7740
7741 static PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *self, PyObject *args, PyObject *kwargs) {
7742 PyObject *resultobj;
7743 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7744 wxString *arg2 = 0 ;
7745 int arg3 = (int) wxPAGE_ALL ;
7746 bool temp2 = False ;
7747 PyObject * obj0 = 0 ;
7748 PyObject * obj1 = 0 ;
7749 PyObject * obj2 = 0 ;
7750 char *kwnames[] = {
7751 (char *) "self",(char *) "header",(char *) "pg", NULL
7752 };
7753
7754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail;
7755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
7756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7757 {
7758 arg2 = wxString_in_helper(obj1);
7759 if (arg2 == NULL) SWIG_fail;
7760 temp2 = True;
7761 }
7762 if (obj2) {
7763 arg3 = (int) SWIG_AsInt(obj2);
7764 if (PyErr_Occurred()) SWIG_fail;
7765 }
7766 {
7767 PyThreadState* __tstate = wxPyBeginAllowThreads();
7768 (arg1)->SetHeader((wxString const &)*arg2,arg3);
7769
7770 wxPyEndAllowThreads(__tstate);
7771 if (PyErr_Occurred()) SWIG_fail;
7772 }
7773 Py_INCREF(Py_None); resultobj = Py_None;
7774 {
7775 if (temp2)
7776 delete arg2;
7777 }
7778 return resultobj;
7779 fail:
7780 {
7781 if (temp2)
7782 delete arg2;
7783 }
7784 return NULL;
7785 }
7786
7787
7788 static PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *self, PyObject *args, PyObject *kwargs) {
7789 PyObject *resultobj;
7790 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7791 wxString *arg2 = 0 ;
7792 int arg3 = (int) wxPAGE_ALL ;
7793 bool temp2 = False ;
7794 PyObject * obj0 = 0 ;
7795 PyObject * obj1 = 0 ;
7796 PyObject * obj2 = 0 ;
7797 char *kwnames[] = {
7798 (char *) "self",(char *) "footer",(char *) "pg", NULL
7799 };
7800
7801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail;
7802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
7803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7804 {
7805 arg2 = wxString_in_helper(obj1);
7806 if (arg2 == NULL) SWIG_fail;
7807 temp2 = True;
7808 }
7809 if (obj2) {
7810 arg3 = (int) SWIG_AsInt(obj2);
7811 if (PyErr_Occurred()) SWIG_fail;
7812 }
7813 {
7814 PyThreadState* __tstate = wxPyBeginAllowThreads();
7815 (arg1)->SetFooter((wxString const &)*arg2,arg3);
7816
7817 wxPyEndAllowThreads(__tstate);
7818 if (PyErr_Occurred()) SWIG_fail;
7819 }
7820 Py_INCREF(Py_None); resultobj = Py_None;
7821 {
7822 if (temp2)
7823 delete arg2;
7824 }
7825 return resultobj;
7826 fail:
7827 {
7828 if (temp2)
7829 delete arg2;
7830 }
7831 return NULL;
7832 }
7833
7834
7835 static PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
7836 PyObject *resultobj;
7837 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7838 wxString arg2 ;
7839 wxString arg3 ;
7840 PyObject *arg4 = (PyObject *) NULL ;
7841 PyObject * obj0 = 0 ;
7842 PyObject * obj1 = 0 ;
7843 PyObject * obj2 = 0 ;
7844 PyObject * obj3 = 0 ;
7845 char *kwnames[] = {
7846 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
7847 };
7848
7849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
7851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7852 {
7853 wxString* sptr = wxString_in_helper(obj1);
7854 if (sptr == NULL) SWIG_fail;
7855 arg2 = *sptr;
7856 delete sptr;
7857 }
7858 {
7859 wxString* sptr = wxString_in_helper(obj2);
7860 if (sptr == NULL) SWIG_fail;
7861 arg3 = *sptr;
7862 delete sptr;
7863 }
7864 if (obj3) {
7865 arg4 = obj3;
7866 }
7867 {
7868 PyThreadState* __tstate = wxPyBeginAllowThreads();
7869 wxHtmlPrintout_SetFonts(arg1,arg2,arg3,arg4);
7870
7871 wxPyEndAllowThreads(__tstate);
7872 if (PyErr_Occurred()) SWIG_fail;
7873 }
7874 Py_INCREF(Py_None); resultobj = Py_None;
7875 return resultobj;
7876 fail:
7877 return NULL;
7878 }
7879
7880
7881 static PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
7882 PyObject *resultobj;
7883 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7884 float arg2 = (float) 25.2 ;
7885 float arg3 = (float) 25.2 ;
7886 float arg4 = (float) 25.2 ;
7887 float arg5 = (float) 25.2 ;
7888 float arg6 = (float) 5 ;
7889 PyObject * obj0 = 0 ;
7890 PyObject * obj1 = 0 ;
7891 PyObject * obj2 = 0 ;
7892 PyObject * obj3 = 0 ;
7893 PyObject * obj4 = 0 ;
7894 PyObject * obj5 = 0 ;
7895 char *kwnames[] = {
7896 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
7897 };
7898
7899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
7901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7902 if (obj1) {
7903 arg2 = (float) SWIG_AsFloat(obj1);
7904 if (PyErr_Occurred()) SWIG_fail;
7905 }
7906 if (obj2) {
7907 arg3 = (float) SWIG_AsFloat(obj2);
7908 if (PyErr_Occurred()) SWIG_fail;
7909 }
7910 if (obj3) {
7911 arg4 = (float) SWIG_AsFloat(obj3);
7912 if (PyErr_Occurred()) SWIG_fail;
7913 }
7914 if (obj4) {
7915 arg5 = (float) SWIG_AsFloat(obj4);
7916 if (PyErr_Occurred()) SWIG_fail;
7917 }
7918 if (obj5) {
7919 arg6 = (float) SWIG_AsFloat(obj5);
7920 if (PyErr_Occurred()) SWIG_fail;
7921 }
7922 {
7923 PyThreadState* __tstate = wxPyBeginAllowThreads();
7924 (arg1)->SetMargins(arg2,arg3,arg4,arg5,arg6);
7925
7926 wxPyEndAllowThreads(__tstate);
7927 if (PyErr_Occurred()) SWIG_fail;
7928 }
7929 Py_INCREF(Py_None); resultobj = Py_None;
7930 return resultobj;
7931 fail:
7932 return NULL;
7933 }
7934
7935
7936 static PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
7937 PyObject *resultobj;
7938 wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ;
7939 PyObject * obj0 = 0 ;
7940 char *kwnames[] = {
7941 (char *) "filter", NULL
7942 };
7943
7944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlPrintout_AddFilter",kwnames,&obj0)) goto fail;
7945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlFilter,
7946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7947 {
7948 PyThreadState* __tstate = wxPyBeginAllowThreads();
7949 wxHtmlPrintout::AddFilter(arg1);
7950
7951 wxPyEndAllowThreads(__tstate);
7952 if (PyErr_Occurred()) SWIG_fail;
7953 }
7954 Py_INCREF(Py_None); resultobj = Py_None;
7955 return resultobj;
7956 fail:
7957 return NULL;
7958 }
7959
7960
7961 static PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *self, PyObject *args, PyObject *kwargs) {
7962 PyObject *resultobj;
7963 char *kwnames[] = {
7964 NULL
7965 };
7966
7967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HtmlPrintout_CleanUpStatics",kwnames)) goto fail;
7968 {
7969 PyThreadState* __tstate = wxPyBeginAllowThreads();
7970 wxHtmlPrintout::CleanUpStatics();
7971
7972 wxPyEndAllowThreads(__tstate);
7973 if (PyErr_Occurred()) SWIG_fail;
7974 }
7975 Py_INCREF(Py_None); resultobj = Py_None;
7976 return resultobj;
7977 fail:
7978 return NULL;
7979 }
7980
7981
7982 static PyObject * HtmlPrintout_swigregister(PyObject *self, PyObject *args) {
7983 PyObject *obj;
7984 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7985 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlPrintout, obj);
7986 Py_INCREF(obj);
7987 return Py_BuildValue((char *)"");
7988 }
7989 static PyObject *_wrap_new_HtmlEasyPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
7990 PyObject *resultobj;
7991 wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ;
7992 wxString *arg1 = (wxString *) &arg1_defvalue ;
7993 wxWindow *arg2 = (wxWindow *) NULL ;
7994 wxHtmlEasyPrinting *result;
7995 bool temp1 = False ;
7996 PyObject * obj0 = 0 ;
7997 PyObject * obj1 = 0 ;
7998 char *kwnames[] = {
7999 (char *) "name",(char *) "parentWindow", NULL
8000 };
8001
8002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlEasyPrinting",kwnames,&obj0,&obj1)) goto fail;
8003 if (obj0) {
8004 {
8005 arg1 = wxString_in_helper(obj0);
8006 if (arg1 == NULL) SWIG_fail;
8007 temp1 = True;
8008 }
8009 }
8010 if (obj1) {
8011 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8013 }
8014 {
8015 if (!wxPyCheckForApp()) SWIG_fail;
8016 PyThreadState* __tstate = wxPyBeginAllowThreads();
8017 result = (wxHtmlEasyPrinting *)new wxHtmlEasyPrinting((wxString const &)*arg1,arg2);
8018
8019 wxPyEndAllowThreads(__tstate);
8020 if (PyErr_Occurred()) SWIG_fail;
8021 }
8022 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlEasyPrinting, 1);
8023 {
8024 if (temp1)
8025 delete arg1;
8026 }
8027 return resultobj;
8028 fail:
8029 {
8030 if (temp1)
8031 delete arg1;
8032 }
8033 return NULL;
8034 }
8035
8036
8037 static PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
8038 PyObject *resultobj;
8039 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8040 PyObject * obj0 = 0 ;
8041 char *kwnames[] = {
8042 (char *) "self", NULL
8043 };
8044
8045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlEasyPrinting",kwnames,&obj0)) goto fail;
8046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8048 {
8049 PyThreadState* __tstate = wxPyBeginAllowThreads();
8050 delete arg1;
8051
8052 wxPyEndAllowThreads(__tstate);
8053 if (PyErr_Occurred()) SWIG_fail;
8054 }
8055 Py_INCREF(Py_None); resultobj = Py_None;
8056 return resultobj;
8057 fail:
8058 return NULL;
8059 }
8060
8061
8062 static PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8063 PyObject *resultobj;
8064 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8065 wxString *arg2 = 0 ;
8066 bool temp2 = False ;
8067 PyObject * obj0 = 0 ;
8068 PyObject * obj1 = 0 ;
8069 char *kwnames[] = {
8070 (char *) "self",(char *) "htmlfile", NULL
8071 };
8072
8073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames,&obj0,&obj1)) goto fail;
8074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8076 {
8077 arg2 = wxString_in_helper(obj1);
8078 if (arg2 == NULL) SWIG_fail;
8079 temp2 = True;
8080 }
8081 {
8082 PyThreadState* __tstate = wxPyBeginAllowThreads();
8083 (arg1)->PreviewFile((wxString const &)*arg2);
8084
8085 wxPyEndAllowThreads(__tstate);
8086 if (PyErr_Occurred()) SWIG_fail;
8087 }
8088 Py_INCREF(Py_None); resultobj = Py_None;
8089 {
8090 if (temp2)
8091 delete arg2;
8092 }
8093 return resultobj;
8094 fail:
8095 {
8096 if (temp2)
8097 delete arg2;
8098 }
8099 return NULL;
8100 }
8101
8102
8103 static PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *self, PyObject *args, PyObject *kwargs) {
8104 PyObject *resultobj;
8105 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8106 wxString *arg2 = 0 ;
8107 wxString const &arg3_defvalue = wxPyEmptyString ;
8108 wxString *arg3 = (wxString *) &arg3_defvalue ;
8109 bool temp2 = False ;
8110 bool temp3 = False ;
8111 PyObject * obj0 = 0 ;
8112 PyObject * obj1 = 0 ;
8113 PyObject * obj2 = 0 ;
8114 char *kwnames[] = {
8115 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
8116 };
8117
8118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames,&obj0,&obj1,&obj2)) goto fail;
8119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8121 {
8122 arg2 = wxString_in_helper(obj1);
8123 if (arg2 == NULL) SWIG_fail;
8124 temp2 = True;
8125 }
8126 if (obj2) {
8127 {
8128 arg3 = wxString_in_helper(obj2);
8129 if (arg3 == NULL) SWIG_fail;
8130 temp3 = True;
8131 }
8132 }
8133 {
8134 PyThreadState* __tstate = wxPyBeginAllowThreads();
8135 (arg1)->PreviewText((wxString const &)*arg2,(wxString const &)*arg3);
8136
8137 wxPyEndAllowThreads(__tstate);
8138 if (PyErr_Occurred()) SWIG_fail;
8139 }
8140 Py_INCREF(Py_None); resultobj = Py_None;
8141 {
8142 if (temp2)
8143 delete arg2;
8144 }
8145 {
8146 if (temp3)
8147 delete arg3;
8148 }
8149 return resultobj;
8150 fail:
8151 {
8152 if (temp2)
8153 delete arg2;
8154 }
8155 {
8156 if (temp3)
8157 delete arg3;
8158 }
8159 return NULL;
8160 }
8161
8162
8163 static PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8164 PyObject *resultobj;
8165 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8166 wxString *arg2 = 0 ;
8167 bool temp2 = False ;
8168 PyObject * obj0 = 0 ;
8169 PyObject * obj1 = 0 ;
8170 char *kwnames[] = {
8171 (char *) "self",(char *) "htmlfile", NULL
8172 };
8173
8174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames,&obj0,&obj1)) goto fail;
8175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8177 {
8178 arg2 = wxString_in_helper(obj1);
8179 if (arg2 == NULL) SWIG_fail;
8180 temp2 = True;
8181 }
8182 {
8183 PyThreadState* __tstate = wxPyBeginAllowThreads();
8184 (arg1)->PrintFile((wxString const &)*arg2);
8185
8186 wxPyEndAllowThreads(__tstate);
8187 if (PyErr_Occurred()) SWIG_fail;
8188 }
8189 Py_INCREF(Py_None); resultobj = Py_None;
8190 {
8191 if (temp2)
8192 delete arg2;
8193 }
8194 return resultobj;
8195 fail:
8196 {
8197 if (temp2)
8198 delete arg2;
8199 }
8200 return NULL;
8201 }
8202
8203
8204 static PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *self, PyObject *args, PyObject *kwargs) {
8205 PyObject *resultobj;
8206 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8207 wxString *arg2 = 0 ;
8208 wxString const &arg3_defvalue = wxPyEmptyString ;
8209 wxString *arg3 = (wxString *) &arg3_defvalue ;
8210 bool temp2 = False ;
8211 bool temp3 = False ;
8212 PyObject * obj0 = 0 ;
8213 PyObject * obj1 = 0 ;
8214 PyObject * obj2 = 0 ;
8215 char *kwnames[] = {
8216 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
8217 };
8218
8219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames,&obj0,&obj1,&obj2)) goto fail;
8220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8222 {
8223 arg2 = wxString_in_helper(obj1);
8224 if (arg2 == NULL) SWIG_fail;
8225 temp2 = True;
8226 }
8227 if (obj2) {
8228 {
8229 arg3 = wxString_in_helper(obj2);
8230 if (arg3 == NULL) SWIG_fail;
8231 temp3 = True;
8232 }
8233 }
8234 {
8235 PyThreadState* __tstate = wxPyBeginAllowThreads();
8236 (arg1)->PrintText((wxString const &)*arg2,(wxString const &)*arg3);
8237
8238 wxPyEndAllowThreads(__tstate);
8239 if (PyErr_Occurred()) SWIG_fail;
8240 }
8241 Py_INCREF(Py_None); resultobj = Py_None;
8242 {
8243 if (temp2)
8244 delete arg2;
8245 }
8246 {
8247 if (temp3)
8248 delete arg3;
8249 }
8250 return resultobj;
8251 fail:
8252 {
8253 if (temp2)
8254 delete arg2;
8255 }
8256 {
8257 if (temp3)
8258 delete arg3;
8259 }
8260 return NULL;
8261 }
8262
8263
8264 static PyObject *_wrap_HtmlEasyPrinting_PrinterSetup(PyObject *self, PyObject *args, PyObject *kwargs) {
8265 PyObject *resultobj;
8266 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8267 PyObject * obj0 = 0 ;
8268 char *kwnames[] = {
8269 (char *) "self", NULL
8270 };
8271
8272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PrinterSetup",kwnames,&obj0)) goto fail;
8273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8275 {
8276 PyThreadState* __tstate = wxPyBeginAllowThreads();
8277 (arg1)->PrinterSetup();
8278
8279 wxPyEndAllowThreads(__tstate);
8280 if (PyErr_Occurred()) SWIG_fail;
8281 }
8282 Py_INCREF(Py_None); resultobj = Py_None;
8283 return resultobj;
8284 fail:
8285 return NULL;
8286 }
8287
8288
8289 static PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *self, PyObject *args, PyObject *kwargs) {
8290 PyObject *resultobj;
8291 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8292 PyObject * obj0 = 0 ;
8293 char *kwnames[] = {
8294 (char *) "self", NULL
8295 };
8296
8297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PageSetup",kwnames,&obj0)) goto fail;
8298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8300 {
8301 PyThreadState* __tstate = wxPyBeginAllowThreads();
8302 (arg1)->PageSetup();
8303
8304 wxPyEndAllowThreads(__tstate);
8305 if (PyErr_Occurred()) SWIG_fail;
8306 }
8307 Py_INCREF(Py_None); resultobj = Py_None;
8308 return resultobj;
8309 fail:
8310 return NULL;
8311 }
8312
8313
8314 static PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *self, PyObject *args, PyObject *kwargs) {
8315 PyObject *resultobj;
8316 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8317 wxString *arg2 = 0 ;
8318 int arg3 = (int) wxPAGE_ALL ;
8319 bool temp2 = False ;
8320 PyObject * obj0 = 0 ;
8321 PyObject * obj1 = 0 ;
8322 PyObject * obj2 = 0 ;
8323 char *kwnames[] = {
8324 (char *) "self",(char *) "header",(char *) "pg", NULL
8325 };
8326
8327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail;
8328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8330 {
8331 arg2 = wxString_in_helper(obj1);
8332 if (arg2 == NULL) SWIG_fail;
8333 temp2 = True;
8334 }
8335 if (obj2) {
8336 arg3 = (int) SWIG_AsInt(obj2);
8337 if (PyErr_Occurred()) SWIG_fail;
8338 }
8339 {
8340 PyThreadState* __tstate = wxPyBeginAllowThreads();
8341 (arg1)->SetHeader((wxString const &)*arg2,arg3);
8342
8343 wxPyEndAllowThreads(__tstate);
8344 if (PyErr_Occurred()) SWIG_fail;
8345 }
8346 Py_INCREF(Py_None); resultobj = Py_None;
8347 {
8348 if (temp2)
8349 delete arg2;
8350 }
8351 return resultobj;
8352 fail:
8353 {
8354 if (temp2)
8355 delete arg2;
8356 }
8357 return NULL;
8358 }
8359
8360
8361 static PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *self, PyObject *args, PyObject *kwargs) {
8362 PyObject *resultobj;
8363 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8364 wxString *arg2 = 0 ;
8365 int arg3 = (int) wxPAGE_ALL ;
8366 bool temp2 = False ;
8367 PyObject * obj0 = 0 ;
8368 PyObject * obj1 = 0 ;
8369 PyObject * obj2 = 0 ;
8370 char *kwnames[] = {
8371 (char *) "self",(char *) "footer",(char *) "pg", NULL
8372 };
8373
8374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail;
8375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8377 {
8378 arg2 = wxString_in_helper(obj1);
8379 if (arg2 == NULL) SWIG_fail;
8380 temp2 = True;
8381 }
8382 if (obj2) {
8383 arg3 = (int) SWIG_AsInt(obj2);
8384 if (PyErr_Occurred()) SWIG_fail;
8385 }
8386 {
8387 PyThreadState* __tstate = wxPyBeginAllowThreads();
8388 (arg1)->SetFooter((wxString const &)*arg2,arg3);
8389
8390 wxPyEndAllowThreads(__tstate);
8391 if (PyErr_Occurred()) SWIG_fail;
8392 }
8393 Py_INCREF(Py_None); resultobj = Py_None;
8394 {
8395 if (temp2)
8396 delete arg2;
8397 }
8398 return resultobj;
8399 fail:
8400 {
8401 if (temp2)
8402 delete arg2;
8403 }
8404 return NULL;
8405 }
8406
8407
8408 static PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
8409 PyObject *resultobj;
8410 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8411 wxString arg2 ;
8412 wxString arg3 ;
8413 PyObject *arg4 = (PyObject *) NULL ;
8414 PyObject * obj0 = 0 ;
8415 PyObject * obj1 = 0 ;
8416 PyObject * obj2 = 0 ;
8417 PyObject * obj3 = 0 ;
8418 char *kwnames[] = {
8419 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
8420 };
8421
8422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8425 {
8426 wxString* sptr = wxString_in_helper(obj1);
8427 if (sptr == NULL) SWIG_fail;
8428 arg2 = *sptr;
8429 delete sptr;
8430 }
8431 {
8432 wxString* sptr = wxString_in_helper(obj2);
8433 if (sptr == NULL) SWIG_fail;
8434 arg3 = *sptr;
8435 delete sptr;
8436 }
8437 if (obj3) {
8438 arg4 = obj3;
8439 }
8440 {
8441 PyThreadState* __tstate = wxPyBeginAllowThreads();
8442 wxHtmlEasyPrinting_SetFonts(arg1,arg2,arg3,arg4);
8443
8444 wxPyEndAllowThreads(__tstate);
8445 if (PyErr_Occurred()) SWIG_fail;
8446 }
8447 Py_INCREF(Py_None); resultobj = Py_None;
8448 return resultobj;
8449 fail:
8450 return NULL;
8451 }
8452
8453
8454 static PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
8455 PyObject *resultobj;
8456 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8457 wxPrintData *result;
8458 PyObject * obj0 = 0 ;
8459 char *kwnames[] = {
8460 (char *) "self", NULL
8461 };
8462
8463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPrintData",kwnames,&obj0)) goto fail;
8464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8466 {
8467 PyThreadState* __tstate = wxPyBeginAllowThreads();
8468 result = (wxPrintData *)(arg1)->GetPrintData();
8469
8470 wxPyEndAllowThreads(__tstate);
8471 if (PyErr_Occurred()) SWIG_fail;
8472 }
8473 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
8474 return resultobj;
8475 fail:
8476 return NULL;
8477 }
8478
8479
8480 static PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
8481 PyObject *resultobj;
8482 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8483 wxPageSetupDialogData *result;
8484 PyObject * obj0 = 0 ;
8485 char *kwnames[] = {
8486 (char *) "self", NULL
8487 };
8488
8489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPageSetupData",kwnames,&obj0)) goto fail;
8490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8492 {
8493 PyThreadState* __tstate = wxPyBeginAllowThreads();
8494 result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData();
8495
8496 wxPyEndAllowThreads(__tstate);
8497 if (PyErr_Occurred()) SWIG_fail;
8498 }
8499 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
8500 return resultobj;
8501 fail:
8502 return NULL;
8503 }
8504
8505
8506 static PyObject * HtmlEasyPrinting_swigregister(PyObject *self, PyObject *args) {
8507 PyObject *obj;
8508 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8509 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlEasyPrinting, obj);
8510 Py_INCREF(obj);
8511 return Py_BuildValue((char *)"");
8512 }
8513 static PyObject *_wrap_new_HtmlBookRecord(PyObject *self, PyObject *args, PyObject *kwargs) {
8514 PyObject *resultobj;
8515 wxString *arg1 = 0 ;
8516 wxString *arg2 = 0 ;
8517 wxString *arg3 = 0 ;
8518 wxString *arg4 = 0 ;
8519 wxHtmlBookRecord *result;
8520 bool temp1 = False ;
8521 bool temp2 = False ;
8522 bool temp3 = False ;
8523 bool temp4 = False ;
8524 PyObject * obj0 = 0 ;
8525 PyObject * obj1 = 0 ;
8526 PyObject * obj2 = 0 ;
8527 PyObject * obj3 = 0 ;
8528 char *kwnames[] = {
8529 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
8530 };
8531
8532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_HtmlBookRecord",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8533 {
8534 arg1 = wxString_in_helper(obj0);
8535 if (arg1 == NULL) SWIG_fail;
8536 temp1 = True;
8537 }
8538 {
8539 arg2 = wxString_in_helper(obj1);
8540 if (arg2 == NULL) SWIG_fail;
8541 temp2 = True;
8542 }
8543 {
8544 arg3 = wxString_in_helper(obj2);
8545 if (arg3 == NULL) SWIG_fail;
8546 temp3 = True;
8547 }
8548 {
8549 arg4 = wxString_in_helper(obj3);
8550 if (arg4 == NULL) SWIG_fail;
8551 temp4 = True;
8552 }
8553 {
8554 PyThreadState* __tstate = wxPyBeginAllowThreads();
8555 result = (wxHtmlBookRecord *)new wxHtmlBookRecord((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
8556
8557 wxPyEndAllowThreads(__tstate);
8558 if (PyErr_Occurred()) SWIG_fail;
8559 }
8560 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecord, 1);
8561 {
8562 if (temp1)
8563 delete arg1;
8564 }
8565 {
8566 if (temp2)
8567 delete arg2;
8568 }
8569 {
8570 if (temp3)
8571 delete arg3;
8572 }
8573 {
8574 if (temp4)
8575 delete arg4;
8576 }
8577 return resultobj;
8578 fail:
8579 {
8580 if (temp1)
8581 delete arg1;
8582 }
8583 {
8584 if (temp2)
8585 delete arg2;
8586 }
8587 {
8588 if (temp3)
8589 delete arg3;
8590 }
8591 {
8592 if (temp4)
8593 delete arg4;
8594 }
8595 return NULL;
8596 }
8597
8598
8599 static PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8600 PyObject *resultobj;
8601 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8602 wxString result;
8603 PyObject * obj0 = 0 ;
8604 char *kwnames[] = {
8605 (char *) "self", NULL
8606 };
8607
8608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBookFile",kwnames,&obj0)) goto fail;
8609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8611 {
8612 PyThreadState* __tstate = wxPyBeginAllowThreads();
8613 result = (arg1)->GetBookFile();
8614
8615 wxPyEndAllowThreads(__tstate);
8616 if (PyErr_Occurred()) SWIG_fail;
8617 }
8618 {
8619 #if wxUSE_UNICODE
8620 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8621 #else
8622 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8623 #endif
8624 }
8625 return resultobj;
8626 fail:
8627 return NULL;
8628 }
8629
8630
8631 static PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
8632 PyObject *resultobj;
8633 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8634 wxString result;
8635 PyObject * obj0 = 0 ;
8636 char *kwnames[] = {
8637 (char *) "self", NULL
8638 };
8639
8640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetTitle",kwnames,&obj0)) goto fail;
8641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8643 {
8644 PyThreadState* __tstate = wxPyBeginAllowThreads();
8645 result = (arg1)->GetTitle();
8646
8647 wxPyEndAllowThreads(__tstate);
8648 if (PyErr_Occurred()) SWIG_fail;
8649 }
8650 {
8651 #if wxUSE_UNICODE
8652 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8653 #else
8654 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8655 #endif
8656 }
8657 return resultobj;
8658 fail:
8659 return NULL;
8660 }
8661
8662
8663 static PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *self, PyObject *args, PyObject *kwargs) {
8664 PyObject *resultobj;
8665 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8666 wxString result;
8667 PyObject * obj0 = 0 ;
8668 char *kwnames[] = {
8669 (char *) "self", NULL
8670 };
8671
8672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetStart",kwnames,&obj0)) goto fail;
8673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8675 {
8676 PyThreadState* __tstate = wxPyBeginAllowThreads();
8677 result = (arg1)->GetStart();
8678
8679 wxPyEndAllowThreads(__tstate);
8680 if (PyErr_Occurred()) SWIG_fail;
8681 }
8682 {
8683 #if wxUSE_UNICODE
8684 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8685 #else
8686 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8687 #endif
8688 }
8689 return resultobj;
8690 fail:
8691 return NULL;
8692 }
8693
8694
8695 static PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *self, PyObject *args, PyObject *kwargs) {
8696 PyObject *resultobj;
8697 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8698 wxString result;
8699 PyObject * obj0 = 0 ;
8700 char *kwnames[] = {
8701 (char *) "self", NULL
8702 };
8703
8704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBasePath",kwnames,&obj0)) goto fail;
8705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8707 {
8708 PyThreadState* __tstate = wxPyBeginAllowThreads();
8709 result = (arg1)->GetBasePath();
8710
8711 wxPyEndAllowThreads(__tstate);
8712 if (PyErr_Occurred()) SWIG_fail;
8713 }
8714 {
8715 #if wxUSE_UNICODE
8716 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8717 #else
8718 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8719 #endif
8720 }
8721 return resultobj;
8722 fail:
8723 return NULL;
8724 }
8725
8726
8727 static PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8728 PyObject *resultobj;
8729 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8730 int arg2 ;
8731 int arg3 ;
8732 PyObject * obj0 = 0 ;
8733 PyObject * obj1 = 0 ;
8734 PyObject * obj2 = 0 ;
8735 char *kwnames[] = {
8736 (char *) "self",(char *) "start",(char *) "end", NULL
8737 };
8738
8739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
8740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8742 arg2 = (int) SWIG_AsInt(obj1);
8743 if (PyErr_Occurred()) SWIG_fail;
8744 arg3 = (int) SWIG_AsInt(obj2);
8745 if (PyErr_Occurred()) SWIG_fail;
8746 {
8747 PyThreadState* __tstate = wxPyBeginAllowThreads();
8748 (arg1)->SetContentsRange(arg2,arg3);
8749
8750 wxPyEndAllowThreads(__tstate);
8751 if (PyErr_Occurred()) SWIG_fail;
8752 }
8753 Py_INCREF(Py_None); resultobj = Py_None;
8754 return resultobj;
8755 fail:
8756 return NULL;
8757 }
8758
8759
8760 static PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *self, PyObject *args, PyObject *kwargs) {
8761 PyObject *resultobj;
8762 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8763 int result;
8764 PyObject * obj0 = 0 ;
8765 char *kwnames[] = {
8766 (char *) "self", NULL
8767 };
8768
8769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsStart",kwnames,&obj0)) goto fail;
8770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8772 {
8773 PyThreadState* __tstate = wxPyBeginAllowThreads();
8774 result = (int)(arg1)->GetContentsStart();
8775
8776 wxPyEndAllowThreads(__tstate);
8777 if (PyErr_Occurred()) SWIG_fail;
8778 }
8779 resultobj = SWIG_FromInt((int)result);
8780 return resultobj;
8781 fail:
8782 return NULL;
8783 }
8784
8785
8786 static PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
8787 PyObject *resultobj;
8788 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8789 int result;
8790 PyObject * obj0 = 0 ;
8791 char *kwnames[] = {
8792 (char *) "self", NULL
8793 };
8794
8795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsEnd",kwnames,&obj0)) goto fail;
8796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8798 {
8799 PyThreadState* __tstate = wxPyBeginAllowThreads();
8800 result = (int)(arg1)->GetContentsEnd();
8801
8802 wxPyEndAllowThreads(__tstate);
8803 if (PyErr_Occurred()) SWIG_fail;
8804 }
8805 resultobj = SWIG_FromInt((int)result);
8806 return resultobj;
8807 fail:
8808 return NULL;
8809 }
8810
8811
8812 static PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
8813 PyObject *resultobj;
8814 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8815 wxString *arg2 = 0 ;
8816 bool temp2 = False ;
8817 PyObject * obj0 = 0 ;
8818 PyObject * obj1 = 0 ;
8819 char *kwnames[] = {
8820 (char *) "self",(char *) "title", NULL
8821 };
8822
8823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetTitle",kwnames,&obj0,&obj1)) goto fail;
8824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8826 {
8827 arg2 = wxString_in_helper(obj1);
8828 if (arg2 == NULL) SWIG_fail;
8829 temp2 = True;
8830 }
8831 {
8832 PyThreadState* __tstate = wxPyBeginAllowThreads();
8833 (arg1)->SetTitle((wxString const &)*arg2);
8834
8835 wxPyEndAllowThreads(__tstate);
8836 if (PyErr_Occurred()) SWIG_fail;
8837 }
8838 Py_INCREF(Py_None); resultobj = Py_None;
8839 {
8840 if (temp2)
8841 delete arg2;
8842 }
8843 return resultobj;
8844 fail:
8845 {
8846 if (temp2)
8847 delete arg2;
8848 }
8849 return NULL;
8850 }
8851
8852
8853 static PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *self, PyObject *args, PyObject *kwargs) {
8854 PyObject *resultobj;
8855 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8856 wxString *arg2 = 0 ;
8857 bool temp2 = False ;
8858 PyObject * obj0 = 0 ;
8859 PyObject * obj1 = 0 ;
8860 char *kwnames[] = {
8861 (char *) "self",(char *) "path", NULL
8862 };
8863
8864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames,&obj0,&obj1)) goto fail;
8865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8867 {
8868 arg2 = wxString_in_helper(obj1);
8869 if (arg2 == NULL) SWIG_fail;
8870 temp2 = True;
8871 }
8872 {
8873 PyThreadState* __tstate = wxPyBeginAllowThreads();
8874 (arg1)->SetBasePath((wxString const &)*arg2);
8875
8876 wxPyEndAllowThreads(__tstate);
8877 if (PyErr_Occurred()) SWIG_fail;
8878 }
8879 Py_INCREF(Py_None); resultobj = Py_None;
8880 {
8881 if (temp2)
8882 delete arg2;
8883 }
8884 return resultobj;
8885 fail:
8886 {
8887 if (temp2)
8888 delete arg2;
8889 }
8890 return NULL;
8891 }
8892
8893
8894 static PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *self, PyObject *args, PyObject *kwargs) {
8895 PyObject *resultobj;
8896 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8897 wxString *arg2 = 0 ;
8898 bool temp2 = False ;
8899 PyObject * obj0 = 0 ;
8900 PyObject * obj1 = 0 ;
8901 char *kwnames[] = {
8902 (char *) "self",(char *) "start", NULL
8903 };
8904
8905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetStart",kwnames,&obj0,&obj1)) goto fail;
8906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8908 {
8909 arg2 = wxString_in_helper(obj1);
8910 if (arg2 == NULL) SWIG_fail;
8911 temp2 = True;
8912 }
8913 {
8914 PyThreadState* __tstate = wxPyBeginAllowThreads();
8915 (arg1)->SetStart((wxString const &)*arg2);
8916
8917 wxPyEndAllowThreads(__tstate);
8918 if (PyErr_Occurred()) SWIG_fail;
8919 }
8920 Py_INCREF(Py_None); resultobj = Py_None;
8921 {
8922 if (temp2)
8923 delete arg2;
8924 }
8925 return resultobj;
8926 fail:
8927 {
8928 if (temp2)
8929 delete arg2;
8930 }
8931 return NULL;
8932 }
8933
8934
8935 static PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *self, PyObject *args, PyObject *kwargs) {
8936 PyObject *resultobj;
8937 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8938 wxString *arg2 = 0 ;
8939 wxString result;
8940 bool temp2 = False ;
8941 PyObject * obj0 = 0 ;
8942 PyObject * obj1 = 0 ;
8943 char *kwnames[] = {
8944 (char *) "self",(char *) "page", NULL
8945 };
8946
8947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames,&obj0,&obj1)) goto fail;
8948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8950 {
8951 arg2 = wxString_in_helper(obj1);
8952 if (arg2 == NULL) SWIG_fail;
8953 temp2 = True;
8954 }
8955 {
8956 PyThreadState* __tstate = wxPyBeginAllowThreads();
8957 result = ((wxHtmlBookRecord const *)arg1)->GetFullPath((wxString const &)*arg2);
8958
8959 wxPyEndAllowThreads(__tstate);
8960 if (PyErr_Occurred()) SWIG_fail;
8961 }
8962 {
8963 #if wxUSE_UNICODE
8964 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8965 #else
8966 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8967 #endif
8968 }
8969 {
8970 if (temp2)
8971 delete arg2;
8972 }
8973 return resultobj;
8974 fail:
8975 {
8976 if (temp2)
8977 delete arg2;
8978 }
8979 return NULL;
8980 }
8981
8982
8983 static PyObject * HtmlBookRecord_swigregister(PyObject *self, PyObject *args) {
8984 PyObject *obj;
8985 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8986 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlBookRecord, obj);
8987 Py_INCREF(obj);
8988 return Py_BuildValue((char *)"");
8989 }
8990 static PyObject *_wrap_HtmlContentsItem_GetLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
8991 PyObject *resultobj;
8992 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
8993 int result;
8994 PyObject * obj0 = 0 ;
8995 char *kwnames[] = {
8996 (char *) "self", NULL
8997 };
8998
8999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetLevel",kwnames,&obj0)) goto fail;
9000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem,
9001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9002 {
9003 PyThreadState* __tstate = wxPyBeginAllowThreads();
9004 result = (int)wxHtmlContentsItem_GetLevel(arg1);
9005
9006 wxPyEndAllowThreads(__tstate);
9007 if (PyErr_Occurred()) SWIG_fail;
9008 }
9009 resultobj = SWIG_FromInt((int)result);
9010 return resultobj;
9011 fail:
9012 return NULL;
9013 }
9014
9015
9016 static PyObject *_wrap_HtmlContentsItem_GetID(PyObject *self, PyObject *args, PyObject *kwargs) {
9017 PyObject *resultobj;
9018 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
9019 int result;
9020 PyObject * obj0 = 0 ;
9021 char *kwnames[] = {
9022 (char *) "self", NULL
9023 };
9024
9025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetID",kwnames,&obj0)) goto fail;
9026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem,
9027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9028 {
9029 PyThreadState* __tstate = wxPyBeginAllowThreads();
9030 result = (int)wxHtmlContentsItem_GetID(arg1);
9031
9032 wxPyEndAllowThreads(__tstate);
9033 if (PyErr_Occurred()) SWIG_fail;
9034 }
9035 resultobj = SWIG_FromInt((int)result);
9036 return resultobj;
9037 fail:
9038 return NULL;
9039 }
9040
9041
9042 static PyObject *_wrap_HtmlContentsItem_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
9043 PyObject *resultobj;
9044 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
9045 wxString result;
9046 PyObject * obj0 = 0 ;
9047 char *kwnames[] = {
9048 (char *) "self", NULL
9049 };
9050
9051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetName",kwnames,&obj0)) goto fail;
9052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem,
9053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9054 {
9055 PyThreadState* __tstate = wxPyBeginAllowThreads();
9056 result = wxHtmlContentsItem_GetName(arg1);
9057
9058 wxPyEndAllowThreads(__tstate);
9059 if (PyErr_Occurred()) SWIG_fail;
9060 }
9061 {
9062 #if wxUSE_UNICODE
9063 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9064 #else
9065 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9066 #endif
9067 }
9068 return resultobj;
9069 fail:
9070 return NULL;
9071 }
9072
9073
9074 static PyObject *_wrap_HtmlContentsItem_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
9075 PyObject *resultobj;
9076 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
9077 wxString result;
9078 PyObject * obj0 = 0 ;
9079 char *kwnames[] = {
9080 (char *) "self", NULL
9081 };
9082
9083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetPage",kwnames,&obj0)) goto fail;
9084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem,
9085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9086 {
9087 PyThreadState* __tstate = wxPyBeginAllowThreads();
9088 result = wxHtmlContentsItem_GetPage(arg1);
9089
9090 wxPyEndAllowThreads(__tstate);
9091 if (PyErr_Occurred()) SWIG_fail;
9092 }
9093 {
9094 #if wxUSE_UNICODE
9095 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9096 #else
9097 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9098 #endif
9099 }
9100 return resultobj;
9101 fail:
9102 return NULL;
9103 }
9104
9105
9106 static PyObject *_wrap_HtmlContentsItem_GetBook(PyObject *self, PyObject *args, PyObject *kwargs) {
9107 PyObject *resultobj;
9108 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
9109 wxHtmlBookRecord *result;
9110 PyObject * obj0 = 0 ;
9111 char *kwnames[] = {
9112 (char *) "self", NULL
9113 };
9114
9115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetBook",kwnames,&obj0)) goto fail;
9116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem,
9117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9118 {
9119 PyThreadState* __tstate = wxPyBeginAllowThreads();
9120 result = (wxHtmlBookRecord *)wxHtmlContentsItem_GetBook(arg1);
9121
9122 wxPyEndAllowThreads(__tstate);
9123 if (PyErr_Occurred()) SWIG_fail;
9124 }
9125 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecord, 0);
9126 return resultobj;
9127 fail:
9128 return NULL;
9129 }
9130
9131
9132 static PyObject * HtmlContentsItem_swigregister(PyObject *self, PyObject *args) {
9133 PyObject *obj;
9134 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9135 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContentsItem, obj);
9136 Py_INCREF(obj);
9137 return Py_BuildValue((char *)"");
9138 }
9139 static PyObject *_wrap_HtmlSearchStatus_Search(PyObject *self, PyObject *args, PyObject *kwargs) {
9140 PyObject *resultobj;
9141 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
9142 bool result;
9143 PyObject * obj0 = 0 ;
9144 char *kwnames[] = {
9145 (char *) "self", NULL
9146 };
9147
9148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_Search",kwnames,&obj0)) goto fail;
9149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus,
9150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9151 {
9152 PyThreadState* __tstate = wxPyBeginAllowThreads();
9153 result = (bool)(arg1)->Search();
9154
9155 wxPyEndAllowThreads(__tstate);
9156 if (PyErr_Occurred()) SWIG_fail;
9157 }
9158 {
9159 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9160 }
9161 return resultobj;
9162 fail:
9163 return NULL;
9164 }
9165
9166
9167 static PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *self, PyObject *args, PyObject *kwargs) {
9168 PyObject *resultobj;
9169 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
9170 bool result;
9171 PyObject * obj0 = 0 ;
9172 char *kwnames[] = {
9173 (char *) "self", NULL
9174 };
9175
9176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_IsActive",kwnames,&obj0)) goto fail;
9177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus,
9178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9179 {
9180 PyThreadState* __tstate = wxPyBeginAllowThreads();
9181 result = (bool)(arg1)->IsActive();
9182
9183 wxPyEndAllowThreads(__tstate);
9184 if (PyErr_Occurred()) SWIG_fail;
9185 }
9186 {
9187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9188 }
9189 return resultobj;
9190 fail:
9191 return NULL;
9192 }
9193
9194
9195 static PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
9196 PyObject *resultobj;
9197 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
9198 int result;
9199 PyObject * obj0 = 0 ;
9200 char *kwnames[] = {
9201 (char *) "self", NULL
9202 };
9203
9204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetCurIndex",kwnames,&obj0)) goto fail;
9205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus,
9206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9207 {
9208 PyThreadState* __tstate = wxPyBeginAllowThreads();
9209 result = (int)(arg1)->GetCurIndex();
9210
9211 wxPyEndAllowThreads(__tstate);
9212 if (PyErr_Occurred()) SWIG_fail;
9213 }
9214 resultobj = SWIG_FromInt((int)result);
9215 return resultobj;
9216 fail:
9217 return NULL;
9218 }
9219
9220
9221 static PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
9222 PyObject *resultobj;
9223 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
9224 int result;
9225 PyObject * obj0 = 0 ;
9226 char *kwnames[] = {
9227 (char *) "self", NULL
9228 };
9229
9230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetMaxIndex",kwnames,&obj0)) goto fail;
9231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus,
9232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9233 {
9234 PyThreadState* __tstate = wxPyBeginAllowThreads();
9235 result = (int)(arg1)->GetMaxIndex();
9236
9237 wxPyEndAllowThreads(__tstate);
9238 if (PyErr_Occurred()) SWIG_fail;
9239 }
9240 resultobj = SWIG_FromInt((int)result);
9241 return resultobj;
9242 fail:
9243 return NULL;
9244 }
9245
9246
9247 static PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
9248 PyObject *resultobj;
9249 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
9250 wxString *result;
9251 PyObject * obj0 = 0 ;
9252 char *kwnames[] = {
9253 (char *) "self", NULL
9254 };
9255
9256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetName",kwnames,&obj0)) goto fail;
9257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus,
9258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9259 {
9260 PyThreadState* __tstate = wxPyBeginAllowThreads();
9261 {
9262 wxString const &_result_ref = (arg1)->GetName();
9263 result = (wxString *) &_result_ref;
9264 }
9265
9266 wxPyEndAllowThreads(__tstate);
9267 if (PyErr_Occurred()) SWIG_fail;
9268 }
9269 {
9270 #if wxUSE_UNICODE
9271 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
9272 #else
9273 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
9274 #endif
9275 }
9276 return resultobj;
9277 fail:
9278 return NULL;
9279 }
9280
9281
9282 static PyObject *_wrap_HtmlSearchStatus_GetContentsItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9283 PyObject *resultobj;
9284 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
9285 wxHtmlContentsItem *result;
9286 PyObject * obj0 = 0 ;
9287 char *kwnames[] = {
9288 (char *) "self", NULL
9289 };
9290
9291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetContentsItem",kwnames,&obj0)) goto fail;
9292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus,
9293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9294 {
9295 PyThreadState* __tstate = wxPyBeginAllowThreads();
9296 result = (wxHtmlContentsItem *)(arg1)->GetContentsItem();
9297
9298 wxPyEndAllowThreads(__tstate);
9299 if (PyErr_Occurred()) SWIG_fail;
9300 }
9301 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0);
9302 return resultobj;
9303 fail:
9304 return NULL;
9305 }
9306
9307
9308 static PyObject * HtmlSearchStatus_swigregister(PyObject *self, PyObject *args) {
9309 PyObject *obj;
9310 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9311 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSearchStatus, obj);
9312 Py_INCREF(obj);
9313 return Py_BuildValue((char *)"");
9314 }
9315 static PyObject *_wrap_new_HtmlHelpData(PyObject *self, PyObject *args, PyObject *kwargs) {
9316 PyObject *resultobj;
9317 wxHtmlHelpData *result;
9318 char *kwnames[] = {
9319 NULL
9320 };
9321
9322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlHelpData",kwnames)) goto fail;
9323 {
9324 PyThreadState* __tstate = wxPyBeginAllowThreads();
9325 result = (wxHtmlHelpData *)new wxHtmlHelpData();
9326
9327 wxPyEndAllowThreads(__tstate);
9328 if (PyErr_Occurred()) SWIG_fail;
9329 }
9330 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 1);
9331 return resultobj;
9332 fail:
9333 return NULL;
9334 }
9335
9336
9337 static PyObject *_wrap_delete_HtmlHelpData(PyObject *self, PyObject *args, PyObject *kwargs) {
9338 PyObject *resultobj;
9339 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9340 PyObject * obj0 = 0 ;
9341 char *kwnames[] = {
9342 (char *) "self", NULL
9343 };
9344
9345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpData",kwnames,&obj0)) goto fail;
9346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9348 {
9349 PyThreadState* __tstate = wxPyBeginAllowThreads();
9350 delete arg1;
9351
9352 wxPyEndAllowThreads(__tstate);
9353 if (PyErr_Occurred()) SWIG_fail;
9354 }
9355 Py_INCREF(Py_None); resultobj = Py_None;
9356 return resultobj;
9357 fail:
9358 return NULL;
9359 }
9360
9361
9362 static PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *self, PyObject *args, PyObject *kwargs) {
9363 PyObject *resultobj;
9364 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9365 wxString *arg2 = 0 ;
9366 bool temp2 = False ;
9367 PyObject * obj0 = 0 ;
9368 PyObject * obj1 = 0 ;
9369 char *kwnames[] = {
9370 (char *) "self",(char *) "path", NULL
9371 };
9372
9373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_SetTempDir",kwnames,&obj0,&obj1)) goto fail;
9374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9376 {
9377 arg2 = wxString_in_helper(obj1);
9378 if (arg2 == NULL) SWIG_fail;
9379 temp2 = True;
9380 }
9381 {
9382 PyThreadState* __tstate = wxPyBeginAllowThreads();
9383 (arg1)->SetTempDir((wxString const &)*arg2);
9384
9385 wxPyEndAllowThreads(__tstate);
9386 if (PyErr_Occurred()) SWIG_fail;
9387 }
9388 Py_INCREF(Py_None); resultobj = Py_None;
9389 {
9390 if (temp2)
9391 delete arg2;
9392 }
9393 return resultobj;
9394 fail:
9395 {
9396 if (temp2)
9397 delete arg2;
9398 }
9399 return NULL;
9400 }
9401
9402
9403 static PyObject *_wrap_HtmlHelpData_AddBook(PyObject *self, PyObject *args, PyObject *kwargs) {
9404 PyObject *resultobj;
9405 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9406 wxString *arg2 = 0 ;
9407 bool result;
9408 bool temp2 = False ;
9409 PyObject * obj0 = 0 ;
9410 PyObject * obj1 = 0 ;
9411 char *kwnames[] = {
9412 (char *) "self",(char *) "book", NULL
9413 };
9414
9415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_AddBook",kwnames,&obj0,&obj1)) goto fail;
9416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9418 {
9419 arg2 = wxString_in_helper(obj1);
9420 if (arg2 == NULL) SWIG_fail;
9421 temp2 = True;
9422 }
9423 {
9424 PyThreadState* __tstate = wxPyBeginAllowThreads();
9425 result = (bool)(arg1)->AddBook((wxString const &)*arg2);
9426
9427 wxPyEndAllowThreads(__tstate);
9428 if (PyErr_Occurred()) SWIG_fail;
9429 }
9430 {
9431 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9432 }
9433 {
9434 if (temp2)
9435 delete arg2;
9436 }
9437 return resultobj;
9438 fail:
9439 {
9440 if (temp2)
9441 delete arg2;
9442 }
9443 return NULL;
9444 }
9445
9446
9447 static PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *self, PyObject *args, PyObject *kwargs) {
9448 PyObject *resultobj;
9449 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9450 wxString *arg2 = 0 ;
9451 wxString result;
9452 bool temp2 = False ;
9453 PyObject * obj0 = 0 ;
9454 PyObject * obj1 = 0 ;
9455 char *kwnames[] = {
9456 (char *) "self",(char *) "page", NULL
9457 };
9458
9459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageByName",kwnames,&obj0,&obj1)) goto fail;
9460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9462 {
9463 arg2 = wxString_in_helper(obj1);
9464 if (arg2 == NULL) SWIG_fail;
9465 temp2 = True;
9466 }
9467 {
9468 PyThreadState* __tstate = wxPyBeginAllowThreads();
9469 result = (arg1)->FindPageByName((wxString const &)*arg2);
9470
9471 wxPyEndAllowThreads(__tstate);
9472 if (PyErr_Occurred()) SWIG_fail;
9473 }
9474 {
9475 #if wxUSE_UNICODE
9476 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9477 #else
9478 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9479 #endif
9480 }
9481 {
9482 if (temp2)
9483 delete arg2;
9484 }
9485 return resultobj;
9486 fail:
9487 {
9488 if (temp2)
9489 delete arg2;
9490 }
9491 return NULL;
9492 }
9493
9494
9495 static PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *self, PyObject *args, PyObject *kwargs) {
9496 PyObject *resultobj;
9497 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9498 int arg2 ;
9499 wxString result;
9500 PyObject * obj0 = 0 ;
9501 PyObject * obj1 = 0 ;
9502 char *kwnames[] = {
9503 (char *) "self",(char *) "id", NULL
9504 };
9505
9506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageById",kwnames,&obj0,&obj1)) goto fail;
9507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9509 arg2 = (int) SWIG_AsInt(obj1);
9510 if (PyErr_Occurred()) SWIG_fail;
9511 {
9512 PyThreadState* __tstate = wxPyBeginAllowThreads();
9513 result = (arg1)->FindPageById(arg2);
9514
9515 wxPyEndAllowThreads(__tstate);
9516 if (PyErr_Occurred()) SWIG_fail;
9517 }
9518 {
9519 #if wxUSE_UNICODE
9520 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9521 #else
9522 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9523 #endif
9524 }
9525 return resultobj;
9526 fail:
9527 return NULL;
9528 }
9529
9530
9531 static PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *self, PyObject *args, PyObject *kwargs) {
9532 PyObject *resultobj;
9533 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9534 wxHtmlBookRecArray *result;
9535 PyObject * obj0 = 0 ;
9536 char *kwnames[] = {
9537 (char *) "self", NULL
9538 };
9539
9540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetBookRecArray",kwnames,&obj0)) goto fail;
9541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9543 {
9544 PyThreadState* __tstate = wxPyBeginAllowThreads();
9545 {
9546 wxHtmlBookRecArray const &_result_ref = (arg1)->GetBookRecArray();
9547 result = (wxHtmlBookRecArray *) &_result_ref;
9548 }
9549
9550 wxPyEndAllowThreads(__tstate);
9551 if (PyErr_Occurred()) SWIG_fail;
9552 }
9553 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecArray, 0);
9554 return resultobj;
9555 fail:
9556 return NULL;
9557 }
9558
9559
9560 static PyObject *_wrap_HtmlHelpData_GetContents(PyObject *self, PyObject *args, PyObject *kwargs) {
9561 PyObject *resultobj;
9562 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9563 wxHtmlContentsItem *result;
9564 PyObject * obj0 = 0 ;
9565 char *kwnames[] = {
9566 (char *) "self", NULL
9567 };
9568
9569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContents",kwnames,&obj0)) goto fail;
9570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9572 {
9573 PyThreadState* __tstate = wxPyBeginAllowThreads();
9574 result = (wxHtmlContentsItem *)(arg1)->GetContents();
9575
9576 wxPyEndAllowThreads(__tstate);
9577 if (PyErr_Occurred()) SWIG_fail;
9578 }
9579 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0);
9580 return resultobj;
9581 fail:
9582 return NULL;
9583 }
9584
9585
9586 static PyObject *_wrap_HtmlHelpData_GetContentsCnt(PyObject *self, PyObject *args, PyObject *kwargs) {
9587 PyObject *resultobj;
9588 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9589 int result;
9590 PyObject * obj0 = 0 ;
9591 char *kwnames[] = {
9592 (char *) "self", NULL
9593 };
9594
9595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContentsCnt",kwnames,&obj0)) goto fail;
9596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9598 {
9599 PyThreadState* __tstate = wxPyBeginAllowThreads();
9600 result = (int)(arg1)->GetContentsCnt();
9601
9602 wxPyEndAllowThreads(__tstate);
9603 if (PyErr_Occurred()) SWIG_fail;
9604 }
9605 resultobj = SWIG_FromInt((int)result);
9606 return resultobj;
9607 fail:
9608 return NULL;
9609 }
9610
9611
9612 static PyObject *_wrap_HtmlHelpData_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
9613 PyObject *resultobj;
9614 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9615 wxHtmlContentsItem *result;
9616 PyObject * obj0 = 0 ;
9617 char *kwnames[] = {
9618 (char *) "self", NULL
9619 };
9620
9621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndex",kwnames,&obj0)) goto fail;
9622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9624 {
9625 PyThreadState* __tstate = wxPyBeginAllowThreads();
9626 result = (wxHtmlContentsItem *)(arg1)->GetIndex();
9627
9628 wxPyEndAllowThreads(__tstate);
9629 if (PyErr_Occurred()) SWIG_fail;
9630 }
9631 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0);
9632 return resultobj;
9633 fail:
9634 return NULL;
9635 }
9636
9637
9638 static PyObject *_wrap_HtmlHelpData_GetIndexCnt(PyObject *self, PyObject *args, PyObject *kwargs) {
9639 PyObject *resultobj;
9640 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9641 int result;
9642 PyObject * obj0 = 0 ;
9643 char *kwnames[] = {
9644 (char *) "self", NULL
9645 };
9646
9647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndexCnt",kwnames,&obj0)) goto fail;
9648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9650 {
9651 PyThreadState* __tstate = wxPyBeginAllowThreads();
9652 result = (int)(arg1)->GetIndexCnt();
9653
9654 wxPyEndAllowThreads(__tstate);
9655 if (PyErr_Occurred()) SWIG_fail;
9656 }
9657 resultobj = SWIG_FromInt((int)result);
9658 return resultobj;
9659 fail:
9660 return NULL;
9661 }
9662
9663
9664 static PyObject * HtmlHelpData_swigregister(PyObject *self, PyObject *args) {
9665 PyObject *obj;
9666 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9667 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpData, obj);
9668 Py_INCREF(obj);
9669 return Py_BuildValue((char *)"");
9670 }
9671 static PyObject *_wrap_new_HtmlHelpFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
9672 PyObject *resultobj;
9673 wxWindow *arg1 = (wxWindow *) 0 ;
9674 int arg2 ;
9675 wxString const &arg3_defvalue = wxPyEmptyString ;
9676 wxString *arg3 = (wxString *) &arg3_defvalue ;
9677 int arg4 = (int) wxHF_DEFAULTSTYLE ;
9678 wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ;
9679 wxHtmlHelpFrame *result;
9680 bool temp3 = False ;
9681 PyObject * obj0 = 0 ;
9682 PyObject * obj1 = 0 ;
9683 PyObject * obj2 = 0 ;
9684 PyObject * obj3 = 0 ;
9685 PyObject * obj4 = 0 ;
9686 char *kwnames[] = {
9687 (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL
9688 };
9689
9690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
9691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9693 arg2 = (int) SWIG_AsInt(obj1);
9694 if (PyErr_Occurred()) SWIG_fail;
9695 if (obj2) {
9696 {
9697 arg3 = wxString_in_helper(obj2);
9698 if (arg3 == NULL) SWIG_fail;
9699 temp3 = True;
9700 }
9701 }
9702 if (obj3) {
9703 arg4 = (int) SWIG_AsInt(obj3);
9704 if (PyErr_Occurred()) SWIG_fail;
9705 }
9706 if (obj4) {
9707 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxHtmlHelpData,
9708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9709 }
9710 {
9711 if (!wxPyCheckForApp()) SWIG_fail;
9712 PyThreadState* __tstate = wxPyBeginAllowThreads();
9713 result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5);
9714
9715 wxPyEndAllowThreads(__tstate);
9716 if (PyErr_Occurred()) SWIG_fail;
9717 }
9718 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 1);
9719 {
9720 if (temp3)
9721 delete arg3;
9722 }
9723 return resultobj;
9724 fail:
9725 {
9726 if (temp3)
9727 delete arg3;
9728 }
9729 return NULL;
9730 }
9731
9732
9733 static PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
9734 PyObject *resultobj;
9735 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9736 wxHtmlHelpData *result;
9737 PyObject * obj0 = 0 ;
9738 char *kwnames[] = {
9739 (char *) "self", NULL
9740 };
9741
9742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_GetData",kwnames,&obj0)) goto fail;
9743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
9744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9745 {
9746 PyThreadState* __tstate = wxPyBeginAllowThreads();
9747 result = (wxHtmlHelpData *)(arg1)->GetData();
9748
9749 wxPyEndAllowThreads(__tstate);
9750 if (PyErr_Occurred()) SWIG_fail;
9751 }
9752 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 0);
9753 return resultobj;
9754 fail:
9755 return NULL;
9756 }
9757
9758
9759 static PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
9760 PyObject *resultobj;
9761 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9762 wxString *arg2 = 0 ;
9763 bool temp2 = False ;
9764 PyObject * obj0 = 0 ;
9765 PyObject * obj1 = 0 ;
9766 char *kwnames[] = {
9767 (char *) "self",(char *) "format", NULL
9768 };
9769
9770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
9771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
9772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9773 {
9774 arg2 = wxString_in_helper(obj1);
9775 if (arg2 == NULL) SWIG_fail;
9776 temp2 = True;
9777 }
9778 {
9779 PyThreadState* __tstate = wxPyBeginAllowThreads();
9780 (arg1)->SetTitleFormat((wxString const &)*arg2);
9781
9782 wxPyEndAllowThreads(__tstate);
9783 if (PyErr_Occurred()) SWIG_fail;
9784 }
9785 Py_INCREF(Py_None); resultobj = Py_None;
9786 {
9787 if (temp2)
9788 delete arg2;
9789 }
9790 return resultobj;
9791 fail:
9792 {
9793 if (temp2)
9794 delete arg2;
9795 }
9796 return NULL;
9797 }
9798
9799
9800 static PyObject *_wrap_HtmlHelpFrame_Display(PyObject *self, PyObject *args, PyObject *kwargs) {
9801 PyObject *resultobj;
9802 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9803 wxString *arg2 = 0 ;
9804 bool temp2 = False ;
9805 PyObject * obj0 = 0 ;
9806 PyObject * obj1 = 0 ;
9807 char *kwnames[] = {
9808 (char *) "self",(char *) "x", NULL
9809 };
9810
9811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_Display",kwnames,&obj0,&obj1)) goto fail;
9812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
9813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9814 {
9815 arg2 = wxString_in_helper(obj1);
9816 if (arg2 == NULL) SWIG_fail;
9817 temp2 = True;
9818 }
9819 {
9820 PyThreadState* __tstate = wxPyBeginAllowThreads();
9821 (arg1)->Display((wxString const &)*arg2);
9822
9823 wxPyEndAllowThreads(__tstate);
9824 if (PyErr_Occurred()) SWIG_fail;
9825 }
9826 Py_INCREF(Py_None); resultobj = Py_None;
9827 {
9828 if (temp2)
9829 delete arg2;
9830 }
9831 return resultobj;
9832 fail:
9833 {
9834 if (temp2)
9835 delete arg2;
9836 }
9837 return NULL;
9838 }
9839
9840
9841 static PyObject *_wrap_HtmlHelpFrame_DisplayID(PyObject *self, PyObject *args, PyObject *kwargs) {
9842 PyObject *resultobj;
9843 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9844 int arg2 ;
9845 PyObject * obj0 = 0 ;
9846 PyObject * obj1 = 0 ;
9847 char *kwnames[] = {
9848 (char *) "self",(char *) "id", NULL
9849 };
9850
9851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_DisplayID",kwnames,&obj0,&obj1)) goto fail;
9852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
9853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9854 arg2 = (int) SWIG_AsInt(obj1);
9855 if (PyErr_Occurred()) SWIG_fail;
9856 {
9857 PyThreadState* __tstate = wxPyBeginAllowThreads();
9858 (arg1)->Display(arg2);
9859
9860 wxPyEndAllowThreads(__tstate);
9861 if (PyErr_Occurred()) SWIG_fail;
9862 }
9863 Py_INCREF(Py_None); resultobj = Py_None;
9864 return resultobj;
9865 fail:
9866 return NULL;
9867 }
9868
9869
9870 static PyObject *_wrap_HtmlHelpFrame_DisplayContents(PyObject *self, PyObject *args, PyObject *kwargs) {
9871 PyObject *resultobj;
9872 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9873 PyObject * obj0 = 0 ;
9874 char *kwnames[] = {
9875 (char *) "self", NULL
9876 };
9877
9878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayContents",kwnames,&obj0)) goto fail;
9879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
9880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9881 {
9882 PyThreadState* __tstate = wxPyBeginAllowThreads();
9883 (arg1)->DisplayContents();
9884
9885 wxPyEndAllowThreads(__tstate);
9886 if (PyErr_Occurred()) SWIG_fail;
9887 }
9888 Py_INCREF(Py_None); resultobj = Py_None;
9889 return resultobj;
9890 fail:
9891 return NULL;
9892 }
9893
9894
9895 static PyObject *_wrap_HtmlHelpFrame_DisplayIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
9896 PyObject *resultobj;
9897 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9898 PyObject * obj0 = 0 ;
9899 char *kwnames[] = {
9900 (char *) "self", NULL
9901 };
9902
9903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayIndex",kwnames,&obj0)) goto fail;
9904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
9905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9906 {
9907 PyThreadState* __tstate = wxPyBeginAllowThreads();
9908 (arg1)->DisplayIndex();
9909
9910 wxPyEndAllowThreads(__tstate);
9911 if (PyErr_Occurred()) SWIG_fail;
9912 }
9913 Py_INCREF(Py_None); resultobj = Py_None;
9914 return resultobj;
9915 fail:
9916 return NULL;
9917 }
9918
9919
9920 static PyObject *_wrap_HtmlHelpFrame_KeywordSearch(PyObject *self, PyObject *args, PyObject *kwargs) {
9921 PyObject *resultobj;
9922 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9923 wxString *arg2 = 0 ;
9924 bool result;
9925 bool temp2 = False ;
9926 PyObject * obj0 = 0 ;
9927 PyObject * obj1 = 0 ;
9928 char *kwnames[] = {
9929 (char *) "self",(char *) "keyword", NULL
9930 };
9931
9932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_KeywordSearch",kwnames,&obj0,&obj1)) goto fail;
9933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
9934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9935 {
9936 arg2 = wxString_in_helper(obj1);
9937 if (arg2 == NULL) SWIG_fail;
9938 temp2 = True;
9939 }
9940 {
9941 PyThreadState* __tstate = wxPyBeginAllowThreads();
9942 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
9943
9944 wxPyEndAllowThreads(__tstate);
9945 if (PyErr_Occurred()) SWIG_fail;
9946 }
9947 {
9948 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9949 }
9950 {
9951 if (temp2)
9952 delete arg2;
9953 }
9954 return resultobj;
9955 fail:
9956 {
9957 if (temp2)
9958 delete arg2;
9959 }
9960 return NULL;
9961 }
9962
9963
9964 static PyObject *_wrap_HtmlHelpFrame_UseConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
9965 PyObject *resultobj;
9966 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9967 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
9968 wxString const &arg3_defvalue = wxPyEmptyString ;
9969 wxString *arg3 = (wxString *) &arg3_defvalue ;
9970 bool temp3 = False ;
9971 PyObject * obj0 = 0 ;
9972 PyObject * obj1 = 0 ;
9973 PyObject * obj2 = 0 ;
9974 char *kwnames[] = {
9975 (char *) "self",(char *) "config",(char *) "rootpath", NULL
9976 };
9977
9978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail;
9979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
9980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9981 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
9982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9983 if (obj2) {
9984 {
9985 arg3 = wxString_in_helper(obj2);
9986 if (arg3 == NULL) SWIG_fail;
9987 temp3 = True;
9988 }
9989 }
9990 {
9991 PyThreadState* __tstate = wxPyBeginAllowThreads();
9992 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
9993
9994 wxPyEndAllowThreads(__tstate);
9995 if (PyErr_Occurred()) SWIG_fail;
9996 }
9997 Py_INCREF(Py_None); resultobj = Py_None;
9998 {
9999 if (temp3)
10000 delete arg3;
10001 }
10002 return resultobj;
10003 fail:
10004 {
10005 if (temp3)
10006 delete arg3;
10007 }
10008 return NULL;
10009 }
10010
10011
10012 static PyObject *_wrap_HtmlHelpFrame_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
10013 PyObject *resultobj;
10014 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
10015 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10016 wxString arg3 = (wxString) wxPyEmptyString ;
10017 PyObject * obj0 = 0 ;
10018 PyObject * obj1 = 0 ;
10019 PyObject * obj2 = 0 ;
10020 char *kwnames[] = {
10021 (char *) "self",(char *) "cfg",(char *) "path", NULL
10022 };
10023
10024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
10025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
10026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10027 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
10028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10029 if (obj2) {
10030 {
10031 wxString* sptr = wxString_in_helper(obj2);
10032 if (sptr == NULL) SWIG_fail;
10033 arg3 = *sptr;
10034 delete sptr;
10035 }
10036 }
10037 {
10038 PyThreadState* __tstate = wxPyBeginAllowThreads();
10039 (arg1)->ReadCustomization(arg2,arg3);
10040
10041 wxPyEndAllowThreads(__tstate);
10042 if (PyErr_Occurred()) SWIG_fail;
10043 }
10044 Py_INCREF(Py_None); resultobj = Py_None;
10045 return resultobj;
10046 fail:
10047 return NULL;
10048 }
10049
10050
10051 static PyObject *_wrap_HtmlHelpFrame_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
10052 PyObject *resultobj;
10053 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
10054 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10055 wxString arg3 = (wxString) wxPyEmptyString ;
10056 PyObject * obj0 = 0 ;
10057 PyObject * obj1 = 0 ;
10058 PyObject * obj2 = 0 ;
10059 char *kwnames[] = {
10060 (char *) "self",(char *) "cfg",(char *) "path", NULL
10061 };
10062
10063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
10064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
10065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10066 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
10067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10068 if (obj2) {
10069 {
10070 wxString* sptr = wxString_in_helper(obj2);
10071 if (sptr == NULL) SWIG_fail;
10072 arg3 = *sptr;
10073 delete sptr;
10074 }
10075 }
10076 {
10077 PyThreadState* __tstate = wxPyBeginAllowThreads();
10078 (arg1)->WriteCustomization(arg2,arg3);
10079
10080 wxPyEndAllowThreads(__tstate);
10081 if (PyErr_Occurred()) SWIG_fail;
10082 }
10083 Py_INCREF(Py_None); resultobj = Py_None;
10084 return resultobj;
10085 fail:
10086 return NULL;
10087 }
10088
10089
10090 static PyObject * HtmlHelpFrame_swigregister(PyObject *self, PyObject *args) {
10091 PyObject *obj;
10092 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10093 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpFrame, obj);
10094 Py_INCREF(obj);
10095 return Py_BuildValue((char *)"");
10096 }
10097 static PyObject *_wrap_new_HtmlHelpController(PyObject *self, PyObject *args, PyObject *kwargs) {
10098 PyObject *resultobj;
10099 int arg1 = (int) wxHF_DEFAULTSTYLE ;
10100 wxHtmlHelpController *result;
10101 PyObject * obj0 = 0 ;
10102 char *kwnames[] = {
10103 (char *) "style", NULL
10104 };
10105
10106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlHelpController",kwnames,&obj0)) goto fail;
10107 if (obj0) {
10108 arg1 = (int) SWIG_AsInt(obj0);
10109 if (PyErr_Occurred()) SWIG_fail;
10110 }
10111 {
10112 if (!wxPyCheckForApp()) SWIG_fail;
10113 PyThreadState* __tstate = wxPyBeginAllowThreads();
10114 result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1);
10115
10116 wxPyEndAllowThreads(__tstate);
10117 if (PyErr_Occurred()) SWIG_fail;
10118 }
10119 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpController, 1);
10120 return resultobj;
10121 fail:
10122 return NULL;
10123 }
10124
10125
10126 static PyObject *_wrap_delete_HtmlHelpController(PyObject *self, PyObject *args, PyObject *kwargs) {
10127 PyObject *resultobj;
10128 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10129 PyObject * obj0 = 0 ;
10130 char *kwnames[] = {
10131 (char *) "self", NULL
10132 };
10133
10134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpController",kwnames,&obj0)) goto fail;
10135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10137 {
10138 PyThreadState* __tstate = wxPyBeginAllowThreads();
10139 delete arg1;
10140
10141 wxPyEndAllowThreads(__tstate);
10142 if (PyErr_Occurred()) SWIG_fail;
10143 }
10144 Py_INCREF(Py_None); resultobj = Py_None;
10145 return resultobj;
10146 fail:
10147 return NULL;
10148 }
10149
10150
10151 static PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
10152 PyObject *resultobj;
10153 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10154 wxString *arg2 = 0 ;
10155 bool temp2 = False ;
10156 PyObject * obj0 = 0 ;
10157 PyObject * obj1 = 0 ;
10158 char *kwnames[] = {
10159 (char *) "self",(char *) "format", NULL
10160 };
10161
10162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
10163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10165 {
10166 arg2 = wxString_in_helper(obj1);
10167 if (arg2 == NULL) SWIG_fail;
10168 temp2 = True;
10169 }
10170 {
10171 PyThreadState* __tstate = wxPyBeginAllowThreads();
10172 (arg1)->SetTitleFormat((wxString const &)*arg2);
10173
10174 wxPyEndAllowThreads(__tstate);
10175 if (PyErr_Occurred()) SWIG_fail;
10176 }
10177 Py_INCREF(Py_None); resultobj = Py_None;
10178 {
10179 if (temp2)
10180 delete arg2;
10181 }
10182 return resultobj;
10183 fail:
10184 {
10185 if (temp2)
10186 delete arg2;
10187 }
10188 return NULL;
10189 }
10190
10191
10192 static PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *self, PyObject *args, PyObject *kwargs) {
10193 PyObject *resultobj;
10194 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10195 wxString *arg2 = 0 ;
10196 bool temp2 = False ;
10197 PyObject * obj0 = 0 ;
10198 PyObject * obj1 = 0 ;
10199 char *kwnames[] = {
10200 (char *) "self",(char *) "path", NULL
10201 };
10202
10203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",kwnames,&obj0,&obj1)) goto fail;
10204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10206 {
10207 arg2 = wxString_in_helper(obj1);
10208 if (arg2 == NULL) SWIG_fail;
10209 temp2 = True;
10210 }
10211 {
10212 PyThreadState* __tstate = wxPyBeginAllowThreads();
10213 (arg1)->SetTempDir((wxString const &)*arg2);
10214
10215 wxPyEndAllowThreads(__tstate);
10216 if (PyErr_Occurred()) SWIG_fail;
10217 }
10218 Py_INCREF(Py_None); resultobj = Py_None;
10219 {
10220 if (temp2)
10221 delete arg2;
10222 }
10223 return resultobj;
10224 fail:
10225 {
10226 if (temp2)
10227 delete arg2;
10228 }
10229 return NULL;
10230 }
10231
10232
10233 static PyObject *_wrap_HtmlHelpController_AddBook(PyObject *self, PyObject *args, PyObject *kwargs) {
10234 PyObject *resultobj;
10235 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10236 wxString *arg2 = 0 ;
10237 int arg3 = (int) False ;
10238 bool result;
10239 bool temp2 = False ;
10240 PyObject * obj0 = 0 ;
10241 PyObject * obj1 = 0 ;
10242 PyObject * obj2 = 0 ;
10243 char *kwnames[] = {
10244 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
10245 };
10246
10247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&obj2)) goto fail;
10248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10250 {
10251 arg2 = wxString_in_helper(obj1);
10252 if (arg2 == NULL) SWIG_fail;
10253 temp2 = True;
10254 }
10255 if (obj2) {
10256 arg3 = (int) SWIG_AsInt(obj2);
10257 if (PyErr_Occurred()) SWIG_fail;
10258 }
10259 {
10260 PyThreadState* __tstate = wxPyBeginAllowThreads();
10261 result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3);
10262
10263 wxPyEndAllowThreads(__tstate);
10264 if (PyErr_Occurred()) SWIG_fail;
10265 }
10266 {
10267 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10268 }
10269 {
10270 if (temp2)
10271 delete arg2;
10272 }
10273 return resultobj;
10274 fail:
10275 {
10276 if (temp2)
10277 delete arg2;
10278 }
10279 return NULL;
10280 }
10281
10282
10283 static PyObject *_wrap_HtmlHelpController_Display(PyObject *self, PyObject *args, PyObject *kwargs) {
10284 PyObject *resultobj;
10285 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10286 wxString *arg2 = 0 ;
10287 bool temp2 = False ;
10288 PyObject * obj0 = 0 ;
10289 PyObject * obj1 = 0 ;
10290 char *kwnames[] = {
10291 (char *) "self",(char *) "x", NULL
10292 };
10293
10294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) goto fail;
10295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10297 {
10298 arg2 = wxString_in_helper(obj1);
10299 if (arg2 == NULL) SWIG_fail;
10300 temp2 = True;
10301 }
10302 {
10303 PyThreadState* __tstate = wxPyBeginAllowThreads();
10304 (arg1)->Display((wxString const &)*arg2);
10305
10306 wxPyEndAllowThreads(__tstate);
10307 if (PyErr_Occurred()) SWIG_fail;
10308 }
10309 Py_INCREF(Py_None); resultobj = Py_None;
10310 {
10311 if (temp2)
10312 delete arg2;
10313 }
10314 return resultobj;
10315 fail:
10316 {
10317 if (temp2)
10318 delete arg2;
10319 }
10320 return NULL;
10321 }
10322
10323
10324 static PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *self, PyObject *args, PyObject *kwargs) {
10325 PyObject *resultobj;
10326 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10327 int arg2 ;
10328 PyObject * obj0 = 0 ;
10329 PyObject * obj1 = 0 ;
10330 char *kwnames[] = {
10331 (char *) "self",(char *) "id", NULL
10332 };
10333
10334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_DisplayID",kwnames,&obj0,&obj1)) goto fail;
10335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10337 arg2 = (int) SWIG_AsInt(obj1);
10338 if (PyErr_Occurred()) SWIG_fail;
10339 {
10340 PyThreadState* __tstate = wxPyBeginAllowThreads();
10341 (arg1)->Display(arg2);
10342
10343 wxPyEndAllowThreads(__tstate);
10344 if (PyErr_Occurred()) SWIG_fail;
10345 }
10346 Py_INCREF(Py_None); resultobj = Py_None;
10347 return resultobj;
10348 fail:
10349 return NULL;
10350 }
10351
10352
10353 static PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *self, PyObject *args, PyObject *kwargs) {
10354 PyObject *resultobj;
10355 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10356 PyObject * obj0 = 0 ;
10357 char *kwnames[] = {
10358 (char *) "self", NULL
10359 };
10360
10361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayContents",kwnames,&obj0)) goto fail;
10362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10364 {
10365 PyThreadState* __tstate = wxPyBeginAllowThreads();
10366 (arg1)->DisplayContents();
10367
10368 wxPyEndAllowThreads(__tstate);
10369 if (PyErr_Occurred()) SWIG_fail;
10370 }
10371 Py_INCREF(Py_None); resultobj = Py_None;
10372 return resultobj;
10373 fail:
10374 return NULL;
10375 }
10376
10377
10378 static PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10379 PyObject *resultobj;
10380 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10381 PyObject * obj0 = 0 ;
10382 char *kwnames[] = {
10383 (char *) "self", NULL
10384 };
10385
10386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayIndex",kwnames,&obj0)) goto fail;
10387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10389 {
10390 PyThreadState* __tstate = wxPyBeginAllowThreads();
10391 (arg1)->DisplayIndex();
10392
10393 wxPyEndAllowThreads(__tstate);
10394 if (PyErr_Occurred()) SWIG_fail;
10395 }
10396 Py_INCREF(Py_None); resultobj = Py_None;
10397 return resultobj;
10398 fail:
10399 return NULL;
10400 }
10401
10402
10403 static PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *self, PyObject *args, PyObject *kwargs) {
10404 PyObject *resultobj;
10405 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10406 wxString *arg2 = 0 ;
10407 bool result;
10408 bool temp2 = False ;
10409 PyObject * obj0 = 0 ;
10410 PyObject * obj1 = 0 ;
10411 char *kwnames[] = {
10412 (char *) "self",(char *) "keyword", NULL
10413 };
10414
10415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) goto fail;
10416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10418 {
10419 arg2 = wxString_in_helper(obj1);
10420 if (arg2 == NULL) SWIG_fail;
10421 temp2 = True;
10422 }
10423 {
10424 PyThreadState* __tstate = wxPyBeginAllowThreads();
10425 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
10426
10427 wxPyEndAllowThreads(__tstate);
10428 if (PyErr_Occurred()) SWIG_fail;
10429 }
10430 {
10431 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10432 }
10433 {
10434 if (temp2)
10435 delete arg2;
10436 }
10437 return resultobj;
10438 fail:
10439 {
10440 if (temp2)
10441 delete arg2;
10442 }
10443 return NULL;
10444 }
10445
10446
10447 static PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
10448 PyObject *resultobj;
10449 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10450 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10451 wxString const &arg3_defvalue = wxPyEmptyString ;
10452 wxString *arg3 = (wxString *) &arg3_defvalue ;
10453 bool temp3 = False ;
10454 PyObject * obj0 = 0 ;
10455 PyObject * obj1 = 0 ;
10456 PyObject * obj2 = 0 ;
10457 char *kwnames[] = {
10458 (char *) "self",(char *) "config",(char *) "rootpath", NULL
10459 };
10460
10461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail;
10462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10464 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
10465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10466 if (obj2) {
10467 {
10468 arg3 = wxString_in_helper(obj2);
10469 if (arg3 == NULL) SWIG_fail;
10470 temp3 = True;
10471 }
10472 }
10473 {
10474 PyThreadState* __tstate = wxPyBeginAllowThreads();
10475 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
10476
10477 wxPyEndAllowThreads(__tstate);
10478 if (PyErr_Occurred()) SWIG_fail;
10479 }
10480 Py_INCREF(Py_None); resultobj = Py_None;
10481 {
10482 if (temp3)
10483 delete arg3;
10484 }
10485 return resultobj;
10486 fail:
10487 {
10488 if (temp3)
10489 delete arg3;
10490 }
10491 return NULL;
10492 }
10493
10494
10495 static PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
10496 PyObject *resultobj;
10497 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10498 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10499 wxString arg3 = (wxString) wxPyEmptyString ;
10500 PyObject * obj0 = 0 ;
10501 PyObject * obj1 = 0 ;
10502 PyObject * obj2 = 0 ;
10503 char *kwnames[] = {
10504 (char *) "self",(char *) "cfg",(char *) "path", NULL
10505 };
10506
10507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
10508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10510 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
10511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10512 if (obj2) {
10513 {
10514 wxString* sptr = wxString_in_helper(obj2);
10515 if (sptr == NULL) SWIG_fail;
10516 arg3 = *sptr;
10517 delete sptr;
10518 }
10519 }
10520 {
10521 PyThreadState* __tstate = wxPyBeginAllowThreads();
10522 (arg1)->ReadCustomization(arg2,arg3);
10523
10524 wxPyEndAllowThreads(__tstate);
10525 if (PyErr_Occurred()) SWIG_fail;
10526 }
10527 Py_INCREF(Py_None); resultobj = Py_None;
10528 return resultobj;
10529 fail:
10530 return NULL;
10531 }
10532
10533
10534 static PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
10535 PyObject *resultobj;
10536 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10537 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10538 wxString arg3 = (wxString) wxPyEmptyString ;
10539 PyObject * obj0 = 0 ;
10540 PyObject * obj1 = 0 ;
10541 PyObject * obj2 = 0 ;
10542 char *kwnames[] = {
10543 (char *) "self",(char *) "cfg",(char *) "path", NULL
10544 };
10545
10546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
10547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10549 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
10550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10551 if (obj2) {
10552 {
10553 wxString* sptr = wxString_in_helper(obj2);
10554 if (sptr == NULL) SWIG_fail;
10555 arg3 = *sptr;
10556 delete sptr;
10557 }
10558 }
10559 {
10560 PyThreadState* __tstate = wxPyBeginAllowThreads();
10561 (arg1)->WriteCustomization(arg2,arg3);
10562
10563 wxPyEndAllowThreads(__tstate);
10564 if (PyErr_Occurred()) SWIG_fail;
10565 }
10566 Py_INCREF(Py_None); resultobj = Py_None;
10567 return resultobj;
10568 fail:
10569 return NULL;
10570 }
10571
10572
10573 static PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
10574 PyObject *resultobj;
10575 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10576 wxHtmlHelpFrame *result;
10577 PyObject * obj0 = 0 ;
10578 char *kwnames[] = {
10579 (char *) "self", NULL
10580 };
10581
10582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_GetFrame",kwnames,&obj0)) goto fail;
10583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10585 {
10586 PyThreadState* __tstate = wxPyBeginAllowThreads();
10587 result = (wxHtmlHelpFrame *)(arg1)->GetFrame();
10588
10589 wxPyEndAllowThreads(__tstate);
10590 if (PyErr_Occurred()) SWIG_fail;
10591 }
10592 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 0);
10593 return resultobj;
10594 fail:
10595 return NULL;
10596 }
10597
10598
10599 static PyObject * HtmlHelpController_swigregister(PyObject *self, PyObject *args) {
10600 PyObject *obj;
10601 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10602 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpController, obj);
10603 Py_INCREF(obj);
10604 return Py_BuildValue((char *)"");
10605 }
10606 static PyMethodDef SwigMethods[] = {
10607 { (char *)"new_HtmlLinkInfo", (PyCFunction) _wrap_new_HtmlLinkInfo, METH_VARARGS | METH_KEYWORDS },
10608 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction) _wrap_HtmlLinkInfo_GetHref, METH_VARARGS | METH_KEYWORDS },
10609 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction) _wrap_HtmlLinkInfo_GetTarget, METH_VARARGS | METH_KEYWORDS },
10610 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction) _wrap_HtmlLinkInfo_GetEvent, METH_VARARGS | METH_KEYWORDS },
10611 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_GetHtmlCell, METH_VARARGS | METH_KEYWORDS },
10612 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction) _wrap_HtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS },
10613 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS },
10614 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister, METH_VARARGS },
10615 { (char *)"HtmlTag_GetName", (PyCFunction) _wrap_HtmlTag_GetName, METH_VARARGS | METH_KEYWORDS },
10616 { (char *)"HtmlTag_HasParam", (PyCFunction) _wrap_HtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS },
10617 { (char *)"HtmlTag_GetParam", (PyCFunction) _wrap_HtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS },
10618 { (char *)"HtmlTag_GetAllParams", (PyCFunction) _wrap_HtmlTag_GetAllParams, METH_VARARGS | METH_KEYWORDS },
10619 { (char *)"HtmlTag_HasEnding", (PyCFunction) _wrap_HtmlTag_HasEnding, METH_VARARGS | METH_KEYWORDS },
10620 { (char *)"HtmlTag_GetBeginPos", (PyCFunction) _wrap_HtmlTag_GetBeginPos, METH_VARARGS | METH_KEYWORDS },
10621 { (char *)"HtmlTag_GetEndPos1", (PyCFunction) _wrap_HtmlTag_GetEndPos1, METH_VARARGS | METH_KEYWORDS },
10622 { (char *)"HtmlTag_GetEndPos2", (PyCFunction) _wrap_HtmlTag_GetEndPos2, METH_VARARGS | METH_KEYWORDS },
10623 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister, METH_VARARGS },
10624 { (char *)"HtmlParser_SetFS", (PyCFunction) _wrap_HtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS },
10625 { (char *)"HtmlParser_GetFS", (PyCFunction) _wrap_HtmlParser_GetFS, METH_VARARGS | METH_KEYWORDS },
10626 { (char *)"HtmlParser_Parse", (PyCFunction) _wrap_HtmlParser_Parse, METH_VARARGS | METH_KEYWORDS },
10627 { (char *)"HtmlParser_InitParser", (PyCFunction) _wrap_HtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS },
10628 { (char *)"HtmlParser_DoneParser", (PyCFunction) _wrap_HtmlParser_DoneParser, METH_VARARGS | METH_KEYWORDS },
10629 { (char *)"HtmlParser_DoParsing", (PyCFunction) _wrap_HtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS },
10630 { (char *)"HtmlParser_StopParsing", (PyCFunction) _wrap_HtmlParser_StopParsing, METH_VARARGS | METH_KEYWORDS },
10631 { (char *)"HtmlParser_AddTagHandler", (PyCFunction) _wrap_HtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS },
10632 { (char *)"HtmlParser_GetSource", (PyCFunction) _wrap_HtmlParser_GetSource, METH_VARARGS | METH_KEYWORDS },
10633 { (char *)"HtmlParser_PushTagHandler", (PyCFunction) _wrap_HtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS },
10634 { (char *)"HtmlParser_PopTagHandler", (PyCFunction) _wrap_HtmlParser_PopTagHandler, METH_VARARGS | METH_KEYWORDS },
10635 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister, METH_VARARGS },
10636 { (char *)"new_HtmlWinParser", (PyCFunction) _wrap_new_HtmlWinParser, METH_VARARGS | METH_KEYWORDS },
10637 { (char *)"HtmlWinParser_SetDC", (PyCFunction) _wrap_HtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS },
10638 { (char *)"HtmlWinParser_GetDC", (PyCFunction) _wrap_HtmlWinParser_GetDC, METH_VARARGS | METH_KEYWORDS },
10639 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction) _wrap_HtmlWinParser_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
10640 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction) _wrap_HtmlWinParser_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
10641 { (char *)"HtmlWinParser_GetWindow", (PyCFunction) _wrap_HtmlWinParser_GetWindow, METH_VARARGS | METH_KEYWORDS },
10642 { (char *)"HtmlWinParser_SetFonts", (PyCFunction) _wrap_HtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS },
10643 { (char *)"HtmlWinParser_GetContainer", (PyCFunction) _wrap_HtmlWinParser_GetContainer, METH_VARARGS | METH_KEYWORDS },
10644 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction) _wrap_HtmlWinParser_OpenContainer, METH_VARARGS | METH_KEYWORDS },
10645 { (char *)"HtmlWinParser_SetContainer", (PyCFunction) _wrap_HtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS },
10646 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction) _wrap_HtmlWinParser_CloseContainer, METH_VARARGS | METH_KEYWORDS },
10647 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction) _wrap_HtmlWinParser_GetFontSize, METH_VARARGS | METH_KEYWORDS },
10648 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction) _wrap_HtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS },
10649 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction) _wrap_HtmlWinParser_GetFontBold, METH_VARARGS | METH_KEYWORDS },
10650 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction) _wrap_HtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS },
10651 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction) _wrap_HtmlWinParser_GetFontItalic, METH_VARARGS | METH_KEYWORDS },
10652 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction) _wrap_HtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS },
10653 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_GetFontUnderlined, METH_VARARGS | METH_KEYWORDS },
10654 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS },
10655 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction) _wrap_HtmlWinParser_GetFontFixed, METH_VARARGS | METH_KEYWORDS },
10656 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction) _wrap_HtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS },
10657 { (char *)"HtmlWinParser_GetAlign", (PyCFunction) _wrap_HtmlWinParser_GetAlign, METH_VARARGS | METH_KEYWORDS },
10658 { (char *)"HtmlWinParser_SetAlign", (PyCFunction) _wrap_HtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS },
10659 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction) _wrap_HtmlWinParser_GetLinkColor, METH_VARARGS | METH_KEYWORDS },
10660 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction) _wrap_HtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS },
10661 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction) _wrap_HtmlWinParser_GetActualColor, METH_VARARGS | METH_KEYWORDS },
10662 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction) _wrap_HtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS },
10663 { (char *)"HtmlWinParser_SetLink", (PyCFunction) _wrap_HtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS },
10664 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction) _wrap_HtmlWinParser_CreateCurrentFont, METH_VARARGS | METH_KEYWORDS },
10665 { (char *)"HtmlWinParser_GetLink", (PyCFunction) _wrap_HtmlWinParser_GetLink, METH_VARARGS | METH_KEYWORDS },
10666 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister, METH_VARARGS },
10667 { (char *)"new_HtmlTagHandler", (PyCFunction) _wrap_new_HtmlTagHandler, METH_VARARGS | METH_KEYWORDS },
10668 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
10669 { (char *)"HtmlTagHandler_SetParser", (PyCFunction) _wrap_HtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS },
10670 { (char *)"HtmlTagHandler_GetParser", (PyCFunction) _wrap_HtmlTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS },
10671 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction) _wrap_HtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS },
10672 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister, METH_VARARGS },
10673 { (char *)"new_HtmlWinTagHandler", (PyCFunction) _wrap_new_HtmlWinTagHandler, METH_VARARGS | METH_KEYWORDS },
10674 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
10675 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction) _wrap_HtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS },
10676 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction) _wrap_HtmlWinTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS },
10677 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_HtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS },
10678 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister, METH_VARARGS },
10679 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction) _wrap_HtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS },
10680 { (char *)"new_HtmlSelection", (PyCFunction) _wrap_new_HtmlSelection, METH_VARARGS | METH_KEYWORDS },
10681 { (char *)"delete_HtmlSelection", (PyCFunction) _wrap_delete_HtmlSelection, METH_VARARGS | METH_KEYWORDS },
10682 { (char *)"HtmlSelection_Set", (PyCFunction) _wrap_HtmlSelection_Set, METH_VARARGS | METH_KEYWORDS },
10683 { (char *)"HtmlSelection_SetCells", (PyCFunction) _wrap_HtmlSelection_SetCells, METH_VARARGS | METH_KEYWORDS },
10684 { (char *)"HtmlSelection_GetFromCell", (PyCFunction) _wrap_HtmlSelection_GetFromCell, METH_VARARGS | METH_KEYWORDS },
10685 { (char *)"HtmlSelection_GetToCell", (PyCFunction) _wrap_HtmlSelection_GetToCell, METH_VARARGS | METH_KEYWORDS },
10686 { (char *)"HtmlSelection_GetFromPos", (PyCFunction) _wrap_HtmlSelection_GetFromPos, METH_VARARGS | METH_KEYWORDS },
10687 { (char *)"HtmlSelection_GetToPos", (PyCFunction) _wrap_HtmlSelection_GetToPos, METH_VARARGS | METH_KEYWORDS },
10688 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_GetFromPrivPos, METH_VARARGS | METH_KEYWORDS },
10689 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction) _wrap_HtmlSelection_GetToPrivPos, METH_VARARGS | METH_KEYWORDS },
10690 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_SetFromPrivPos, METH_VARARGS | METH_KEYWORDS },
10691 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction) _wrap_HtmlSelection_SetToPrivPos, METH_VARARGS | METH_KEYWORDS },
10692 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction) _wrap_HtmlSelection_ClearPrivPos, METH_VARARGS | METH_KEYWORDS },
10693 { (char *)"HtmlSelection_IsEmpty", (PyCFunction) _wrap_HtmlSelection_IsEmpty, METH_VARARGS | METH_KEYWORDS },
10694 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister, METH_VARARGS },
10695 { (char *)"new_HtmlRenderingState", (PyCFunction) _wrap_new_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS },
10696 { (char *)"delete_HtmlRenderingState", (PyCFunction) _wrap_delete_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS },
10697 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_SetSelectionState, METH_VARARGS | METH_KEYWORDS },
10698 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_GetSelectionState, METH_VARARGS | METH_KEYWORDS },
10699 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction) _wrap_HtmlRenderingState_SetFgColour, METH_VARARGS | METH_KEYWORDS },
10700 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction) _wrap_HtmlRenderingState_GetFgColour, METH_VARARGS | METH_KEYWORDS },
10701 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction) _wrap_HtmlRenderingState_SetBgColour, METH_VARARGS | METH_KEYWORDS },
10702 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction) _wrap_HtmlRenderingState_GetBgColour, METH_VARARGS | METH_KEYWORDS },
10703 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister, METH_VARARGS },
10704 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS },
10705 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS },
10706 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister, METH_VARARGS },
10707 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS },
10708 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS },
10709 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister, METH_VARARGS },
10710 { (char *)"new_HtmlRenderingInfo", (PyCFunction) _wrap_new_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS },
10711 { (char *)"delete_HtmlRenderingInfo", (PyCFunction) _wrap_delete_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS },
10712 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_SetSelection, METH_VARARGS | METH_KEYWORDS },
10713 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_GetSelection, METH_VARARGS | METH_KEYWORDS },
10714 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_SetStyle, METH_VARARGS | METH_KEYWORDS },
10715 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_GetStyle, METH_VARARGS | METH_KEYWORDS },
10716 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction) _wrap_HtmlRenderingInfo_GetState, METH_VARARGS | METH_KEYWORDS },
10717 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister, METH_VARARGS },
10718 { (char *)"new_HtmlCell", (PyCFunction) _wrap_new_HtmlCell, METH_VARARGS | METH_KEYWORDS },
10719 { (char *)"HtmlCell_GetPosX", (PyCFunction) _wrap_HtmlCell_GetPosX, METH_VARARGS | METH_KEYWORDS },
10720 { (char *)"HtmlCell_GetPosY", (PyCFunction) _wrap_HtmlCell_GetPosY, METH_VARARGS | METH_KEYWORDS },
10721 { (char *)"HtmlCell_GetWidth", (PyCFunction) _wrap_HtmlCell_GetWidth, METH_VARARGS | METH_KEYWORDS },
10722 { (char *)"HtmlCell_GetHeight", (PyCFunction) _wrap_HtmlCell_GetHeight, METH_VARARGS | METH_KEYWORDS },
10723 { (char *)"HtmlCell_GetDescent", (PyCFunction) _wrap_HtmlCell_GetDescent, METH_VARARGS | METH_KEYWORDS },
10724 { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction) _wrap_HtmlCell_GetMaxTotalWidth, METH_VARARGS | METH_KEYWORDS },
10725 { (char *)"HtmlCell_GetId", (PyCFunction) _wrap_HtmlCell_GetId, METH_VARARGS | METH_KEYWORDS },
10726 { (char *)"HtmlCell_SetId", (PyCFunction) _wrap_HtmlCell_SetId, METH_VARARGS | METH_KEYWORDS },
10727 { (char *)"HtmlCell_GetLink", (PyCFunction) _wrap_HtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS },
10728 { (char *)"HtmlCell_GetNext", (PyCFunction) _wrap_HtmlCell_GetNext, METH_VARARGS | METH_KEYWORDS },
10729 { (char *)"HtmlCell_GetParent", (PyCFunction) _wrap_HtmlCell_GetParent, METH_VARARGS | METH_KEYWORDS },
10730 { (char *)"HtmlCell_GetFirstChild", (PyCFunction) _wrap_HtmlCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
10731 { (char *)"HtmlCell_GetCursor", (PyCFunction) _wrap_HtmlCell_GetCursor, METH_VARARGS | METH_KEYWORDS },
10732 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction) _wrap_HtmlCell_IsFormattingCell, METH_VARARGS | METH_KEYWORDS },
10733 { (char *)"HtmlCell_SetLink", (PyCFunction) _wrap_HtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS },
10734 { (char *)"HtmlCell_SetNext", (PyCFunction) _wrap_HtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS },
10735 { (char *)"HtmlCell_SetParent", (PyCFunction) _wrap_HtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS },
10736 { (char *)"HtmlCell_SetPos", (PyCFunction) _wrap_HtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS },
10737 { (char *)"HtmlCell_Layout", (PyCFunction) _wrap_HtmlCell_Layout, METH_VARARGS | METH_KEYWORDS },
10738 { (char *)"HtmlCell_Draw", (PyCFunction) _wrap_HtmlCell_Draw, METH_VARARGS | METH_KEYWORDS },
10739 { (char *)"HtmlCell_DrawInvisible", (PyCFunction) _wrap_HtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS },
10740 { (char *)"HtmlCell_Find", (PyCFunction) _wrap_HtmlCell_Find, METH_VARARGS | METH_KEYWORDS },
10741 { (char *)"HtmlCell_AdjustPagebreak", (PyCFunction) _wrap_HtmlCell_AdjustPagebreak, METH_VARARGS | METH_KEYWORDS },
10742 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_HtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS },
10743 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction) _wrap_HtmlCell_IsLinebreakAllowed, METH_VARARGS | METH_KEYWORDS },
10744 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction) _wrap_HtmlCell_IsTerminalCell, METH_VARARGS | METH_KEYWORDS },
10745 { (char *)"HtmlCell_FindCellByPos", (PyCFunction) _wrap_HtmlCell_FindCellByPos, METH_VARARGS | METH_KEYWORDS },
10746 { (char *)"HtmlCell_GetAbsPos", (PyCFunction) _wrap_HtmlCell_GetAbsPos, METH_VARARGS | METH_KEYWORDS },
10747 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction) _wrap_HtmlCell_GetFirstTerminal, METH_VARARGS | METH_KEYWORDS },
10748 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction) _wrap_HtmlCell_GetLastTerminal, METH_VARARGS | METH_KEYWORDS },
10749 { (char *)"HtmlCell_GetDepth", (PyCFunction) _wrap_HtmlCell_GetDepth, METH_VARARGS | METH_KEYWORDS },
10750 { (char *)"HtmlCell_IsBefore", (PyCFunction) _wrap_HtmlCell_IsBefore, METH_VARARGS | METH_KEYWORDS },
10751 { (char *)"HtmlCell_ConvertToText", (PyCFunction) _wrap_HtmlCell_ConvertToText, METH_VARARGS | METH_KEYWORDS },
10752 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister, METH_VARARGS },
10753 { (char *)"new_HtmlWordCell", (PyCFunction) _wrap_new_HtmlWordCell, METH_VARARGS | METH_KEYWORDS },
10754 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister, METH_VARARGS },
10755 { (char *)"new_HtmlContainerCell", (PyCFunction) _wrap_new_HtmlContainerCell, METH_VARARGS | METH_KEYWORDS },
10756 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction) _wrap_HtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS },
10757 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS },
10758 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_GetAlignHor, METH_VARARGS | METH_KEYWORDS },
10759 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS },
10760 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_GetAlignVer, METH_VARARGS | METH_KEYWORDS },
10761 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction) _wrap_HtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS },
10762 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction) _wrap_HtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS },
10763 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_HtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS },
10764 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction) _wrap_HtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS },
10765 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS },
10766 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS },
10767 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_HtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
10768 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10769 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10770 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction) _wrap_HtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS },
10771 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction) _wrap_HtmlContainerCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
10772 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister, METH_VARARGS },
10773 { (char *)"new_HtmlColourCell", (PyCFunction) _wrap_new_HtmlColourCell, METH_VARARGS | METH_KEYWORDS },
10774 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister, METH_VARARGS },
10775 { (char *)"new_HtmlFontCell", (PyCFunction) _wrap_new_HtmlFontCell, METH_VARARGS | METH_KEYWORDS },
10776 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister, METH_VARARGS },
10777 { (char *)"new_HtmlWidgetCell", (PyCFunction) _wrap_new_HtmlWidgetCell, METH_VARARGS | METH_KEYWORDS },
10778 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister, METH_VARARGS },
10779 { (char *)"new_HtmlFilter", (PyCFunction) _wrap_new_HtmlFilter, METH_VARARGS | METH_KEYWORDS },
10780 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction) _wrap_HtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
10781 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister, METH_VARARGS },
10782 { (char *)"new_HtmlWindow", (PyCFunction) _wrap_new_HtmlWindow, METH_VARARGS | METH_KEYWORDS },
10783 { (char *)"new_PreHtmlWindow", (PyCFunction) _wrap_new_PreHtmlWindow, METH_VARARGS | METH_KEYWORDS },
10784 { (char *)"HtmlWindow_Create", (PyCFunction) _wrap_HtmlWindow_Create, METH_VARARGS | METH_KEYWORDS },
10785 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction) _wrap_HtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
10786 { (char *)"HtmlWindow_SetPage", (PyCFunction) _wrap_HtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS },
10787 { (char *)"HtmlWindow_LoadPage", (PyCFunction) _wrap_HtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS },
10788 { (char *)"HtmlWindow_LoadFile", (PyCFunction) _wrap_HtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS },
10789 { (char *)"HtmlWindow_AppendToPage", (PyCFunction) _wrap_HtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS },
10790 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction) _wrap_HtmlWindow_GetOpenedPage, METH_VARARGS | METH_KEYWORDS },
10791 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction) _wrap_HtmlWindow_GetOpenedAnchor, METH_VARARGS | METH_KEYWORDS },
10792 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction) _wrap_HtmlWindow_GetOpenedPageTitle, METH_VARARGS | METH_KEYWORDS },
10793 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS },
10794 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_GetRelatedFrame, METH_VARARGS | METH_KEYWORDS },
10795 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_HtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS },
10796 { (char *)"HtmlWindow_SetFonts", (PyCFunction) _wrap_HtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS },
10797 { (char *)"HtmlWindow_SetTitle", (PyCFunction) _wrap_HtmlWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
10798 { (char *)"HtmlWindow_SetBorders", (PyCFunction) _wrap_HtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS },
10799 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction) _wrap_HtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS },
10800 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction) _wrap_HtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS },
10801 { (char *)"HtmlWindow_HistoryBack", (PyCFunction) _wrap_HtmlWindow_HistoryBack, METH_VARARGS | METH_KEYWORDS },
10802 { (char *)"HtmlWindow_HistoryForward", (PyCFunction) _wrap_HtmlWindow_HistoryForward, METH_VARARGS | METH_KEYWORDS },
10803 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction) _wrap_HtmlWindow_HistoryCanBack, METH_VARARGS | METH_KEYWORDS },
10804 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction) _wrap_HtmlWindow_HistoryCanForward, METH_VARARGS | METH_KEYWORDS },
10805 { (char *)"HtmlWindow_HistoryClear", (PyCFunction) _wrap_HtmlWindow_HistoryClear, METH_VARARGS | METH_KEYWORDS },
10806 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction) _wrap_HtmlWindow_GetInternalRepresentation, METH_VARARGS | METH_KEYWORDS },
10807 { (char *)"HtmlWindow_GetParser", (PyCFunction) _wrap_HtmlWindow_GetParser, METH_VARARGS | METH_KEYWORDS },
10808 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_HtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS },
10809 { (char *)"HtmlWindow_HasAnchor", (PyCFunction) _wrap_HtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS },
10810 { (char *)"HtmlWindow_AddFilter", (PyCFunction) _wrap_HtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS },
10811 { (char *)"HtmlWindow_SelectWord", (PyCFunction) _wrap_HtmlWindow_SelectWord, METH_VARARGS | METH_KEYWORDS },
10812 { (char *)"HtmlWindow_SelectLine", (PyCFunction) _wrap_HtmlWindow_SelectLine, METH_VARARGS | METH_KEYWORDS },
10813 { (char *)"HtmlWindow_SelectAll", (PyCFunction) _wrap_HtmlWindow_SelectAll, METH_VARARGS | METH_KEYWORDS },
10814 { (char *)"HtmlWindow_SelectionToText", (PyCFunction) _wrap_HtmlWindow_SelectionToText, METH_VARARGS | METH_KEYWORDS },
10815 { (char *)"HtmlWindow_ToText", (PyCFunction) _wrap_HtmlWindow_ToText, METH_VARARGS | METH_KEYWORDS },
10816 { (char *)"HtmlWindow_base_OnLinkClicked", (PyCFunction) _wrap_HtmlWindow_base_OnLinkClicked, METH_VARARGS | METH_KEYWORDS },
10817 { (char *)"HtmlWindow_base_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_base_OnSetTitle, METH_VARARGS | METH_KEYWORDS },
10818 { (char *)"HtmlWindow_base_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_base_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS },
10819 { (char *)"HtmlWindow_base_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_base_OnCellClicked, METH_VARARGS | METH_KEYWORDS },
10820 { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_HtmlWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
10821 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS },
10822 { (char *)"new_HtmlDCRenderer", (PyCFunction) _wrap_new_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS },
10823 { (char *)"delete_HtmlDCRenderer", (PyCFunction) _wrap_delete_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS },
10824 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction) _wrap_HtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS },
10825 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction) _wrap_HtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS },
10826 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_HtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS },
10827 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS },
10828 { (char *)"HtmlDCRenderer_Render", (PyCFunction) _wrap_HtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS },
10829 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction) _wrap_HtmlDCRenderer_GetTotalHeight, METH_VARARGS | METH_KEYWORDS },
10830 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister, METH_VARARGS },
10831 { (char *)"new_HtmlPrintout", (PyCFunction) _wrap_new_HtmlPrintout, METH_VARARGS | METH_KEYWORDS },
10832 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction) _wrap_HtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS },
10833 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_HtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS },
10834 { (char *)"HtmlPrintout_SetHeader", (PyCFunction) _wrap_HtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS },
10835 { (char *)"HtmlPrintout_SetFooter", (PyCFunction) _wrap_HtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS },
10836 { (char *)"HtmlPrintout_SetFonts", (PyCFunction) _wrap_HtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS },
10837 { (char *)"HtmlPrintout_SetMargins", (PyCFunction) _wrap_HtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS },
10838 { (char *)"HtmlPrintout_AddFilter", (PyCFunction) _wrap_HtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS },
10839 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction) _wrap_HtmlPrintout_CleanUpStatics, METH_VARARGS | METH_KEYWORDS },
10840 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister, METH_VARARGS },
10841 { (char *)"new_HtmlEasyPrinting", (PyCFunction) _wrap_new_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS },
10842 { (char *)"delete_HtmlEasyPrinting", (PyCFunction) _wrap_delete_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS },
10843 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS },
10844 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS },
10845 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_HtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS },
10846 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction) _wrap_HtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS },
10847 { (char *)"HtmlEasyPrinting_PrinterSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PrinterSetup, METH_VARARGS | METH_KEYWORDS },
10848 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PageSetup, METH_VARARGS | METH_KEYWORDS },
10849 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_HtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS },
10850 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_HtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS },
10851 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS },
10852 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPrintData, METH_VARARGS | METH_KEYWORDS },
10853 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
10854 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister, METH_VARARGS },
10855 { (char *)"new_HtmlBookRecord", (PyCFunction) _wrap_new_HtmlBookRecord, METH_VARARGS | METH_KEYWORDS },
10856 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction) _wrap_HtmlBookRecord_GetBookFile, METH_VARARGS | METH_KEYWORDS },
10857 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction) _wrap_HtmlBookRecord_GetTitle, METH_VARARGS | METH_KEYWORDS },
10858 { (char *)"HtmlBookRecord_GetStart", (PyCFunction) _wrap_HtmlBookRecord_GetStart, METH_VARARGS | METH_KEYWORDS },
10859 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction) _wrap_HtmlBookRecord_GetBasePath, METH_VARARGS | METH_KEYWORDS },
10860 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_HtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS },
10861 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction) _wrap_HtmlBookRecord_GetContentsStart, METH_VARARGS | METH_KEYWORDS },
10862 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction) _wrap_HtmlBookRecord_GetContentsEnd, METH_VARARGS | METH_KEYWORDS },
10863 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction) _wrap_HtmlBookRecord_SetTitle, METH_VARARGS | METH_KEYWORDS },
10864 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction) _wrap_HtmlBookRecord_SetBasePath, METH_VARARGS | METH_KEYWORDS },
10865 { (char *)"HtmlBookRecord_SetStart", (PyCFunction) _wrap_HtmlBookRecord_SetStart, METH_VARARGS | METH_KEYWORDS },
10866 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction) _wrap_HtmlBookRecord_GetFullPath, METH_VARARGS | METH_KEYWORDS },
10867 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister, METH_VARARGS },
10868 { (char *)"HtmlContentsItem_GetLevel", (PyCFunction) _wrap_HtmlContentsItem_GetLevel, METH_VARARGS | METH_KEYWORDS },
10869 { (char *)"HtmlContentsItem_GetID", (PyCFunction) _wrap_HtmlContentsItem_GetID, METH_VARARGS | METH_KEYWORDS },
10870 { (char *)"HtmlContentsItem_GetName", (PyCFunction) _wrap_HtmlContentsItem_GetName, METH_VARARGS | METH_KEYWORDS },
10871 { (char *)"HtmlContentsItem_GetPage", (PyCFunction) _wrap_HtmlContentsItem_GetPage, METH_VARARGS | METH_KEYWORDS },
10872 { (char *)"HtmlContentsItem_GetBook", (PyCFunction) _wrap_HtmlContentsItem_GetBook, METH_VARARGS | METH_KEYWORDS },
10873 { (char *)"HtmlContentsItem_swigregister", HtmlContentsItem_swigregister, METH_VARARGS },
10874 { (char *)"HtmlSearchStatus_Search", (PyCFunction) _wrap_HtmlSearchStatus_Search, METH_VARARGS | METH_KEYWORDS },
10875 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction) _wrap_HtmlSearchStatus_IsActive, METH_VARARGS | METH_KEYWORDS },
10876 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetCurIndex, METH_VARARGS | METH_KEYWORDS },
10877 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetMaxIndex, METH_VARARGS | METH_KEYWORDS },
10878 { (char *)"HtmlSearchStatus_GetName", (PyCFunction) _wrap_HtmlSearchStatus_GetName, METH_VARARGS | METH_KEYWORDS },
10879 { (char *)"HtmlSearchStatus_GetContentsItem", (PyCFunction) _wrap_HtmlSearchStatus_GetContentsItem, METH_VARARGS | METH_KEYWORDS },
10880 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister, METH_VARARGS },
10881 { (char *)"new_HtmlHelpData", (PyCFunction) _wrap_new_HtmlHelpData, METH_VARARGS | METH_KEYWORDS },
10882 { (char *)"delete_HtmlHelpData", (PyCFunction) _wrap_delete_HtmlHelpData, METH_VARARGS | METH_KEYWORDS },
10883 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction) _wrap_HtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS },
10884 { (char *)"HtmlHelpData_AddBook", (PyCFunction) _wrap_HtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS },
10885 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction) _wrap_HtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS },
10886 { (char *)"HtmlHelpData_FindPageById", (PyCFunction) _wrap_HtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS },
10887 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction) _wrap_HtmlHelpData_GetBookRecArray, METH_VARARGS | METH_KEYWORDS },
10888 { (char *)"HtmlHelpData_GetContents", (PyCFunction) _wrap_HtmlHelpData_GetContents, METH_VARARGS | METH_KEYWORDS },
10889 { (char *)"HtmlHelpData_GetContentsCnt", (PyCFunction) _wrap_HtmlHelpData_GetContentsCnt, METH_VARARGS | METH_KEYWORDS },
10890 { (char *)"HtmlHelpData_GetIndex", (PyCFunction) _wrap_HtmlHelpData_GetIndex, METH_VARARGS | METH_KEYWORDS },
10891 { (char *)"HtmlHelpData_GetIndexCnt", (PyCFunction) _wrap_HtmlHelpData_GetIndexCnt, METH_VARARGS | METH_KEYWORDS },
10892 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister, METH_VARARGS },
10893 { (char *)"new_HtmlHelpFrame", (PyCFunction) _wrap_new_HtmlHelpFrame, METH_VARARGS | METH_KEYWORDS },
10894 { (char *)"HtmlHelpFrame_GetData", (PyCFunction) _wrap_HtmlHelpFrame_GetData, METH_VARARGS | METH_KEYWORDS },
10895 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS },
10896 { (char *)"HtmlHelpFrame_Display", (PyCFunction) _wrap_HtmlHelpFrame_Display, METH_VARARGS | METH_KEYWORDS },
10897 { (char *)"HtmlHelpFrame_DisplayID", (PyCFunction) _wrap_HtmlHelpFrame_DisplayID, METH_VARARGS | METH_KEYWORDS },
10898 { (char *)"HtmlHelpFrame_DisplayContents", (PyCFunction) _wrap_HtmlHelpFrame_DisplayContents, METH_VARARGS | METH_KEYWORDS },
10899 { (char *)"HtmlHelpFrame_DisplayIndex", (PyCFunction) _wrap_HtmlHelpFrame_DisplayIndex, METH_VARARGS | METH_KEYWORDS },
10900 { (char *)"HtmlHelpFrame_KeywordSearch", (PyCFunction) _wrap_HtmlHelpFrame_KeywordSearch, METH_VARARGS | METH_KEYWORDS },
10901 { (char *)"HtmlHelpFrame_UseConfig", (PyCFunction) _wrap_HtmlHelpFrame_UseConfig, METH_VARARGS | METH_KEYWORDS },
10902 { (char *)"HtmlHelpFrame_ReadCustomization", (PyCFunction) _wrap_HtmlHelpFrame_ReadCustomization, METH_VARARGS | METH_KEYWORDS },
10903 { (char *)"HtmlHelpFrame_WriteCustomization", (PyCFunction) _wrap_HtmlHelpFrame_WriteCustomization, METH_VARARGS | METH_KEYWORDS },
10904 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister, METH_VARARGS },
10905 { (char *)"new_HtmlHelpController", (PyCFunction) _wrap_new_HtmlHelpController, METH_VARARGS | METH_KEYWORDS },
10906 { (char *)"delete_HtmlHelpController", (PyCFunction) _wrap_delete_HtmlHelpController, METH_VARARGS | METH_KEYWORDS },
10907 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS },
10908 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction) _wrap_HtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS },
10909 { (char *)"HtmlHelpController_AddBook", (PyCFunction) _wrap_HtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS },
10910 { (char *)"HtmlHelpController_Display", (PyCFunction) _wrap_HtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS },
10911 { (char *)"HtmlHelpController_DisplayID", (PyCFunction) _wrap_HtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS },
10912 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction) _wrap_HtmlHelpController_DisplayContents, METH_VARARGS | METH_KEYWORDS },
10913 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction) _wrap_HtmlHelpController_DisplayIndex, METH_VARARGS | METH_KEYWORDS },
10914 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction) _wrap_HtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS },
10915 { (char *)"HtmlHelpController_UseConfig", (PyCFunction) _wrap_HtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS },
10916 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction) _wrap_HtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS },
10917 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction) _wrap_HtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS },
10918 { (char *)"HtmlHelpController_GetFrame", (PyCFunction) _wrap_HtmlHelpController_GetFrame, METH_VARARGS | METH_KEYWORDS },
10919 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister, METH_VARARGS },
10920 { NULL, NULL }
10921 };
10922
10923
10924 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
10925
10926 static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x) {
10927 return (void *)((wxHtmlRenderingStyle *) ((wxDefaultHtmlRenderingStyle *) x));
10928 }
10929 static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) {
10930 return (void *)((wxHtmlParser *) ((wxHtmlWinParser *) x));
10931 }
10932 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
10933 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
10934 }
10935 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
10936 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
10937 }
10938 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
10939 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
10940 }
10941 static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) {
10942 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x));
10943 }
10944 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
10945 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
10946 }
10947 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
10948 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
10949 }
10950 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
10951 return (void *)((wxPanel *) ((wxPyPanel *) x));
10952 }
10953 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
10954 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
10955 }
10956 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
10957 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
10958 }
10959 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
10960 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
10961 }
10962 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
10963 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
10964 }
10965 static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) {
10966 return (void *)((wxScrolledWindow *) ((wxPyHtmlWindow *) x));
10967 }
10968 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
10969 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
10970 }
10971 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
10972 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
10973 }
10974 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
10975 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
10976 }
10977 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
10978 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
10979 }
10980 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
10981 return (void *)((wxWindow *) ((wxMenuBar *) x));
10982 }
10983 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
10984 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
10985 }
10986 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
10987 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
10988 }
10989 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
10990 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
10991 }
10992 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
10993 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
10994 }
10995 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
10996 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
10997 }
10998 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
10999 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
11000 }
11001 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
11002 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
11003 }
11004 static void *_p_wxPanelTo_p_wxWindow(void *x) {
11005 return (void *)((wxWindow *) ((wxPanel *) x));
11006 }
11007 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
11008 return (void *)((wxWindow *) ((wxStatusBar *) x));
11009 }
11010 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
11011 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
11012 }
11013 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
11014 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
11015 }
11016 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
11017 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
11018 }
11019 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
11020 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
11021 }
11022 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
11023 return (void *)((wxWindow *) ((wxPopupWindow *) x));
11024 }
11025 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
11026 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
11027 }
11028 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
11029 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
11030 }
11031 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
11032 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
11033 }
11034 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
11035 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
11036 }
11037 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
11038 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
11039 }
11040 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
11041 return (void *)((wxWindow *) ((wxSashWindow *) x));
11042 }
11043 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
11044 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11045 }
11046 static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) {
11047 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
11048 }
11049 static void *_p_wxControlTo_p_wxWindow(void *x) {
11050 return (void *)((wxWindow *) ((wxControl *) x));
11051 }
11052 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
11053 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
11054 }
11055 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
11056 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11057 }
11058 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
11059 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
11060 }
11061 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
11062 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
11063 }
11064 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
11065 return (void *)((wxWindow *) ((wxPyWindow *) x));
11066 }
11067 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
11068 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
11069 }
11070 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
11071 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11072 }
11073 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
11074 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11075 }
11076 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
11077 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
11078 }
11079 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
11080 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11081 }
11082 static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) {
11083 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
11084 }
11085 static void *_p_wxFrameTo_p_wxWindow(void *x) {
11086 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
11087 }
11088 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
11089 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
11090 }
11091 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
11092 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
11093 }
11094 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
11095 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
11096 }
11097 static void *_p_wxDialogTo_p_wxWindow(void *x) {
11098 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
11099 }
11100 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
11101 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
11102 }
11103 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
11104 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
11105 }
11106 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
11107 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
11108 }
11109 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
11110 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
11111 }
11112 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
11113 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
11114 }
11115 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
11116 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
11117 }
11118 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
11119 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
11120 }
11121 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
11122 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
11123 }
11124 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
11125 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
11126 }
11127 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
11128 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
11129 }
11130 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
11131 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
11132 }
11133 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
11134 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
11135 }
11136 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
11137 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
11138 }
11139 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
11140 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
11141 }
11142 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
11143 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
11144 }
11145 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
11146 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
11147 }
11148 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
11149 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
11150 }
11151 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
11152 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
11153 }
11154 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
11155 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
11156 }
11157 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
11158 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
11159 }
11160 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
11161 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
11162 }
11163 static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) {
11164 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x));
11165 }
11166 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
11167 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
11168 }
11169 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
11170 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11171 }
11172 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
11173 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
11174 }
11175 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
11176 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
11177 }
11178 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
11179 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
11180 }
11181 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
11182 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11183 }
11184 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
11185 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
11186 }
11187 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
11188 return (void *)((wxObject *) ((wxSizerItem *) x));
11189 }
11190 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
11191 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
11192 }
11193 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
11194 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
11195 }
11196 static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) {
11197 return (void *)((wxObject *) ((wxHtmlLinkInfo *) x));
11198 }
11199 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
11200 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
11201 }
11202 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
11203 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
11204 }
11205 static void *_p_wxSizerTo_p_wxObject(void *x) {
11206 return (void *)((wxObject *) ((wxSizer *) x));
11207 }
11208 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
11209 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
11210 }
11211 static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) {
11212 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x));
11213 }
11214 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
11215 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
11216 }
11217 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
11218 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
11219 }
11220 static void *_p_wxEventTo_p_wxObject(void *x) {
11221 return (void *)((wxObject *) ((wxEvent *) x));
11222 }
11223 static void *_p_wxFontDataTo_p_wxObject(void *x) {
11224 return (void *)((wxObject *) ((wxFontData *) x));
11225 }
11226 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
11227 return (void *)((wxObject *) ((wxPrintData *) x));
11228 }
11229 static void *_p_wxHtmlTagTo_p_wxObject(void *x) {
11230 return (void *)((wxObject *) ((wxHtmlTag *) x));
11231 }
11232 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
11233 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
11234 }
11235 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
11236 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
11237 }
11238 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
11239 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
11240 }
11241 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
11242 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
11243 }
11244 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
11245 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
11246 }
11247 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
11248 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
11249 }
11250 static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) {
11251 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
11252 }
11253 static void *_p_wxHtmlCellTo_p_wxObject(void *x) {
11254 return (void *)((wxObject *) ((wxHtmlCell *) x));
11255 }
11256 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
11257 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
11258 }
11259 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
11260 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
11261 }
11262 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
11263 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
11264 }
11265 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
11266 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
11267 }
11268 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
11269 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
11270 }
11271 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
11272 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
11273 }
11274 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
11275 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
11276 }
11277 static void *_p_wxControlTo_p_wxObject(void *x) {
11278 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
11279 }
11280 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
11281 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
11282 }
11283 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
11284 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
11285 }
11286 static void *_p_wxFSFileTo_p_wxObject(void *x) {
11287 return (void *)((wxObject *) ((wxFSFile *) x));
11288 }
11289 static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) {
11290 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x));
11291 }
11292 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
11293 return (void *)((wxObject *) ((wxFindReplaceData *) x));
11294 }
11295 static void *_p_wxPySizerTo_p_wxObject(void *x) {
11296 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
11297 }
11298 static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) {
11299 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x));
11300 }
11301 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
11302 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
11303 }
11304 static void *_p_wxColourDataTo_p_wxObject(void *x) {
11305 return (void *)((wxObject *) ((wxColourData *) x));
11306 }
11307 static void *_p_wxPyEventTo_p_wxObject(void *x) {
11308 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
11309 }
11310 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
11311 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
11312 }
11313 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
11314 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
11315 }
11316 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
11317 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
11318 }
11319 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
11320 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
11321 }
11322 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
11323 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
11324 }
11325 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
11326 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
11327 }
11328 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
11329 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
11330 }
11331 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
11332 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
11333 }
11334 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
11335 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
11336 }
11337 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
11338 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
11339 }
11340 static void *_p_wxShowEventTo_p_wxObject(void *x) {
11341 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
11342 }
11343 static void *_p_wxPrinterTo_p_wxObject(void *x) {
11344 return (void *)((wxObject *) ((wxPrinter *) x));
11345 }
11346 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
11347 return (void *)((wxObject *) ((wxMenuItem *) x));
11348 }
11349 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
11350 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
11351 }
11352 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
11353 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
11354 }
11355 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
11356 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
11357 }
11358 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
11359 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
11360 }
11361 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
11362 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
11363 }
11364 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
11365 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
11366 }
11367 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
11368 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
11369 }
11370 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
11371 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
11372 }
11373 static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) {
11374 return (void *)((wxObject *) ((wxPyHtmlFilter *) x));
11375 }
11376 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
11377 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
11378 }
11379 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
11380 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
11381 }
11382 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
11383 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
11384 }
11385 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
11386 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
11387 }
11388 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
11389 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
11390 }
11391 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
11392 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
11393 }
11394 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
11395 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
11396 }
11397 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
11398 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
11399 }
11400 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
11401 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
11402 }
11403 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
11404 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
11405 }
11406 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
11407 return (void *)((wxObject *) ((wxImageHandler *) x));
11408 }
11409 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
11410 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
11411 }
11412 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
11413 return (void *)((wxObject *) ((wxEvtHandler *) x));
11414 }
11415 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
11416 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
11417 }
11418 static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) {
11419 return (void *)((wxObject *) ((wxPyHtmlTagHandler *) x));
11420 }
11421 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) {
11422 return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
11423 }
11424 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
11425 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11426 }
11427 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
11428 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11429 }
11430 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
11431 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
11432 }
11433 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
11434 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
11435 }
11436 static void *_p_wxImageTo_p_wxObject(void *x) {
11437 return (void *)((wxObject *) ((wxImage *) x));
11438 }
11439 static void *_p_wxFrameTo_p_wxObject(void *x) {
11440 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
11441 }
11442 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
11443 return (void *)((wxObject *) ((wxPyPrintout *) x));
11444 }
11445 static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) {
11446 return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x));
11447 }
11448 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
11449 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
11450 }
11451 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
11452 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
11453 }
11454 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
11455 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
11456 }
11457 static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x) {
11458 return (void *)((wxObject *) ((wxHtmlDCRenderer *) x));
11459 }
11460 static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) {
11461 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x));
11462 }
11463 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
11464 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
11465 }
11466 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
11467 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
11468 }
11469 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
11470 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
11471 }
11472 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
11473 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
11474 }
11475 static void *_p_wxWindowTo_p_wxObject(void *x) {
11476 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
11477 }
11478 static void *_p_wxMenuTo_p_wxObject(void *x) {
11479 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
11480 }
11481 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
11482 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
11483 }
11484 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
11485 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
11486 }
11487 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
11488 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
11489 }
11490 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
11491 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
11492 }
11493 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
11494 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
11495 }
11496 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
11497 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
11498 }
11499 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
11500 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
11501 }
11502 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
11503 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
11504 }
11505 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
11506 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
11507 }
11508 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
11509 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
11510 }
11511 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
11512 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
11513 }
11514 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
11515 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
11516 }
11517 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
11518 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11519 }
11520 static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) {
11521 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
11522 }
11523 static void *_p_wxSashEventTo_p_wxObject(void *x) {
11524 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
11525 }
11526 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
11527 return (void *)((wxObject *) ((wxPrintPreview *) x));
11528 }
11529 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
11530 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
11531 }
11532 static void *_p_wxPanelTo_p_wxObject(void *x) {
11533 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
11534 }
11535 static void *_p_wxDialogTo_p_wxObject(void *x) {
11536 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
11537 }
11538 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
11539 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
11540 }
11541 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
11542 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
11543 }
11544 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
11545 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
11546 }
11547 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
11548 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
11549 }
11550 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
11551 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
11552 }
11553 static void *_p_wxHtmlParserTo_p_wxObject(void *x) {
11554 return (void *)((wxObject *) ((wxHtmlParser *) x));
11555 }
11556 static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) {
11557 return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x));
11558 }
11559 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
11560 return (void *)((wxObject *) ((wxFileSystem *) x));
11561 }
11562 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
11563 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
11564 }
11565 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
11566 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
11567 }
11568 static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) {
11569 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x));
11570 }
11571 static void *_p_wxPyAppTo_p_wxObject(void *x) {
11572 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
11573 }
11574 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
11575 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
11576 }
11577 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
11578 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
11579 }
11580 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
11581 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
11582 }
11583 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
11584 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
11585 }
11586 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
11587 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
11588 }
11589 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
11590 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
11591 }
11592 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
11593 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11594 }
11595 static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) {
11596 return (void *)((wxObject *) ((wxHtmlEasyPrinting *) x));
11597 }
11598 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
11599 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
11600 }
11601 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
11602 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
11603 }
11604 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
11605 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
11606 }
11607 static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) {
11608 return (void *)((wxObject *) (wxEvtHandler *) ((wxHtmlHelpController *) x));
11609 }
11610 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
11611 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
11612 }
11613 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
11614 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
11615 }
11616 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
11617 return (void *)((wxObject *) ((wxPrintDialogData *) x));
11618 }
11619 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
11620 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
11621 }
11622 static void *_p_wxValidatorTo_p_wxObject(void *x) {
11623 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
11624 }
11625 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) {
11626 return (void *)((wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
11627 }
11628 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
11629 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
11630 }
11631 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
11632 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
11633 }
11634 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
11635 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
11636 }
11637 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
11638 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
11639 }
11640 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
11641 return (void *)((wxEvtHandler *) ((wxValidator *) x));
11642 }
11643 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
11644 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
11645 }
11646 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
11647 return (void *)((wxEvtHandler *) ((wxMenu *) x));
11648 }
11649 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
11650 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
11651 }
11652 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
11653 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
11654 }
11655 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
11656 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
11657 }
11658 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
11659 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
11660 }
11661 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
11662 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
11663 }
11664 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
11665 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
11666 }
11667 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
11668 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
11669 }
11670 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
11671 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
11672 }
11673 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
11674 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
11675 }
11676 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
11677 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
11678 }
11679 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
11680 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
11681 }
11682 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
11683 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
11684 }
11685 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
11686 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
11687 }
11688 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
11689 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
11690 }
11691 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
11692 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
11693 }
11694 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
11695 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
11696 }
11697 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
11698 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
11699 }
11700 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
11701 return (void *)((wxEvtHandler *) ((wxWindow *) x));
11702 }
11703 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
11704 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
11705 }
11706 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
11707 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
11708 }
11709 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
11710 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
11711 }
11712 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
11713 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11714 }
11715 static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) {
11716 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
11717 }
11718 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
11719 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
11720 }
11721 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
11722 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
11723 }
11724 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
11725 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11726 }
11727 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
11728 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
11729 }
11730 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
11731 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
11732 }
11733 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
11734 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
11735 }
11736 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
11737 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
11738 }
11739 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
11740 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
11741 }
11742 static void *_p_wxHtmlHelpControllerTo_p_wxEvtHandler(void *x) {
11743 return (void *)((wxEvtHandler *) ((wxHtmlHelpController *) x));
11744 }
11745 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
11746 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11747 }
11748 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
11749 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11750 }
11751 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
11752 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
11753 }
11754 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
11755 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11756 }
11757 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
11758 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
11759 }
11760 static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) {
11761 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
11762 }
11763 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
11764 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
11765 }
11766 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
11767 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
11768 }
11769 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
11770 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
11771 }
11772 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
11773 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
11774 }
11775 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
11776 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
11777 }
11778 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
11779 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
11780 }
11781 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
11782 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
11783 }
11784 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
11785 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
11786 }
11787 static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) {
11788 return (void *)((wxPyPrintout *) ((wxHtmlPrintout *) x));
11789 }
11790 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
11791 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
11792 }
11793 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
11794 return (void *)((wxFrame *) ((wxProgressDialog *) x));
11795 }
11796 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
11797 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
11798 }
11799 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
11800 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11801 }
11802 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
11803 return (void *)((wxFrame *) ((wxMiniFrame *) x));
11804 }
11805 static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) {
11806 return (void *)((wxFrame *) ((wxHtmlHelpFrame *) x));
11807 }
11808 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
11809 return (void *)((wxFrame *) ((wxSplashScreen *) x));
11810 }
11811 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
11812 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
11813 }
11814 static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) {
11815 return (void *)((wxHtmlCell *) ((wxHtmlContainerCell *) x));
11816 }
11817 static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) {
11818 return (void *)((wxHtmlCell *) ((wxHtmlWidgetCell *) x));
11819 }
11820 static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) {
11821 return (void *)((wxHtmlCell *) ((wxHtmlColourCell *) x));
11822 }
11823 static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) {
11824 return (void *)((wxHtmlCell *) ((wxHtmlWordCell *) x));
11825 }
11826 static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) {
11827 return (void *)((wxHtmlCell *) ((wxHtmlFontCell *) x));
11828 }
11829 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}};
11830 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}};
11831 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}};
11832 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}};
11833 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}};
11834 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}};
11835 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}};
11836 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}};
11837 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}};
11838 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}};
11839 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}};
11840 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}};
11841 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}};
11842 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}};
11843 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}};
11844 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}};
11845 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}};
11846 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}};
11847 static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11848 static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11849 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}};
11850 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}};
11851 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}};
11852 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}};
11853 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}};
11854 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_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlParser", _p_wxHtmlParserTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlWinParser", _p_wxHtmlWinParserTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlWordCell", _p_wxHtmlWordCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlEasyPrinting", _p_wxHtmlEasyPrintingTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpController", _p_wxHtmlHelpControllerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11855 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}};
11856 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}};
11857 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}};
11858 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}};
11859 static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpController", _p_wxHtmlHelpControllerTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_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}};
11860 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}};
11861 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}};
11862 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}};
11863 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}};
11864 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}};
11865 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}};
11866 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}};
11867 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}};
11868 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}};
11869 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}};
11870 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}};
11871 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}};
11872 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}};
11873 static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11874 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}};
11875 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}};
11876 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}};
11877 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}};
11878 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}};
11879 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}};
11880 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}};
11881 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}};
11882
11883 static swig_type_info *swig_types_initial[] = {
11884 _swigt__p_wxHtmlDCRenderer,
11885 _swigt__p_wxColour,
11886 _swigt__p_wxPageSetupDialogData,
11887 _swigt__p_wxDC,
11888 _swigt__p_wxDefaultHtmlRenderingStyle,
11889 _swigt__p_wxHtmlRenderingStyle,
11890 _swigt__p_wxMouseEvent,
11891 _swigt__p_wxHtmlWordCell,
11892 _swigt__p_wxVisualAttributes,
11893 _swigt__p_wxHtmlHelpData,
11894 _swigt__p_char,
11895 _swigt__p_wxHtmlWinParser,
11896 _swigt__p_wxHtmlParser,
11897 _swigt__p_wxPanel,
11898 _swigt__p_wxFont,
11899 _swigt__p_wxHtmlColourCell,
11900 _swigt__p_wxPyHtmlWindow,
11901 _swigt__p_wxScrolledWindow,
11902 _swigt__p_wxWindow,
11903 _swigt__p_wxTopLevelWindow,
11904 _swigt__p_wxHtmlFontCell,
11905 _swigt__p_wxHtmlEasyPrinting,
11906 _swigt__p_wxHtmlSelection,
11907 _swigt__p_wxHtmlRenderingInfo,
11908 _swigt__p_wxHtmlWidgetCell,
11909 _swigt__p_wxObject,
11910 _swigt__p_wxString,
11911 _swigt__p_wxPyHtmlWinTagHandler,
11912 _swigt__p_wxHtmlTagHandler,
11913 _swigt__p_wxPyHtmlTagHandler,
11914 _swigt__p_wxEvtHandler,
11915 _swigt__p_wxPoint,
11916 _swigt__p_wxHtmlHelpController,
11917 _swigt__p_wxCursor,
11918 _swigt__p_wxFileSystem,
11919 _swigt__p_wxHtmlBookRecArray,
11920 _swigt__p_wxPyPrintout,
11921 _swigt__p_wxHtmlPrintout,
11922 _swigt__p_wxHtmlSearchStatus,
11923 _swigt__p_wxHtmlContentsItem,
11924 _swigt__p_wxConfigBase,
11925 _swigt__p_wxPrintData,
11926 _swigt__p_wxHtmlHelpFrame,
11927 _swigt__p_wxHtmlRenderingState,
11928 _swigt__p_wxFrame,
11929 _swigt__p_wxPyHtmlFilter,
11930 _swigt__p_wxHtmlFilter,
11931 _swigt__p_wxHtmlCell,
11932 _swigt__p_wxHtmlContainerCell,
11933 _swigt__p_wxHtmlTag,
11934 _swigt__p_wxHtmlLinkInfo,
11935 _swigt__p_int,
11936 _swigt__p_wxHtmlBookRecord,
11937 0
11938 };
11939
11940
11941 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
11942
11943 static swig_const_info swig_const_table[] = {
11944 {0}};
11945
11946 #ifdef __cplusplus
11947 }
11948 #endif
11949
11950 #ifdef __cplusplus
11951 extern "C"
11952 #endif
11953 SWIGEXPORT(void) SWIG_init(void) {
11954 static PyObject *SWIG_globals = 0;
11955 static int typeinit = 0;
11956 PyObject *m, *d;
11957 int i;
11958 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
11959 m = Py_InitModule((char *) SWIG_name, SwigMethods);
11960 d = PyModule_GetDict(m);
11961
11962 if (!typeinit) {
11963 for (i = 0; swig_types_initial[i]; i++) {
11964 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
11965 }
11966 typeinit = 1;
11967 }
11968 SWIG_InstallConstants(d,swig_const_table);
11969
11970 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
11971 SWIG_addvarlink(SWIG_globals,(char*)"HtmlWindowNameStr",_wrap_HtmlWindowNameStr_get, _wrap_HtmlWindowNameStr_set);
11972 SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintoutTitleStr",_wrap_HtmlPrintoutTitleStr_get, _wrap_HtmlPrintoutTitleStr_set);
11973 SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintingTitleStr",_wrap_HtmlPrintingTitleStr_get, _wrap_HtmlPrintingTitleStr_set);
11974 PyDict_SetItemString(d,"HTML_ALIGN_LEFT", SWIG_FromInt((int)wxHTML_ALIGN_LEFT));
11975 PyDict_SetItemString(d,"HTML_ALIGN_CENTER", SWIG_FromInt((int)wxHTML_ALIGN_CENTER));
11976 PyDict_SetItemString(d,"HTML_ALIGN_RIGHT", SWIG_FromInt((int)wxHTML_ALIGN_RIGHT));
11977 PyDict_SetItemString(d,"HTML_ALIGN_BOTTOM", SWIG_FromInt((int)wxHTML_ALIGN_BOTTOM));
11978 PyDict_SetItemString(d,"HTML_ALIGN_TOP", SWIG_FromInt((int)wxHTML_ALIGN_TOP));
11979 PyDict_SetItemString(d,"HTML_CLR_FOREGROUND", SWIG_FromInt((int)wxHTML_CLR_FOREGROUND));
11980 PyDict_SetItemString(d,"HTML_CLR_BACKGROUND", SWIG_FromInt((int)wxHTML_CLR_BACKGROUND));
11981 PyDict_SetItemString(d,"HTML_UNITS_PIXELS", SWIG_FromInt((int)wxHTML_UNITS_PIXELS));
11982 PyDict_SetItemString(d,"HTML_UNITS_PERCENT", SWIG_FromInt((int)wxHTML_UNITS_PERCENT));
11983 PyDict_SetItemString(d,"HTML_INDENT_LEFT", SWIG_FromInt((int)wxHTML_INDENT_LEFT));
11984 PyDict_SetItemString(d,"HTML_INDENT_RIGHT", SWIG_FromInt((int)wxHTML_INDENT_RIGHT));
11985 PyDict_SetItemString(d,"HTML_INDENT_TOP", SWIG_FromInt((int)wxHTML_INDENT_TOP));
11986 PyDict_SetItemString(d,"HTML_INDENT_BOTTOM", SWIG_FromInt((int)wxHTML_INDENT_BOTTOM));
11987 PyDict_SetItemString(d,"HTML_INDENT_HORIZONTAL", SWIG_FromInt((int)wxHTML_INDENT_HORIZONTAL));
11988 PyDict_SetItemString(d,"HTML_INDENT_VERTICAL", SWIG_FromInt((int)wxHTML_INDENT_VERTICAL));
11989 PyDict_SetItemString(d,"HTML_INDENT_ALL", SWIG_FromInt((int)wxHTML_INDENT_ALL));
11990 PyDict_SetItemString(d,"HTML_COND_ISANCHOR", SWIG_FromInt((int)wxHTML_COND_ISANCHOR));
11991 PyDict_SetItemString(d,"HTML_COND_ISIMAGEMAP", SWIG_FromInt((int)wxHTML_COND_ISIMAGEMAP));
11992 PyDict_SetItemString(d,"HTML_COND_USER", SWIG_FromInt((int)wxHTML_COND_USER));
11993 PyDict_SetItemString(d,"HTML_FONT_SIZE_1", SWIG_FromInt((int)wxHTML_FONT_SIZE_1));
11994 PyDict_SetItemString(d,"HTML_FONT_SIZE_2", SWIG_FromInt((int)wxHTML_FONT_SIZE_2));
11995 PyDict_SetItemString(d,"HTML_FONT_SIZE_3", SWIG_FromInt((int)wxHTML_FONT_SIZE_3));
11996 PyDict_SetItemString(d,"HTML_FONT_SIZE_4", SWIG_FromInt((int)wxHTML_FONT_SIZE_4));
11997 PyDict_SetItemString(d,"HTML_FONT_SIZE_5", SWIG_FromInt((int)wxHTML_FONT_SIZE_5));
11998 PyDict_SetItemString(d,"HTML_FONT_SIZE_6", SWIG_FromInt((int)wxHTML_FONT_SIZE_6));
11999 PyDict_SetItemString(d,"HTML_FONT_SIZE_7", SWIG_FromInt((int)wxHTML_FONT_SIZE_7));
12000 PyDict_SetItemString(d,"HW_SCROLLBAR_NEVER", SWIG_FromInt((int)wxHW_SCROLLBAR_NEVER));
12001 PyDict_SetItemString(d,"HW_SCROLLBAR_AUTO", SWIG_FromInt((int)wxHW_SCROLLBAR_AUTO));
12002 PyDict_SetItemString(d,"HW_NO_SELECTION", SWIG_FromInt((int)wxHW_NO_SELECTION));
12003 PyDict_SetItemString(d,"HW_DEFAULT_STYLE", SWIG_FromInt((int)wxHW_DEFAULT_STYLE));
12004 PyDict_SetItemString(d,"HTML_OPEN", SWIG_FromInt((int)wxHTML_OPEN));
12005 PyDict_SetItemString(d,"HTML_BLOCK", SWIG_FromInt((int)wxHTML_BLOCK));
12006 PyDict_SetItemString(d,"HTML_REDIRECT", SWIG_FromInt((int)wxHTML_REDIRECT));
12007 PyDict_SetItemString(d,"HTML_URL_PAGE", SWIG_FromInt((int)wxHTML_URL_PAGE));
12008 PyDict_SetItemString(d,"HTML_URL_IMAGE", SWIG_FromInt((int)wxHTML_URL_IMAGE));
12009 PyDict_SetItemString(d,"HTML_URL_OTHER", SWIG_FromInt((int)wxHTML_URL_OTHER));
12010 PyDict_SetItemString(d,"HTML_SEL_OUT", SWIG_FromInt((int)wxHTML_SEL_OUT));
12011 PyDict_SetItemString(d,"HTML_SEL_IN", SWIG_FromInt((int)wxHTML_SEL_IN));
12012 PyDict_SetItemString(d,"HTML_SEL_CHANGING", SWIG_FromInt((int)wxHTML_SEL_CHANGING));
12013 PyDict_SetItemString(d,"HTML_FIND_EXACT", SWIG_FromInt((int)wxHTML_FIND_EXACT));
12014 PyDict_SetItemString(d,"HTML_FIND_NEAREST_BEFORE", SWIG_FromInt((int)wxHTML_FIND_NEAREST_BEFORE));
12015 PyDict_SetItemString(d,"HTML_FIND_NEAREST_AFTER", SWIG_FromInt((int)wxHTML_FIND_NEAREST_AFTER));
12016 PyDict_SetItemString(d,"PAGE_ODD", SWIG_FromInt((int)wxPAGE_ODD));
12017 PyDict_SetItemString(d,"PAGE_EVEN", SWIG_FromInt((int)wxPAGE_EVEN));
12018 PyDict_SetItemString(d,"PAGE_ALL", SWIG_FromInt((int)wxPAGE_ALL));
12019 PyDict_SetItemString(d,"HF_TOOLBAR", SWIG_FromInt((int)wxHF_TOOLBAR));
12020 PyDict_SetItemString(d,"HF_FLATTOOLBAR", SWIG_FromInt((int)wxHF_FLATTOOLBAR));
12021 PyDict_SetItemString(d,"HF_CONTENTS", SWIG_FromInt((int)wxHF_CONTENTS));
12022 PyDict_SetItemString(d,"HF_INDEX", SWIG_FromInt((int)wxHF_INDEX));
12023 PyDict_SetItemString(d,"HF_SEARCH", SWIG_FromInt((int)wxHF_SEARCH));
12024 PyDict_SetItemString(d,"HF_BOOKMARKS", SWIG_FromInt((int)wxHF_BOOKMARKS));
12025 PyDict_SetItemString(d,"HF_OPENFILES", SWIG_FromInt((int)wxHF_OPENFILES));
12026 PyDict_SetItemString(d,"HF_PRINT", SWIG_FromInt((int)wxHF_PRINT));
12027 PyDict_SetItemString(d,"HF_DEFAULTSTYLE", SWIG_FromInt((int)wxHF_DEFAULTSTYLE));
12028
12029 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
12030 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
12031 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
12032 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");
12033
12034 }
12035