]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/html_wrap.cpp
Fixed a compile error
[wxWidgets.git] / wxPython / src / gtk / html_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_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 /***********************************************************************
128 * pyrun.swg for wxPython
129 *
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
133 * anyway.
134 *
135 ************************************************************************/
136
137 #include "Python.h"
138
139 #ifdef __cplusplus
140 extern "C" {
141 #endif
142
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
148
149 /* Flags for pointer conversion */
150
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
153
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
156
157 /* Constant information structure */
158 typedef struct swig_const_info {
159 int type;
160 char *name;
161 long lvalue;
162 double dvalue;
163 void *pvalue;
164 swig_type_info **ptype;
165 } swig_const_info;
166
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
187 typedef double (*py_objasdbl_conv)(PyObject *obj);
188
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
197
198 /* -----------------------------------------------------------------------------
199 * the needed conversions between C++ and python
200 * ----------------------------------------------------------------------------- */
201 /* basic types */
202 /*
203 utilities
204 */
205 SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject *obj, swig_type_info* pchar_info);
206 SWIGIMPORT(PyObject *) SWIG_PyObj_FromCharPtr(const char* cptr);
207 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject * obj);
208 SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject * obj, const char* type,
209 long min_value, long max_value);
210 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject *obj, const char* type,
211 unsigned long max_value);
212 SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject *obj, swig_type_info* pchar_info);
213 SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject *obj, swig_type_info* pchar_info,
214 char** cptr, size_t* size);
215 SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject *obj, swig_type_info* pchar_info,
216 char* carray, size_t size);
217 SWIGIMPORT(PyObject *) SWIG_PyObj_FromCharArray(const char* carray, size_t size);
218 SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject *obj, py_objasdbl_conv pyconv);
219
220
221 /* Contract support */
222
223 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
224
225 #ifdef __cplusplus
226 }
227 #endif
228
229
230
231 /* -------- TYPES TABLE (BEGIN) -------- */
232
233 #define SWIGTYPE_p_wxHtmlDCRenderer swig_types[0]
234 #define SWIGTYPE_p_wxColour swig_types[1]
235 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[2]
236 #define SWIGTYPE_p_wxDC swig_types[3]
237 #define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[4]
238 #define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[5]
239 #define SWIGTYPE_p_wxMouseEvent swig_types[6]
240 #define SWIGTYPE_p_wxHtmlWordCell swig_types[7]
241 #define SWIGTYPE_p_wxHtmlHelpData swig_types[8]
242 #define SWIGTYPE_p_char swig_types[9]
243 #define SWIGTYPE_p_wxHtmlWinParser swig_types[10]
244 #define SWIGTYPE_p_wxHtmlParser swig_types[11]
245 #define SWIGTYPE_p_wxPanel swig_types[12]
246 #define SWIGTYPE_p_wxFont swig_types[13]
247 #define SWIGTYPE_p_wxHtmlColourCell swig_types[14]
248 #define SWIGTYPE_p_wxPyHtmlWindow swig_types[15]
249 #define SWIGTYPE_p_wxScrolledWindow swig_types[16]
250 #define SWIGTYPE_p_wxWindow swig_types[17]
251 #define SWIGTYPE_p_wxTopLevelWindow swig_types[18]
252 #define SWIGTYPE_p_wxHtmlFontCell swig_types[19]
253 #define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[20]
254 #define SWIGTYPE_p_wxHtmlSelection swig_types[21]
255 #define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[22]
256 #define SWIGTYPE_p_wxHtmlWidgetCell swig_types[23]
257 #define SWIGTYPE_p_wxObject swig_types[24]
258 #define SWIGTYPE_p_wxString swig_types[25]
259 #define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[26]
260 #define SWIGTYPE_p_wxHtmlTagHandler swig_types[27]
261 #define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[28]
262 #define SWIGTYPE_p_wxEvtHandler swig_types[29]
263 #define SWIGTYPE_p_wxPoint swig_types[30]
264 #define SWIGTYPE_p_wxHtmlHelpController swig_types[31]
265 #define SWIGTYPE_p_wxCursor swig_types[32]
266 #define SWIGTYPE_p_wxFileSystem swig_types[33]
267 #define SWIGTYPE_p_wxHtmlBookRecArray swig_types[34]
268 #define SWIGTYPE_p_wxPyPrintout swig_types[35]
269 #define SWIGTYPE_p_wxHtmlPrintout swig_types[36]
270 #define SWIGTYPE_p_wxHtmlSearchStatus swig_types[37]
271 #define SWIGTYPE_p_wxHtmlContentsItem swig_types[38]
272 #define SWIGTYPE_p_wxConfigBase swig_types[39]
273 #define SWIGTYPE_p_wxPrintData swig_types[40]
274 #define SWIGTYPE_p_wxHtmlHelpFrame swig_types[41]
275 #define SWIGTYPE_p_wxHtmlRenderingState swig_types[42]
276 #define SWIGTYPE_p_wxFrame swig_types[43]
277 #define SWIGTYPE_p_wxPyHtmlFilter swig_types[44]
278 #define SWIGTYPE_p_wxHtmlFilter swig_types[45]
279 #define SWIGTYPE_p_wxHtmlCell swig_types[46]
280 #define SWIGTYPE_p_wxHtmlContainerCell swig_types[47]
281 #define SWIGTYPE_p_wxHtmlTag swig_types[48]
282 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[49]
283 #define SWIGTYPE_p_int swig_types[50]
284 #define SWIGTYPE_p_wxHtmlBookRecord swig_types[51]
285 static swig_type_info *swig_types[53];
286
287 /* -------- TYPES TABLE (END) -------- */
288
289
290 /*-----------------------------------------------
291 @(target):= _html.so
292 ------------------------------------------------*/
293 #define SWIG_init init_html
294
295 #define SWIG_name "_html"
296
297 #include <limits.h>
298 #include <float.h>
299 #include <string.h>
300
301 #ifndef SWIGSTATIC
302 #ifdef __cplusplus
303 #define SWIGSTATIC(a) static inline a
304 #else
305 #define SWIGSTATIC(a) static a
306 #endif
307 #endif
308
309 #ifndef numeric_cast
310 #ifdef __cplusplus
311 #ifdef HAVE_NUMERIC_CAST
312 #define numeric_cast(type,a) numeric_cast<type>(a)
313 #else
314 #define numeric_cast(type,a) static_cast<type>(a)
315 #endif
316 #else
317 #define numeric_cast(type,a) (type)(a)
318 #endif
319 #endif
320
321
322
323 #define SWIG_PyObj_FromSignedChar PyInt_FromLong
324 #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
325 #define SWIG_PyObj_FromShort PyInt_FromLong
326 #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
327 #define SWIG_PyObj_FromInt PyInt_FromLong
328 #define SWIG_PyObj_FromLong PyInt_FromLong
329 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
330 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
331 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
332 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
333
334
335 #include "wx/wxPython/wxPython.h"
336 #include "wx/wxPython/pyclasses.h"
337 #include "wx/wxPython/pyistream.h"
338 #include "wx/wxPython/printfw.h"
339
340 #include <wx/html/htmlwin.h>
341 #include <wx/html/htmprint.h>
342 #include <wx/html/helpctrl.h>
343
344
345 static const wxString wxPyEmptyString(wxEmptyString);
346 static const wxString wxPyHtmlWindowNameStr(wxT("htmlWindow"));
347 static const wxString wxPyHtmlPrintoutTitleStr(wxT("Printout"));
348 static const wxString wxPyHtmlPrintingTitleStr(wxT("Printing"));
349
350 SWIGSTATIC(PyObject*)
351 SWIG_PyObj_FromBool(bool value)
352 {
353 PyObject *obj = value ? Py_True : Py_False;
354 Py_INCREF(obj);
355 return obj;
356 }
357
358
359 SWIGSTATIC(int)
360 SWIG_PyObj_AsInt(PyObject *obj)
361 {
362 return numeric_cast(int,
363 SWIG_PyObj_AsLongInRange(obj, "int", INT_MIN, INT_MAX));
364 }
365
366 void wxHtmlWinParser_SetFonts(wxHtmlWinParser *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
367 int* temp = NULL;
368 if (sizes) temp = int_LIST_helper(sizes);
369 self->SetFonts(normal_face, fixed_face, temp);
370 if (temp)
371 delete [] temp;
372 }
373
374 class wxPyHtmlTagHandler : public wxHtmlTagHandler {
375 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler);
376 public:
377 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
378
379 wxHtmlParser* GetParser() { return m_Parser; }
380 void ParseInner(const wxHtmlTag& tag) { wxHtmlTagHandler::ParseInner(tag); }
381
382 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
383 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
384
385 PYPRIVATE;
386 };
387
388 IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler, wxHtmlTagHandler);
389
390 IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler, wxHtmlTagHandler, GetSupportedTags);
391 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag);
392
393
394 class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler {
395 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler);
396 public:
397 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
398
399 wxHtmlWinParser* GetParser() { return m_WParser; }
400 void ParseInner(const wxHtmlTag& tag)
401 { wxHtmlWinTagHandler::ParseInner(tag); }
402
403 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
404 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
405
406 PYPRIVATE;
407 };
408
409 IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler, wxHtmlWinTagHandler);
410
411 IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, GetSupportedTags);
412 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, HandleTag);
413
414
415
416 class wxPyHtmlTagsModule : public wxHtmlTagsModule {
417 public:
418 wxPyHtmlTagsModule(PyObject* thc) : wxHtmlTagsModule() {
419 m_tagHandlerClass = thc;
420 Py_INCREF(m_tagHandlerClass);
421 RegisterModule(this);
422 wxHtmlWinParser::AddModule(this);
423 }
424
425 void OnExit() {
426 wxPyBeginBlockThreads();
427 Py_DECREF(m_tagHandlerClass);
428 m_tagHandlerClass = NULL;
429 for (size_t x=0; x < m_objArray.GetCount(); x++) {
430 PyObject* obj = (PyObject*)m_objArray.Item(x);
431 Py_DECREF(obj);
432 }
433 wxPyEndBlockThreads();
434 };
435
436 void FillHandlersTable(wxHtmlWinParser *parser) {
437 // Wave our magic wand... (if it works it's a miracle! ;-)
438
439 // First, make a new instance of the tag handler
440 wxPyBeginBlockThreads();
441 PyObject* arg = PyTuple_New(0);
442 PyObject* obj = PyObject_CallObject(m_tagHandlerClass, arg);
443 Py_DECREF(arg);
444
445 // now figure out where it's C++ object is...
446 wxPyHtmlWinTagHandler* thPtr;
447 if (! wxPyConvertSwigPtr(obj, (void **)&thPtr, wxT("wxPyHtmlWinTagHandler"))) {
448 wxPyEndBlockThreads();
449 return;
450 }
451 wxPyEndBlockThreads();
452
453 // add it,
454 parser->AddTagHandler(thPtr);
455
456 // and track it.
457 m_objArray.Add(obj);
458 }
459
460 private:
461 PyObject* m_tagHandlerClass;
462 wxArrayPtrVoid m_objArray;
463
464 };
465
466
467 void wxHtmlWinParser_AddTagHandler(PyObject* tagHandlerClass) {
468 // Dynamically create a new wxModule. Refcounts tagHandlerClass
469 // and adds itself to the wxModules list and to the wxHtmlWinParser.
470 new wxPyHtmlTagsModule(tagHandlerClass);
471 }
472
473
474 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
475 PyObject* o2;
476 PyObject* o3;
477
478 if (!target) {
479 target = o;
480 } else if (target == Py_None) {
481 Py_DECREF(Py_None);
482 target = o;
483 } else {
484 if (!PyTuple_Check(target)) {
485 o2 = target;
486 target = PyTuple_New(1);
487 PyTuple_SetItem(target, 0, o2);
488 }
489 o3 = PyTuple_New(1);
490 PyTuple_SetItem(o3, 0, o);
491
492 o2 = target;
493 target = PySequence_Concat(o2, o3);
494 Py_DECREF(o2);
495 Py_DECREF(o3);
496 }
497 return target;
498 }
499
500
501 SWIGSTATIC(bool)
502 SWIG_PyObj_AsBool(PyObject *obj)
503 {
504 return PyObject_IsTrue(obj) ? true : false;
505 }
506
507
508 SWIGSTATIC(unsigned int)
509 SWIG_PyObj_AsUnsignedInt(PyObject *obj)
510 {
511 return numeric_cast(unsigned int,
512 SWIG_PyObj_AsUnsignedLongInRange(obj, "unsigned int", UINT_MAX));
513 }
514
515
516 SWIGSTATIC(PyObject* )
517 SWIG_PyObj_FromUnsignedLong(unsigned long value)
518 {
519 return (value > (unsigned long)(LONG_MAX)) ?
520 PyLong_FromUnsignedLong(value) : PyInt_FromLong((long)value);
521 }
522
523
524 #define SWIG_PyObj_FromUnsignedInt SWIG_PyObj_FromUnsignedLong
525
526 // here's the C++ version
527 class wxPyHtmlFilter : public wxHtmlFilter {
528 DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter);
529 public:
530 wxPyHtmlFilter() : wxHtmlFilter() {}
531
532 // returns True if this filter is able to open&read given file
533 virtual bool CanRead(const wxFSFile& file) const {
534 bool rval = False;
535 bool found;
536 wxPyBeginBlockThreads();
537 if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) {
538 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file); // cast away const
539 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
540 Py_DECREF(obj);
541 }
542 wxPyEndBlockThreads();
543 return rval;
544 }
545
546
547 // Reads given file and returns HTML document.
548 // Returns empty string if opening failed
549 virtual wxString ReadFile(const wxFSFile& file) const {
550 wxString rval;
551 bool found;
552 wxPyBeginBlockThreads();
553 if ((found = wxPyCBH_findCallback(m_myInst, "ReadFile"))) {
554 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file); // cast away const
555 PyObject* ro;
556 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(O)", obj));
557 Py_DECREF(obj);
558 if (ro) {
559 rval = Py2wxString(ro);
560 Py_DECREF(ro);
561 }
562 }
563 wxPyEndBlockThreads();
564 return rval;
565 }
566
567 PYPRIVATE;
568 };
569
570 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter, wxHtmlFilter);
571
572
573 class wxPyHtmlWindow : public wxHtmlWindow {
574 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow);
575 public:
576 wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1,
577 const wxPoint& pos = wxDefaultPosition,
578 const wxSize& size = wxDefaultSize,
579 long style = wxHW_DEFAULT_STYLE,
580 const wxString& name = wxPyHtmlWindowNameStr)
581 : wxHtmlWindow(parent, id, pos, size, style, name) {};
582 wxPyHtmlWindow() : wxHtmlWindow() {};
583
584 bool ScrollToAnchor(const wxString& anchor) {
585 return wxHtmlWindow::ScrollToAnchor(anchor);
586 }
587
588 bool HasAnchor(const wxString& anchor) {
589 const wxHtmlCell *c = m_Cell->Find(wxHTML_COND_ISANCHOR, &anchor);
590 return c!=NULL;
591 }
592
593 void OnLinkClicked(const wxHtmlLinkInfo& link);
594 void base_OnLinkClicked(const wxHtmlLinkInfo& link);
595
596 wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type,
597 const wxString& url,
598 wxString *redirect) const;
599
600 DEC_PYCALLBACK__STRING(OnSetTitle);
601 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover);
602 DEC_PYCALLBACK__CELLINTINTME(OnCellClicked);
603 PYPRIVATE;
604 };
605
606 IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow, wxHtmlWindow );
607 IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnSetTitle);
608 IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow, wxHtmlWindow, OnCellMouseHover);
609 IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow, wxHtmlWindow, OnCellClicked);
610
611
612 void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) {
613 bool found;
614 wxPyBeginBlockThreads();
615 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
616 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
617 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
618 Py_DECREF(obj);
619 }
620 wxPyEndBlockThreads();
621 if (! found)
622 wxHtmlWindow::OnLinkClicked(link);
623 }
624 void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo& link) {
625 wxHtmlWindow::OnLinkClicked(link);
626 }
627
628
629 wxHtmlOpeningStatus wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type,
630 const wxString& url,
631 wxString *redirect) const {
632 bool found;
633 wxHtmlOpeningStatus rval;
634 wxPyBeginBlockThreads();
635 if ((found = wxPyCBH_findCallback(m_myInst, "OnOpeningURL"))) {
636 PyObject* ro;
637 PyObject* s = wx2PyString(url);
638 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iO)", type, s));
639 Py_DECREF(s);
640 if (PyString_Check(ro)
641 #if PYTHON_API_VERSION >= 1009
642 || PyUnicode_Check(ro)
643 #endif
644 ) {
645 *redirect = Py2wxString(ro);
646 rval = wxHTML_REDIRECT;
647 }
648 else {
649 PyObject* num = PyNumber_Int(ro);
650 rval = (wxHtmlOpeningStatus)PyInt_AsLong(num);
651 Py_DECREF(num);
652 }
653 Py_DECREF(ro);
654 }
655 wxPyEndBlockThreads();
656 if (! found)
657 rval = wxHtmlWindow::OnOpeningURL(type, url, redirect);
658 return rval;
659 }
660
661
662
663 void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
664 int* temp = NULL;
665 if (sizes) temp = int_LIST_helper(sizes);
666 self->SetFonts(normal_face, fixed_face, temp);
667 if (temp)
668 delete [] temp;
669 }
670 void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
671 int* temp = NULL;
672 if (sizes) temp = int_LIST_helper(sizes);
673 self->SetFonts(normal_face, fixed_face, temp);
674 if (temp)
675 delete [] temp;
676 }
677 void wxHtmlPrintout_SetFonts(wxHtmlPrintout *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
678 int* temp = NULL;
679 if (sizes) temp = int_LIST_helper(sizes);
680 self->SetFonts(normal_face, fixed_face, temp);
681 if (temp)
682 delete [] temp;
683 }
684
685 SWIGSTATIC(double)
686 SWIG_PyObj_AsDouble(PyObject *obj)
687 {
688 return (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
689 #if HAVE_LONG_LONG
690 (double)((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
691 #else
692 (double)((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLong(obj));
693 #endif
694 if (PyErr_Occurred()) {
695 PyErr_Clear();
696 PyErr_SetString(PyExc_TypeError, "a double is expected");
697 }
698 }
699
700
701 SWIGSTATIC(float)
702 SWIG_PyObj_AsFloat(PyObject *obj)
703 {
704 return SWIG_PyObj_AsFloatConv(obj, SWIG_PyObj_AsDouble);
705 }
706
707 void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
708 int* temp = NULL;
709 if (sizes) temp = int_LIST_helper(sizes);
710 self->SetFonts(normal_face, fixed_face, temp);
711 if (temp)
712 delete [] temp;
713 }
714 int wxHtmlContentsItem_GetLevel(wxHtmlContentsItem *self){ return self->m_Level; }
715 int wxHtmlContentsItem_GetID(wxHtmlContentsItem *self){ return self->m_ID; }
716 wxString wxHtmlContentsItem_GetName(wxHtmlContentsItem *self){ return self->m_Name; }
717 wxString wxHtmlContentsItem_GetPage(wxHtmlContentsItem *self){ return self->m_Page; }
718 wxHtmlBookRecord *wxHtmlContentsItem_GetBook(wxHtmlContentsItem *self){ return self->m_Book; }
719 #ifdef __cplusplus
720 extern "C" {
721 #endif
722 static int _wrap_HtmlWindowNameStr_set(PyObject *_val) {
723 PyErr_SetString(PyExc_TypeError,"Variable HtmlWindowNameStr is read-only.");
724 return 1;
725 }
726
727
728 static PyObject *_wrap_HtmlWindowNameStr_get() {
729 PyObject *pyobj;
730
731 {
732 #if wxUSE_UNICODE
733 pyobj = PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
734 #else
735 pyobj = PyString_FromStringAndSize((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
736 #endif
737 }
738 return pyobj;
739 }
740
741
742 static int _wrap_HtmlPrintoutTitleStr_set(PyObject *_val) {
743 PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintoutTitleStr is read-only.");
744 return 1;
745 }
746
747
748 static PyObject *_wrap_HtmlPrintoutTitleStr_get() {
749 PyObject *pyobj;
750
751 {
752 #if wxUSE_UNICODE
753 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
754 #else
755 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
756 #endif
757 }
758 return pyobj;
759 }
760
761
762 static int _wrap_HtmlPrintingTitleStr_set(PyObject *_val) {
763 PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintingTitleStr is read-only.");
764 return 1;
765 }
766
767
768 static PyObject *_wrap_HtmlPrintingTitleStr_get() {
769 PyObject *pyobj;
770
771 {
772 #if wxUSE_UNICODE
773 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
774 #else
775 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
776 #endif
777 }
778 return pyobj;
779 }
780
781
782 static PyObject *_wrap_new_HtmlLinkInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
783 PyObject *resultobj;
784 wxString *arg1 = 0 ;
785 wxString const &arg2_defvalue = wxPyEmptyString ;
786 wxString *arg2 = (wxString *) &arg2_defvalue ;
787 wxHtmlLinkInfo *result;
788 bool temp1 = False ;
789 bool temp2 = False ;
790 PyObject * obj0 = 0 ;
791 PyObject * obj1 = 0 ;
792 char *kwnames[] = {
793 (char *) "href",(char *) "target", NULL
794 };
795
796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlLinkInfo",kwnames,&obj0,&obj1)) goto fail;
797 {
798 arg1 = wxString_in_helper(obj0);
799 if (arg1 == NULL) SWIG_fail;
800 temp1 = True;
801 }
802 if (obj1) {
803 {
804 arg2 = wxString_in_helper(obj1);
805 if (arg2 == NULL) SWIG_fail;
806 temp2 = True;
807 }
808 }
809 {
810 PyThreadState* __tstate = wxPyBeginAllowThreads();
811 result = (wxHtmlLinkInfo *)new wxHtmlLinkInfo((wxString const &)*arg1,(wxString const &)*arg2);
812
813 wxPyEndAllowThreads(__tstate);
814 if (PyErr_Occurred()) SWIG_fail;
815 }
816 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlLinkInfo, 1);
817 {
818 if (temp1)
819 delete arg1;
820 }
821 {
822 if (temp2)
823 delete arg2;
824 }
825 return resultobj;
826 fail:
827 {
828 if (temp1)
829 delete arg1;
830 }
831 {
832 if (temp2)
833 delete arg2;
834 }
835 return NULL;
836 }
837
838
839 static PyObject *_wrap_HtmlLinkInfo_GetHref(PyObject *self, PyObject *args, PyObject *kwargs) {
840 PyObject *resultobj;
841 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
842 wxString result;
843 PyObject * obj0 = 0 ;
844 char *kwnames[] = {
845 (char *) "self", NULL
846 };
847
848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHref",kwnames,&obj0)) goto fail;
849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
850 {
851 PyThreadState* __tstate = wxPyBeginAllowThreads();
852 result = (arg1)->GetHref();
853
854 wxPyEndAllowThreads(__tstate);
855 if (PyErr_Occurred()) SWIG_fail;
856 }
857 {
858 #if wxUSE_UNICODE
859 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
860 #else
861 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
862 #endif
863 }
864 return resultobj;
865 fail:
866 return NULL;
867 }
868
869
870 static PyObject *_wrap_HtmlLinkInfo_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
871 PyObject *resultobj;
872 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
873 wxString result;
874 PyObject * obj0 = 0 ;
875 char *kwnames[] = {
876 (char *) "self", NULL
877 };
878
879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetTarget",kwnames,&obj0)) goto fail;
880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
881 {
882 PyThreadState* __tstate = wxPyBeginAllowThreads();
883 result = (arg1)->GetTarget();
884
885 wxPyEndAllowThreads(__tstate);
886 if (PyErr_Occurred()) SWIG_fail;
887 }
888 {
889 #if wxUSE_UNICODE
890 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
891 #else
892 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
893 #endif
894 }
895 return resultobj;
896 fail:
897 return NULL;
898 }
899
900
901 static PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
902 PyObject *resultobj;
903 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
904 wxMouseEvent *result;
905 PyObject * obj0 = 0 ;
906 char *kwnames[] = {
907 (char *) "self", NULL
908 };
909
910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetEvent",kwnames,&obj0)) goto fail;
911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
912 {
913 PyThreadState* __tstate = wxPyBeginAllowThreads();
914 result = (wxMouseEvent *)(arg1)->GetEvent();
915
916 wxPyEndAllowThreads(__tstate);
917 if (PyErr_Occurred()) SWIG_fail;
918 }
919 {
920 resultobj = wxPyMake_wxObject(result);
921 }
922 return resultobj;
923 fail:
924 return NULL;
925 }
926
927
928 static PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) {
929 PyObject *resultobj;
930 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
931 wxHtmlCell *result;
932 PyObject * obj0 = 0 ;
933 char *kwnames[] = {
934 (char *) "self", NULL
935 };
936
937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHtmlCell",kwnames,&obj0)) goto fail;
938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
939 {
940 PyThreadState* __tstate = wxPyBeginAllowThreads();
941 result = (wxHtmlCell *)(arg1)->GetHtmlCell();
942
943 wxPyEndAllowThreads(__tstate);
944 if (PyErr_Occurred()) SWIG_fail;
945 }
946 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0);
947 return resultobj;
948 fail:
949 return NULL;
950 }
951
952
953 static PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
954 PyObject *resultobj;
955 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
956 wxMouseEvent *arg2 = (wxMouseEvent *) 0 ;
957 PyObject * obj0 = 0 ;
958 PyObject * obj1 = 0 ;
959 char *kwnames[] = {
960 (char *) "self",(char *) "e", NULL
961 };
962
963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames,&obj0,&obj1)) goto fail;
964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
965 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
966 {
967 PyThreadState* __tstate = wxPyBeginAllowThreads();
968 (arg1)->SetEvent((wxMouseEvent const *)arg2);
969
970 wxPyEndAllowThreads(__tstate);
971 if (PyErr_Occurred()) SWIG_fail;
972 }
973 Py_INCREF(Py_None); resultobj = Py_None;
974 return resultobj;
975 fail:
976 return NULL;
977 }
978
979
980 static PyObject *_wrap_HtmlLinkInfo_SetHtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) {
981 PyObject *resultobj;
982 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
983 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
984 PyObject * obj0 = 0 ;
985 PyObject * obj1 = 0 ;
986 char *kwnames[] = {
987 (char *) "self",(char *) "e", NULL
988 };
989
990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames,&obj0,&obj1)) goto fail;
991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
992 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
993 {
994 PyThreadState* __tstate = wxPyBeginAllowThreads();
995 (arg1)->SetHtmlCell((wxHtmlCell const *)arg2);
996
997 wxPyEndAllowThreads(__tstate);
998 if (PyErr_Occurred()) SWIG_fail;
999 }
1000 Py_INCREF(Py_None); resultobj = Py_None;
1001 return resultobj;
1002 fail:
1003 return NULL;
1004 }
1005
1006
1007 static PyObject * HtmlLinkInfo_swigregister(PyObject *self, PyObject *args) {
1008 PyObject *obj;
1009 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1010 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlLinkInfo, obj);
1011 Py_INCREF(obj);
1012 return Py_BuildValue((char *)"");
1013 }
1014 static PyObject *_wrap_HtmlTag_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
1015 PyObject *resultobj;
1016 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1017 wxString result;
1018 PyObject * obj0 = 0 ;
1019 char *kwnames[] = {
1020 (char *) "self", NULL
1021 };
1022
1023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetName",kwnames,&obj0)) goto fail;
1024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1025 {
1026 PyThreadState* __tstate = wxPyBeginAllowThreads();
1027 result = (arg1)->GetName();
1028
1029 wxPyEndAllowThreads(__tstate);
1030 if (PyErr_Occurred()) SWIG_fail;
1031 }
1032 {
1033 #if wxUSE_UNICODE
1034 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1035 #else
1036 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1037 #endif
1038 }
1039 return resultobj;
1040 fail:
1041 return NULL;
1042 }
1043
1044
1045 static PyObject *_wrap_HtmlTag_HasParam(PyObject *self, PyObject *args, PyObject *kwargs) {
1046 PyObject *resultobj;
1047 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1048 wxString *arg2 = 0 ;
1049 bool result;
1050 bool temp2 = False ;
1051 PyObject * obj0 = 0 ;
1052 PyObject * obj1 = 0 ;
1053 char *kwnames[] = {
1054 (char *) "self",(char *) "par", NULL
1055 };
1056
1057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTag_HasParam",kwnames,&obj0,&obj1)) goto fail;
1058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1059 {
1060 arg2 = wxString_in_helper(obj1);
1061 if (arg2 == NULL) SWIG_fail;
1062 temp2 = True;
1063 }
1064 {
1065 PyThreadState* __tstate = wxPyBeginAllowThreads();
1066 result = (bool)(arg1)->HasParam((wxString const &)*arg2);
1067
1068 wxPyEndAllowThreads(__tstate);
1069 if (PyErr_Occurred()) SWIG_fail;
1070 }
1071 resultobj = SWIG_PyObj_FromBool((bool)result);
1072 {
1073 if (temp2)
1074 delete arg2;
1075 }
1076 return resultobj;
1077 fail:
1078 {
1079 if (temp2)
1080 delete arg2;
1081 }
1082 return NULL;
1083 }
1084
1085
1086 static PyObject *_wrap_HtmlTag_GetParam(PyObject *self, PyObject *args, PyObject *kwargs) {
1087 PyObject *resultobj;
1088 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1089 wxString *arg2 = 0 ;
1090 int arg3 = (int) False ;
1091 wxString result;
1092 bool temp2 = False ;
1093 PyObject * obj0 = 0 ;
1094 PyObject * obj1 = 0 ;
1095 PyObject * obj2 = 0 ;
1096 char *kwnames[] = {
1097 (char *) "self",(char *) "par",(char *) "with_commas", NULL
1098 };
1099
1100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlTag_GetParam",kwnames,&obj0,&obj1,&obj2)) goto fail;
1101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1102 {
1103 arg2 = wxString_in_helper(obj1);
1104 if (arg2 == NULL) SWIG_fail;
1105 temp2 = True;
1106 }
1107 if (obj2) {
1108 {
1109 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1110 if (PyErr_Occurred()) SWIG_fail;
1111 }
1112 }
1113 {
1114 PyThreadState* __tstate = wxPyBeginAllowThreads();
1115 result = (arg1)->GetParam((wxString const &)*arg2,arg3);
1116
1117 wxPyEndAllowThreads(__tstate);
1118 if (PyErr_Occurred()) SWIG_fail;
1119 }
1120 {
1121 #if wxUSE_UNICODE
1122 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1123 #else
1124 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1125 #endif
1126 }
1127 {
1128 if (temp2)
1129 delete arg2;
1130 }
1131 return resultobj;
1132 fail:
1133 {
1134 if (temp2)
1135 delete arg2;
1136 }
1137 return NULL;
1138 }
1139
1140
1141 static PyObject *_wrap_HtmlTag_GetAllParams(PyObject *self, PyObject *args, PyObject *kwargs) {
1142 PyObject *resultobj;
1143 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1144 wxString result;
1145 PyObject * obj0 = 0 ;
1146 char *kwnames[] = {
1147 (char *) "self", NULL
1148 };
1149
1150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetAllParams",kwnames,&obj0)) goto fail;
1151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1152 {
1153 PyThreadState* __tstate = wxPyBeginAllowThreads();
1154 result = (arg1)->GetAllParams();
1155
1156 wxPyEndAllowThreads(__tstate);
1157 if (PyErr_Occurred()) SWIG_fail;
1158 }
1159 {
1160 #if wxUSE_UNICODE
1161 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1162 #else
1163 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1164 #endif
1165 }
1166 return resultobj;
1167 fail:
1168 return NULL;
1169 }
1170
1171
1172 static PyObject *_wrap_HtmlTag_HasEnding(PyObject *self, PyObject *args, PyObject *kwargs) {
1173 PyObject *resultobj;
1174 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1175 bool result;
1176 PyObject * obj0 = 0 ;
1177 char *kwnames[] = {
1178 (char *) "self", NULL
1179 };
1180
1181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_HasEnding",kwnames,&obj0)) goto fail;
1182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1183 {
1184 PyThreadState* __tstate = wxPyBeginAllowThreads();
1185 result = (bool)(arg1)->HasEnding();
1186
1187 wxPyEndAllowThreads(__tstate);
1188 if (PyErr_Occurred()) SWIG_fail;
1189 }
1190 resultobj = SWIG_PyObj_FromBool((bool)result);
1191 return resultobj;
1192 fail:
1193 return NULL;
1194 }
1195
1196
1197 static PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *self, PyObject *args, PyObject *kwargs) {
1198 PyObject *resultobj;
1199 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1200 int result;
1201 PyObject * obj0 = 0 ;
1202 char *kwnames[] = {
1203 (char *) "self", NULL
1204 };
1205
1206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetBeginPos",kwnames,&obj0)) goto fail;
1207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1208 {
1209 PyThreadState* __tstate = wxPyBeginAllowThreads();
1210 result = (int)(arg1)->GetBeginPos();
1211
1212 wxPyEndAllowThreads(__tstate);
1213 if (PyErr_Occurred()) SWIG_fail;
1214 }
1215 resultobj = SWIG_PyObj_FromInt((int)result);
1216 return resultobj;
1217 fail:
1218 return NULL;
1219 }
1220
1221
1222 static PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *self, PyObject *args, PyObject *kwargs) {
1223 PyObject *resultobj;
1224 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1225 int result;
1226 PyObject * obj0 = 0 ;
1227 char *kwnames[] = {
1228 (char *) "self", NULL
1229 };
1230
1231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos1",kwnames,&obj0)) goto fail;
1232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1233 {
1234 PyThreadState* __tstate = wxPyBeginAllowThreads();
1235 result = (int)(arg1)->GetEndPos1();
1236
1237 wxPyEndAllowThreads(__tstate);
1238 if (PyErr_Occurred()) SWIG_fail;
1239 }
1240 resultobj = SWIG_PyObj_FromInt((int)result);
1241 return resultobj;
1242 fail:
1243 return NULL;
1244 }
1245
1246
1247 static PyObject *_wrap_HtmlTag_GetEndPos2(PyObject *self, PyObject *args, PyObject *kwargs) {
1248 PyObject *resultobj;
1249 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1250 int result;
1251 PyObject * obj0 = 0 ;
1252 char *kwnames[] = {
1253 (char *) "self", NULL
1254 };
1255
1256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos2",kwnames,&obj0)) goto fail;
1257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1258 {
1259 PyThreadState* __tstate = wxPyBeginAllowThreads();
1260 result = (int)(arg1)->GetEndPos2();
1261
1262 wxPyEndAllowThreads(__tstate);
1263 if (PyErr_Occurred()) SWIG_fail;
1264 }
1265 resultobj = SWIG_PyObj_FromInt((int)result);
1266 return resultobj;
1267 fail:
1268 return NULL;
1269 }
1270
1271
1272 static PyObject * HtmlTag_swigregister(PyObject *self, PyObject *args) {
1273 PyObject *obj;
1274 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1275 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlTag, obj);
1276 Py_INCREF(obj);
1277 return Py_BuildValue((char *)"");
1278 }
1279 static PyObject *_wrap_HtmlParser_SetFS(PyObject *self, PyObject *args, PyObject *kwargs) {
1280 PyObject *resultobj;
1281 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1282 wxFileSystem *arg2 = (wxFileSystem *) 0 ;
1283 PyObject * obj0 = 0 ;
1284 PyObject * obj1 = 0 ;
1285 char *kwnames[] = {
1286 (char *) "self",(char *) "fs", NULL
1287 };
1288
1289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_SetFS",kwnames,&obj0,&obj1)) goto fail;
1290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1291 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1292 {
1293 PyThreadState* __tstate = wxPyBeginAllowThreads();
1294 (arg1)->SetFS(arg2);
1295
1296 wxPyEndAllowThreads(__tstate);
1297 if (PyErr_Occurred()) SWIG_fail;
1298 }
1299 Py_INCREF(Py_None); resultobj = Py_None;
1300 return resultobj;
1301 fail:
1302 return NULL;
1303 }
1304
1305
1306 static PyObject *_wrap_HtmlParser_GetFS(PyObject *self, PyObject *args, PyObject *kwargs) {
1307 PyObject *resultobj;
1308 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1309 wxFileSystem *result;
1310 PyObject * obj0 = 0 ;
1311 char *kwnames[] = {
1312 (char *) "self", NULL
1313 };
1314
1315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetFS",kwnames,&obj0)) goto fail;
1316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1317 {
1318 PyThreadState* __tstate = wxPyBeginAllowThreads();
1319 result = (wxFileSystem *)(arg1)->GetFS();
1320
1321 wxPyEndAllowThreads(__tstate);
1322 if (PyErr_Occurred()) SWIG_fail;
1323 }
1324 {
1325 resultobj = wxPyMake_wxObject(result);
1326 }
1327 return resultobj;
1328 fail:
1329 return NULL;
1330 }
1331
1332
1333 static PyObject *_wrap_HtmlParser_Parse(PyObject *self, PyObject *args, PyObject *kwargs) {
1334 PyObject *resultobj;
1335 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1336 wxString *arg2 = 0 ;
1337 wxObject *result;
1338 bool temp2 = False ;
1339 PyObject * obj0 = 0 ;
1340 PyObject * obj1 = 0 ;
1341 char *kwnames[] = {
1342 (char *) "self",(char *) "source", NULL
1343 };
1344
1345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_Parse",kwnames,&obj0,&obj1)) goto fail;
1346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1347 {
1348 arg2 = wxString_in_helper(obj1);
1349 if (arg2 == NULL) SWIG_fail;
1350 temp2 = True;
1351 }
1352 {
1353 PyThreadState* __tstate = wxPyBeginAllowThreads();
1354 result = (wxObject *)(arg1)->Parse((wxString const &)*arg2);
1355
1356 wxPyEndAllowThreads(__tstate);
1357 if (PyErr_Occurred()) SWIG_fail;
1358 }
1359 {
1360 resultobj = wxPyMake_wxObject(result);
1361 }
1362 {
1363 if (temp2)
1364 delete arg2;
1365 }
1366 return resultobj;
1367 fail:
1368 {
1369 if (temp2)
1370 delete arg2;
1371 }
1372 return NULL;
1373 }
1374
1375
1376 static PyObject *_wrap_HtmlParser_InitParser(PyObject *self, PyObject *args, PyObject *kwargs) {
1377 PyObject *resultobj;
1378 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1379 wxString *arg2 = 0 ;
1380 bool temp2 = False ;
1381 PyObject * obj0 = 0 ;
1382 PyObject * obj1 = 0 ;
1383 char *kwnames[] = {
1384 (char *) "self",(char *) "source", NULL
1385 };
1386
1387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_InitParser",kwnames,&obj0,&obj1)) goto fail;
1388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1389 {
1390 arg2 = wxString_in_helper(obj1);
1391 if (arg2 == NULL) SWIG_fail;
1392 temp2 = True;
1393 }
1394 {
1395 PyThreadState* __tstate = wxPyBeginAllowThreads();
1396 (arg1)->InitParser((wxString const &)*arg2);
1397
1398 wxPyEndAllowThreads(__tstate);
1399 if (PyErr_Occurred()) SWIG_fail;
1400 }
1401 Py_INCREF(Py_None); resultobj = Py_None;
1402 {
1403 if (temp2)
1404 delete arg2;
1405 }
1406 return resultobj;
1407 fail:
1408 {
1409 if (temp2)
1410 delete arg2;
1411 }
1412 return NULL;
1413 }
1414
1415
1416 static PyObject *_wrap_HtmlParser_DoneParser(PyObject *self, PyObject *args, PyObject *kwargs) {
1417 PyObject *resultobj;
1418 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1419 PyObject * obj0 = 0 ;
1420 char *kwnames[] = {
1421 (char *) "self", NULL
1422 };
1423
1424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_DoneParser",kwnames,&obj0)) goto fail;
1425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1426 {
1427 PyThreadState* __tstate = wxPyBeginAllowThreads();
1428 (arg1)->DoneParser();
1429
1430 wxPyEndAllowThreads(__tstate);
1431 if (PyErr_Occurred()) SWIG_fail;
1432 }
1433 Py_INCREF(Py_None); resultobj = Py_None;
1434 return resultobj;
1435 fail:
1436 return NULL;
1437 }
1438
1439
1440 static PyObject *_wrap_HtmlParser_DoParsing(PyObject *self, PyObject *args, PyObject *kwargs) {
1441 PyObject *resultobj;
1442 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1443 int arg2 ;
1444 int arg3 ;
1445 PyObject * obj0 = 0 ;
1446 PyObject * obj1 = 0 ;
1447 PyObject * obj2 = 0 ;
1448 char *kwnames[] = {
1449 (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
1450 };
1451
1452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_DoParsing",kwnames,&obj0,&obj1,&obj2)) goto fail;
1453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1454 {
1455 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1456 if (PyErr_Occurred()) SWIG_fail;
1457 }
1458 {
1459 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1460 if (PyErr_Occurred()) SWIG_fail;
1461 }
1462 {
1463 PyThreadState* __tstate = wxPyBeginAllowThreads();
1464 (arg1)->DoParsing(arg2,arg3);
1465
1466 wxPyEndAllowThreads(__tstate);
1467 if (PyErr_Occurred()) SWIG_fail;
1468 }
1469 Py_INCREF(Py_None); resultobj = Py_None;
1470 return resultobj;
1471 fail:
1472 return NULL;
1473 }
1474
1475
1476 static PyObject *_wrap_HtmlParser_StopParsing(PyObject *self, PyObject *args, PyObject *kwargs) {
1477 PyObject *resultobj;
1478 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1479 PyObject * obj0 = 0 ;
1480 char *kwnames[] = {
1481 (char *) "self", NULL
1482 };
1483
1484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_StopParsing",kwnames,&obj0)) goto fail;
1485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1486 {
1487 PyThreadState* __tstate = wxPyBeginAllowThreads();
1488 (arg1)->StopParsing();
1489
1490 wxPyEndAllowThreads(__tstate);
1491 if (PyErr_Occurred()) SWIG_fail;
1492 }
1493 Py_INCREF(Py_None); resultobj = Py_None;
1494 return resultobj;
1495 fail:
1496 return NULL;
1497 }
1498
1499
1500 static PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1501 PyObject *resultobj;
1502 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1503 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
1504 PyObject * obj0 = 0 ;
1505 PyObject * obj1 = 0 ;
1506 char *kwnames[] = {
1507 (char *) "self",(char *) "handler", NULL
1508 };
1509
1510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_AddTagHandler",kwnames,&obj0,&obj1)) goto fail;
1511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1512 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1513 {
1514 PyThreadState* __tstate = wxPyBeginAllowThreads();
1515 (arg1)->AddTagHandler(arg2);
1516
1517 wxPyEndAllowThreads(__tstate);
1518 if (PyErr_Occurred()) SWIG_fail;
1519 }
1520 Py_INCREF(Py_None); resultobj = Py_None;
1521 return resultobj;
1522 fail:
1523 return NULL;
1524 }
1525
1526
1527 static PyObject *_wrap_HtmlParser_GetSource(PyObject *self, PyObject *args, PyObject *kwargs) {
1528 PyObject *resultobj;
1529 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1530 wxString *result;
1531 PyObject * obj0 = 0 ;
1532 char *kwnames[] = {
1533 (char *) "self", NULL
1534 };
1535
1536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetSource",kwnames,&obj0)) goto fail;
1537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1538 {
1539 PyThreadState* __tstate = wxPyBeginAllowThreads();
1540 result = (wxString *)(arg1)->GetSource();
1541
1542 wxPyEndAllowThreads(__tstate);
1543 if (PyErr_Occurred()) SWIG_fail;
1544 }
1545 {
1546 #if wxUSE_UNICODE
1547 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
1548 #else
1549 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
1550 #endif
1551 }
1552 return resultobj;
1553 fail:
1554 return NULL;
1555 }
1556
1557
1558 static PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1559 PyObject *resultobj;
1560 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1561 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
1562 wxString arg3 ;
1563 PyObject * obj0 = 0 ;
1564 PyObject * obj1 = 0 ;
1565 PyObject * obj2 = 0 ;
1566 char *kwnames[] = {
1567 (char *) "self",(char *) "handler",(char *) "tags", NULL
1568 };
1569
1570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_PushTagHandler",kwnames,&obj0,&obj1,&obj2)) goto fail;
1571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1572 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1573 {
1574 wxString* sptr = wxString_in_helper(obj2);
1575 if (sptr == NULL) SWIG_fail;
1576 arg3 = *sptr;
1577 delete sptr;
1578 }
1579 {
1580 PyThreadState* __tstate = wxPyBeginAllowThreads();
1581 (arg1)->PushTagHandler(arg2,arg3);
1582
1583 wxPyEndAllowThreads(__tstate);
1584 if (PyErr_Occurred()) SWIG_fail;
1585 }
1586 Py_INCREF(Py_None); resultobj = Py_None;
1587 return resultobj;
1588 fail:
1589 return NULL;
1590 }
1591
1592
1593 static PyObject *_wrap_HtmlParser_PopTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1594 PyObject *resultobj;
1595 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1596 PyObject * obj0 = 0 ;
1597 char *kwnames[] = {
1598 (char *) "self", NULL
1599 };
1600
1601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_PopTagHandler",kwnames,&obj0)) goto fail;
1602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1603 {
1604 PyThreadState* __tstate = wxPyBeginAllowThreads();
1605 (arg1)->PopTagHandler();
1606
1607 wxPyEndAllowThreads(__tstate);
1608 if (PyErr_Occurred()) SWIG_fail;
1609 }
1610 Py_INCREF(Py_None); resultobj = Py_None;
1611 return resultobj;
1612 fail:
1613 return NULL;
1614 }
1615
1616
1617 static PyObject * HtmlParser_swigregister(PyObject *self, PyObject *args) {
1618 PyObject *obj;
1619 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1620 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlParser, obj);
1621 Py_INCREF(obj);
1622 return Py_BuildValue((char *)"");
1623 }
1624 static PyObject *_wrap_new_HtmlWinParser(PyObject *self, PyObject *args, PyObject *kwargs) {
1625 PyObject *resultobj;
1626 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) NULL ;
1627 wxHtmlWinParser *result;
1628 PyObject * obj0 = 0 ;
1629 char *kwnames[] = {
1630 (char *) "wnd", NULL
1631 };
1632
1633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlWinParser",kwnames,&obj0)) goto fail;
1634 if (obj0) {
1635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1636 }
1637 {
1638 PyThreadState* __tstate = wxPyBeginAllowThreads();
1639 result = (wxHtmlWinParser *)new wxHtmlWinParser(arg1);
1640
1641 wxPyEndAllowThreads(__tstate);
1642 if (PyErr_Occurred()) SWIG_fail;
1643 }
1644 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlWinParser, 1);
1645 return resultobj;
1646 fail:
1647 return NULL;
1648 }
1649
1650
1651 static PyObject *_wrap_HtmlWinParser_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
1652 PyObject *resultobj;
1653 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1654 wxDC *arg2 = (wxDC *) 0 ;
1655 PyObject * obj0 = 0 ;
1656 PyObject * obj1 = 0 ;
1657 char *kwnames[] = {
1658 (char *) "self",(char *) "dc", NULL
1659 };
1660
1661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetDC",kwnames,&obj0,&obj1)) goto fail;
1662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1663 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1664 {
1665 PyThreadState* __tstate = wxPyBeginAllowThreads();
1666 (arg1)->SetDC(arg2);
1667
1668 wxPyEndAllowThreads(__tstate);
1669 if (PyErr_Occurred()) SWIG_fail;
1670 }
1671 Py_INCREF(Py_None); resultobj = Py_None;
1672 return resultobj;
1673 fail:
1674 return NULL;
1675 }
1676
1677
1678 static PyObject *_wrap_HtmlWinParser_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
1679 PyObject *resultobj;
1680 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1681 wxDC *result;
1682 PyObject * obj0 = 0 ;
1683 char *kwnames[] = {
1684 (char *) "self", NULL
1685 };
1686
1687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetDC",kwnames,&obj0)) goto fail;
1688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1689 {
1690 PyThreadState* __tstate = wxPyBeginAllowThreads();
1691 result = (wxDC *)(arg1)->GetDC();
1692
1693 wxPyEndAllowThreads(__tstate);
1694 if (PyErr_Occurred()) SWIG_fail;
1695 }
1696 {
1697 resultobj = wxPyMake_wxObject(result);
1698 }
1699 return resultobj;
1700 fail:
1701 return NULL;
1702 }
1703
1704
1705 static PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1706 PyObject *resultobj;
1707 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1708 int result;
1709 PyObject * obj0 = 0 ;
1710 char *kwnames[] = {
1711 (char *) "self", NULL
1712 };
1713
1714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharHeight",kwnames,&obj0)) goto fail;
1715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1716 {
1717 PyThreadState* __tstate = wxPyBeginAllowThreads();
1718 result = (int)(arg1)->GetCharHeight();
1719
1720 wxPyEndAllowThreads(__tstate);
1721 if (PyErr_Occurred()) SWIG_fail;
1722 }
1723 resultobj = SWIG_PyObj_FromInt((int)result);
1724 return resultobj;
1725 fail:
1726 return NULL;
1727 }
1728
1729
1730 static PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1731 PyObject *resultobj;
1732 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1733 int result;
1734 PyObject * obj0 = 0 ;
1735 char *kwnames[] = {
1736 (char *) "self", NULL
1737 };
1738
1739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharWidth",kwnames,&obj0)) goto fail;
1740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1741 {
1742 PyThreadState* __tstate = wxPyBeginAllowThreads();
1743 result = (int)(arg1)->GetCharWidth();
1744
1745 wxPyEndAllowThreads(__tstate);
1746 if (PyErr_Occurred()) SWIG_fail;
1747 }
1748 resultobj = SWIG_PyObj_FromInt((int)result);
1749 return resultobj;
1750 fail:
1751 return NULL;
1752 }
1753
1754
1755 static PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1756 PyObject *resultobj;
1757 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1758 wxPyHtmlWindow *result;
1759 PyObject * obj0 = 0 ;
1760 char *kwnames[] = {
1761 (char *) "self", NULL
1762 };
1763
1764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetWindow",kwnames,&obj0)) goto fail;
1765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1766 {
1767 PyThreadState* __tstate = wxPyBeginAllowThreads();
1768 result = (wxPyHtmlWindow *)(arg1)->GetWindow();
1769
1770 wxPyEndAllowThreads(__tstate);
1771 if (PyErr_Occurred()) SWIG_fail;
1772 }
1773 {
1774 resultobj = wxPyMake_wxObject(result);
1775 }
1776 return resultobj;
1777 fail:
1778 return NULL;
1779 }
1780
1781
1782 static PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
1783 PyObject *resultobj;
1784 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1785 wxString arg2 ;
1786 wxString arg3 ;
1787 PyObject *arg4 = (PyObject *) NULL ;
1788 PyObject * obj0 = 0 ;
1789 PyObject * obj1 = 0 ;
1790 PyObject * obj2 = 0 ;
1791 PyObject * obj3 = 0 ;
1792 char *kwnames[] = {
1793 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
1794 };
1795
1796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
1797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1798 {
1799 wxString* sptr = wxString_in_helper(obj1);
1800 if (sptr == NULL) SWIG_fail;
1801 arg2 = *sptr;
1802 delete sptr;
1803 }
1804 {
1805 wxString* sptr = wxString_in_helper(obj2);
1806 if (sptr == NULL) SWIG_fail;
1807 arg3 = *sptr;
1808 delete sptr;
1809 }
1810 if (obj3) {
1811 arg4 = obj3;
1812 }
1813 {
1814 PyThreadState* __tstate = wxPyBeginAllowThreads();
1815 wxHtmlWinParser_SetFonts(arg1,arg2,arg3,arg4);
1816
1817 wxPyEndAllowThreads(__tstate);
1818 if (PyErr_Occurred()) SWIG_fail;
1819 }
1820 Py_INCREF(Py_None); resultobj = Py_None;
1821 return resultobj;
1822 fail:
1823 return NULL;
1824 }
1825
1826
1827 static PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
1828 PyObject *resultobj;
1829 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1830 wxHtmlContainerCell *result;
1831 PyObject * obj0 = 0 ;
1832 char *kwnames[] = {
1833 (char *) "self", NULL
1834 };
1835
1836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetContainer",kwnames,&obj0)) goto fail;
1837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1838 {
1839 PyThreadState* __tstate = wxPyBeginAllowThreads();
1840 result = (wxHtmlContainerCell *)(arg1)->GetContainer();
1841
1842 wxPyEndAllowThreads(__tstate);
1843 if (PyErr_Occurred()) SWIG_fail;
1844 }
1845 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0);
1846 return resultobj;
1847 fail:
1848 return NULL;
1849 }
1850
1851
1852 static PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
1853 PyObject *resultobj;
1854 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1855 wxHtmlContainerCell *result;
1856 PyObject * obj0 = 0 ;
1857 char *kwnames[] = {
1858 (char *) "self", NULL
1859 };
1860
1861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_OpenContainer",kwnames,&obj0)) goto fail;
1862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1863 {
1864 PyThreadState* __tstate = wxPyBeginAllowThreads();
1865 result = (wxHtmlContainerCell *)(arg1)->OpenContainer();
1866
1867 wxPyEndAllowThreads(__tstate);
1868 if (PyErr_Occurred()) SWIG_fail;
1869 }
1870 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0);
1871 return resultobj;
1872 fail:
1873 return NULL;
1874 }
1875
1876
1877 static PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
1878 PyObject *resultobj;
1879 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1880 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
1881 wxHtmlContainerCell *result;
1882 PyObject * obj0 = 0 ;
1883 PyObject * obj1 = 0 ;
1884 char *kwnames[] = {
1885 (char *) "self",(char *) "c", NULL
1886 };
1887
1888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetContainer",kwnames,&obj0,&obj1)) goto fail;
1889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1890 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1891 {
1892 PyThreadState* __tstate = wxPyBeginAllowThreads();
1893 result = (wxHtmlContainerCell *)(arg1)->SetContainer(arg2);
1894
1895 wxPyEndAllowThreads(__tstate);
1896 if (PyErr_Occurred()) SWIG_fail;
1897 }
1898 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0);
1899 return resultobj;
1900 fail:
1901 return NULL;
1902 }
1903
1904
1905 static PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
1906 PyObject *resultobj;
1907 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1908 wxHtmlContainerCell *result;
1909 PyObject * obj0 = 0 ;
1910 char *kwnames[] = {
1911 (char *) "self", NULL
1912 };
1913
1914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CloseContainer",kwnames,&obj0)) goto fail;
1915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1916 {
1917 PyThreadState* __tstate = wxPyBeginAllowThreads();
1918 result = (wxHtmlContainerCell *)(arg1)->CloseContainer();
1919
1920 wxPyEndAllowThreads(__tstate);
1921 if (PyErr_Occurred()) SWIG_fail;
1922 }
1923 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0);
1924 return resultobj;
1925 fail:
1926 return NULL;
1927 }
1928
1929
1930 static PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1931 PyObject *resultobj;
1932 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1933 int result;
1934 PyObject * obj0 = 0 ;
1935 char *kwnames[] = {
1936 (char *) "self", NULL
1937 };
1938
1939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontSize",kwnames,&obj0)) goto fail;
1940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1941 {
1942 PyThreadState* __tstate = wxPyBeginAllowThreads();
1943 result = (int)(arg1)->GetFontSize();
1944
1945 wxPyEndAllowThreads(__tstate);
1946 if (PyErr_Occurred()) SWIG_fail;
1947 }
1948 resultobj = SWIG_PyObj_FromInt((int)result);
1949 return resultobj;
1950 fail:
1951 return NULL;
1952 }
1953
1954
1955 static PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1956 PyObject *resultobj;
1957 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1958 int arg2 ;
1959 PyObject * obj0 = 0 ;
1960 PyObject * obj1 = 0 ;
1961 char *kwnames[] = {
1962 (char *) "self",(char *) "s", NULL
1963 };
1964
1965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontSize",kwnames,&obj0,&obj1)) goto fail;
1966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1967 {
1968 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1969 if (PyErr_Occurred()) SWIG_fail;
1970 }
1971 {
1972 PyThreadState* __tstate = wxPyBeginAllowThreads();
1973 (arg1)->SetFontSize(arg2);
1974
1975 wxPyEndAllowThreads(__tstate);
1976 if (PyErr_Occurred()) SWIG_fail;
1977 }
1978 Py_INCREF(Py_None); resultobj = Py_None;
1979 return resultobj;
1980 fail:
1981 return NULL;
1982 }
1983
1984
1985 static PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *self, PyObject *args, PyObject *kwargs) {
1986 PyObject *resultobj;
1987 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1988 int result;
1989 PyObject * obj0 = 0 ;
1990 char *kwnames[] = {
1991 (char *) "self", NULL
1992 };
1993
1994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontBold",kwnames,&obj0)) goto fail;
1995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1996 {
1997 PyThreadState* __tstate = wxPyBeginAllowThreads();
1998 result = (int)(arg1)->GetFontBold();
1999
2000 wxPyEndAllowThreads(__tstate);
2001 if (PyErr_Occurred()) SWIG_fail;
2002 }
2003 resultobj = SWIG_PyObj_FromInt((int)result);
2004 return resultobj;
2005 fail:
2006 return NULL;
2007 }
2008
2009
2010 static PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *self, PyObject *args, PyObject *kwargs) {
2011 PyObject *resultobj;
2012 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2013 int arg2 ;
2014 PyObject * obj0 = 0 ;
2015 PyObject * obj1 = 0 ;
2016 char *kwnames[] = {
2017 (char *) "self",(char *) "x", NULL
2018 };
2019
2020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontBold",kwnames,&obj0,&obj1)) goto fail;
2021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2022 {
2023 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2024 if (PyErr_Occurred()) SWIG_fail;
2025 }
2026 {
2027 PyThreadState* __tstate = wxPyBeginAllowThreads();
2028 (arg1)->SetFontBold(arg2);
2029
2030 wxPyEndAllowThreads(__tstate);
2031 if (PyErr_Occurred()) SWIG_fail;
2032 }
2033 Py_INCREF(Py_None); resultobj = Py_None;
2034 return resultobj;
2035 fail:
2036 return NULL;
2037 }
2038
2039
2040 static PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *self, PyObject *args, PyObject *kwargs) {
2041 PyObject *resultobj;
2042 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2043 int result;
2044 PyObject * obj0 = 0 ;
2045 char *kwnames[] = {
2046 (char *) "self", NULL
2047 };
2048
2049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontItalic",kwnames,&obj0)) goto fail;
2050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2051 {
2052 PyThreadState* __tstate = wxPyBeginAllowThreads();
2053 result = (int)(arg1)->GetFontItalic();
2054
2055 wxPyEndAllowThreads(__tstate);
2056 if (PyErr_Occurred()) SWIG_fail;
2057 }
2058 resultobj = SWIG_PyObj_FromInt((int)result);
2059 return resultobj;
2060 fail:
2061 return NULL;
2062 }
2063
2064
2065 static PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *self, PyObject *args, PyObject *kwargs) {
2066 PyObject *resultobj;
2067 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2068 int arg2 ;
2069 PyObject * obj0 = 0 ;
2070 PyObject * obj1 = 0 ;
2071 char *kwnames[] = {
2072 (char *) "self",(char *) "x", NULL
2073 };
2074
2075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames,&obj0,&obj1)) goto fail;
2076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2077 {
2078 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2079 if (PyErr_Occurred()) SWIG_fail;
2080 }
2081 {
2082 PyThreadState* __tstate = wxPyBeginAllowThreads();
2083 (arg1)->SetFontItalic(arg2);
2084
2085 wxPyEndAllowThreads(__tstate);
2086 if (PyErr_Occurred()) SWIG_fail;
2087 }
2088 Py_INCREF(Py_None); resultobj = Py_None;
2089 return resultobj;
2090 fail:
2091 return NULL;
2092 }
2093
2094
2095 static PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) {
2096 PyObject *resultobj;
2097 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2098 int result;
2099 PyObject * obj0 = 0 ;
2100 char *kwnames[] = {
2101 (char *) "self", NULL
2102 };
2103
2104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontUnderlined",kwnames,&obj0)) goto fail;
2105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2106 {
2107 PyThreadState* __tstate = wxPyBeginAllowThreads();
2108 result = (int)(arg1)->GetFontUnderlined();
2109
2110 wxPyEndAllowThreads(__tstate);
2111 if (PyErr_Occurred()) SWIG_fail;
2112 }
2113 resultobj = SWIG_PyObj_FromInt((int)result);
2114 return resultobj;
2115 fail:
2116 return NULL;
2117 }
2118
2119
2120 static PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) {
2121 PyObject *resultobj;
2122 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2123 int arg2 ;
2124 PyObject * obj0 = 0 ;
2125 PyObject * obj1 = 0 ;
2126 char *kwnames[] = {
2127 (char *) "self",(char *) "x", NULL
2128 };
2129
2130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames,&obj0,&obj1)) goto fail;
2131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2132 {
2133 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2134 if (PyErr_Occurred()) SWIG_fail;
2135 }
2136 {
2137 PyThreadState* __tstate = wxPyBeginAllowThreads();
2138 (arg1)->SetFontUnderlined(arg2);
2139
2140 wxPyEndAllowThreads(__tstate);
2141 if (PyErr_Occurred()) SWIG_fail;
2142 }
2143 Py_INCREF(Py_None); resultobj = Py_None;
2144 return resultobj;
2145 fail:
2146 return NULL;
2147 }
2148
2149
2150 static PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *self, PyObject *args, PyObject *kwargs) {
2151 PyObject *resultobj;
2152 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2153 int result;
2154 PyObject * obj0 = 0 ;
2155 char *kwnames[] = {
2156 (char *) "self", NULL
2157 };
2158
2159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontFixed",kwnames,&obj0)) goto fail;
2160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2161 {
2162 PyThreadState* __tstate = wxPyBeginAllowThreads();
2163 result = (int)(arg1)->GetFontFixed();
2164
2165 wxPyEndAllowThreads(__tstate);
2166 if (PyErr_Occurred()) SWIG_fail;
2167 }
2168 resultobj = SWIG_PyObj_FromInt((int)result);
2169 return resultobj;
2170 fail:
2171 return NULL;
2172 }
2173
2174
2175 static PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *self, PyObject *args, PyObject *kwargs) {
2176 PyObject *resultobj;
2177 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2178 int arg2 ;
2179 PyObject * obj0 = 0 ;
2180 PyObject * obj1 = 0 ;
2181 char *kwnames[] = {
2182 (char *) "self",(char *) "x", NULL
2183 };
2184
2185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames,&obj0,&obj1)) goto fail;
2186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2187 {
2188 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2189 if (PyErr_Occurred()) SWIG_fail;
2190 }
2191 {
2192 PyThreadState* __tstate = wxPyBeginAllowThreads();
2193 (arg1)->SetFontFixed(arg2);
2194
2195 wxPyEndAllowThreads(__tstate);
2196 if (PyErr_Occurred()) SWIG_fail;
2197 }
2198 Py_INCREF(Py_None); resultobj = Py_None;
2199 return resultobj;
2200 fail:
2201 return NULL;
2202 }
2203
2204
2205 static PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
2206 PyObject *resultobj;
2207 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2208 int result;
2209 PyObject * obj0 = 0 ;
2210 char *kwnames[] = {
2211 (char *) "self", NULL
2212 };
2213
2214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetAlign",kwnames,&obj0)) goto fail;
2215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2216 {
2217 PyThreadState* __tstate = wxPyBeginAllowThreads();
2218 result = (int)(arg1)->GetAlign();
2219
2220 wxPyEndAllowThreads(__tstate);
2221 if (PyErr_Occurred()) SWIG_fail;
2222 }
2223 resultobj = SWIG_PyObj_FromInt((int)result);
2224 return resultobj;
2225 fail:
2226 return NULL;
2227 }
2228
2229
2230 static PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
2231 PyObject *resultobj;
2232 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2233 int arg2 ;
2234 PyObject * obj0 = 0 ;
2235 PyObject * obj1 = 0 ;
2236 char *kwnames[] = {
2237 (char *) "self",(char *) "a", NULL
2238 };
2239
2240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetAlign",kwnames,&obj0,&obj1)) goto fail;
2241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2242 {
2243 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2244 if (PyErr_Occurred()) SWIG_fail;
2245 }
2246 {
2247 PyThreadState* __tstate = wxPyBeginAllowThreads();
2248 (arg1)->SetAlign(arg2);
2249
2250 wxPyEndAllowThreads(__tstate);
2251 if (PyErr_Occurred()) SWIG_fail;
2252 }
2253 Py_INCREF(Py_None); resultobj = Py_None;
2254 return resultobj;
2255 fail:
2256 return NULL;
2257 }
2258
2259
2260 static PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *self, PyObject *args, PyObject *kwargs) {
2261 PyObject *resultobj;
2262 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2263 wxColour result;
2264 PyObject * obj0 = 0 ;
2265 char *kwnames[] = {
2266 (char *) "self", NULL
2267 };
2268
2269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLinkColor",kwnames,&obj0)) goto fail;
2270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2271 {
2272 PyThreadState* __tstate = wxPyBeginAllowThreads();
2273 result = (arg1)->GetLinkColor();
2274
2275 wxPyEndAllowThreads(__tstate);
2276 if (PyErr_Occurred()) SWIG_fail;
2277 }
2278 {
2279 wxColour * resultptr;
2280 resultptr = new wxColour((wxColour &) result);
2281 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
2282 }
2283 return resultobj;
2284 fail:
2285 return NULL;
2286 }
2287
2288
2289 static PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *self, PyObject *args, PyObject *kwargs) {
2290 PyObject *resultobj;
2291 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2292 wxColour *arg2 = 0 ;
2293 wxColour temp2 ;
2294 PyObject * obj0 = 0 ;
2295 PyObject * obj1 = 0 ;
2296 char *kwnames[] = {
2297 (char *) "self",(char *) "clr", NULL
2298 };
2299
2300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames,&obj0,&obj1)) goto fail;
2301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2302 {
2303 arg2 = &temp2;
2304 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2305 }
2306 {
2307 PyThreadState* __tstate = wxPyBeginAllowThreads();
2308 (arg1)->SetLinkColor((wxColour const &)*arg2);
2309
2310 wxPyEndAllowThreads(__tstate);
2311 if (PyErr_Occurred()) SWIG_fail;
2312 }
2313 Py_INCREF(Py_None); resultobj = Py_None;
2314 return resultobj;
2315 fail:
2316 return NULL;
2317 }
2318
2319
2320 static PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *self, PyObject *args, PyObject *kwargs) {
2321 PyObject *resultobj;
2322 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2323 wxColour result;
2324 PyObject * obj0 = 0 ;
2325 char *kwnames[] = {
2326 (char *) "self", NULL
2327 };
2328
2329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetActualColor",kwnames,&obj0)) goto fail;
2330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2331 {
2332 PyThreadState* __tstate = wxPyBeginAllowThreads();
2333 result = (arg1)->GetActualColor();
2334
2335 wxPyEndAllowThreads(__tstate);
2336 if (PyErr_Occurred()) SWIG_fail;
2337 }
2338 {
2339 wxColour * resultptr;
2340 resultptr = new wxColour((wxColour &) result);
2341 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
2342 }
2343 return resultobj;
2344 fail:
2345 return NULL;
2346 }
2347
2348
2349 static PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *self, PyObject *args, PyObject *kwargs) {
2350 PyObject *resultobj;
2351 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2352 wxColour *arg2 = 0 ;
2353 wxColour temp2 ;
2354 PyObject * obj0 = 0 ;
2355 PyObject * obj1 = 0 ;
2356 char *kwnames[] = {
2357 (char *) "self",(char *) "clr", NULL
2358 };
2359
2360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetActualColor",kwnames,&obj0,&obj1)) goto fail;
2361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2362 {
2363 arg2 = &temp2;
2364 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2365 }
2366 {
2367 PyThreadState* __tstate = wxPyBeginAllowThreads();
2368 (arg1)->SetActualColor((wxColour const &)*arg2);
2369
2370 wxPyEndAllowThreads(__tstate);
2371 if (PyErr_Occurred()) SWIG_fail;
2372 }
2373 Py_INCREF(Py_None); resultobj = Py_None;
2374 return resultobj;
2375 fail:
2376 return NULL;
2377 }
2378
2379
2380 static PyObject *_wrap_HtmlWinParser_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
2381 PyObject *resultobj;
2382 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2383 wxString *arg2 = 0 ;
2384 bool temp2 = False ;
2385 PyObject * obj0 = 0 ;
2386 PyObject * obj1 = 0 ;
2387 char *kwnames[] = {
2388 (char *) "self",(char *) "link", NULL
2389 };
2390
2391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLink",kwnames,&obj0,&obj1)) goto fail;
2392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2393 {
2394 arg2 = wxString_in_helper(obj1);
2395 if (arg2 == NULL) SWIG_fail;
2396 temp2 = True;
2397 }
2398 {
2399 PyThreadState* __tstate = wxPyBeginAllowThreads();
2400 (arg1)->SetLink((wxString const &)*arg2);
2401
2402 wxPyEndAllowThreads(__tstate);
2403 if (PyErr_Occurred()) SWIG_fail;
2404 }
2405 Py_INCREF(Py_None); resultobj = Py_None;
2406 {
2407 if (temp2)
2408 delete arg2;
2409 }
2410 return resultobj;
2411 fail:
2412 {
2413 if (temp2)
2414 delete arg2;
2415 }
2416 return NULL;
2417 }
2418
2419
2420 static PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *self, PyObject *args, PyObject *kwargs) {
2421 PyObject *resultobj;
2422 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2423 wxFont *result;
2424 PyObject * obj0 = 0 ;
2425 char *kwnames[] = {
2426 (char *) "self", NULL
2427 };
2428
2429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CreateCurrentFont",kwnames,&obj0)) goto fail;
2430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2431 {
2432 PyThreadState* __tstate = wxPyBeginAllowThreads();
2433 result = (wxFont *)(arg1)->CreateCurrentFont();
2434
2435 wxPyEndAllowThreads(__tstate);
2436 if (PyErr_Occurred()) SWIG_fail;
2437 }
2438 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
2439 return resultobj;
2440 fail:
2441 return NULL;
2442 }
2443
2444
2445 static PyObject *_wrap_HtmlWinParser_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
2446 PyObject *resultobj;
2447 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2448 SwigValueWrapper< wxHtmlLinkInfo > result;
2449 PyObject * obj0 = 0 ;
2450 char *kwnames[] = {
2451 (char *) "self", NULL
2452 };
2453
2454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLink",kwnames,&obj0)) goto fail;
2455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2456 {
2457 PyThreadState* __tstate = wxPyBeginAllowThreads();
2458 result = (arg1)->GetLink();
2459
2460 wxPyEndAllowThreads(__tstate);
2461 if (PyErr_Occurred()) SWIG_fail;
2462 }
2463 {
2464 wxHtmlLinkInfo * resultptr;
2465 resultptr = new wxHtmlLinkInfo((wxHtmlLinkInfo &) result);
2466 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxHtmlLinkInfo, 1);
2467 }
2468 return resultobj;
2469 fail:
2470 return NULL;
2471 }
2472
2473
2474 static PyObject * HtmlWinParser_swigregister(PyObject *self, PyObject *args) {
2475 PyObject *obj;
2476 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2477 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWinParser, obj);
2478 Py_INCREF(obj);
2479 return Py_BuildValue((char *)"");
2480 }
2481 static PyObject *_wrap_new_HtmlTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2482 PyObject *resultobj;
2483 wxPyHtmlTagHandler *result;
2484 char *kwnames[] = {
2485 NULL
2486 };
2487
2488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlTagHandler",kwnames)) goto fail;
2489 {
2490 PyThreadState* __tstate = wxPyBeginAllowThreads();
2491 result = (wxPyHtmlTagHandler *)new wxPyHtmlTagHandler();
2492
2493 wxPyEndAllowThreads(__tstate);
2494 if (PyErr_Occurred()) SWIG_fail;
2495 }
2496 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlTagHandler, 1);
2497 return resultobj;
2498 fail:
2499 return NULL;
2500 }
2501
2502
2503 static PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2504 PyObject *resultobj;
2505 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
2506 PyObject *arg2 = (PyObject *) 0 ;
2507 PyObject *arg3 = (PyObject *) 0 ;
2508 PyObject * obj0 = 0 ;
2509 PyObject * obj1 = 0 ;
2510 PyObject * obj2 = 0 ;
2511 char *kwnames[] = {
2512 (char *) "self",(char *) "self",(char *) "_class", NULL
2513 };
2514
2515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2517 arg2 = obj1;
2518 arg3 = obj2;
2519 {
2520 PyThreadState* __tstate = wxPyBeginAllowThreads();
2521 (arg1)->_setCallbackInfo(arg2,arg3);
2522
2523 wxPyEndAllowThreads(__tstate);
2524 if (PyErr_Occurred()) SWIG_fail;
2525 }
2526 Py_INCREF(Py_None); resultobj = Py_None;
2527 return resultobj;
2528 fail:
2529 return NULL;
2530 }
2531
2532
2533 static PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
2534 PyObject *resultobj;
2535 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
2536 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
2537 PyObject * obj0 = 0 ;
2538 PyObject * obj1 = 0 ;
2539 char *kwnames[] = {
2540 (char *) "self",(char *) "parser", NULL
2541 };
2542
2543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail;
2544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2545 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2546 {
2547 PyThreadState* __tstate = wxPyBeginAllowThreads();
2548 (arg1)->SetParser(arg2);
2549
2550 wxPyEndAllowThreads(__tstate);
2551 if (PyErr_Occurred()) SWIG_fail;
2552 }
2553 Py_INCREF(Py_None); resultobj = Py_None;
2554 return resultobj;
2555 fail:
2556 return NULL;
2557 }
2558
2559
2560 static PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
2561 PyObject *resultobj;
2562 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
2563 wxHtmlParser *result;
2564 PyObject * obj0 = 0 ;
2565 char *kwnames[] = {
2566 (char *) "self", NULL
2567 };
2568
2569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTagHandler_GetParser",kwnames,&obj0)) goto fail;
2570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2571 {
2572 PyThreadState* __tstate = wxPyBeginAllowThreads();
2573 result = (wxHtmlParser *)(arg1)->GetParser();
2574
2575 wxPyEndAllowThreads(__tstate);
2576 if (PyErr_Occurred()) SWIG_fail;
2577 }
2578 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlParser, 0);
2579 return resultobj;
2580 fail:
2581 return NULL;
2582 }
2583
2584
2585 static PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *self, PyObject *args, PyObject *kwargs) {
2586 PyObject *resultobj;
2587 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
2588 wxHtmlTag *arg2 = 0 ;
2589 PyObject * obj0 = 0 ;
2590 PyObject * obj1 = 0 ;
2591 char *kwnames[] = {
2592 (char *) "self",(char *) "tag", NULL
2593 };
2594
2595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail;
2596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2597 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2598 if (arg2 == NULL) {
2599 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2600 }
2601 {
2602 PyThreadState* __tstate = wxPyBeginAllowThreads();
2603 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
2604
2605 wxPyEndAllowThreads(__tstate);
2606 if (PyErr_Occurred()) SWIG_fail;
2607 }
2608 Py_INCREF(Py_None); resultobj = Py_None;
2609 return resultobj;
2610 fail:
2611 return NULL;
2612 }
2613
2614
2615 static PyObject * HtmlTagHandler_swigregister(PyObject *self, PyObject *args) {
2616 PyObject *obj;
2617 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2618 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlTagHandler, obj);
2619 Py_INCREF(obj);
2620 return Py_BuildValue((char *)"");
2621 }
2622 static PyObject *_wrap_new_HtmlWinTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2623 PyObject *resultobj;
2624 wxPyHtmlWinTagHandler *result;
2625 char *kwnames[] = {
2626 NULL
2627 };
2628
2629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlWinTagHandler",kwnames)) goto fail;
2630 {
2631 PyThreadState* __tstate = wxPyBeginAllowThreads();
2632 result = (wxPyHtmlWinTagHandler *)new wxPyHtmlWinTagHandler();
2633
2634 wxPyEndAllowThreads(__tstate);
2635 if (PyErr_Occurred()) SWIG_fail;
2636 }
2637 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlWinTagHandler, 1);
2638 return resultobj;
2639 fail:
2640 return NULL;
2641 }
2642
2643
2644 static PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2645 PyObject *resultobj;
2646 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
2647 PyObject *arg2 = (PyObject *) 0 ;
2648 PyObject *arg3 = (PyObject *) 0 ;
2649 PyObject * obj0 = 0 ;
2650 PyObject * obj1 = 0 ;
2651 PyObject * obj2 = 0 ;
2652 char *kwnames[] = {
2653 (char *) "self",(char *) "self",(char *) "_class", NULL
2654 };
2655
2656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2658 arg2 = obj1;
2659 arg3 = obj2;
2660 {
2661 PyThreadState* __tstate = wxPyBeginAllowThreads();
2662 (arg1)->_setCallbackInfo(arg2,arg3);
2663
2664 wxPyEndAllowThreads(__tstate);
2665 if (PyErr_Occurred()) SWIG_fail;
2666 }
2667 Py_INCREF(Py_None); resultobj = Py_None;
2668 return resultobj;
2669 fail:
2670 return NULL;
2671 }
2672
2673
2674 static PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
2675 PyObject *resultobj;
2676 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
2677 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
2678 PyObject * obj0 = 0 ;
2679 PyObject * obj1 = 0 ;
2680 char *kwnames[] = {
2681 (char *) "self",(char *) "parser", NULL
2682 };
2683
2684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail;
2685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2686 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2687 {
2688 PyThreadState* __tstate = wxPyBeginAllowThreads();
2689 (arg1)->SetParser(arg2);
2690
2691 wxPyEndAllowThreads(__tstate);
2692 if (PyErr_Occurred()) SWIG_fail;
2693 }
2694 Py_INCREF(Py_None); resultobj = Py_None;
2695 return resultobj;
2696 fail:
2697 return NULL;
2698 }
2699
2700
2701 static PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
2702 PyObject *resultobj;
2703 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
2704 wxHtmlWinParser *result;
2705 PyObject * obj0 = 0 ;
2706 char *kwnames[] = {
2707 (char *) "self", NULL
2708 };
2709
2710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinTagHandler_GetParser",kwnames,&obj0)) goto fail;
2711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2712 {
2713 PyThreadState* __tstate = wxPyBeginAllowThreads();
2714 result = (wxHtmlWinParser *)(arg1)->GetParser();
2715
2716 wxPyEndAllowThreads(__tstate);
2717 if (PyErr_Occurred()) SWIG_fail;
2718 }
2719 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlWinParser, 0);
2720 return resultobj;
2721 fail:
2722 return NULL;
2723 }
2724
2725
2726 static PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *self, PyObject *args, PyObject *kwargs) {
2727 PyObject *resultobj;
2728 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
2729 wxHtmlTag *arg2 = 0 ;
2730 PyObject * obj0 = 0 ;
2731 PyObject * obj1 = 0 ;
2732 char *kwnames[] = {
2733 (char *) "self",(char *) "tag", NULL
2734 };
2735
2736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail;
2737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2738 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2739 if (arg2 == NULL) {
2740 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2741 }
2742 {
2743 PyThreadState* __tstate = wxPyBeginAllowThreads();
2744 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
2745
2746 wxPyEndAllowThreads(__tstate);
2747 if (PyErr_Occurred()) SWIG_fail;
2748 }
2749 Py_INCREF(Py_None); resultobj = Py_None;
2750 return resultobj;
2751 fail:
2752 return NULL;
2753 }
2754
2755
2756 static PyObject * HtmlWinTagHandler_swigregister(PyObject *self, PyObject *args) {
2757 PyObject *obj;
2758 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2759 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler, obj);
2760 Py_INCREF(obj);
2761 return Py_BuildValue((char *)"");
2762 }
2763 static PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2764 PyObject *resultobj;
2765 PyObject *arg1 = (PyObject *) 0 ;
2766 PyObject * obj0 = 0 ;
2767 char *kwnames[] = {
2768 (char *) "tagHandlerClass", NULL
2769 };
2770
2771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_AddTagHandler",kwnames,&obj0)) goto fail;
2772 arg1 = obj0;
2773 {
2774 PyThreadState* __tstate = wxPyBeginAllowThreads();
2775 wxHtmlWinParser_AddTagHandler(arg1);
2776
2777 wxPyEndAllowThreads(__tstate);
2778 if (PyErr_Occurred()) SWIG_fail;
2779 }
2780 Py_INCREF(Py_None); resultobj = Py_None;
2781 return resultobj;
2782 fail:
2783 return NULL;
2784 }
2785
2786
2787 static PyObject *_wrap_new_HtmlSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2788 PyObject *resultobj;
2789 wxHtmlSelection *result;
2790 char *kwnames[] = {
2791 NULL
2792 };
2793
2794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlSelection",kwnames)) goto fail;
2795 {
2796 PyThreadState* __tstate = wxPyBeginAllowThreads();
2797 result = (wxHtmlSelection *)new wxHtmlSelection();
2798
2799 wxPyEndAllowThreads(__tstate);
2800 if (PyErr_Occurred()) SWIG_fail;
2801 }
2802 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlSelection, 1);
2803 return resultobj;
2804 fail:
2805 return NULL;
2806 }
2807
2808
2809 static PyObject *_wrap_delete_HtmlSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2810 PyObject *resultobj;
2811 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
2812 PyObject * obj0 = 0 ;
2813 char *kwnames[] = {
2814 (char *) "self", NULL
2815 };
2816
2817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlSelection",kwnames,&obj0)) goto fail;
2818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2819 {
2820 PyThreadState* __tstate = wxPyBeginAllowThreads();
2821 delete arg1;
2822
2823 wxPyEndAllowThreads(__tstate);
2824 if (PyErr_Occurred()) SWIG_fail;
2825 }
2826 Py_INCREF(Py_None); resultobj = Py_None;
2827 return resultobj;
2828 fail:
2829 return NULL;
2830 }
2831
2832
2833 static PyObject *_wrap_HtmlSelection_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2834 PyObject *resultobj;
2835 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
2836 wxPoint *arg2 = 0 ;
2837 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
2838 wxPoint *arg4 = 0 ;
2839 wxHtmlCell *arg5 = (wxHtmlCell *) 0 ;
2840 wxPoint temp2 ;
2841 wxPoint temp4 ;
2842 PyObject * obj0 = 0 ;
2843 PyObject * obj1 = 0 ;
2844 PyObject * obj2 = 0 ;
2845 PyObject * obj3 = 0 ;
2846 PyObject * obj4 = 0 ;
2847 char *kwnames[] = {
2848 (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
2849 };
2850
2851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlSelection_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2853 {
2854 arg2 = &temp2;
2855 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2856 }
2857 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2858 {
2859 arg4 = &temp4;
2860 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2861 }
2862 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2863 {
2864 PyThreadState* __tstate = wxPyBeginAllowThreads();
2865 (arg1)->Set((wxPoint const &)*arg2,(wxHtmlCell const *)arg3,(wxPoint const &)*arg4,(wxHtmlCell const *)arg5);
2866
2867 wxPyEndAllowThreads(__tstate);
2868 if (PyErr_Occurred()) SWIG_fail;
2869 }
2870 Py_INCREF(Py_None); resultobj = Py_None;
2871 return resultobj;
2872 fail:
2873 return NULL;
2874 }
2875
2876
2877 static PyObject *_wrap_HtmlSelection_SetCells(PyObject *self, PyObject *args, PyObject *kwargs) {
2878 PyObject *resultobj;
2879 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
2880 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
2881 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
2882 PyObject * obj0 = 0 ;
2883 PyObject * obj1 = 0 ;
2884 PyObject * obj2 = 0 ;
2885 char *kwnames[] = {
2886 (char *) "self",(char *) "fromCell",(char *) "toCell", NULL
2887 };
2888
2889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlSelection_SetCells",kwnames,&obj0,&obj1,&obj2)) goto fail;
2890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2891 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2892 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2893 {
2894 PyThreadState* __tstate = wxPyBeginAllowThreads();
2895 (arg1)->Set((wxHtmlCell const *)arg2,(wxHtmlCell const *)arg3);
2896
2897 wxPyEndAllowThreads(__tstate);
2898 if (PyErr_Occurred()) SWIG_fail;
2899 }
2900 Py_INCREF(Py_None); resultobj = Py_None;
2901 return resultobj;
2902 fail:
2903 return NULL;
2904 }
2905
2906
2907 static PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *self, PyObject *args, PyObject *kwargs) {
2908 PyObject *resultobj;
2909 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
2910 wxHtmlCell *result;
2911 PyObject * obj0 = 0 ;
2912 char *kwnames[] = {
2913 (char *) "self", NULL
2914 };
2915
2916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromCell",kwnames,&obj0)) goto fail;
2917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2918 {
2919 PyThreadState* __tstate = wxPyBeginAllowThreads();
2920 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetFromCell();
2921
2922 wxPyEndAllowThreads(__tstate);
2923 if (PyErr_Occurred()) SWIG_fail;
2924 }
2925 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0);
2926 return resultobj;
2927 fail:
2928 return NULL;
2929 }
2930
2931
2932 static PyObject *_wrap_HtmlSelection_GetToCell(PyObject *self, PyObject *args, PyObject *kwargs) {
2933 PyObject *resultobj;
2934 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
2935 wxHtmlCell *result;
2936 PyObject * obj0 = 0 ;
2937 char *kwnames[] = {
2938 (char *) "self", NULL
2939 };
2940
2941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToCell",kwnames,&obj0)) goto fail;
2942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2943 {
2944 PyThreadState* __tstate = wxPyBeginAllowThreads();
2945 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetToCell();
2946
2947 wxPyEndAllowThreads(__tstate);
2948 if (PyErr_Occurred()) SWIG_fail;
2949 }
2950 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0);
2951 return resultobj;
2952 fail:
2953 return NULL;
2954 }
2955
2956
2957 static PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *self, PyObject *args, PyObject *kwargs) {
2958 PyObject *resultobj;
2959 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
2960 wxPoint *result;
2961 PyObject * obj0 = 0 ;
2962 char *kwnames[] = {
2963 (char *) "self", NULL
2964 };
2965
2966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPos",kwnames,&obj0)) goto fail;
2967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2968 {
2969 PyThreadState* __tstate = wxPyBeginAllowThreads();
2970 {
2971 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPos();
2972 result = (wxPoint *) &_result_ref;
2973 }
2974
2975 wxPyEndAllowThreads(__tstate);
2976 if (PyErr_Occurred()) SWIG_fail;
2977 }
2978 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
2979 return resultobj;
2980 fail:
2981 return NULL;
2982 }
2983
2984
2985 static PyObject *_wrap_HtmlSelection_GetToPos(PyObject *self, PyObject *args, PyObject *kwargs) {
2986 PyObject *resultobj;
2987 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
2988 wxPoint *result;
2989 PyObject * obj0 = 0 ;
2990 char *kwnames[] = {
2991 (char *) "self", NULL
2992 };
2993
2994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPos",kwnames,&obj0)) goto fail;
2995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2996 {
2997 PyThreadState* __tstate = wxPyBeginAllowThreads();
2998 {
2999 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPos();
3000 result = (wxPoint *) &_result_ref;
3001 }
3002
3003 wxPyEndAllowThreads(__tstate);
3004 if (PyErr_Occurred()) SWIG_fail;
3005 }
3006 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
3007 return resultobj;
3008 fail:
3009 return NULL;
3010 }
3011
3012
3013 static PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3014 PyObject *resultobj;
3015 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3016 wxPoint *result;
3017 PyObject * obj0 = 0 ;
3018 char *kwnames[] = {
3019 (char *) "self", NULL
3020 };
3021
3022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPrivPos",kwnames,&obj0)) goto fail;
3023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3024 {
3025 PyThreadState* __tstate = wxPyBeginAllowThreads();
3026 {
3027 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPrivPos();
3028 result = (wxPoint *) &_result_ref;
3029 }
3030
3031 wxPyEndAllowThreads(__tstate);
3032 if (PyErr_Occurred()) SWIG_fail;
3033 }
3034 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
3035 return resultobj;
3036 fail:
3037 return NULL;
3038 }
3039
3040
3041 static PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3042 PyObject *resultobj;
3043 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3044 wxPoint *result;
3045 PyObject * obj0 = 0 ;
3046 char *kwnames[] = {
3047 (char *) "self", NULL
3048 };
3049
3050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPrivPos",kwnames,&obj0)) goto fail;
3051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3052 {
3053 PyThreadState* __tstate = wxPyBeginAllowThreads();
3054 {
3055 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPrivPos();
3056 result = (wxPoint *) &_result_ref;
3057 }
3058
3059 wxPyEndAllowThreads(__tstate);
3060 if (PyErr_Occurred()) SWIG_fail;
3061 }
3062 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
3063 return resultobj;
3064 fail:
3065 return NULL;
3066 }
3067
3068
3069 static PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3070 PyObject *resultobj;
3071 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3072 wxPoint *arg2 = 0 ;
3073 wxPoint temp2 ;
3074 PyObject * obj0 = 0 ;
3075 PyObject * obj1 = 0 ;
3076 char *kwnames[] = {
3077 (char *) "self",(char *) "pos", NULL
3078 };
3079
3080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames,&obj0,&obj1)) goto fail;
3081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3082 {
3083 arg2 = &temp2;
3084 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3085 }
3086 {
3087 PyThreadState* __tstate = wxPyBeginAllowThreads();
3088 (arg1)->SetFromPrivPos((wxPoint const &)*arg2);
3089
3090 wxPyEndAllowThreads(__tstate);
3091 if (PyErr_Occurred()) SWIG_fail;
3092 }
3093 Py_INCREF(Py_None); resultobj = Py_None;
3094 return resultobj;
3095 fail:
3096 return NULL;
3097 }
3098
3099
3100 static PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3101 PyObject *resultobj;
3102 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3103 wxPoint *arg2 = 0 ;
3104 wxPoint temp2 ;
3105 PyObject * obj0 = 0 ;
3106 PyObject * obj1 = 0 ;
3107 char *kwnames[] = {
3108 (char *) "self",(char *) "pos", NULL
3109 };
3110
3111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames,&obj0,&obj1)) goto fail;
3112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3113 {
3114 arg2 = &temp2;
3115 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3116 }
3117 {
3118 PyThreadState* __tstate = wxPyBeginAllowThreads();
3119 (arg1)->SetToPrivPos((wxPoint const &)*arg2);
3120
3121 wxPyEndAllowThreads(__tstate);
3122 if (PyErr_Occurred()) SWIG_fail;
3123 }
3124 Py_INCREF(Py_None); resultobj = Py_None;
3125 return resultobj;
3126 fail:
3127 return NULL;
3128 }
3129
3130
3131 static PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3132 PyObject *resultobj;
3133 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3134 PyObject * obj0 = 0 ;
3135 char *kwnames[] = {
3136 (char *) "self", NULL
3137 };
3138
3139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_ClearPrivPos",kwnames,&obj0)) goto fail;
3140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3141 {
3142 PyThreadState* __tstate = wxPyBeginAllowThreads();
3143 (arg1)->ClearPrivPos();
3144
3145 wxPyEndAllowThreads(__tstate);
3146 if (PyErr_Occurred()) SWIG_fail;
3147 }
3148 Py_INCREF(Py_None); resultobj = Py_None;
3149 return resultobj;
3150 fail:
3151 return NULL;
3152 }
3153
3154
3155 static PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *self, PyObject *args, PyObject *kwargs) {
3156 PyObject *resultobj;
3157 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3158 bool result;
3159 PyObject * obj0 = 0 ;
3160 char *kwnames[] = {
3161 (char *) "self", NULL
3162 };
3163
3164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_IsEmpty",kwnames,&obj0)) goto fail;
3165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3166 {
3167 PyThreadState* __tstate = wxPyBeginAllowThreads();
3168 result = (bool)((wxHtmlSelection const *)arg1)->IsEmpty();
3169
3170 wxPyEndAllowThreads(__tstate);
3171 if (PyErr_Occurred()) SWIG_fail;
3172 }
3173 resultobj = SWIG_PyObj_FromBool((bool)result);
3174 return resultobj;
3175 fail:
3176 return NULL;
3177 }
3178
3179
3180 static PyObject * HtmlSelection_swigregister(PyObject *self, PyObject *args) {
3181 PyObject *obj;
3182 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3183 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSelection, obj);
3184 Py_INCREF(obj);
3185 return Py_BuildValue((char *)"");
3186 }
3187 static PyObject *_wrap_new_HtmlRenderingState(PyObject *self, PyObject *args, PyObject *kwargs) {
3188 PyObject *resultobj;
3189 wxHtmlRenderingState *result;
3190 char *kwnames[] = {
3191 NULL
3192 };
3193
3194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingState",kwnames)) goto fail;
3195 {
3196 PyThreadState* __tstate = wxPyBeginAllowThreads();
3197 result = (wxHtmlRenderingState *)new wxHtmlRenderingState();
3198
3199 wxPyEndAllowThreads(__tstate);
3200 if (PyErr_Occurred()) SWIG_fail;
3201 }
3202 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlRenderingState, 1);
3203 return resultobj;
3204 fail:
3205 return NULL;
3206 }
3207
3208
3209 static PyObject *_wrap_delete_HtmlRenderingState(PyObject *self, PyObject *args, PyObject *kwargs) {
3210 PyObject *resultobj;
3211 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3212 PyObject * obj0 = 0 ;
3213 char *kwnames[] = {
3214 (char *) "self", NULL
3215 };
3216
3217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingState",kwnames,&obj0)) goto fail;
3218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3219 {
3220 PyThreadState* __tstate = wxPyBeginAllowThreads();
3221 delete arg1;
3222
3223 wxPyEndAllowThreads(__tstate);
3224 if (PyErr_Occurred()) SWIG_fail;
3225 }
3226 Py_INCREF(Py_None); resultobj = Py_None;
3227 return resultobj;
3228 fail:
3229 return NULL;
3230 }
3231
3232
3233 static PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *self, PyObject *args, PyObject *kwargs) {
3234 PyObject *resultobj;
3235 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3236 int arg2 ;
3237 PyObject * obj0 = 0 ;
3238 PyObject * obj1 = 0 ;
3239 char *kwnames[] = {
3240 (char *) "self",(char *) "s", NULL
3241 };
3242
3243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames,&obj0,&obj1)) goto fail;
3244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3245 {
3246 arg2 = (wxHtmlSelectionState) SWIG_PyObj_AsInt(obj1);
3247 if (PyErr_Occurred()) SWIG_fail;
3248 }
3249 {
3250 PyThreadState* __tstate = wxPyBeginAllowThreads();
3251 (arg1)->SetSelectionState((wxHtmlSelectionState )arg2);
3252
3253 wxPyEndAllowThreads(__tstate);
3254 if (PyErr_Occurred()) SWIG_fail;
3255 }
3256 Py_INCREF(Py_None); resultobj = Py_None;
3257 return resultobj;
3258 fail:
3259 return NULL;
3260 }
3261
3262
3263 static PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *self, PyObject *args, PyObject *kwargs) {
3264 PyObject *resultobj;
3265 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3266 int result;
3267 PyObject * obj0 = 0 ;
3268 char *kwnames[] = {
3269 (char *) "self", NULL
3270 };
3271
3272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetSelectionState",kwnames,&obj0)) goto fail;
3273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3274 {
3275 PyThreadState* __tstate = wxPyBeginAllowThreads();
3276 result = (int)((wxHtmlRenderingState const *)arg1)->GetSelectionState();
3277
3278 wxPyEndAllowThreads(__tstate);
3279 if (PyErr_Occurred()) SWIG_fail;
3280 }
3281 resultobj = SWIG_PyObj_FromInt((int)result);
3282 return resultobj;
3283 fail:
3284 return NULL;
3285 }
3286
3287
3288 static PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3289 PyObject *resultobj;
3290 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3291 wxColour *arg2 = 0 ;
3292 wxColour temp2 ;
3293 PyObject * obj0 = 0 ;
3294 PyObject * obj1 = 0 ;
3295 char *kwnames[] = {
3296 (char *) "self",(char *) "c", NULL
3297 };
3298
3299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames,&obj0,&obj1)) goto fail;
3300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3301 {
3302 arg2 = &temp2;
3303 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3304 }
3305 {
3306 PyThreadState* __tstate = wxPyBeginAllowThreads();
3307 (arg1)->SetFgColour((wxColour const &)*arg2);
3308
3309 wxPyEndAllowThreads(__tstate);
3310 if (PyErr_Occurred()) SWIG_fail;
3311 }
3312 Py_INCREF(Py_None); resultobj = Py_None;
3313 return resultobj;
3314 fail:
3315 return NULL;
3316 }
3317
3318
3319 static PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3320 PyObject *resultobj;
3321 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3322 wxColour *result;
3323 PyObject * obj0 = 0 ;
3324 char *kwnames[] = {
3325 (char *) "self", NULL
3326 };
3327
3328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetFgColour",kwnames,&obj0)) goto fail;
3329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3330 {
3331 PyThreadState* __tstate = wxPyBeginAllowThreads();
3332 {
3333 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetFgColour();
3334 result = (wxColour *) &_result_ref;
3335 }
3336
3337 wxPyEndAllowThreads(__tstate);
3338 if (PyErr_Occurred()) SWIG_fail;
3339 }
3340 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
3341 return resultobj;
3342 fail:
3343 return NULL;
3344 }
3345
3346
3347 static PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3348 PyObject *resultobj;
3349 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3350 wxColour *arg2 = 0 ;
3351 wxColour temp2 ;
3352 PyObject * obj0 = 0 ;
3353 PyObject * obj1 = 0 ;
3354 char *kwnames[] = {
3355 (char *) "self",(char *) "c", NULL
3356 };
3357
3358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames,&obj0,&obj1)) goto fail;
3359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3360 {
3361 arg2 = &temp2;
3362 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3363 }
3364 {
3365 PyThreadState* __tstate = wxPyBeginAllowThreads();
3366 (arg1)->SetBgColour((wxColour const &)*arg2);
3367
3368 wxPyEndAllowThreads(__tstate);
3369 if (PyErr_Occurred()) SWIG_fail;
3370 }
3371 Py_INCREF(Py_None); resultobj = Py_None;
3372 return resultobj;
3373 fail:
3374 return NULL;
3375 }
3376
3377
3378 static PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3379 PyObject *resultobj;
3380 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3381 wxColour *result;
3382 PyObject * obj0 = 0 ;
3383 char *kwnames[] = {
3384 (char *) "self", NULL
3385 };
3386
3387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetBgColour",kwnames,&obj0)) goto fail;
3388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3389 {
3390 PyThreadState* __tstate = wxPyBeginAllowThreads();
3391 {
3392 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetBgColour();
3393 result = (wxColour *) &_result_ref;
3394 }
3395
3396 wxPyEndAllowThreads(__tstate);
3397 if (PyErr_Occurred()) SWIG_fail;
3398 }
3399 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
3400 return resultobj;
3401 fail:
3402 return NULL;
3403 }
3404
3405
3406 static PyObject * HtmlRenderingState_swigregister(PyObject *self, PyObject *args) {
3407 PyObject *obj;
3408 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3409 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingState, obj);
3410 Py_INCREF(obj);
3411 return Py_BuildValue((char *)"");
3412 }
3413 static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3414 PyObject *resultobj;
3415 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
3416 wxColour *arg2 = 0 ;
3417 wxColour result;
3418 wxColour temp2 ;
3419 PyObject * obj0 = 0 ;
3420 PyObject * obj1 = 0 ;
3421 char *kwnames[] = {
3422 (char *) "self",(char *) "clr", NULL
3423 };
3424
3425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail;
3426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingStyle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3427 {
3428 arg2 = &temp2;
3429 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3430 }
3431 {
3432 PyThreadState* __tstate = wxPyBeginAllowThreads();
3433 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
3434
3435 wxPyEndAllowThreads(__tstate);
3436 if (PyErr_Occurred()) SWIG_fail;
3437 }
3438 {
3439 wxColour * resultptr;
3440 resultptr = new wxColour((wxColour &) result);
3441 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
3442 }
3443 return resultobj;
3444 fail:
3445 return NULL;
3446 }
3447
3448
3449 static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3450 PyObject *resultobj;
3451 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
3452 wxColour *arg2 = 0 ;
3453 wxColour result;
3454 wxColour temp2 ;
3455 PyObject * obj0 = 0 ;
3456 PyObject * obj1 = 0 ;
3457 char *kwnames[] = {
3458 (char *) "self",(char *) "clr", NULL
3459 };
3460
3461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail;
3462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingStyle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3463 {
3464 arg2 = &temp2;
3465 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3466 }
3467 {
3468 PyThreadState* __tstate = wxPyBeginAllowThreads();
3469 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
3470
3471 wxPyEndAllowThreads(__tstate);
3472 if (PyErr_Occurred()) SWIG_fail;
3473 }
3474 {
3475 wxColour * resultptr;
3476 resultptr = new wxColour((wxColour &) result);
3477 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
3478 }
3479 return resultobj;
3480 fail:
3481 return NULL;
3482 }
3483
3484
3485 static PyObject * HtmlRenderingStyle_swigregister(PyObject *self, PyObject *args) {
3486 PyObject *obj;
3487 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3488 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingStyle, obj);
3489 Py_INCREF(obj);
3490 return Py_BuildValue((char *)"");
3491 }
3492 static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3493 PyObject *resultobj;
3494 wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ;
3495 wxColour *arg2 = 0 ;
3496 wxColour result;
3497 wxColour temp2 ;
3498 PyObject * obj0 = 0 ;
3499 PyObject * obj1 = 0 ;
3500 char *kwnames[] = {
3501 (char *) "self",(char *) "clr", NULL
3502 };
3503
3504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail;
3505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDefaultHtmlRenderingStyle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3506 {
3507 arg2 = &temp2;
3508 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3509 }
3510 {
3511 PyThreadState* __tstate = wxPyBeginAllowThreads();
3512 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
3513
3514 wxPyEndAllowThreads(__tstate);
3515 if (PyErr_Occurred()) SWIG_fail;
3516 }
3517 {
3518 wxColour * resultptr;
3519 resultptr = new wxColour((wxColour &) result);
3520 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
3521 }
3522 return resultobj;
3523 fail:
3524 return NULL;
3525 }
3526
3527
3528 static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3529 PyObject *resultobj;
3530 wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ;
3531 wxColour *arg2 = 0 ;
3532 wxColour result;
3533 wxColour temp2 ;
3534 PyObject * obj0 = 0 ;
3535 PyObject * obj1 = 0 ;
3536 char *kwnames[] = {
3537 (char *) "self",(char *) "clr", NULL
3538 };
3539
3540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail;
3541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDefaultHtmlRenderingStyle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3542 {
3543 arg2 = &temp2;
3544 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3545 }
3546 {
3547 PyThreadState* __tstate = wxPyBeginAllowThreads();
3548 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
3549
3550 wxPyEndAllowThreads(__tstate);
3551 if (PyErr_Occurred()) SWIG_fail;
3552 }
3553 {
3554 wxColour * resultptr;
3555 resultptr = new wxColour((wxColour &) result);
3556 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
3557 }
3558 return resultobj;
3559 fail:
3560 return NULL;
3561 }
3562
3563
3564 static PyObject * DefaultHtmlRenderingStyle_swigregister(PyObject *self, PyObject *args) {
3565 PyObject *obj;
3566 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3567 SWIG_TypeClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle, obj);
3568 Py_INCREF(obj);
3569 return Py_BuildValue((char *)"");
3570 }
3571 static PyObject *_wrap_new_HtmlRenderingInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3572 PyObject *resultobj;
3573 wxHtmlRenderingInfo *result;
3574 char *kwnames[] = {
3575 NULL
3576 };
3577
3578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingInfo",kwnames)) goto fail;
3579 {
3580 PyThreadState* __tstate = wxPyBeginAllowThreads();
3581 result = (wxHtmlRenderingInfo *)new wxHtmlRenderingInfo();
3582
3583 wxPyEndAllowThreads(__tstate);
3584 if (PyErr_Occurred()) SWIG_fail;
3585 }
3586 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlRenderingInfo, 1);
3587 return resultobj;
3588 fail:
3589 return NULL;
3590 }
3591
3592
3593 static PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3594 PyObject *resultobj;
3595 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3596 PyObject * obj0 = 0 ;
3597 char *kwnames[] = {
3598 (char *) "self", NULL
3599 };
3600
3601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingInfo",kwnames,&obj0)) goto fail;
3602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3603 {
3604 PyThreadState* __tstate = wxPyBeginAllowThreads();
3605 delete arg1;
3606
3607 wxPyEndAllowThreads(__tstate);
3608 if (PyErr_Occurred()) SWIG_fail;
3609 }
3610 Py_INCREF(Py_None); resultobj = Py_None;
3611 return resultobj;
3612 fail:
3613 return NULL;
3614 }
3615
3616
3617 static PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3618 PyObject *resultobj;
3619 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3620 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
3621 PyObject * obj0 = 0 ;
3622 PyObject * obj1 = 0 ;
3623 char *kwnames[] = {
3624 (char *) "self",(char *) "s", NULL
3625 };
3626
3627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames,&obj0,&obj1)) goto fail;
3628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3629 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3630 {
3631 PyThreadState* __tstate = wxPyBeginAllowThreads();
3632 (arg1)->SetSelection(arg2);
3633
3634 wxPyEndAllowThreads(__tstate);
3635 if (PyErr_Occurred()) SWIG_fail;
3636 }
3637 Py_INCREF(Py_None); resultobj = Py_None;
3638 return resultobj;
3639 fail:
3640 return NULL;
3641 }
3642
3643
3644 static PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3645 PyObject *resultobj;
3646 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3647 wxHtmlSelection *result;
3648 PyObject * obj0 = 0 ;
3649 char *kwnames[] = {
3650 (char *) "self", NULL
3651 };
3652
3653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetSelection",kwnames,&obj0)) goto fail;
3654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3655 {
3656 PyThreadState* __tstate = wxPyBeginAllowThreads();
3657 result = (wxHtmlSelection *)((wxHtmlRenderingInfo const *)arg1)->GetSelection();
3658
3659 wxPyEndAllowThreads(__tstate);
3660 if (PyErr_Occurred()) SWIG_fail;
3661 }
3662 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlSelection, 0);
3663 return resultobj;
3664 fail:
3665 return NULL;
3666 }
3667
3668
3669 static PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
3670 PyObject *resultobj;
3671 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3672 wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ;
3673 PyObject * obj0 = 0 ;
3674 PyObject * obj1 = 0 ;
3675 char *kwnames[] = {
3676 (char *) "self",(char *) "style", NULL
3677 };
3678
3679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames,&obj0,&obj1)) goto fail;
3680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3681 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlRenderingStyle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3682 {
3683 PyThreadState* __tstate = wxPyBeginAllowThreads();
3684 (arg1)->SetStyle(arg2);
3685
3686 wxPyEndAllowThreads(__tstate);
3687 if (PyErr_Occurred()) SWIG_fail;
3688 }
3689 Py_INCREF(Py_None); resultobj = Py_None;
3690 return resultobj;
3691 fail:
3692 return NULL;
3693 }
3694
3695
3696 static PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
3697 PyObject *resultobj;
3698 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3699 wxHtmlRenderingStyle *result;
3700 PyObject * obj0 = 0 ;
3701 char *kwnames[] = {
3702 (char *) "self", NULL
3703 };
3704
3705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetStyle",kwnames,&obj0)) goto fail;
3706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3707 {
3708 PyThreadState* __tstate = wxPyBeginAllowThreads();
3709 {
3710 wxHtmlRenderingStyle &_result_ref = (arg1)->GetStyle();
3711 result = (wxHtmlRenderingStyle *) &_result_ref;
3712 }
3713
3714 wxPyEndAllowThreads(__tstate);
3715 if (PyErr_Occurred()) SWIG_fail;
3716 }
3717 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlRenderingStyle, 0);
3718 return resultobj;
3719 fail:
3720 return NULL;
3721 }
3722
3723
3724 static PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
3725 PyObject *resultobj;
3726 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3727 wxHtmlRenderingState *result;
3728 PyObject * obj0 = 0 ;
3729 char *kwnames[] = {
3730 (char *) "self", NULL
3731 };
3732
3733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetState",kwnames,&obj0)) goto fail;
3734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3735 {
3736 PyThreadState* __tstate = wxPyBeginAllowThreads();
3737 {
3738 wxHtmlRenderingState &_result_ref = (arg1)->GetState();
3739 result = (wxHtmlRenderingState *) &_result_ref;
3740 }
3741
3742 wxPyEndAllowThreads(__tstate);
3743 if (PyErr_Occurred()) SWIG_fail;
3744 }
3745 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlRenderingState, 0);
3746 return resultobj;
3747 fail:
3748 return NULL;
3749 }
3750
3751
3752 static PyObject * HtmlRenderingInfo_swigregister(PyObject *self, PyObject *args) {
3753 PyObject *obj;
3754 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3755 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingInfo, obj);
3756 Py_INCREF(obj);
3757 return Py_BuildValue((char *)"");
3758 }
3759 static PyObject *_wrap_new_HtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) {
3760 PyObject *resultobj;
3761 wxHtmlCell *result;
3762 char *kwnames[] = {
3763 NULL
3764 };
3765
3766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlCell",kwnames)) goto fail;
3767 {
3768 PyThreadState* __tstate = wxPyBeginAllowThreads();
3769 result = (wxHtmlCell *)new wxHtmlCell();
3770
3771 wxPyEndAllowThreads(__tstate);
3772 if (PyErr_Occurred()) SWIG_fail;
3773 }
3774 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 1);
3775 return resultobj;
3776 fail:
3777 return NULL;
3778 }
3779
3780
3781 static PyObject *_wrap_HtmlCell_GetPosX(PyObject *self, PyObject *args, PyObject *kwargs) {
3782 PyObject *resultobj;
3783 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
3784 int result;
3785 PyObject * obj0 = 0 ;
3786 char *kwnames[] = {
3787 (char *) "self", NULL
3788 };
3789
3790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosX",kwnames,&obj0)) goto fail;
3791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3792 {
3793 PyThreadState* __tstate = wxPyBeginAllowThreads();
3794 result = (int)(arg1)->GetPosX();
3795
3796 wxPyEndAllowThreads(__tstate);
3797 if (PyErr_Occurred()) SWIG_fail;
3798 }
3799 resultobj = SWIG_PyObj_FromInt((int)result);
3800 return resultobj;
3801 fail:
3802 return NULL;
3803 }
3804
3805
3806 static PyObject *_wrap_HtmlCell_GetPosY(PyObject *self, PyObject *args, PyObject *kwargs) {
3807 PyObject *resultobj;
3808 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
3809 int result;
3810 PyObject * obj0 = 0 ;
3811 char *kwnames[] = {
3812 (char *) "self", NULL
3813 };
3814
3815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosY",kwnames,&obj0)) goto fail;
3816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3817 {
3818 PyThreadState* __tstate = wxPyBeginAllowThreads();
3819 result = (int)(arg1)->GetPosY();
3820
3821 wxPyEndAllowThreads(__tstate);
3822 if (PyErr_Occurred()) SWIG_fail;
3823 }
3824 resultobj = SWIG_PyObj_FromInt((int)result);
3825 return resultobj;
3826 fail:
3827 return NULL;
3828 }
3829
3830
3831 static PyObject *_wrap_HtmlCell_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3832 PyObject *resultobj;
3833 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
3834 int result;
3835 PyObject * obj0 = 0 ;
3836 char *kwnames[] = {
3837 (char *) "self", NULL
3838 };
3839
3840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetWidth",kwnames,&obj0)) goto fail;
3841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3842 {
3843 PyThreadState* __tstate = wxPyBeginAllowThreads();
3844 result = (int)(arg1)->GetWidth();
3845
3846 wxPyEndAllowThreads(__tstate);
3847 if (PyErr_Occurred()) SWIG_fail;
3848 }
3849 resultobj = SWIG_PyObj_FromInt((int)result);
3850 return resultobj;
3851 fail:
3852 return NULL;
3853 }
3854
3855
3856 static PyObject *_wrap_HtmlCell_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3857 PyObject *resultobj;
3858 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
3859 int result;
3860 PyObject * obj0 = 0 ;
3861 char *kwnames[] = {
3862 (char *) "self", NULL
3863 };
3864
3865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetHeight",kwnames,&obj0)) goto fail;
3866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3867 {
3868 PyThreadState* __tstate = wxPyBeginAllowThreads();
3869 result = (int)(arg1)->GetHeight();
3870
3871 wxPyEndAllowThreads(__tstate);
3872 if (PyErr_Occurred()) SWIG_fail;
3873 }
3874 resultobj = SWIG_PyObj_FromInt((int)result);
3875 return resultobj;
3876 fail:
3877 return NULL;
3878 }
3879
3880
3881 static PyObject *_wrap_HtmlCell_GetDescent(PyObject *self, PyObject *args, PyObject *kwargs) {
3882 PyObject *resultobj;
3883 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
3884 int result;
3885 PyObject * obj0 = 0 ;
3886 char *kwnames[] = {
3887 (char *) "self", NULL
3888 };
3889
3890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDescent",kwnames,&obj0)) goto fail;
3891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3892 {
3893 PyThreadState* __tstate = wxPyBeginAllowThreads();
3894 result = (int)(arg1)->GetDescent();
3895
3896 wxPyEndAllowThreads(__tstate);
3897 if (PyErr_Occurred()) SWIG_fail;
3898 }
3899 resultobj = SWIG_PyObj_FromInt((int)result);
3900 return resultobj;
3901 fail:
3902 return NULL;
3903 }
3904
3905
3906 static PyObject *_wrap_HtmlCell_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
3907 PyObject *resultobj;
3908 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
3909 wxString *result;
3910 PyObject * obj0 = 0 ;
3911 char *kwnames[] = {
3912 (char *) "self", NULL
3913 };
3914
3915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetId",kwnames,&obj0)) goto fail;
3916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3917 {
3918 PyThreadState* __tstate = wxPyBeginAllowThreads();
3919 {
3920 wxString const &_result_ref = ((wxHtmlCell const *)arg1)->GetId();
3921 result = (wxString *) &_result_ref;
3922 }
3923
3924 wxPyEndAllowThreads(__tstate);
3925 if (PyErr_Occurred()) SWIG_fail;
3926 }
3927 {
3928 #if wxUSE_UNICODE
3929 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
3930 #else
3931 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
3932 #endif
3933 }
3934 return resultobj;
3935 fail:
3936 return NULL;
3937 }
3938
3939
3940 static PyObject *_wrap_HtmlCell_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
3941 PyObject *resultobj;
3942 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
3943 wxString *arg2 = 0 ;
3944 bool temp2 = False ;
3945 PyObject * obj0 = 0 ;
3946 PyObject * obj1 = 0 ;
3947 char *kwnames[] = {
3948 (char *) "self",(char *) "id", NULL
3949 };
3950
3951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetId",kwnames,&obj0,&obj1)) goto fail;
3952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3953 {
3954 arg2 = wxString_in_helper(obj1);
3955 if (arg2 == NULL) SWIG_fail;
3956 temp2 = True;
3957 }
3958 {
3959 PyThreadState* __tstate = wxPyBeginAllowThreads();
3960 (arg1)->SetId((wxString const &)*arg2);
3961
3962 wxPyEndAllowThreads(__tstate);
3963 if (PyErr_Occurred()) SWIG_fail;
3964 }
3965 Py_INCREF(Py_None); resultobj = Py_None;
3966 {
3967 if (temp2)
3968 delete arg2;
3969 }
3970 return resultobj;
3971 fail:
3972 {
3973 if (temp2)
3974 delete arg2;
3975 }
3976 return NULL;
3977 }
3978
3979
3980 static PyObject *_wrap_HtmlCell_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
3981 PyObject *resultobj;
3982 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
3983 int arg2 = (int) 0 ;
3984 int arg3 = (int) 0 ;
3985 wxHtmlLinkInfo *result;
3986 PyObject * obj0 = 0 ;
3987 PyObject * obj1 = 0 ;
3988 PyObject * obj2 = 0 ;
3989 char *kwnames[] = {
3990 (char *) "self",(char *) "x",(char *) "y", NULL
3991 };
3992
3993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:HtmlCell_GetLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
3994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3995 if (obj1) {
3996 {
3997 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3998 if (PyErr_Occurred()) SWIG_fail;
3999 }
4000 }
4001 if (obj2) {
4002 {
4003 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4004 if (PyErr_Occurred()) SWIG_fail;
4005 }
4006 }
4007 {
4008 PyThreadState* __tstate = wxPyBeginAllowThreads();
4009 result = (wxHtmlLinkInfo *)(arg1)->GetLink(arg2,arg3);
4010
4011 wxPyEndAllowThreads(__tstate);
4012 if (PyErr_Occurred()) SWIG_fail;
4013 }
4014 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlLinkInfo, 0);
4015 return resultobj;
4016 fail:
4017 return NULL;
4018 }
4019
4020
4021 static PyObject *_wrap_HtmlCell_GetNext(PyObject *self, PyObject *args, PyObject *kwargs) {
4022 PyObject *resultobj;
4023 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4024 wxHtmlCell *result;
4025 PyObject * obj0 = 0 ;
4026 char *kwnames[] = {
4027 (char *) "self", NULL
4028 };
4029
4030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetNext",kwnames,&obj0)) goto fail;
4031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4032 {
4033 PyThreadState* __tstate = wxPyBeginAllowThreads();
4034 result = (wxHtmlCell *)(arg1)->GetNext();
4035
4036 wxPyEndAllowThreads(__tstate);
4037 if (PyErr_Occurred()) SWIG_fail;
4038 }
4039 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0);
4040 return resultobj;
4041 fail:
4042 return NULL;
4043 }
4044
4045
4046 static PyObject *_wrap_HtmlCell_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
4047 PyObject *resultobj;
4048 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4049 wxHtmlContainerCell *result;
4050 PyObject * obj0 = 0 ;
4051 char *kwnames[] = {
4052 (char *) "self", NULL
4053 };
4054
4055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetParent",kwnames,&obj0)) goto fail;
4056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4057 {
4058 PyThreadState* __tstate = wxPyBeginAllowThreads();
4059 result = (wxHtmlContainerCell *)(arg1)->GetParent();
4060
4061 wxPyEndAllowThreads(__tstate);
4062 if (PyErr_Occurred()) SWIG_fail;
4063 }
4064 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0);
4065 return resultobj;
4066 fail:
4067 return NULL;
4068 }
4069
4070
4071 static PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
4072 PyObject *resultobj;
4073 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4074 wxHtmlCell *result;
4075 PyObject * obj0 = 0 ;
4076 char *kwnames[] = {
4077 (char *) "self", NULL
4078 };
4079
4080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstChild",kwnames,&obj0)) goto fail;
4081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4082 {
4083 PyThreadState* __tstate = wxPyBeginAllowThreads();
4084 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstChild();
4085
4086 wxPyEndAllowThreads(__tstate);
4087 if (PyErr_Occurred()) SWIG_fail;
4088 }
4089 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0);
4090 return resultobj;
4091 fail:
4092 return NULL;
4093 }
4094
4095
4096 static PyObject *_wrap_HtmlCell_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4097 PyObject *resultobj;
4098 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4099 wxCursor result;
4100 PyObject * obj0 = 0 ;
4101 char *kwnames[] = {
4102 (char *) "self", NULL
4103 };
4104
4105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetCursor",kwnames,&obj0)) goto fail;
4106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4107 {
4108 PyThreadState* __tstate = wxPyBeginAllowThreads();
4109 result = ((wxHtmlCell const *)arg1)->GetCursor();
4110
4111 wxPyEndAllowThreads(__tstate);
4112 if (PyErr_Occurred()) SWIG_fail;
4113 }
4114 {
4115 wxCursor * resultptr;
4116 resultptr = new wxCursor((wxCursor &) result);
4117 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxCursor, 1);
4118 }
4119 return resultobj;
4120 fail:
4121 return NULL;
4122 }
4123
4124
4125 static PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4126 PyObject *resultobj;
4127 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4128 bool result;
4129 PyObject * obj0 = 0 ;
4130 char *kwnames[] = {
4131 (char *) "self", NULL
4132 };
4133
4134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsFormattingCell",kwnames,&obj0)) goto fail;
4135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4136 {
4137 PyThreadState* __tstate = wxPyBeginAllowThreads();
4138 result = (bool)((wxHtmlCell const *)arg1)->IsFormattingCell();
4139
4140 wxPyEndAllowThreads(__tstate);
4141 if (PyErr_Occurred()) SWIG_fail;
4142 }
4143 resultobj = SWIG_PyObj_FromBool((bool)result);
4144 return resultobj;
4145 fail:
4146 return NULL;
4147 }
4148
4149
4150 static PyObject *_wrap_HtmlCell_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
4151 PyObject *resultobj;
4152 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4153 wxHtmlLinkInfo *arg2 = 0 ;
4154 PyObject * obj0 = 0 ;
4155 PyObject * obj1 = 0 ;
4156 char *kwnames[] = {
4157 (char *) "self",(char *) "link", NULL
4158 };
4159
4160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetLink",kwnames,&obj0,&obj1)) goto fail;
4161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4162 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4163 if (arg2 == NULL) {
4164 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4165 }
4166 {
4167 PyThreadState* __tstate = wxPyBeginAllowThreads();
4168 (arg1)->SetLink((wxHtmlLinkInfo const &)*arg2);
4169
4170 wxPyEndAllowThreads(__tstate);
4171 if (PyErr_Occurred()) SWIG_fail;
4172 }
4173 Py_INCREF(Py_None); resultobj = Py_None;
4174 return resultobj;
4175 fail:
4176 return NULL;
4177 }
4178
4179
4180 static PyObject *_wrap_HtmlCell_SetNext(PyObject *self, PyObject *args, PyObject *kwargs) {
4181 PyObject *resultobj;
4182 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4183 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
4184 PyObject * obj0 = 0 ;
4185 PyObject * obj1 = 0 ;
4186 char *kwnames[] = {
4187 (char *) "self",(char *) "cell", NULL
4188 };
4189
4190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetNext",kwnames,&obj0,&obj1)) goto fail;
4191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4192 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4193 {
4194 PyThreadState* __tstate = wxPyBeginAllowThreads();
4195 (arg1)->SetNext(arg2);
4196
4197 wxPyEndAllowThreads(__tstate);
4198 if (PyErr_Occurred()) SWIG_fail;
4199 }
4200 Py_INCREF(Py_None); resultobj = Py_None;
4201 return resultobj;
4202 fail:
4203 return NULL;
4204 }
4205
4206
4207 static PyObject *_wrap_HtmlCell_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
4208 PyObject *resultobj;
4209 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4210 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
4211 PyObject * obj0 = 0 ;
4212 PyObject * obj1 = 0 ;
4213 char *kwnames[] = {
4214 (char *) "self",(char *) "p", NULL
4215 };
4216
4217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetParent",kwnames,&obj0,&obj1)) goto fail;
4218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4219 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4220 {
4221 PyThreadState* __tstate = wxPyBeginAllowThreads();
4222 (arg1)->SetParent(arg2);
4223
4224 wxPyEndAllowThreads(__tstate);
4225 if (PyErr_Occurred()) SWIG_fail;
4226 }
4227 Py_INCREF(Py_None); resultobj = Py_None;
4228 return resultobj;
4229 fail:
4230 return NULL;
4231 }
4232
4233
4234 static PyObject *_wrap_HtmlCell_SetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
4235 PyObject *resultobj;
4236 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4237 int arg2 ;
4238 int arg3 ;
4239 PyObject * obj0 = 0 ;
4240 PyObject * obj1 = 0 ;
4241 PyObject * obj2 = 0 ;
4242 char *kwnames[] = {
4243 (char *) "self",(char *) "x",(char *) "y", NULL
4244 };
4245
4246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_SetPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
4247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4248 {
4249 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4250 if (PyErr_Occurred()) SWIG_fail;
4251 }
4252 {
4253 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4254 if (PyErr_Occurred()) SWIG_fail;
4255 }
4256 {
4257 PyThreadState* __tstate = wxPyBeginAllowThreads();
4258 (arg1)->SetPos(arg2,arg3);
4259
4260 wxPyEndAllowThreads(__tstate);
4261 if (PyErr_Occurred()) SWIG_fail;
4262 }
4263 Py_INCREF(Py_None); resultobj = Py_None;
4264 return resultobj;
4265 fail:
4266 return NULL;
4267 }
4268
4269
4270 static PyObject *_wrap_HtmlCell_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
4271 PyObject *resultobj;
4272 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4273 int arg2 ;
4274 PyObject * obj0 = 0 ;
4275 PyObject * obj1 = 0 ;
4276 char *kwnames[] = {
4277 (char *) "self",(char *) "w", NULL
4278 };
4279
4280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_Layout",kwnames,&obj0,&obj1)) goto fail;
4281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4282 {
4283 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4284 if (PyErr_Occurred()) SWIG_fail;
4285 }
4286 {
4287 PyThreadState* __tstate = wxPyBeginAllowThreads();
4288 (arg1)->Layout(arg2);
4289
4290 wxPyEndAllowThreads(__tstate);
4291 if (PyErr_Occurred()) SWIG_fail;
4292 }
4293 Py_INCREF(Py_None); resultobj = Py_None;
4294 return resultobj;
4295 fail:
4296 return NULL;
4297 }
4298
4299
4300 static PyObject *_wrap_HtmlCell_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
4301 PyObject *resultobj;
4302 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4303 wxDC *arg2 = 0 ;
4304 int arg3 ;
4305 int arg4 ;
4306 int arg5 ;
4307 int arg6 ;
4308 wxHtmlRenderingInfo *arg7 = 0 ;
4309 PyObject * obj0 = 0 ;
4310 PyObject * obj1 = 0 ;
4311 PyObject * obj2 = 0 ;
4312 PyObject * obj3 = 0 ;
4313 PyObject * obj4 = 0 ;
4314 PyObject * obj5 = 0 ;
4315 PyObject * obj6 = 0 ;
4316 char *kwnames[] = {
4317 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
4318 };
4319
4320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:HtmlCell_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4322 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4323 if (arg2 == NULL) {
4324 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4325 }
4326 {
4327 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4328 if (PyErr_Occurred()) SWIG_fail;
4329 }
4330 {
4331 arg4 = (int) SWIG_PyObj_AsInt(obj3);
4332 if (PyErr_Occurred()) SWIG_fail;
4333 }
4334 {
4335 arg5 = (int) SWIG_PyObj_AsInt(obj4);
4336 if (PyErr_Occurred()) SWIG_fail;
4337 }
4338 {
4339 arg6 = (int) SWIG_PyObj_AsInt(obj5);
4340 if (PyErr_Occurred()) SWIG_fail;
4341 }
4342 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4343 if (arg7 == NULL) {
4344 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4345 }
4346 {
4347 PyThreadState* __tstate = wxPyBeginAllowThreads();
4348 (arg1)->Draw(*arg2,arg3,arg4,arg5,arg6,*arg7);
4349
4350 wxPyEndAllowThreads(__tstate);
4351 if (PyErr_Occurred()) SWIG_fail;
4352 }
4353 Py_INCREF(Py_None); resultobj = Py_None;
4354 return resultobj;
4355 fail:
4356 return NULL;
4357 }
4358
4359
4360 static PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4361 PyObject *resultobj;
4362 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4363 wxDC *arg2 = 0 ;
4364 int arg3 ;
4365 int arg4 ;
4366 wxHtmlRenderingInfo *arg5 = 0 ;
4367 PyObject * obj0 = 0 ;
4368 PyObject * obj1 = 0 ;
4369 PyObject * obj2 = 0 ;
4370 PyObject * obj3 = 0 ;
4371 PyObject * obj4 = 0 ;
4372 char *kwnames[] = {
4373 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
4374 };
4375
4376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4378 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4379 if (arg2 == NULL) {
4380 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4381 }
4382 {
4383 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4384 if (PyErr_Occurred()) SWIG_fail;
4385 }
4386 {
4387 arg4 = (int) SWIG_PyObj_AsInt(obj3);
4388 if (PyErr_Occurred()) SWIG_fail;
4389 }
4390 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4391 if (arg5 == NULL) {
4392 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4393 }
4394 {
4395 PyThreadState* __tstate = wxPyBeginAllowThreads();
4396 (arg1)->DrawInvisible(*arg2,arg3,arg4,*arg5);
4397
4398 wxPyEndAllowThreads(__tstate);
4399 if (PyErr_Occurred()) SWIG_fail;
4400 }
4401 Py_INCREF(Py_None); resultobj = Py_None;
4402 return resultobj;
4403 fail:
4404 return NULL;
4405 }
4406
4407
4408 static PyObject *_wrap_HtmlCell_Find(PyObject *self, PyObject *args, PyObject *kwargs) {
4409 PyObject *resultobj;
4410 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4411 int arg2 ;
4412 void *arg3 = (void *) 0 ;
4413 wxHtmlCell *result;
4414 PyObject * obj0 = 0 ;
4415 PyObject * obj1 = 0 ;
4416 PyObject * obj2 = 0 ;
4417 char *kwnames[] = {
4418 (char *) "self",(char *) "condition",(char *) "param", NULL
4419 };
4420
4421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_Find",kwnames,&obj0,&obj1,&obj2)) goto fail;
4422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4423 {
4424 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4425 if (PyErr_Occurred()) SWIG_fail;
4426 }
4427 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4428 {
4429 PyThreadState* __tstate = wxPyBeginAllowThreads();
4430 result = (wxHtmlCell *)(arg1)->Find(arg2,(void const *)arg3);
4431
4432 wxPyEndAllowThreads(__tstate);
4433 if (PyErr_Occurred()) SWIG_fail;
4434 }
4435 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0);
4436 return resultobj;
4437 fail:
4438 return NULL;
4439 }
4440
4441
4442 static PyObject *_wrap_HtmlCell_AdjustPagebreak(PyObject *self, PyObject *args, PyObject *kwargs) {
4443 PyObject *resultobj;
4444 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4445 int *arg2 = (int *) 0 ;
4446 bool result;
4447 int temp2 ;
4448 PyObject * obj0 = 0 ;
4449 PyObject * obj1 = 0 ;
4450 char *kwnames[] = {
4451 (char *) "self",(char *) "INOUT", NULL
4452 };
4453
4454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_AdjustPagebreak",kwnames,&obj0,&obj1)) goto fail;
4455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4456 {
4457 temp2 = PyInt_AsLong(obj1);
4458 if (PyErr_Occurred()) SWIG_fail;
4459 arg2 = &temp2;
4460 }
4461 {
4462 PyThreadState* __tstate = wxPyBeginAllowThreads();
4463 result = (bool)(arg1)->AdjustPagebreak(arg2);
4464
4465 wxPyEndAllowThreads(__tstate);
4466 if (PyErr_Occurred()) SWIG_fail;
4467 }
4468 resultobj = SWIG_PyObj_FromBool((bool)result);
4469 {
4470 PyObject *o = PyInt_FromLong((long) (*arg2));
4471 resultobj = t_output_helper(resultobj,o);
4472 }
4473 return resultobj;
4474 fail:
4475 return NULL;
4476 }
4477
4478
4479 static PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *self, PyObject *args, PyObject *kwargs) {
4480 PyObject *resultobj;
4481 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4482 bool arg2 ;
4483 PyObject * obj0 = 0 ;
4484 PyObject * obj1 = 0 ;
4485 char *kwnames[] = {
4486 (char *) "self",(char *) "can", NULL
4487 };
4488
4489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames,&obj0,&obj1)) goto fail;
4490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4491 {
4492 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
4493 if (PyErr_Occurred()) SWIG_fail;
4494 }
4495 {
4496 PyThreadState* __tstate = wxPyBeginAllowThreads();
4497 (arg1)->SetCanLiveOnPagebreak(arg2);
4498
4499 wxPyEndAllowThreads(__tstate);
4500 if (PyErr_Occurred()) SWIG_fail;
4501 }
4502 Py_INCREF(Py_None); resultobj = Py_None;
4503 return resultobj;
4504 fail:
4505 return NULL;
4506 }
4507
4508
4509 static PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *self, PyObject *args, PyObject *kwargs) {
4510 PyObject *resultobj;
4511 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4512 bool result;
4513 PyObject * obj0 = 0 ;
4514 char *kwnames[] = {
4515 (char *) "self", NULL
4516 };
4517
4518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsLinebreakAllowed",kwnames,&obj0)) goto fail;
4519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4520 {
4521 PyThreadState* __tstate = wxPyBeginAllowThreads();
4522 result = (bool)((wxHtmlCell const *)arg1)->IsLinebreakAllowed();
4523
4524 wxPyEndAllowThreads(__tstate);
4525 if (PyErr_Occurred()) SWIG_fail;
4526 }
4527 resultobj = SWIG_PyObj_FromBool((bool)result);
4528 return resultobj;
4529 fail:
4530 return NULL;
4531 }
4532
4533
4534 static PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4535 PyObject *resultobj;
4536 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4537 bool result;
4538 PyObject * obj0 = 0 ;
4539 char *kwnames[] = {
4540 (char *) "self", NULL
4541 };
4542
4543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsTerminalCell",kwnames,&obj0)) goto fail;
4544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4545 {
4546 PyThreadState* __tstate = wxPyBeginAllowThreads();
4547 result = (bool)((wxHtmlCell const *)arg1)->IsTerminalCell();
4548
4549 wxPyEndAllowThreads(__tstate);
4550 if (PyErr_Occurred()) SWIG_fail;
4551 }
4552 resultobj = SWIG_PyObj_FromBool((bool)result);
4553 return resultobj;
4554 fail:
4555 return NULL;
4556 }
4557
4558
4559 static PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
4560 PyObject *resultobj;
4561 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4562 int arg2 ;
4563 int arg3 ;
4564 unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ;
4565 wxHtmlCell *result;
4566 PyObject * obj0 = 0 ;
4567 PyObject * obj1 = 0 ;
4568 PyObject * obj2 = 0 ;
4569 PyObject * obj3 = 0 ;
4570 char *kwnames[] = {
4571 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
4572 };
4573
4574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4576 {
4577 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4578 if (PyErr_Occurred()) SWIG_fail;
4579 }
4580 {
4581 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4582 if (PyErr_Occurred()) SWIG_fail;
4583 }
4584 if (obj3) {
4585 {
4586 arg4 = (unsigned int) SWIG_PyObj_AsUnsignedInt(obj3);
4587 if (PyErr_Occurred()) SWIG_fail;
4588 }
4589 }
4590 {
4591 PyThreadState* __tstate = wxPyBeginAllowThreads();
4592 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->FindCellByPos(arg2,arg3,arg4);
4593
4594 wxPyEndAllowThreads(__tstate);
4595 if (PyErr_Occurred()) SWIG_fail;
4596 }
4597 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0);
4598 return resultobj;
4599 fail:
4600 return NULL;
4601 }
4602
4603
4604 static PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *self, PyObject *args, PyObject *kwargs) {
4605 PyObject *resultobj;
4606 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4607 wxPoint result;
4608 PyObject * obj0 = 0 ;
4609 char *kwnames[] = {
4610 (char *) "self", NULL
4611 };
4612
4613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetAbsPos",kwnames,&obj0)) goto fail;
4614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4615 {
4616 PyThreadState* __tstate = wxPyBeginAllowThreads();
4617 result = ((wxHtmlCell const *)arg1)->GetAbsPos();
4618
4619 wxPyEndAllowThreads(__tstate);
4620 if (PyErr_Occurred()) SWIG_fail;
4621 }
4622 {
4623 wxPoint * resultptr;
4624 resultptr = new wxPoint((wxPoint &) result);
4625 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
4626 }
4627 return resultobj;
4628 fail:
4629 return NULL;
4630 }
4631
4632
4633 static PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *self, PyObject *args, PyObject *kwargs) {
4634 PyObject *resultobj;
4635 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4636 wxHtmlCell *result;
4637 PyObject * obj0 = 0 ;
4638 char *kwnames[] = {
4639 (char *) "self", NULL
4640 };
4641
4642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstTerminal",kwnames,&obj0)) goto fail;
4643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4644 {
4645 PyThreadState* __tstate = wxPyBeginAllowThreads();
4646 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstTerminal();
4647
4648 wxPyEndAllowThreads(__tstate);
4649 if (PyErr_Occurred()) SWIG_fail;
4650 }
4651 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0);
4652 return resultobj;
4653 fail:
4654 return NULL;
4655 }
4656
4657
4658 static PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *self, PyObject *args, PyObject *kwargs) {
4659 PyObject *resultobj;
4660 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4661 wxHtmlCell *result;
4662 PyObject * obj0 = 0 ;
4663 char *kwnames[] = {
4664 (char *) "self", NULL
4665 };
4666
4667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetLastTerminal",kwnames,&obj0)) goto fail;
4668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4669 {
4670 PyThreadState* __tstate = wxPyBeginAllowThreads();
4671 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetLastTerminal();
4672
4673 wxPyEndAllowThreads(__tstate);
4674 if (PyErr_Occurred()) SWIG_fail;
4675 }
4676 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0);
4677 return resultobj;
4678 fail:
4679 return NULL;
4680 }
4681
4682
4683 static PyObject *_wrap_HtmlCell_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
4684 PyObject *resultobj;
4685 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4686 unsigned int result;
4687 PyObject * obj0 = 0 ;
4688 char *kwnames[] = {
4689 (char *) "self", NULL
4690 };
4691
4692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDepth",kwnames,&obj0)) goto fail;
4693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4694 {
4695 PyThreadState* __tstate = wxPyBeginAllowThreads();
4696 result = (unsigned int)((wxHtmlCell const *)arg1)->GetDepth();
4697
4698 wxPyEndAllowThreads(__tstate);
4699 if (PyErr_Occurred()) SWIG_fail;
4700 }
4701 resultobj = SWIG_PyObj_FromUnsignedInt((unsigned int)result);
4702 return resultobj;
4703 fail:
4704 return NULL;
4705 }
4706
4707
4708 static PyObject *_wrap_HtmlCell_IsBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
4709 PyObject *resultobj;
4710 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4711 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
4712 bool result;
4713 PyObject * obj0 = 0 ;
4714 PyObject * obj1 = 0 ;
4715 char *kwnames[] = {
4716 (char *) "self",(char *) "cell", NULL
4717 };
4718
4719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_IsBefore",kwnames,&obj0,&obj1)) goto fail;
4720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4721 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4722 {
4723 PyThreadState* __tstate = wxPyBeginAllowThreads();
4724 result = (bool)((wxHtmlCell const *)arg1)->IsBefore(arg2);
4725
4726 wxPyEndAllowThreads(__tstate);
4727 if (PyErr_Occurred()) SWIG_fail;
4728 }
4729 resultobj = SWIG_PyObj_FromBool((bool)result);
4730 return resultobj;
4731 fail:
4732 return NULL;
4733 }
4734
4735
4736 static PyObject *_wrap_HtmlCell_ConvertToText(PyObject *self, PyObject *args, PyObject *kwargs) {
4737 PyObject *resultobj;
4738 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4739 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
4740 wxString result;
4741 PyObject * obj0 = 0 ;
4742 PyObject * obj1 = 0 ;
4743 char *kwnames[] = {
4744 (char *) "self",(char *) "sel", NULL
4745 };
4746
4747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_ConvertToText",kwnames,&obj0,&obj1)) goto fail;
4748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4749 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4750 {
4751 PyThreadState* __tstate = wxPyBeginAllowThreads();
4752 result = ((wxHtmlCell const *)arg1)->ConvertToText(arg2);
4753
4754 wxPyEndAllowThreads(__tstate);
4755 if (PyErr_Occurred()) SWIG_fail;
4756 }
4757 {
4758 #if wxUSE_UNICODE
4759 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4760 #else
4761 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4762 #endif
4763 }
4764 return resultobj;
4765 fail:
4766 return NULL;
4767 }
4768
4769
4770 static PyObject * HtmlCell_swigregister(PyObject *self, PyObject *args) {
4771 PyObject *obj;
4772 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4773 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlCell, obj);
4774 Py_INCREF(obj);
4775 return Py_BuildValue((char *)"");
4776 }
4777 static PyObject *_wrap_new_HtmlWordCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4778 PyObject *resultobj;
4779 wxString *arg1 = 0 ;
4780 wxDC *arg2 = 0 ;
4781 wxHtmlWordCell *result;
4782 bool temp1 = False ;
4783 PyObject * obj0 = 0 ;
4784 PyObject * obj1 = 0 ;
4785 char *kwnames[] = {
4786 (char *) "word",(char *) "dc", NULL
4787 };
4788
4789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlWordCell",kwnames,&obj0,&obj1)) goto fail;
4790 {
4791 arg1 = wxString_in_helper(obj0);
4792 if (arg1 == NULL) SWIG_fail;
4793 temp1 = True;
4794 }
4795 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4796 if (arg2 == NULL) {
4797 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4798 }
4799 {
4800 PyThreadState* __tstate = wxPyBeginAllowThreads();
4801 result = (wxHtmlWordCell *)new wxHtmlWordCell((wxString const &)*arg1,*arg2);
4802
4803 wxPyEndAllowThreads(__tstate);
4804 if (PyErr_Occurred()) SWIG_fail;
4805 }
4806 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlWordCell, 1);
4807 {
4808 if (temp1)
4809 delete arg1;
4810 }
4811 return resultobj;
4812 fail:
4813 {
4814 if (temp1)
4815 delete arg1;
4816 }
4817 return NULL;
4818 }
4819
4820
4821 static PyObject * HtmlWordCell_swigregister(PyObject *self, PyObject *args) {
4822 PyObject *obj;
4823 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4824 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWordCell, obj);
4825 Py_INCREF(obj);
4826 return Py_BuildValue((char *)"");
4827 }
4828 static PyObject *_wrap_new_HtmlContainerCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4829 PyObject *resultobj;
4830 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
4831 wxHtmlContainerCell *result;
4832 PyObject * obj0 = 0 ;
4833 char *kwnames[] = {
4834 (char *) "parent", NULL
4835 };
4836
4837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlContainerCell",kwnames,&obj0)) goto fail;
4838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4839 {
4840 PyThreadState* __tstate = wxPyBeginAllowThreads();
4841 result = (wxHtmlContainerCell *)new wxHtmlContainerCell(arg1);
4842
4843 wxPyEndAllowThreads(__tstate);
4844 if (PyErr_Occurred()) SWIG_fail;
4845 }
4846 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 1);
4847 return resultobj;
4848 fail:
4849 return NULL;
4850 }
4851
4852
4853 static PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4854 PyObject *resultobj;
4855 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
4856 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
4857 PyObject * obj0 = 0 ;
4858 PyObject * obj1 = 0 ;
4859 char *kwnames[] = {
4860 (char *) "self",(char *) "cell", NULL
4861 };
4862
4863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_InsertCell",kwnames,&obj0,&obj1)) goto fail;
4864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4865 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4866 {
4867 PyThreadState* __tstate = wxPyBeginAllowThreads();
4868 (arg1)->InsertCell(arg2);
4869
4870 wxPyEndAllowThreads(__tstate);
4871 if (PyErr_Occurred()) SWIG_fail;
4872 }
4873 Py_INCREF(Py_None); resultobj = Py_None;
4874 return resultobj;
4875 fail:
4876 return NULL;
4877 }
4878
4879
4880 static PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *self, PyObject *args, PyObject *kwargs) {
4881 PyObject *resultobj;
4882 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
4883 int arg2 ;
4884 PyObject * obj0 = 0 ;
4885 PyObject * obj1 = 0 ;
4886 char *kwnames[] = {
4887 (char *) "self",(char *) "al", NULL
4888 };
4889
4890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames,&obj0,&obj1)) goto fail;
4891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4892 {
4893 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4894 if (PyErr_Occurred()) SWIG_fail;
4895 }
4896 {
4897 PyThreadState* __tstate = wxPyBeginAllowThreads();
4898 (arg1)->SetAlignHor(arg2);
4899
4900 wxPyEndAllowThreads(__tstate);
4901 if (PyErr_Occurred()) SWIG_fail;
4902 }
4903 Py_INCREF(Py_None); resultobj = Py_None;
4904 return resultobj;
4905 fail:
4906 return NULL;
4907 }
4908
4909
4910 static PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *self, PyObject *args, PyObject *kwargs) {
4911 PyObject *resultobj;
4912 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
4913 int result;
4914 PyObject * obj0 = 0 ;
4915 char *kwnames[] = {
4916 (char *) "self", NULL
4917 };
4918
4919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignHor",kwnames,&obj0)) goto fail;
4920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4921 {
4922 PyThreadState* __tstate = wxPyBeginAllowThreads();
4923 result = (int)(arg1)->GetAlignHor();
4924
4925 wxPyEndAllowThreads(__tstate);
4926 if (PyErr_Occurred()) SWIG_fail;
4927 }
4928 resultobj = SWIG_PyObj_FromInt((int)result);
4929 return resultobj;
4930 fail:
4931 return NULL;
4932 }
4933
4934
4935 static PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *self, PyObject *args, PyObject *kwargs) {
4936 PyObject *resultobj;
4937 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
4938 int arg2 ;
4939 PyObject * obj0 = 0 ;
4940 PyObject * obj1 = 0 ;
4941 char *kwnames[] = {
4942 (char *) "self",(char *) "al", NULL
4943 };
4944
4945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames,&obj0,&obj1)) goto fail;
4946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4947 {
4948 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4949 if (PyErr_Occurred()) SWIG_fail;
4950 }
4951 {
4952 PyThreadState* __tstate = wxPyBeginAllowThreads();
4953 (arg1)->SetAlignVer(arg2);
4954
4955 wxPyEndAllowThreads(__tstate);
4956 if (PyErr_Occurred()) SWIG_fail;
4957 }
4958 Py_INCREF(Py_None); resultobj = Py_None;
4959 return resultobj;
4960 fail:
4961 return NULL;
4962 }
4963
4964
4965 static PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *self, PyObject *args, PyObject *kwargs) {
4966 PyObject *resultobj;
4967 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
4968 int result;
4969 PyObject * obj0 = 0 ;
4970 char *kwnames[] = {
4971 (char *) "self", NULL
4972 };
4973
4974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignVer",kwnames,&obj0)) goto fail;
4975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4976 {
4977 PyThreadState* __tstate = wxPyBeginAllowThreads();
4978 result = (int)(arg1)->GetAlignVer();
4979
4980 wxPyEndAllowThreads(__tstate);
4981 if (PyErr_Occurred()) SWIG_fail;
4982 }
4983 resultobj = SWIG_PyObj_FromInt((int)result);
4984 return resultobj;
4985 fail:
4986 return NULL;
4987 }
4988
4989
4990 static PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
4991 PyObject *resultobj;
4992 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
4993 int arg2 ;
4994 int arg3 ;
4995 int arg4 = (int) wxHTML_UNITS_PIXELS ;
4996 PyObject * obj0 = 0 ;
4997 PyObject * obj1 = 0 ;
4998 PyObject * obj2 = 0 ;
4999 PyObject * obj3 = 0 ;
5000 char *kwnames[] = {
5001 (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
5002 };
5003
5004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5006 {
5007 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5008 if (PyErr_Occurred()) SWIG_fail;
5009 }
5010 {
5011 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5012 if (PyErr_Occurred()) SWIG_fail;
5013 }
5014 if (obj3) {
5015 {
5016 arg4 = (int) SWIG_PyObj_AsInt(obj3);
5017 if (PyErr_Occurred()) SWIG_fail;
5018 }
5019 }
5020 {
5021 PyThreadState* __tstate = wxPyBeginAllowThreads();
5022 (arg1)->SetIndent(arg2,arg3,arg4);
5023
5024 wxPyEndAllowThreads(__tstate);
5025 if (PyErr_Occurred()) SWIG_fail;
5026 }
5027 Py_INCREF(Py_None); resultobj = Py_None;
5028 return resultobj;
5029 fail:
5030 return NULL;
5031 }
5032
5033
5034 static PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5035 PyObject *resultobj;
5036 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5037 int arg2 ;
5038 int result;
5039 PyObject * obj0 = 0 ;
5040 PyObject * obj1 = 0 ;
5041 char *kwnames[] = {
5042 (char *) "self",(char *) "ind", NULL
5043 };
5044
5045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndent",kwnames,&obj0,&obj1)) goto fail;
5046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5047 {
5048 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5049 if (PyErr_Occurred()) SWIG_fail;
5050 }
5051 {
5052 PyThreadState* __tstate = wxPyBeginAllowThreads();
5053 result = (int)(arg1)->GetIndent(arg2);
5054
5055 wxPyEndAllowThreads(__tstate);
5056 if (PyErr_Occurred()) SWIG_fail;
5057 }
5058 resultobj = SWIG_PyObj_FromInt((int)result);
5059 return resultobj;
5060 fail:
5061 return NULL;
5062 }
5063
5064
5065 static PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *self, PyObject *args, PyObject *kwargs) {
5066 PyObject *resultobj;
5067 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5068 int arg2 ;
5069 int result;
5070 PyObject * obj0 = 0 ;
5071 PyObject * obj1 = 0 ;
5072 char *kwnames[] = {
5073 (char *) "self",(char *) "ind", NULL
5074 };
5075
5076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames,&obj0,&obj1)) goto fail;
5077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5078 {
5079 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5080 if (PyErr_Occurred()) SWIG_fail;
5081 }
5082 {
5083 PyThreadState* __tstate = wxPyBeginAllowThreads();
5084 result = (int)(arg1)->GetIndentUnits(arg2);
5085
5086 wxPyEndAllowThreads(__tstate);
5087 if (PyErr_Occurred()) SWIG_fail;
5088 }
5089 resultobj = SWIG_PyObj_FromInt((int)result);
5090 return resultobj;
5091 fail:
5092 return NULL;
5093 }
5094
5095
5096 static PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
5097 PyObject *resultobj;
5098 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5099 wxHtmlTag *arg2 = 0 ;
5100 PyObject * obj0 = 0 ;
5101 PyObject * obj1 = 0 ;
5102 char *kwnames[] = {
5103 (char *) "self",(char *) "tag", NULL
5104 };
5105
5106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlign",kwnames,&obj0,&obj1)) goto fail;
5107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5108 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5109 if (arg2 == NULL) {
5110 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5111 }
5112 {
5113 PyThreadState* __tstate = wxPyBeginAllowThreads();
5114 (arg1)->SetAlign((wxHtmlTag const &)*arg2);
5115
5116 wxPyEndAllowThreads(__tstate);
5117 if (PyErr_Occurred()) SWIG_fail;
5118 }
5119 Py_INCREF(Py_None); resultobj = Py_None;
5120 return resultobj;
5121 fail:
5122 return NULL;
5123 }
5124
5125
5126 static PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
5127 PyObject *resultobj;
5128 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5129 int arg2 ;
5130 int arg3 ;
5131 PyObject * obj0 = 0 ;
5132 PyObject * obj1 = 0 ;
5133 PyObject * obj2 = 0 ;
5134 char *kwnames[] = {
5135 (char *) "self",(char *) "w",(char *) "units", NULL
5136 };
5137
5138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
5139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5140 {
5141 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5142 if (PyErr_Occurred()) SWIG_fail;
5143 }
5144 {
5145 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5146 if (PyErr_Occurred()) SWIG_fail;
5147 }
5148 {
5149 PyThreadState* __tstate = wxPyBeginAllowThreads();
5150 (arg1)->SetWidthFloat(arg2,arg3);
5151
5152 wxPyEndAllowThreads(__tstate);
5153 if (PyErr_Occurred()) SWIG_fail;
5154 }
5155 Py_INCREF(Py_None); resultobj = Py_None;
5156 return resultobj;
5157 fail:
5158 return NULL;
5159 }
5160
5161
5162 static PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *self, PyObject *args, PyObject *kwargs) {
5163 PyObject *resultobj;
5164 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5165 wxHtmlTag *arg2 = 0 ;
5166 PyObject * obj0 = 0 ;
5167 PyObject * obj1 = 0 ;
5168 char *kwnames[] = {
5169 (char *) "self",(char *) "tag", NULL
5170 };
5171
5172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames,&obj0,&obj1)) goto fail;
5173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5174 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5175 if (arg2 == NULL) {
5176 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5177 }
5178 {
5179 PyThreadState* __tstate = wxPyBeginAllowThreads();
5180 (arg1)->SetWidthFloat((wxHtmlTag const &)*arg2);
5181
5182 wxPyEndAllowThreads(__tstate);
5183 if (PyErr_Occurred()) SWIG_fail;
5184 }
5185 Py_INCREF(Py_None); resultobj = Py_None;
5186 return resultobj;
5187 fail:
5188 return NULL;
5189 }
5190
5191
5192 static PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5193 PyObject *resultobj;
5194 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5195 int arg2 ;
5196 int arg3 = (int) wxHTML_ALIGN_TOP ;
5197 PyObject * obj0 = 0 ;
5198 PyObject * obj1 = 0 ;
5199 PyObject * obj2 = 0 ;
5200 char *kwnames[] = {
5201 (char *) "self",(char *) "h",(char *) "align", NULL
5202 };
5203
5204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames,&obj0,&obj1,&obj2)) goto fail;
5205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5206 {
5207 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5208 if (PyErr_Occurred()) SWIG_fail;
5209 }
5210 if (obj2) {
5211 {
5212 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5213 if (PyErr_Occurred()) SWIG_fail;
5214 }
5215 }
5216 {
5217 PyThreadState* __tstate = wxPyBeginAllowThreads();
5218 (arg1)->SetMinHeight(arg2,arg3);
5219
5220 wxPyEndAllowThreads(__tstate);
5221 if (PyErr_Occurred()) SWIG_fail;
5222 }
5223 Py_INCREF(Py_None); resultobj = Py_None;
5224 return resultobj;
5225 fail:
5226 return NULL;
5227 }
5228
5229
5230 static PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5231 PyObject *resultobj;
5232 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5233 wxColour *arg2 = 0 ;
5234 wxColour temp2 ;
5235 PyObject * obj0 = 0 ;
5236 PyObject * obj1 = 0 ;
5237 char *kwnames[] = {
5238 (char *) "self",(char *) "clr", NULL
5239 };
5240
5241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
5242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5243 {
5244 arg2 = &temp2;
5245 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5246 }
5247 {
5248 PyThreadState* __tstate = wxPyBeginAllowThreads();
5249 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
5250
5251 wxPyEndAllowThreads(__tstate);
5252 if (PyErr_Occurred()) SWIG_fail;
5253 }
5254 Py_INCREF(Py_None); resultobj = Py_None;
5255 return resultobj;
5256 fail:
5257 return NULL;
5258 }
5259
5260
5261 static PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5262 PyObject *resultobj;
5263 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5264 wxColour result;
5265 PyObject * obj0 = 0 ;
5266 char *kwnames[] = {
5267 (char *) "self", NULL
5268 };
5269
5270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetBackgroundColour",kwnames,&obj0)) goto fail;
5271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5272 {
5273 PyThreadState* __tstate = wxPyBeginAllowThreads();
5274 result = (arg1)->GetBackgroundColour();
5275
5276 wxPyEndAllowThreads(__tstate);
5277 if (PyErr_Occurred()) SWIG_fail;
5278 }
5279 {
5280 wxColour * resultptr;
5281 resultptr = new wxColour((wxColour &) result);
5282 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
5283 }
5284 return resultobj;
5285 fail:
5286 return NULL;
5287 }
5288
5289
5290 static PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
5291 PyObject *resultobj;
5292 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5293 wxColour *arg2 = 0 ;
5294 wxColour *arg3 = 0 ;
5295 wxColour temp2 ;
5296 wxColour temp3 ;
5297 PyObject * obj0 = 0 ;
5298 PyObject * obj1 = 0 ;
5299 PyObject * obj2 = 0 ;
5300 char *kwnames[] = {
5301 (char *) "self",(char *) "clr1",(char *) "clr2", NULL
5302 };
5303
5304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
5305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5306 {
5307 arg2 = &temp2;
5308 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5309 }
5310 {
5311 arg3 = &temp3;
5312 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5313 }
5314 {
5315 PyThreadState* __tstate = wxPyBeginAllowThreads();
5316 (arg1)->SetBorder((wxColour const &)*arg2,(wxColour const &)*arg3);
5317
5318 wxPyEndAllowThreads(__tstate);
5319 if (PyErr_Occurred()) SWIG_fail;
5320 }
5321 Py_INCREF(Py_None); resultobj = Py_None;
5322 return resultobj;
5323 fail:
5324 return NULL;
5325 }
5326
5327
5328 static PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
5329 PyObject *resultobj;
5330 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5331 wxHtmlCell *result;
5332 PyObject * obj0 = 0 ;
5333 char *kwnames[] = {
5334 (char *) "self", NULL
5335 };
5336
5337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetFirstChild",kwnames,&obj0)) goto fail;
5338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5339 {
5340 PyThreadState* __tstate = wxPyBeginAllowThreads();
5341 result = (wxHtmlCell *)(arg1)->GetFirstChild();
5342
5343 wxPyEndAllowThreads(__tstate);
5344 if (PyErr_Occurred()) SWIG_fail;
5345 }
5346 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0);
5347 return resultobj;
5348 fail:
5349 return NULL;
5350 }
5351
5352
5353 static PyObject * HtmlContainerCell_swigregister(PyObject *self, PyObject *args) {
5354 PyObject *obj;
5355 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5356 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContainerCell, obj);
5357 Py_INCREF(obj);
5358 return Py_BuildValue((char *)"");
5359 }
5360 static PyObject *_wrap_new_HtmlColourCell(PyObject *self, PyObject *args, PyObject *kwargs) {
5361 PyObject *resultobj;
5362 wxColour arg1 ;
5363 int arg2 = (int) wxHTML_CLR_FOREGROUND ;
5364 wxHtmlColourCell *result;
5365 wxColour *argp1 ;
5366 PyObject * obj0 = 0 ;
5367 PyObject * obj1 = 0 ;
5368 char *kwnames[] = {
5369 (char *) "clr",(char *) "flags", NULL
5370 };
5371
5372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlColourCell",kwnames,&obj0,&obj1)) goto fail;
5373 if ((SWIG_ConvertPtr(obj0,(void **) &argp1, SWIGTYPE_p_wxColour,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5374 arg1 = *argp1;
5375 if (obj1) {
5376 {
5377 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5378 if (PyErr_Occurred()) SWIG_fail;
5379 }
5380 }
5381 {
5382 PyThreadState* __tstate = wxPyBeginAllowThreads();
5383 result = (wxHtmlColourCell *)new wxHtmlColourCell(arg1,arg2);
5384
5385 wxPyEndAllowThreads(__tstate);
5386 if (PyErr_Occurred()) SWIG_fail;
5387 }
5388 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlColourCell, 1);
5389 return resultobj;
5390 fail:
5391 return NULL;
5392 }
5393
5394
5395 static PyObject * HtmlColourCell_swigregister(PyObject *self, PyObject *args) {
5396 PyObject *obj;
5397 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5398 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlColourCell, obj);
5399 Py_INCREF(obj);
5400 return Py_BuildValue((char *)"");
5401 }
5402 static PyObject *_wrap_new_HtmlFontCell(PyObject *self, PyObject *args, PyObject *kwargs) {
5403 PyObject *resultobj;
5404 wxFont *arg1 = (wxFont *) 0 ;
5405 wxHtmlFontCell *result;
5406 PyObject * obj0 = 0 ;
5407 char *kwnames[] = {
5408 (char *) "font", NULL
5409 };
5410
5411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlFontCell",kwnames,&obj0)) goto fail;
5412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5413 {
5414 PyThreadState* __tstate = wxPyBeginAllowThreads();
5415 result = (wxHtmlFontCell *)new wxHtmlFontCell(arg1);
5416
5417 wxPyEndAllowThreads(__tstate);
5418 if (PyErr_Occurred()) SWIG_fail;
5419 }
5420 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlFontCell, 1);
5421 return resultobj;
5422 fail:
5423 return NULL;
5424 }
5425
5426
5427 static PyObject * HtmlFontCell_swigregister(PyObject *self, PyObject *args) {
5428 PyObject *obj;
5429 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5430 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlFontCell, obj);
5431 Py_INCREF(obj);
5432 return Py_BuildValue((char *)"");
5433 }
5434 static PyObject *_wrap_new_HtmlWidgetCell(PyObject *self, PyObject *args, PyObject *kwargs) {
5435 PyObject *resultobj;
5436 wxWindow *arg1 = (wxWindow *) 0 ;
5437 int arg2 = (int) 0 ;
5438 wxHtmlWidgetCell *result;
5439 PyObject * obj0 = 0 ;
5440 PyObject * obj1 = 0 ;
5441 char *kwnames[] = {
5442 (char *) "wnd",(char *) "w", NULL
5443 };
5444
5445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlWidgetCell",kwnames,&obj0,&obj1)) goto fail;
5446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5447 if (obj1) {
5448 {
5449 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5450 if (PyErr_Occurred()) SWIG_fail;
5451 }
5452 }
5453 {
5454 PyThreadState* __tstate = wxPyBeginAllowThreads();
5455 result = (wxHtmlWidgetCell *)new wxHtmlWidgetCell(arg1,arg2);
5456
5457 wxPyEndAllowThreads(__tstate);
5458 if (PyErr_Occurred()) SWIG_fail;
5459 }
5460 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlWidgetCell, 1);
5461 return resultobj;
5462 fail:
5463 return NULL;
5464 }
5465
5466
5467 static PyObject * HtmlWidgetCell_swigregister(PyObject *self, PyObject *args) {
5468 PyObject *obj;
5469 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5470 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWidgetCell, obj);
5471 Py_INCREF(obj);
5472 return Py_BuildValue((char *)"");
5473 }
5474 static PyObject *_wrap_new_HtmlFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
5475 PyObject *resultobj;
5476 wxPyHtmlFilter *result;
5477 char *kwnames[] = {
5478 NULL
5479 };
5480
5481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlFilter",kwnames)) goto fail;
5482 {
5483 PyThreadState* __tstate = wxPyBeginAllowThreads();
5484 result = (wxPyHtmlFilter *)new wxPyHtmlFilter();
5485
5486 wxPyEndAllowThreads(__tstate);
5487 if (PyErr_Occurred()) SWIG_fail;
5488 }
5489 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlFilter, 1);
5490 return resultobj;
5491 fail:
5492 return NULL;
5493 }
5494
5495
5496 static PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5497 PyObject *resultobj;
5498 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
5499 PyObject *arg2 = (PyObject *) 0 ;
5500 PyObject *arg3 = (PyObject *) 0 ;
5501 PyObject * obj0 = 0 ;
5502 PyObject * obj1 = 0 ;
5503 PyObject * obj2 = 0 ;
5504 char *kwnames[] = {
5505 (char *) "self",(char *) "self",(char *) "_class", NULL
5506 };
5507
5508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlFilter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5510 arg2 = obj1;
5511 arg3 = obj2;
5512 {
5513 PyThreadState* __tstate = wxPyBeginAllowThreads();
5514 (arg1)->_setCallbackInfo(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 * HtmlFilter_swigregister(PyObject *self, PyObject *args) {
5527 PyObject *obj;
5528 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5529 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlFilter, obj);
5530 Py_INCREF(obj);
5531 return Py_BuildValue((char *)"");
5532 }
5533 static PyObject *_wrap_new_HtmlWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5534 PyObject *resultobj;
5535 wxWindow *arg1 = (wxWindow *) 0 ;
5536 int arg2 = (int) -1 ;
5537 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5538 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5539 wxSize const &arg4_defvalue = wxDefaultSize ;
5540 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5541 int arg5 = (int) wxHW_DEFAULT_STYLE ;
5542 wxString const &arg6_defvalue = wxPyHtmlWindowNameStr ;
5543 wxString *arg6 = (wxString *) &arg6_defvalue ;
5544 wxPyHtmlWindow *result;
5545 wxPoint temp3 ;
5546 wxSize temp4 ;
5547 bool temp6 = False ;
5548 PyObject * obj0 = 0 ;
5549 PyObject * obj1 = 0 ;
5550 PyObject * obj2 = 0 ;
5551 PyObject * obj3 = 0 ;
5552 PyObject * obj4 = 0 ;
5553 PyObject * obj5 = 0 ;
5554 char *kwnames[] = {
5555 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5556 };
5557
5558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5560 if (obj1) {
5561 {
5562 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5563 if (PyErr_Occurred()) SWIG_fail;
5564 }
5565 }
5566 if (obj2) {
5567 {
5568 arg3 = &temp3;
5569 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5570 }
5571 }
5572 if (obj3) {
5573 {
5574 arg4 = &temp4;
5575 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5576 }
5577 }
5578 if (obj4) {
5579 {
5580 arg5 = (int) SWIG_PyObj_AsInt(obj4);
5581 if (PyErr_Occurred()) SWIG_fail;
5582 }
5583 }
5584 if (obj5) {
5585 {
5586 arg6 = wxString_in_helper(obj5);
5587 if (arg6 == NULL) SWIG_fail;
5588 temp6 = True;
5589 }
5590 }
5591 {
5592 PyThreadState* __tstate = wxPyBeginAllowThreads();
5593 result = (wxPyHtmlWindow *)new wxPyHtmlWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5594
5595 wxPyEndAllowThreads(__tstate);
5596 if (PyErr_Occurred()) SWIG_fail;
5597 }
5598 {
5599 resultobj = wxPyMake_wxObject(result);
5600 }
5601 {
5602 if (temp6)
5603 delete arg6;
5604 }
5605 return resultobj;
5606 fail:
5607 {
5608 if (temp6)
5609 delete arg6;
5610 }
5611 return NULL;
5612 }
5613
5614
5615 static PyObject *_wrap_new_PreHtmlWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5616 PyObject *resultobj;
5617 wxPyHtmlWindow *result;
5618 char *kwnames[] = {
5619 NULL
5620 };
5621
5622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlWindow",kwnames)) goto fail;
5623 {
5624 PyThreadState* __tstate = wxPyBeginAllowThreads();
5625 result = (wxPyHtmlWindow *)new wxPyHtmlWindow();
5626
5627 wxPyEndAllowThreads(__tstate);
5628 if (PyErr_Occurred()) SWIG_fail;
5629 }
5630 {
5631 resultobj = wxPyMake_wxObject(result);
5632 }
5633 return resultobj;
5634 fail:
5635 return NULL;
5636 }
5637
5638
5639 static PyObject *_wrap_HtmlWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5640 PyObject *resultobj;
5641 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5642 wxWindow *arg2 = (wxWindow *) 0 ;
5643 int arg3 = (int) -1 ;
5644 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5645 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5646 wxSize const &arg5_defvalue = wxDefaultSize ;
5647 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5648 int arg6 = (int) wxHW_SCROLLBAR_AUTO ;
5649 wxString const &arg7_defvalue = wxPyHtmlWindowNameStr ;
5650 wxString *arg7 = (wxString *) &arg7_defvalue ;
5651 bool result;
5652 wxPoint temp4 ;
5653 wxSize temp5 ;
5654 bool temp7 = False ;
5655 PyObject * obj0 = 0 ;
5656 PyObject * obj1 = 0 ;
5657 PyObject * obj2 = 0 ;
5658 PyObject * obj3 = 0 ;
5659 PyObject * obj4 = 0 ;
5660 PyObject * obj5 = 0 ;
5661 PyObject * obj6 = 0 ;
5662 char *kwnames[] = {
5663 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5664 };
5665
5666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5668 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5669 if (obj2) {
5670 {
5671 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5672 if (PyErr_Occurred()) SWIG_fail;
5673 }
5674 }
5675 if (obj3) {
5676 {
5677 arg4 = &temp4;
5678 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5679 }
5680 }
5681 if (obj4) {
5682 {
5683 arg5 = &temp5;
5684 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5685 }
5686 }
5687 if (obj5) {
5688 {
5689 arg6 = (int) SWIG_PyObj_AsInt(obj5);
5690 if (PyErr_Occurred()) SWIG_fail;
5691 }
5692 }
5693 if (obj6) {
5694 {
5695 arg7 = wxString_in_helper(obj6);
5696 if (arg7 == NULL) SWIG_fail;
5697 temp7 = True;
5698 }
5699 }
5700 {
5701 PyThreadState* __tstate = wxPyBeginAllowThreads();
5702 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5703
5704 wxPyEndAllowThreads(__tstate);
5705 if (PyErr_Occurred()) SWIG_fail;
5706 }
5707 resultobj = SWIG_PyObj_FromBool((bool)result);
5708 {
5709 if (temp7)
5710 delete arg7;
5711 }
5712 return resultobj;
5713 fail:
5714 {
5715 if (temp7)
5716 delete arg7;
5717 }
5718 return NULL;
5719 }
5720
5721
5722 static PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5723 PyObject *resultobj;
5724 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5725 PyObject *arg2 = (PyObject *) 0 ;
5726 PyObject *arg3 = (PyObject *) 0 ;
5727 PyObject * obj0 = 0 ;
5728 PyObject * obj1 = 0 ;
5729 PyObject * obj2 = 0 ;
5730 char *kwnames[] = {
5731 (char *) "self",(char *) "self",(char *) "_class", NULL
5732 };
5733
5734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5736 arg2 = obj1;
5737 arg3 = obj2;
5738 {
5739 PyThreadState* __tstate = wxPyBeginAllowThreads();
5740 (arg1)->_setCallbackInfo(arg2,arg3);
5741
5742 wxPyEndAllowThreads(__tstate);
5743 if (PyErr_Occurred()) SWIG_fail;
5744 }
5745 Py_INCREF(Py_None); resultobj = Py_None;
5746 return resultobj;
5747 fail:
5748 return NULL;
5749 }
5750
5751
5752 static PyObject *_wrap_HtmlWindow_SetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
5753 PyObject *resultobj;
5754 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5755 wxString *arg2 = 0 ;
5756 bool result;
5757 bool temp2 = False ;
5758 PyObject * obj0 = 0 ;
5759 PyObject * obj1 = 0 ;
5760 char *kwnames[] = {
5761 (char *) "self",(char *) "source", NULL
5762 };
5763
5764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetPage",kwnames,&obj0,&obj1)) goto fail;
5765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5766 {
5767 arg2 = wxString_in_helper(obj1);
5768 if (arg2 == NULL) SWIG_fail;
5769 temp2 = True;
5770 }
5771 {
5772 PyThreadState* __tstate = wxPyBeginAllowThreads();
5773 result = (bool)(arg1)->SetPage((wxString const &)*arg2);
5774
5775 wxPyEndAllowThreads(__tstate);
5776 if (PyErr_Occurred()) SWIG_fail;
5777 }
5778 resultobj = SWIG_PyObj_FromBool((bool)result);
5779 {
5780 if (temp2)
5781 delete arg2;
5782 }
5783 return resultobj;
5784 fail:
5785 {
5786 if (temp2)
5787 delete arg2;
5788 }
5789 return NULL;
5790 }
5791
5792
5793 static PyObject *_wrap_HtmlWindow_LoadPage(PyObject *self, PyObject *args, PyObject *kwargs) {
5794 PyObject *resultobj;
5795 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5796 wxString *arg2 = 0 ;
5797 bool result;
5798 bool temp2 = False ;
5799 PyObject * obj0 = 0 ;
5800 PyObject * obj1 = 0 ;
5801 char *kwnames[] = {
5802 (char *) "self",(char *) "location", NULL
5803 };
5804
5805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadPage",kwnames,&obj0,&obj1)) goto fail;
5806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5807 {
5808 arg2 = wxString_in_helper(obj1);
5809 if (arg2 == NULL) SWIG_fail;
5810 temp2 = True;
5811 }
5812 {
5813 PyThreadState* __tstate = wxPyBeginAllowThreads();
5814 result = (bool)(arg1)->LoadPage((wxString const &)*arg2);
5815
5816 wxPyEndAllowThreads(__tstate);
5817 if (PyErr_Occurred()) SWIG_fail;
5818 }
5819 resultobj = SWIG_PyObj_FromBool((bool)result);
5820 {
5821 if (temp2)
5822 delete arg2;
5823 }
5824 return resultobj;
5825 fail:
5826 {
5827 if (temp2)
5828 delete arg2;
5829 }
5830 return NULL;
5831 }
5832
5833
5834 static PyObject *_wrap_HtmlWindow_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5835 PyObject *resultobj;
5836 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5837 wxString *arg2 = 0 ;
5838 bool result;
5839 bool temp2 = False ;
5840 PyObject * obj0 = 0 ;
5841 PyObject * obj1 = 0 ;
5842 char *kwnames[] = {
5843 (char *) "self",(char *) "filename", NULL
5844 };
5845
5846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadFile",kwnames,&obj0,&obj1)) goto fail;
5847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5848 {
5849 arg2 = wxString_in_helper(obj1);
5850 if (arg2 == NULL) SWIG_fail;
5851 temp2 = True;
5852 }
5853 {
5854 PyThreadState* __tstate = wxPyBeginAllowThreads();
5855 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
5856
5857 wxPyEndAllowThreads(__tstate);
5858 if (PyErr_Occurred()) SWIG_fail;
5859 }
5860 resultobj = SWIG_PyObj_FromBool((bool)result);
5861 {
5862 if (temp2)
5863 delete arg2;
5864 }
5865 return resultobj;
5866 fail:
5867 {
5868 if (temp2)
5869 delete arg2;
5870 }
5871 return NULL;
5872 }
5873
5874
5875 static PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
5876 PyObject *resultobj;
5877 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5878 wxString *arg2 = 0 ;
5879 bool result;
5880 bool temp2 = False ;
5881 PyObject * obj0 = 0 ;
5882 PyObject * obj1 = 0 ;
5883 char *kwnames[] = {
5884 (char *) "self",(char *) "source", NULL
5885 };
5886
5887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_AppendToPage",kwnames,&obj0,&obj1)) goto fail;
5888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5889 {
5890 arg2 = wxString_in_helper(obj1);
5891 if (arg2 == NULL) SWIG_fail;
5892 temp2 = True;
5893 }
5894 {
5895 PyThreadState* __tstate = wxPyBeginAllowThreads();
5896 result = (bool)(arg1)->AppendToPage((wxString const &)*arg2);
5897
5898 wxPyEndAllowThreads(__tstate);
5899 if (PyErr_Occurred()) SWIG_fail;
5900 }
5901 resultobj = SWIG_PyObj_FromBool((bool)result);
5902 {
5903 if (temp2)
5904 delete arg2;
5905 }
5906 return resultobj;
5907 fail:
5908 {
5909 if (temp2)
5910 delete arg2;
5911 }
5912 return NULL;
5913 }
5914
5915
5916 static PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *self, PyObject *args, PyObject *kwargs) {
5917 PyObject *resultobj;
5918 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5919 wxString result;
5920 PyObject * obj0 = 0 ;
5921 char *kwnames[] = {
5922 (char *) "self", NULL
5923 };
5924
5925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPage",kwnames,&obj0)) goto fail;
5926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5927 {
5928 PyThreadState* __tstate = wxPyBeginAllowThreads();
5929 result = (arg1)->GetOpenedPage();
5930
5931 wxPyEndAllowThreads(__tstate);
5932 if (PyErr_Occurred()) SWIG_fail;
5933 }
5934 {
5935 #if wxUSE_UNICODE
5936 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5937 #else
5938 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5939 #endif
5940 }
5941 return resultobj;
5942 fail:
5943 return NULL;
5944 }
5945
5946
5947 static PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
5948 PyObject *resultobj;
5949 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5950 wxString result;
5951 PyObject * obj0 = 0 ;
5952 char *kwnames[] = {
5953 (char *) "self", NULL
5954 };
5955
5956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedAnchor",kwnames,&obj0)) goto fail;
5957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5958 {
5959 PyThreadState* __tstate = wxPyBeginAllowThreads();
5960 result = (arg1)->GetOpenedAnchor();
5961
5962 wxPyEndAllowThreads(__tstate);
5963 if (PyErr_Occurred()) SWIG_fail;
5964 }
5965 {
5966 #if wxUSE_UNICODE
5967 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5968 #else
5969 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5970 #endif
5971 }
5972 return resultobj;
5973 fail:
5974 return NULL;
5975 }
5976
5977
5978 static PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
5979 PyObject *resultobj;
5980 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5981 wxString result;
5982 PyObject * obj0 = 0 ;
5983 char *kwnames[] = {
5984 (char *) "self", NULL
5985 };
5986
5987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPageTitle",kwnames,&obj0)) goto fail;
5988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5989 {
5990 PyThreadState* __tstate = wxPyBeginAllowThreads();
5991 result = (arg1)->GetOpenedPageTitle();
5992
5993 wxPyEndAllowThreads(__tstate);
5994 if (PyErr_Occurred()) SWIG_fail;
5995 }
5996 {
5997 #if wxUSE_UNICODE
5998 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5999 #else
6000 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6001 #endif
6002 }
6003 return resultobj;
6004 fail:
6005 return NULL;
6006 }
6007
6008
6009 static PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
6010 PyObject *resultobj;
6011 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6012 wxFrame *arg2 = (wxFrame *) 0 ;
6013 wxString *arg3 = 0 ;
6014 bool temp3 = False ;
6015 PyObject * obj0 = 0 ;
6016 PyObject * obj1 = 0 ;
6017 PyObject * obj2 = 0 ;
6018 char *kwnames[] = {
6019 (char *) "self",(char *) "frame",(char *) "format", NULL
6020 };
6021
6022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
6023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6024 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6025 {
6026 arg3 = wxString_in_helper(obj2);
6027 if (arg3 == NULL) SWIG_fail;
6028 temp3 = True;
6029 }
6030 {
6031 PyThreadState* __tstate = wxPyBeginAllowThreads();
6032 (arg1)->SetRelatedFrame(arg2,(wxString const &)*arg3);
6033
6034 wxPyEndAllowThreads(__tstate);
6035 if (PyErr_Occurred()) SWIG_fail;
6036 }
6037 Py_INCREF(Py_None); resultobj = Py_None;
6038 {
6039 if (temp3)
6040 delete arg3;
6041 }
6042 return resultobj;
6043 fail:
6044 {
6045 if (temp3)
6046 delete arg3;
6047 }
6048 return NULL;
6049 }
6050
6051
6052 static PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
6053 PyObject *resultobj;
6054 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6055 wxFrame *result;
6056 PyObject * obj0 = 0 ;
6057 char *kwnames[] = {
6058 (char *) "self", NULL
6059 };
6060
6061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetRelatedFrame",kwnames,&obj0)) goto fail;
6062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6063 {
6064 PyThreadState* __tstate = wxPyBeginAllowThreads();
6065 result = (wxFrame *)(arg1)->GetRelatedFrame();
6066
6067 wxPyEndAllowThreads(__tstate);
6068 if (PyErr_Occurred()) SWIG_fail;
6069 }
6070 {
6071 resultobj = wxPyMake_wxObject(result);
6072 }
6073 return resultobj;
6074 fail:
6075 return NULL;
6076 }
6077
6078
6079 static PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
6080 PyObject *resultobj;
6081 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6082 int arg2 ;
6083 PyObject * obj0 = 0 ;
6084 PyObject * obj1 = 0 ;
6085 char *kwnames[] = {
6086 (char *) "self",(char *) "bar", NULL
6087 };
6088
6089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames,&obj0,&obj1)) goto fail;
6090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6091 {
6092 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6093 if (PyErr_Occurred()) SWIG_fail;
6094 }
6095 {
6096 PyThreadState* __tstate = wxPyBeginAllowThreads();
6097 (arg1)->SetRelatedStatusBar(arg2);
6098
6099 wxPyEndAllowThreads(__tstate);
6100 if (PyErr_Occurred()) SWIG_fail;
6101 }
6102 Py_INCREF(Py_None); resultobj = Py_None;
6103 return resultobj;
6104 fail:
6105 return NULL;
6106 }
6107
6108
6109 static PyObject *_wrap_HtmlWindow_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
6110 PyObject *resultobj;
6111 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6112 wxString arg2 ;
6113 wxString arg3 ;
6114 PyObject *arg4 = (PyObject *) NULL ;
6115 PyObject * obj0 = 0 ;
6116 PyObject * obj1 = 0 ;
6117 PyObject * obj2 = 0 ;
6118 PyObject * obj3 = 0 ;
6119 char *kwnames[] = {
6120 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
6121 };
6122
6123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6125 {
6126 wxString* sptr = wxString_in_helper(obj1);
6127 if (sptr == NULL) SWIG_fail;
6128 arg2 = *sptr;
6129 delete sptr;
6130 }
6131 {
6132 wxString* sptr = wxString_in_helper(obj2);
6133 if (sptr == NULL) SWIG_fail;
6134 arg3 = *sptr;
6135 delete sptr;
6136 }
6137 if (obj3) {
6138 arg4 = obj3;
6139 }
6140 {
6141 PyThreadState* __tstate = wxPyBeginAllowThreads();
6142 wxPyHtmlWindow_SetFonts(arg1,arg2,arg3,arg4);
6143
6144 wxPyEndAllowThreads(__tstate);
6145 if (PyErr_Occurred()) SWIG_fail;
6146 }
6147 Py_INCREF(Py_None); resultobj = Py_None;
6148 return resultobj;
6149 fail:
6150 return NULL;
6151 }
6152
6153
6154 static PyObject *_wrap_HtmlWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
6155 PyObject *resultobj;
6156 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6157 wxString *arg2 = 0 ;
6158 bool temp2 = False ;
6159 PyObject * obj0 = 0 ;
6160 PyObject * obj1 = 0 ;
6161 char *kwnames[] = {
6162 (char *) "self",(char *) "title", NULL
6163 };
6164
6165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
6166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6167 {
6168 arg2 = wxString_in_helper(obj1);
6169 if (arg2 == NULL) SWIG_fail;
6170 temp2 = True;
6171 }
6172 {
6173 PyThreadState* __tstate = wxPyBeginAllowThreads();
6174 (arg1)->SetTitle((wxString const &)*arg2);
6175
6176 wxPyEndAllowThreads(__tstate);
6177 if (PyErr_Occurred()) SWIG_fail;
6178 }
6179 Py_INCREF(Py_None); resultobj = Py_None;
6180 {
6181 if (temp2)
6182 delete arg2;
6183 }
6184 return resultobj;
6185 fail:
6186 {
6187 if (temp2)
6188 delete arg2;
6189 }
6190 return NULL;
6191 }
6192
6193
6194 static PyObject *_wrap_HtmlWindow_SetBorders(PyObject *self, PyObject *args, PyObject *kwargs) {
6195 PyObject *resultobj;
6196 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6197 int arg2 ;
6198 PyObject * obj0 = 0 ;
6199 PyObject * obj1 = 0 ;
6200 char *kwnames[] = {
6201 (char *) "self",(char *) "b", NULL
6202 };
6203
6204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBorders",kwnames,&obj0,&obj1)) goto fail;
6205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6206 {
6207 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6208 if (PyErr_Occurred()) SWIG_fail;
6209 }
6210 {
6211 PyThreadState* __tstate = wxPyBeginAllowThreads();
6212 (arg1)->SetBorders(arg2);
6213
6214 wxPyEndAllowThreads(__tstate);
6215 if (PyErr_Occurred()) SWIG_fail;
6216 }
6217 Py_INCREF(Py_None); resultobj = Py_None;
6218 return resultobj;
6219 fail:
6220 return NULL;
6221 }
6222
6223
6224 static PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
6225 PyObject *resultobj;
6226 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6227 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
6228 wxString arg3 = (wxString) wxPyEmptyString ;
6229 PyObject * obj0 = 0 ;
6230 PyObject * obj1 = 0 ;
6231 PyObject * obj2 = 0 ;
6232 char *kwnames[] = {
6233 (char *) "self",(char *) "cfg",(char *) "path", NULL
6234 };
6235
6236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
6237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6238 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6239 if (obj2) {
6240 {
6241 wxString* sptr = wxString_in_helper(obj2);
6242 if (sptr == NULL) SWIG_fail;
6243 arg3 = *sptr;
6244 delete sptr;
6245 }
6246 }
6247 {
6248 PyThreadState* __tstate = wxPyBeginAllowThreads();
6249 (arg1)->ReadCustomization(arg2,arg3);
6250
6251 wxPyEndAllowThreads(__tstate);
6252 if (PyErr_Occurred()) SWIG_fail;
6253 }
6254 Py_INCREF(Py_None); resultobj = Py_None;
6255 return resultobj;
6256 fail:
6257 return NULL;
6258 }
6259
6260
6261 static PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
6262 PyObject *resultobj;
6263 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6264 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
6265 wxString arg3 = (wxString) wxPyEmptyString ;
6266 PyObject * obj0 = 0 ;
6267 PyObject * obj1 = 0 ;
6268 PyObject * obj2 = 0 ;
6269 char *kwnames[] = {
6270 (char *) "self",(char *) "cfg",(char *) "path", NULL
6271 };
6272
6273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
6274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6275 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6276 if (obj2) {
6277 {
6278 wxString* sptr = wxString_in_helper(obj2);
6279 if (sptr == NULL) SWIG_fail;
6280 arg3 = *sptr;
6281 delete sptr;
6282 }
6283 }
6284 {
6285 PyThreadState* __tstate = wxPyBeginAllowThreads();
6286 (arg1)->WriteCustomization(arg2,arg3);
6287
6288 wxPyEndAllowThreads(__tstate);
6289 if (PyErr_Occurred()) SWIG_fail;
6290 }
6291 Py_INCREF(Py_None); resultobj = Py_None;
6292 return resultobj;
6293 fail:
6294 return NULL;
6295 }
6296
6297
6298 static PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *self, PyObject *args, PyObject *kwargs) {
6299 PyObject *resultobj;
6300 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6301 bool result;
6302 PyObject * obj0 = 0 ;
6303 char *kwnames[] = {
6304 (char *) "self", NULL
6305 };
6306
6307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryBack",kwnames,&obj0)) goto fail;
6308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6309 {
6310 PyThreadState* __tstate = wxPyBeginAllowThreads();
6311 result = (bool)(arg1)->HistoryBack();
6312
6313 wxPyEndAllowThreads(__tstate);
6314 if (PyErr_Occurred()) SWIG_fail;
6315 }
6316 resultobj = SWIG_PyObj_FromBool((bool)result);
6317 return resultobj;
6318 fail:
6319 return NULL;
6320 }
6321
6322
6323 static PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *self, PyObject *args, PyObject *kwargs) {
6324 PyObject *resultobj;
6325 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6326 bool result;
6327 PyObject * obj0 = 0 ;
6328 char *kwnames[] = {
6329 (char *) "self", NULL
6330 };
6331
6332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryForward",kwnames,&obj0)) goto fail;
6333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6334 {
6335 PyThreadState* __tstate = wxPyBeginAllowThreads();
6336 result = (bool)(arg1)->HistoryForward();
6337
6338 wxPyEndAllowThreads(__tstate);
6339 if (PyErr_Occurred()) SWIG_fail;
6340 }
6341 resultobj = SWIG_PyObj_FromBool((bool)result);
6342 return resultobj;
6343 fail:
6344 return NULL;
6345 }
6346
6347
6348 static PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *self, PyObject *args, PyObject *kwargs) {
6349 PyObject *resultobj;
6350 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6351 bool result;
6352 PyObject * obj0 = 0 ;
6353 char *kwnames[] = {
6354 (char *) "self", NULL
6355 };
6356
6357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanBack",kwnames,&obj0)) goto fail;
6358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6359 {
6360 PyThreadState* __tstate = wxPyBeginAllowThreads();
6361 result = (bool)(arg1)->HistoryCanBack();
6362
6363 wxPyEndAllowThreads(__tstate);
6364 if (PyErr_Occurred()) SWIG_fail;
6365 }
6366 resultobj = SWIG_PyObj_FromBool((bool)result);
6367 return resultobj;
6368 fail:
6369 return NULL;
6370 }
6371
6372
6373 static PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *self, PyObject *args, PyObject *kwargs) {
6374 PyObject *resultobj;
6375 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6376 bool result;
6377 PyObject * obj0 = 0 ;
6378 char *kwnames[] = {
6379 (char *) "self", NULL
6380 };
6381
6382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanForward",kwnames,&obj0)) goto fail;
6383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6384 {
6385 PyThreadState* __tstate = wxPyBeginAllowThreads();
6386 result = (bool)(arg1)->HistoryCanForward();
6387
6388 wxPyEndAllowThreads(__tstate);
6389 if (PyErr_Occurred()) SWIG_fail;
6390 }
6391 resultobj = SWIG_PyObj_FromBool((bool)result);
6392 return resultobj;
6393 fail:
6394 return NULL;
6395 }
6396
6397
6398 static PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *self, PyObject *args, PyObject *kwargs) {
6399 PyObject *resultobj;
6400 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6401 PyObject * obj0 = 0 ;
6402 char *kwnames[] = {
6403 (char *) "self", NULL
6404 };
6405
6406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryClear",kwnames,&obj0)) goto fail;
6407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6408 {
6409 PyThreadState* __tstate = wxPyBeginAllowThreads();
6410 (arg1)->HistoryClear();
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_GetInternalRepresentation(PyObject *self, PyObject *args, PyObject *kwargs) {
6423 PyObject *resultobj;
6424 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6425 wxHtmlContainerCell *result;
6426 PyObject * obj0 = 0 ;
6427 char *kwnames[] = {
6428 (char *) "self", NULL
6429 };
6430
6431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetInternalRepresentation",kwnames,&obj0)) goto fail;
6432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6433 {
6434 PyThreadState* __tstate = wxPyBeginAllowThreads();
6435 result = (wxHtmlContainerCell *)(arg1)->GetInternalRepresentation();
6436
6437 wxPyEndAllowThreads(__tstate);
6438 if (PyErr_Occurred()) SWIG_fail;
6439 }
6440 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0);
6441 return resultobj;
6442 fail:
6443 return NULL;
6444 }
6445
6446
6447 static PyObject *_wrap_HtmlWindow_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
6448 PyObject *resultobj;
6449 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6450 wxHtmlWinParser *result;
6451 PyObject * obj0 = 0 ;
6452 char *kwnames[] = {
6453 (char *) "self", NULL
6454 };
6455
6456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetParser",kwnames,&obj0)) goto fail;
6457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6458 {
6459 PyThreadState* __tstate = wxPyBeginAllowThreads();
6460 result = (wxHtmlWinParser *)(arg1)->GetParser();
6461
6462 wxPyEndAllowThreads(__tstate);
6463 if (PyErr_Occurred()) SWIG_fail;
6464 }
6465 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlWinParser, 0);
6466 return resultobj;
6467 fail:
6468 return NULL;
6469 }
6470
6471
6472 static PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
6473 PyObject *resultobj;
6474 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6475 wxString *arg2 = 0 ;
6476 bool result;
6477 bool temp2 = False ;
6478 PyObject * obj0 = 0 ;
6479 PyObject * obj1 = 0 ;
6480 char *kwnames[] = {
6481 (char *) "self",(char *) "anchor", NULL
6482 };
6483
6484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames,&obj0,&obj1)) goto fail;
6485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6486 {
6487 arg2 = wxString_in_helper(obj1);
6488 if (arg2 == NULL) SWIG_fail;
6489 temp2 = True;
6490 }
6491 {
6492 PyThreadState* __tstate = wxPyBeginAllowThreads();
6493 result = (bool)(arg1)->ScrollToAnchor((wxString const &)*arg2);
6494
6495 wxPyEndAllowThreads(__tstate);
6496 if (PyErr_Occurred()) SWIG_fail;
6497 }
6498 resultobj = SWIG_PyObj_FromBool((bool)result);
6499 {
6500 if (temp2)
6501 delete arg2;
6502 }
6503 return resultobj;
6504 fail:
6505 {
6506 if (temp2)
6507 delete arg2;
6508 }
6509 return NULL;
6510 }
6511
6512
6513 static PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
6514 PyObject *resultobj;
6515 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6516 wxString *arg2 = 0 ;
6517 bool result;
6518 bool temp2 = False ;
6519 PyObject * obj0 = 0 ;
6520 PyObject * obj1 = 0 ;
6521 char *kwnames[] = {
6522 (char *) "self",(char *) "anchor", NULL
6523 };
6524
6525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_HasAnchor",kwnames,&obj0,&obj1)) goto fail;
6526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6527 {
6528 arg2 = wxString_in_helper(obj1);
6529 if (arg2 == NULL) SWIG_fail;
6530 temp2 = True;
6531 }
6532 {
6533 PyThreadState* __tstate = wxPyBeginAllowThreads();
6534 result = (bool)(arg1)->HasAnchor((wxString const &)*arg2);
6535
6536 wxPyEndAllowThreads(__tstate);
6537 if (PyErr_Occurred()) SWIG_fail;
6538 }
6539 resultobj = SWIG_PyObj_FromBool((bool)result);
6540 {
6541 if (temp2)
6542 delete arg2;
6543 }
6544 return resultobj;
6545 fail:
6546 {
6547 if (temp2)
6548 delete arg2;
6549 }
6550 return NULL;
6551 }
6552
6553
6554 static PyObject *_wrap_HtmlWindow_AddFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
6555 PyObject *resultobj;
6556 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
6557 PyObject * obj0 = 0 ;
6558 char *kwnames[] = {
6559 (char *) "filter", NULL
6560 };
6561
6562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_AddFilter",kwnames,&obj0)) goto fail;
6563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlFilter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6564 {
6565 PyThreadState* __tstate = wxPyBeginAllowThreads();
6566 wxPyHtmlWindow::AddFilter(arg1);
6567
6568 wxPyEndAllowThreads(__tstate);
6569 if (PyErr_Occurred()) SWIG_fail;
6570 }
6571 Py_INCREF(Py_None); resultobj = Py_None;
6572 return resultobj;
6573 fail:
6574 return NULL;
6575 }
6576
6577
6578 static PyObject *_wrap_HtmlWindow_base_OnLinkClicked(PyObject *self, PyObject *args, PyObject *kwargs) {
6579 PyObject *resultobj;
6580 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6581 wxHtmlLinkInfo *arg2 = 0 ;
6582 PyObject * obj0 = 0 ;
6583 PyObject * obj1 = 0 ;
6584 char *kwnames[] = {
6585 (char *) "self",(char *) "link", NULL
6586 };
6587
6588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnLinkClicked",kwnames,&obj0,&obj1)) goto fail;
6589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6590 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6591 if (arg2 == NULL) {
6592 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6593 }
6594 {
6595 PyThreadState* __tstate = wxPyBeginAllowThreads();
6596 (arg1)->base_OnLinkClicked((wxHtmlLinkInfo const &)*arg2);
6597
6598 wxPyEndAllowThreads(__tstate);
6599 if (PyErr_Occurred()) SWIG_fail;
6600 }
6601 Py_INCREF(Py_None); resultobj = Py_None;
6602 return resultobj;
6603 fail:
6604 return NULL;
6605 }
6606
6607
6608 static PyObject *_wrap_HtmlWindow_base_OnSetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
6609 PyObject *resultobj;
6610 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6611 wxString *arg2 = 0 ;
6612 bool temp2 = False ;
6613 PyObject * obj0 = 0 ;
6614 PyObject * obj1 = 0 ;
6615 char *kwnames[] = {
6616 (char *) "self",(char *) "title", NULL
6617 };
6618
6619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnSetTitle",kwnames,&obj0,&obj1)) goto fail;
6620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6621 {
6622 arg2 = wxString_in_helper(obj1);
6623 if (arg2 == NULL) SWIG_fail;
6624 temp2 = True;
6625 }
6626 {
6627 PyThreadState* __tstate = wxPyBeginAllowThreads();
6628 (arg1)->base_OnSetTitle((wxString const &)*arg2);
6629
6630 wxPyEndAllowThreads(__tstate);
6631 if (PyErr_Occurred()) SWIG_fail;
6632 }
6633 Py_INCREF(Py_None); resultobj = Py_None;
6634 {
6635 if (temp2)
6636 delete arg2;
6637 }
6638 return resultobj;
6639 fail:
6640 {
6641 if (temp2)
6642 delete arg2;
6643 }
6644 return NULL;
6645 }
6646
6647
6648 static PyObject *_wrap_HtmlWindow_base_OnCellMouseHover(PyObject *self, PyObject *args, PyObject *kwargs) {
6649 PyObject *resultobj;
6650 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6651 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
6652 int arg3 ;
6653 int arg4 ;
6654 PyObject * obj0 = 0 ;
6655 PyObject * obj1 = 0 ;
6656 PyObject * obj2 = 0 ;
6657 PyObject * obj3 = 0 ;
6658 char *kwnames[] = {
6659 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
6660 };
6661
6662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_base_OnCellMouseHover",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6664 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6665 {
6666 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6667 if (PyErr_Occurred()) SWIG_fail;
6668 }
6669 {
6670 arg4 = (int) SWIG_PyObj_AsInt(obj3);
6671 if (PyErr_Occurred()) SWIG_fail;
6672 }
6673 {
6674 PyThreadState* __tstate = wxPyBeginAllowThreads();
6675 (arg1)->base_OnCellMouseHover(arg2,arg3,arg4);
6676
6677 wxPyEndAllowThreads(__tstate);
6678 if (PyErr_Occurred()) SWIG_fail;
6679 }
6680 Py_INCREF(Py_None); resultobj = Py_None;
6681 return resultobj;
6682 fail:
6683 return NULL;
6684 }
6685
6686
6687 static PyObject *_wrap_HtmlWindow_base_OnCellClicked(PyObject *self, PyObject *args, PyObject *kwargs) {
6688 PyObject *resultobj;
6689 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6690 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
6691 int arg3 ;
6692 int arg4 ;
6693 wxMouseEvent *arg5 = 0 ;
6694 PyObject * obj0 = 0 ;
6695 PyObject * obj1 = 0 ;
6696 PyObject * obj2 = 0 ;
6697 PyObject * obj3 = 0 ;
6698 PyObject * obj4 = 0 ;
6699 char *kwnames[] = {
6700 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
6701 };
6702
6703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlWindow_base_OnCellClicked",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6705 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6706 {
6707 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6708 if (PyErr_Occurred()) SWIG_fail;
6709 }
6710 {
6711 arg4 = (int) SWIG_PyObj_AsInt(obj3);
6712 if (PyErr_Occurred()) SWIG_fail;
6713 }
6714 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6715 if (arg5 == NULL) {
6716 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6717 }
6718 {
6719 PyThreadState* __tstate = wxPyBeginAllowThreads();
6720 (arg1)->base_OnCellClicked(arg2,arg3,arg4,(wxMouseEvent const &)*arg5);
6721
6722 wxPyEndAllowThreads(__tstate);
6723 if (PyErr_Occurred()) SWIG_fail;
6724 }
6725 Py_INCREF(Py_None); resultobj = Py_None;
6726 return resultobj;
6727 fail:
6728 return NULL;
6729 }
6730
6731
6732 static PyObject * HtmlWindow_swigregister(PyObject *self, PyObject *args) {
6733 PyObject *obj;
6734 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6735 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWindow, obj);
6736 Py_INCREF(obj);
6737 return Py_BuildValue((char *)"");
6738 }
6739 static PyObject *_wrap_new_HtmlDCRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
6740 PyObject *resultobj;
6741 wxHtmlDCRenderer *result;
6742 char *kwnames[] = {
6743 NULL
6744 };
6745
6746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlDCRenderer",kwnames)) goto fail;
6747 {
6748 PyThreadState* __tstate = wxPyBeginAllowThreads();
6749 result = (wxHtmlDCRenderer *)new wxHtmlDCRenderer();
6750
6751 wxPyEndAllowThreads(__tstate);
6752 if (PyErr_Occurred()) SWIG_fail;
6753 }
6754 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlDCRenderer, 1);
6755 return resultobj;
6756 fail:
6757 return NULL;
6758 }
6759
6760
6761 static PyObject *_wrap_delete_HtmlDCRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
6762 PyObject *resultobj;
6763 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
6764 PyObject * obj0 = 0 ;
6765 char *kwnames[] = {
6766 (char *) "self", NULL
6767 };
6768
6769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlDCRenderer",kwnames,&obj0)) goto fail;
6770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6771 {
6772 PyThreadState* __tstate = wxPyBeginAllowThreads();
6773 delete arg1;
6774
6775 wxPyEndAllowThreads(__tstate);
6776 if (PyErr_Occurred()) SWIG_fail;
6777 }
6778 Py_INCREF(Py_None); resultobj = Py_None;
6779 return resultobj;
6780 fail:
6781 return NULL;
6782 }
6783
6784
6785 static PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
6786 PyObject *resultobj;
6787 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
6788 wxDC *arg2 = (wxDC *) 0 ;
6789 int arg3 ;
6790 PyObject * obj0 = 0 ;
6791 PyObject * obj1 = 0 ;
6792 PyObject * obj2 = 0 ;
6793 char *kwnames[] = {
6794 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
6795 };
6796
6797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames,&obj0,&obj1,&obj2)) goto fail;
6798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6799 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6800 {
6801 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6802 if (PyErr_Occurred()) SWIG_fail;
6803 }
6804 {
6805 PyThreadState* __tstate = wxPyBeginAllowThreads();
6806 (arg1)->SetDC(arg2,arg3);
6807
6808 wxPyEndAllowThreads(__tstate);
6809 if (PyErr_Occurred()) SWIG_fail;
6810 }
6811 Py_INCREF(Py_None); resultobj = Py_None;
6812 return resultobj;
6813 fail:
6814 return NULL;
6815 }
6816
6817
6818 static PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6819 PyObject *resultobj;
6820 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
6821 int arg2 ;
6822 int arg3 ;
6823 PyObject * obj0 = 0 ;
6824 PyObject * obj1 = 0 ;
6825 PyObject * obj2 = 0 ;
6826 char *kwnames[] = {
6827 (char *) "self",(char *) "width",(char *) "height", NULL
6828 };
6829
6830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
6831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6832 {
6833 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6834 if (PyErr_Occurred()) SWIG_fail;
6835 }
6836 {
6837 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6838 if (PyErr_Occurred()) SWIG_fail;
6839 }
6840 {
6841 PyThreadState* __tstate = wxPyBeginAllowThreads();
6842 (arg1)->SetSize(arg2,arg3);
6843
6844 wxPyEndAllowThreads(__tstate);
6845 if (PyErr_Occurred()) SWIG_fail;
6846 }
6847 Py_INCREF(Py_None); resultobj = Py_None;
6848 return resultobj;
6849 fail:
6850 return NULL;
6851 }
6852
6853
6854 static PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *self, PyObject *args, PyObject *kwargs) {
6855 PyObject *resultobj;
6856 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
6857 wxString *arg2 = 0 ;
6858 wxString const &arg3_defvalue = wxPyEmptyString ;
6859 wxString *arg3 = (wxString *) &arg3_defvalue ;
6860 bool arg4 = (bool) True ;
6861 bool temp2 = False ;
6862 bool temp3 = False ;
6863 PyObject * obj0 = 0 ;
6864 PyObject * obj1 = 0 ;
6865 PyObject * obj2 = 0 ;
6866 PyObject * obj3 = 0 ;
6867 char *kwnames[] = {
6868 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
6869 };
6870
6871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6873 {
6874 arg2 = wxString_in_helper(obj1);
6875 if (arg2 == NULL) SWIG_fail;
6876 temp2 = True;
6877 }
6878 if (obj2) {
6879 {
6880 arg3 = wxString_in_helper(obj2);
6881 if (arg3 == NULL) SWIG_fail;
6882 temp3 = True;
6883 }
6884 }
6885 if (obj3) {
6886 {
6887 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
6888 if (PyErr_Occurred()) SWIG_fail;
6889 }
6890 }
6891 {
6892 PyThreadState* __tstate = wxPyBeginAllowThreads();
6893 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
6894
6895 wxPyEndAllowThreads(__tstate);
6896 if (PyErr_Occurred()) SWIG_fail;
6897 }
6898 Py_INCREF(Py_None); resultobj = Py_None;
6899 {
6900 if (temp2)
6901 delete arg2;
6902 }
6903 {
6904 if (temp3)
6905 delete arg3;
6906 }
6907 return resultobj;
6908 fail:
6909 {
6910 if (temp2)
6911 delete arg2;
6912 }
6913 {
6914 if (temp3)
6915 delete arg3;
6916 }
6917 return NULL;
6918 }
6919
6920
6921 static PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
6922 PyObject *resultobj;
6923 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
6924 wxString arg2 ;
6925 wxString arg3 ;
6926 PyObject *arg4 = (PyObject *) NULL ;
6927 PyObject * obj0 = 0 ;
6928 PyObject * obj1 = 0 ;
6929 PyObject * obj2 = 0 ;
6930 PyObject * obj3 = 0 ;
6931 char *kwnames[] = {
6932 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
6933 };
6934
6935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6937 {
6938 wxString* sptr = wxString_in_helper(obj1);
6939 if (sptr == NULL) SWIG_fail;
6940 arg2 = *sptr;
6941 delete sptr;
6942 }
6943 {
6944 wxString* sptr = wxString_in_helper(obj2);
6945 if (sptr == NULL) SWIG_fail;
6946 arg3 = *sptr;
6947 delete sptr;
6948 }
6949 if (obj3) {
6950 arg4 = obj3;
6951 }
6952 {
6953 PyThreadState* __tstate = wxPyBeginAllowThreads();
6954 wxHtmlDCRenderer_SetFonts(arg1,arg2,arg3,arg4);
6955
6956 wxPyEndAllowThreads(__tstate);
6957 if (PyErr_Occurred()) SWIG_fail;
6958 }
6959 Py_INCREF(Py_None); resultobj = Py_None;
6960 return resultobj;
6961 fail:
6962 return NULL;
6963 }
6964
6965
6966 static PyObject *_wrap_HtmlDCRenderer_Render(PyObject *self, PyObject *args, PyObject *kwargs) {
6967 PyObject *resultobj;
6968 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
6969 int arg2 ;
6970 int arg3 ;
6971 int arg4 = (int) 0 ;
6972 int arg5 = (int) False ;
6973 int arg6 = (int) INT_MAX ;
6974 int *arg7 = (int *) NULL ;
6975 int arg8 = (int) 0 ;
6976 int result;
6977 PyObject * obj0 = 0 ;
6978 PyObject * obj1 = 0 ;
6979 PyObject * obj2 = 0 ;
6980 PyObject * obj3 = 0 ;
6981 PyObject * obj4 = 0 ;
6982 PyObject * obj5 = 0 ;
6983 PyObject * obj6 = 0 ;
6984 PyObject * obj7 = 0 ;
6985 char *kwnames[] = {
6986 (char *) "self",(char *) "x",(char *) "y",(char *) "from",(char *) "dont_render",(char *) "to",(char *) "choices",(char *) "LCOUNT", NULL
6987 };
6988
6989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:HtmlDCRenderer_Render",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6991 {
6992 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6993 if (PyErr_Occurred()) SWIG_fail;
6994 }
6995 {
6996 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6997 if (PyErr_Occurred()) SWIG_fail;
6998 }
6999 if (obj3) {
7000 {
7001 arg4 = (int) SWIG_PyObj_AsInt(obj3);
7002 if (PyErr_Occurred()) SWIG_fail;
7003 }
7004 }
7005 if (obj4) {
7006 {
7007 arg5 = (int) SWIG_PyObj_AsInt(obj4);
7008 if (PyErr_Occurred()) SWIG_fail;
7009 }
7010 }
7011 if (obj5) {
7012 {
7013 arg6 = (int) SWIG_PyObj_AsInt(obj5);
7014 if (PyErr_Occurred()) SWIG_fail;
7015 }
7016 }
7017 if (obj6) {
7018 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7019 }
7020 if (obj7) {
7021 {
7022 arg8 = (int) SWIG_PyObj_AsInt(obj7);
7023 if (PyErr_Occurred()) SWIG_fail;
7024 }
7025 }
7026 {
7027 PyThreadState* __tstate = wxPyBeginAllowThreads();
7028 result = (int)(arg1)->Render(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
7029
7030 wxPyEndAllowThreads(__tstate);
7031 if (PyErr_Occurred()) SWIG_fail;
7032 }
7033 resultobj = SWIG_PyObj_FromInt((int)result);
7034 return resultobj;
7035 fail:
7036 return NULL;
7037 }
7038
7039
7040 static PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
7041 PyObject *resultobj;
7042 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7043 int result;
7044 PyObject * obj0 = 0 ;
7045 char *kwnames[] = {
7046 (char *) "self", NULL
7047 };
7048
7049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlDCRenderer_GetTotalHeight",kwnames,&obj0)) goto fail;
7050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7051 {
7052 PyThreadState* __tstate = wxPyBeginAllowThreads();
7053 result = (int)(arg1)->GetTotalHeight();
7054
7055 wxPyEndAllowThreads(__tstate);
7056 if (PyErr_Occurred()) SWIG_fail;
7057 }
7058 resultobj = SWIG_PyObj_FromInt((int)result);
7059 return resultobj;
7060 fail:
7061 return NULL;
7062 }
7063
7064
7065 static PyObject * HtmlDCRenderer_swigregister(PyObject *self, PyObject *args) {
7066 PyObject *obj;
7067 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7068 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlDCRenderer, obj);
7069 Py_INCREF(obj);
7070 return Py_BuildValue((char *)"");
7071 }
7072 static PyObject *_wrap_new_HtmlPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
7073 PyObject *resultobj;
7074 wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ;
7075 wxString *arg1 = (wxString *) &arg1_defvalue ;
7076 wxHtmlPrintout *result;
7077 bool temp1 = False ;
7078 PyObject * obj0 = 0 ;
7079 char *kwnames[] = {
7080 (char *) "title", NULL
7081 };
7082
7083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlPrintout",kwnames,&obj0)) goto fail;
7084 if (obj0) {
7085 {
7086 arg1 = wxString_in_helper(obj0);
7087 if (arg1 == NULL) SWIG_fail;
7088 temp1 = True;
7089 }
7090 }
7091 {
7092 PyThreadState* __tstate = wxPyBeginAllowThreads();
7093 result = (wxHtmlPrintout *)new wxHtmlPrintout((wxString const &)*arg1);
7094
7095 wxPyEndAllowThreads(__tstate);
7096 if (PyErr_Occurred()) SWIG_fail;
7097 }
7098 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlPrintout, 1);
7099 {
7100 if (temp1)
7101 delete arg1;
7102 }
7103 return resultobj;
7104 fail:
7105 {
7106 if (temp1)
7107 delete arg1;
7108 }
7109 return NULL;
7110 }
7111
7112
7113 static PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *self, PyObject *args, PyObject *kwargs) {
7114 PyObject *resultobj;
7115 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7116 wxString *arg2 = 0 ;
7117 wxString const &arg3_defvalue = wxPyEmptyString ;
7118 wxString *arg3 = (wxString *) &arg3_defvalue ;
7119 bool arg4 = (bool) True ;
7120 bool temp2 = False ;
7121 bool temp3 = False ;
7122 PyObject * obj0 = 0 ;
7123 PyObject * obj1 = 0 ;
7124 PyObject * obj2 = 0 ;
7125 PyObject * obj3 = 0 ;
7126 char *kwnames[] = {
7127 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
7128 };
7129
7130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7132 {
7133 arg2 = wxString_in_helper(obj1);
7134 if (arg2 == NULL) SWIG_fail;
7135 temp2 = True;
7136 }
7137 if (obj2) {
7138 {
7139 arg3 = wxString_in_helper(obj2);
7140 if (arg3 == NULL) SWIG_fail;
7141 temp3 = True;
7142 }
7143 }
7144 if (obj3) {
7145 {
7146 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
7147 if (PyErr_Occurred()) SWIG_fail;
7148 }
7149 }
7150 {
7151 PyThreadState* __tstate = wxPyBeginAllowThreads();
7152 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
7153
7154 wxPyEndAllowThreads(__tstate);
7155 if (PyErr_Occurred()) SWIG_fail;
7156 }
7157 Py_INCREF(Py_None); resultobj = Py_None;
7158 {
7159 if (temp2)
7160 delete arg2;
7161 }
7162 {
7163 if (temp3)
7164 delete arg3;
7165 }
7166 return resultobj;
7167 fail:
7168 {
7169 if (temp2)
7170 delete arg2;
7171 }
7172 {
7173 if (temp3)
7174 delete arg3;
7175 }
7176 return NULL;
7177 }
7178
7179
7180 static PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7181 PyObject *resultobj;
7182 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7183 wxString *arg2 = 0 ;
7184 bool temp2 = False ;
7185 PyObject * obj0 = 0 ;
7186 PyObject * obj1 = 0 ;
7187 char *kwnames[] = {
7188 (char *) "self",(char *) "htmlfile", NULL
7189 };
7190
7191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames,&obj0,&obj1)) goto fail;
7192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7193 {
7194 arg2 = wxString_in_helper(obj1);
7195 if (arg2 == NULL) SWIG_fail;
7196 temp2 = True;
7197 }
7198 {
7199 PyThreadState* __tstate = wxPyBeginAllowThreads();
7200 (arg1)->SetHtmlFile((wxString const &)*arg2);
7201
7202 wxPyEndAllowThreads(__tstate);
7203 if (PyErr_Occurred()) SWIG_fail;
7204 }
7205 Py_INCREF(Py_None); resultobj = Py_None;
7206 {
7207 if (temp2)
7208 delete arg2;
7209 }
7210 return resultobj;
7211 fail:
7212 {
7213 if (temp2)
7214 delete arg2;
7215 }
7216 return NULL;
7217 }
7218
7219
7220 static PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *self, PyObject *args, PyObject *kwargs) {
7221 PyObject *resultobj;
7222 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7223 wxString *arg2 = 0 ;
7224 int arg3 = (int) wxPAGE_ALL ;
7225 bool temp2 = False ;
7226 PyObject * obj0 = 0 ;
7227 PyObject * obj1 = 0 ;
7228 PyObject * obj2 = 0 ;
7229 char *kwnames[] = {
7230 (char *) "self",(char *) "header",(char *) "pg", NULL
7231 };
7232
7233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail;
7234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7235 {
7236 arg2 = wxString_in_helper(obj1);
7237 if (arg2 == NULL) SWIG_fail;
7238 temp2 = True;
7239 }
7240 if (obj2) {
7241 {
7242 arg3 = (int) SWIG_PyObj_AsInt(obj2);
7243 if (PyErr_Occurred()) SWIG_fail;
7244 }
7245 }
7246 {
7247 PyThreadState* __tstate = wxPyBeginAllowThreads();
7248 (arg1)->SetHeader((wxString const &)*arg2,arg3);
7249
7250 wxPyEndAllowThreads(__tstate);
7251 if (PyErr_Occurred()) SWIG_fail;
7252 }
7253 Py_INCREF(Py_None); resultobj = Py_None;
7254 {
7255 if (temp2)
7256 delete arg2;
7257 }
7258 return resultobj;
7259 fail:
7260 {
7261 if (temp2)
7262 delete arg2;
7263 }
7264 return NULL;
7265 }
7266
7267
7268 static PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *self, PyObject *args, PyObject *kwargs) {
7269 PyObject *resultobj;
7270 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7271 wxString *arg2 = 0 ;
7272 int arg3 = (int) wxPAGE_ALL ;
7273 bool temp2 = False ;
7274 PyObject * obj0 = 0 ;
7275 PyObject * obj1 = 0 ;
7276 PyObject * obj2 = 0 ;
7277 char *kwnames[] = {
7278 (char *) "self",(char *) "footer",(char *) "pg", NULL
7279 };
7280
7281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail;
7282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7283 {
7284 arg2 = wxString_in_helper(obj1);
7285 if (arg2 == NULL) SWIG_fail;
7286 temp2 = True;
7287 }
7288 if (obj2) {
7289 {
7290 arg3 = (int) SWIG_PyObj_AsInt(obj2);
7291 if (PyErr_Occurred()) SWIG_fail;
7292 }
7293 }
7294 {
7295 PyThreadState* __tstate = wxPyBeginAllowThreads();
7296 (arg1)->SetFooter((wxString const &)*arg2,arg3);
7297
7298 wxPyEndAllowThreads(__tstate);
7299 if (PyErr_Occurred()) SWIG_fail;
7300 }
7301 Py_INCREF(Py_None); resultobj = Py_None;
7302 {
7303 if (temp2)
7304 delete arg2;
7305 }
7306 return resultobj;
7307 fail:
7308 {
7309 if (temp2)
7310 delete arg2;
7311 }
7312 return NULL;
7313 }
7314
7315
7316 static PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
7317 PyObject *resultobj;
7318 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7319 wxString arg2 ;
7320 wxString arg3 ;
7321 PyObject *arg4 = (PyObject *) NULL ;
7322 PyObject * obj0 = 0 ;
7323 PyObject * obj1 = 0 ;
7324 PyObject * obj2 = 0 ;
7325 PyObject * obj3 = 0 ;
7326 char *kwnames[] = {
7327 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
7328 };
7329
7330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7332 {
7333 wxString* sptr = wxString_in_helper(obj1);
7334 if (sptr == NULL) SWIG_fail;
7335 arg2 = *sptr;
7336 delete sptr;
7337 }
7338 {
7339 wxString* sptr = wxString_in_helper(obj2);
7340 if (sptr == NULL) SWIG_fail;
7341 arg3 = *sptr;
7342 delete sptr;
7343 }
7344 if (obj3) {
7345 arg4 = obj3;
7346 }
7347 {
7348 PyThreadState* __tstate = wxPyBeginAllowThreads();
7349 wxHtmlPrintout_SetFonts(arg1,arg2,arg3,arg4);
7350
7351 wxPyEndAllowThreads(__tstate);
7352 if (PyErr_Occurred()) SWIG_fail;
7353 }
7354 Py_INCREF(Py_None); resultobj = Py_None;
7355 return resultobj;
7356 fail:
7357 return NULL;
7358 }
7359
7360
7361 static PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
7362 PyObject *resultobj;
7363 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7364 float arg2 = (float) 25.2 ;
7365 float arg3 = (float) 25.2 ;
7366 float arg4 = (float) 25.2 ;
7367 float arg5 = (float) 25.2 ;
7368 float arg6 = (float) 5 ;
7369 PyObject * obj0 = 0 ;
7370 PyObject * obj1 = 0 ;
7371 PyObject * obj2 = 0 ;
7372 PyObject * obj3 = 0 ;
7373 PyObject * obj4 = 0 ;
7374 PyObject * obj5 = 0 ;
7375 char *kwnames[] = {
7376 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
7377 };
7378
7379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7381 if (obj1) {
7382 {
7383 arg2 = (float) SWIG_PyObj_AsFloat(obj1);
7384 if (PyErr_Occurred()) SWIG_fail;
7385 }
7386 }
7387 if (obj2) {
7388 {
7389 arg3 = (float) SWIG_PyObj_AsFloat(obj2);
7390 if (PyErr_Occurred()) SWIG_fail;
7391 }
7392 }
7393 if (obj3) {
7394 {
7395 arg4 = (float) SWIG_PyObj_AsFloat(obj3);
7396 if (PyErr_Occurred()) SWIG_fail;
7397 }
7398 }
7399 if (obj4) {
7400 {
7401 arg5 = (float) SWIG_PyObj_AsFloat(obj4);
7402 if (PyErr_Occurred()) SWIG_fail;
7403 }
7404 }
7405 if (obj5) {
7406 {
7407 arg6 = (float) SWIG_PyObj_AsFloat(obj5);
7408 if (PyErr_Occurred()) SWIG_fail;
7409 }
7410 }
7411 {
7412 PyThreadState* __tstate = wxPyBeginAllowThreads();
7413 (arg1)->SetMargins(arg2,arg3,arg4,arg5,arg6);
7414
7415 wxPyEndAllowThreads(__tstate);
7416 if (PyErr_Occurred()) SWIG_fail;
7417 }
7418 Py_INCREF(Py_None); resultobj = Py_None;
7419 return resultobj;
7420 fail:
7421 return NULL;
7422 }
7423
7424
7425 static PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
7426 PyObject *resultobj;
7427 wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ;
7428 PyObject * obj0 = 0 ;
7429 char *kwnames[] = {
7430 (char *) "filter", NULL
7431 };
7432
7433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlPrintout_AddFilter",kwnames,&obj0)) goto fail;
7434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlFilter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7435 {
7436 PyThreadState* __tstate = wxPyBeginAllowThreads();
7437 wxHtmlPrintout::AddFilter(arg1);
7438
7439 wxPyEndAllowThreads(__tstate);
7440 if (PyErr_Occurred()) SWIG_fail;
7441 }
7442 Py_INCREF(Py_None); resultobj = Py_None;
7443 return resultobj;
7444 fail:
7445 return NULL;
7446 }
7447
7448
7449 static PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *self, PyObject *args, PyObject *kwargs) {
7450 PyObject *resultobj;
7451 char *kwnames[] = {
7452 NULL
7453 };
7454
7455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HtmlPrintout_CleanUpStatics",kwnames)) goto fail;
7456 {
7457 PyThreadState* __tstate = wxPyBeginAllowThreads();
7458 wxHtmlPrintout::CleanUpStatics();
7459
7460 wxPyEndAllowThreads(__tstate);
7461 if (PyErr_Occurred()) SWIG_fail;
7462 }
7463 Py_INCREF(Py_None); resultobj = Py_None;
7464 return resultobj;
7465 fail:
7466 return NULL;
7467 }
7468
7469
7470 static PyObject * HtmlPrintout_swigregister(PyObject *self, PyObject *args) {
7471 PyObject *obj;
7472 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7473 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlPrintout, obj);
7474 Py_INCREF(obj);
7475 return Py_BuildValue((char *)"");
7476 }
7477 static PyObject *_wrap_new_HtmlEasyPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
7478 PyObject *resultobj;
7479 wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ;
7480 wxString *arg1 = (wxString *) &arg1_defvalue ;
7481 wxWindow *arg2 = (wxWindow *) NULL ;
7482 wxHtmlEasyPrinting *result;
7483 bool temp1 = False ;
7484 PyObject * obj0 = 0 ;
7485 PyObject * obj1 = 0 ;
7486 char *kwnames[] = {
7487 (char *) "name",(char *) "parentWindow", NULL
7488 };
7489
7490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlEasyPrinting",kwnames,&obj0,&obj1)) goto fail;
7491 if (obj0) {
7492 {
7493 arg1 = wxString_in_helper(obj0);
7494 if (arg1 == NULL) SWIG_fail;
7495 temp1 = True;
7496 }
7497 }
7498 if (obj1) {
7499 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7500 }
7501 {
7502 PyThreadState* __tstate = wxPyBeginAllowThreads();
7503 result = (wxHtmlEasyPrinting *)new wxHtmlEasyPrinting((wxString const &)*arg1,arg2);
7504
7505 wxPyEndAllowThreads(__tstate);
7506 if (PyErr_Occurred()) SWIG_fail;
7507 }
7508 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlEasyPrinting, 1);
7509 {
7510 if (temp1)
7511 delete arg1;
7512 }
7513 return resultobj;
7514 fail:
7515 {
7516 if (temp1)
7517 delete arg1;
7518 }
7519 return NULL;
7520 }
7521
7522
7523 static PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
7524 PyObject *resultobj;
7525 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7526 PyObject * obj0 = 0 ;
7527 char *kwnames[] = {
7528 (char *) "self", NULL
7529 };
7530
7531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlEasyPrinting",kwnames,&obj0)) goto fail;
7532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7533 {
7534 PyThreadState* __tstate = wxPyBeginAllowThreads();
7535 delete arg1;
7536
7537 wxPyEndAllowThreads(__tstate);
7538 if (PyErr_Occurred()) SWIG_fail;
7539 }
7540 Py_INCREF(Py_None); resultobj = Py_None;
7541 return resultobj;
7542 fail:
7543 return NULL;
7544 }
7545
7546
7547 static PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7548 PyObject *resultobj;
7549 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7550 wxString *arg2 = 0 ;
7551 bool temp2 = False ;
7552 PyObject * obj0 = 0 ;
7553 PyObject * obj1 = 0 ;
7554 char *kwnames[] = {
7555 (char *) "self",(char *) "htmlfile", NULL
7556 };
7557
7558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames,&obj0,&obj1)) goto fail;
7559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7560 {
7561 arg2 = wxString_in_helper(obj1);
7562 if (arg2 == NULL) SWIG_fail;
7563 temp2 = True;
7564 }
7565 {
7566 PyThreadState* __tstate = wxPyBeginAllowThreads();
7567 (arg1)->PreviewFile((wxString const &)*arg2);
7568
7569 wxPyEndAllowThreads(__tstate);
7570 if (PyErr_Occurred()) SWIG_fail;
7571 }
7572 Py_INCREF(Py_None); resultobj = Py_None;
7573 {
7574 if (temp2)
7575 delete arg2;
7576 }
7577 return resultobj;
7578 fail:
7579 {
7580 if (temp2)
7581 delete arg2;
7582 }
7583 return NULL;
7584 }
7585
7586
7587 static PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *self, PyObject *args, PyObject *kwargs) {
7588 PyObject *resultobj;
7589 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7590 wxString *arg2 = 0 ;
7591 wxString const &arg3_defvalue = wxPyEmptyString ;
7592 wxString *arg3 = (wxString *) &arg3_defvalue ;
7593 bool temp2 = False ;
7594 bool temp3 = False ;
7595 PyObject * obj0 = 0 ;
7596 PyObject * obj1 = 0 ;
7597 PyObject * obj2 = 0 ;
7598 char *kwnames[] = {
7599 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
7600 };
7601
7602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames,&obj0,&obj1,&obj2)) goto fail;
7603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7604 {
7605 arg2 = wxString_in_helper(obj1);
7606 if (arg2 == NULL) SWIG_fail;
7607 temp2 = True;
7608 }
7609 if (obj2) {
7610 {
7611 arg3 = wxString_in_helper(obj2);
7612 if (arg3 == NULL) SWIG_fail;
7613 temp3 = True;
7614 }
7615 }
7616 {
7617 PyThreadState* __tstate = wxPyBeginAllowThreads();
7618 (arg1)->PreviewText((wxString const &)*arg2,(wxString const &)*arg3);
7619
7620 wxPyEndAllowThreads(__tstate);
7621 if (PyErr_Occurred()) SWIG_fail;
7622 }
7623 Py_INCREF(Py_None); resultobj = Py_None;
7624 {
7625 if (temp2)
7626 delete arg2;
7627 }
7628 {
7629 if (temp3)
7630 delete arg3;
7631 }
7632 return resultobj;
7633 fail:
7634 {
7635 if (temp2)
7636 delete arg2;
7637 }
7638 {
7639 if (temp3)
7640 delete arg3;
7641 }
7642 return NULL;
7643 }
7644
7645
7646 static PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7647 PyObject *resultobj;
7648 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7649 wxString *arg2 = 0 ;
7650 bool temp2 = False ;
7651 PyObject * obj0 = 0 ;
7652 PyObject * obj1 = 0 ;
7653 char *kwnames[] = {
7654 (char *) "self",(char *) "htmlfile", NULL
7655 };
7656
7657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames,&obj0,&obj1)) goto fail;
7658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7659 {
7660 arg2 = wxString_in_helper(obj1);
7661 if (arg2 == NULL) SWIG_fail;
7662 temp2 = True;
7663 }
7664 {
7665 PyThreadState* __tstate = wxPyBeginAllowThreads();
7666 (arg1)->PrintFile((wxString const &)*arg2);
7667
7668 wxPyEndAllowThreads(__tstate);
7669 if (PyErr_Occurred()) SWIG_fail;
7670 }
7671 Py_INCREF(Py_None); resultobj = Py_None;
7672 {
7673 if (temp2)
7674 delete arg2;
7675 }
7676 return resultobj;
7677 fail:
7678 {
7679 if (temp2)
7680 delete arg2;
7681 }
7682 return NULL;
7683 }
7684
7685
7686 static PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *self, PyObject *args, PyObject *kwargs) {
7687 PyObject *resultobj;
7688 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7689 wxString *arg2 = 0 ;
7690 wxString const &arg3_defvalue = wxPyEmptyString ;
7691 wxString *arg3 = (wxString *) &arg3_defvalue ;
7692 bool temp2 = False ;
7693 bool temp3 = False ;
7694 PyObject * obj0 = 0 ;
7695 PyObject * obj1 = 0 ;
7696 PyObject * obj2 = 0 ;
7697 char *kwnames[] = {
7698 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
7699 };
7700
7701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames,&obj0,&obj1,&obj2)) goto fail;
7702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7703 {
7704 arg2 = wxString_in_helper(obj1);
7705 if (arg2 == NULL) SWIG_fail;
7706 temp2 = True;
7707 }
7708 if (obj2) {
7709 {
7710 arg3 = wxString_in_helper(obj2);
7711 if (arg3 == NULL) SWIG_fail;
7712 temp3 = True;
7713 }
7714 }
7715 {
7716 PyThreadState* __tstate = wxPyBeginAllowThreads();
7717 (arg1)->PrintText((wxString const &)*arg2,(wxString const &)*arg3);
7718
7719 wxPyEndAllowThreads(__tstate);
7720 if (PyErr_Occurred()) SWIG_fail;
7721 }
7722 Py_INCREF(Py_None); resultobj = Py_None;
7723 {
7724 if (temp2)
7725 delete arg2;
7726 }
7727 {
7728 if (temp3)
7729 delete arg3;
7730 }
7731 return resultobj;
7732 fail:
7733 {
7734 if (temp2)
7735 delete arg2;
7736 }
7737 {
7738 if (temp3)
7739 delete arg3;
7740 }
7741 return NULL;
7742 }
7743
7744
7745 static PyObject *_wrap_HtmlEasyPrinting_PrinterSetup(PyObject *self, PyObject *args, PyObject *kwargs) {
7746 PyObject *resultobj;
7747 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7748 PyObject * obj0 = 0 ;
7749 char *kwnames[] = {
7750 (char *) "self", NULL
7751 };
7752
7753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PrinterSetup",kwnames,&obj0)) goto fail;
7754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7755 {
7756 PyThreadState* __tstate = wxPyBeginAllowThreads();
7757 (arg1)->PrinterSetup();
7758
7759 wxPyEndAllowThreads(__tstate);
7760 if (PyErr_Occurred()) SWIG_fail;
7761 }
7762 Py_INCREF(Py_None); resultobj = Py_None;
7763 return resultobj;
7764 fail:
7765 return NULL;
7766 }
7767
7768
7769 static PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *self, PyObject *args, PyObject *kwargs) {
7770 PyObject *resultobj;
7771 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7772 PyObject * obj0 = 0 ;
7773 char *kwnames[] = {
7774 (char *) "self", NULL
7775 };
7776
7777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PageSetup",kwnames,&obj0)) goto fail;
7778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7779 {
7780 PyThreadState* __tstate = wxPyBeginAllowThreads();
7781 (arg1)->PageSetup();
7782
7783 wxPyEndAllowThreads(__tstate);
7784 if (PyErr_Occurred()) SWIG_fail;
7785 }
7786 Py_INCREF(Py_None); resultobj = Py_None;
7787 return resultobj;
7788 fail:
7789 return NULL;
7790 }
7791
7792
7793 static PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *self, PyObject *args, PyObject *kwargs) {
7794 PyObject *resultobj;
7795 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7796 wxString *arg2 = 0 ;
7797 int arg3 = (int) wxPAGE_ALL ;
7798 bool temp2 = False ;
7799 PyObject * obj0 = 0 ;
7800 PyObject * obj1 = 0 ;
7801 PyObject * obj2 = 0 ;
7802 char *kwnames[] = {
7803 (char *) "self",(char *) "header",(char *) "pg", NULL
7804 };
7805
7806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail;
7807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7808 {
7809 arg2 = wxString_in_helper(obj1);
7810 if (arg2 == NULL) SWIG_fail;
7811 temp2 = True;
7812 }
7813 if (obj2) {
7814 {
7815 arg3 = (int) SWIG_PyObj_AsInt(obj2);
7816 if (PyErr_Occurred()) SWIG_fail;
7817 }
7818 }
7819 {
7820 PyThreadState* __tstate = wxPyBeginAllowThreads();
7821 (arg1)->SetHeader((wxString const &)*arg2,arg3);
7822
7823 wxPyEndAllowThreads(__tstate);
7824 if (PyErr_Occurred()) SWIG_fail;
7825 }
7826 Py_INCREF(Py_None); resultobj = Py_None;
7827 {
7828 if (temp2)
7829 delete arg2;
7830 }
7831 return resultobj;
7832 fail:
7833 {
7834 if (temp2)
7835 delete arg2;
7836 }
7837 return NULL;
7838 }
7839
7840
7841 static PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *self, PyObject *args, PyObject *kwargs) {
7842 PyObject *resultobj;
7843 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7844 wxString *arg2 = 0 ;
7845 int arg3 = (int) wxPAGE_ALL ;
7846 bool temp2 = False ;
7847 PyObject * obj0 = 0 ;
7848 PyObject * obj1 = 0 ;
7849 PyObject * obj2 = 0 ;
7850 char *kwnames[] = {
7851 (char *) "self",(char *) "footer",(char *) "pg", NULL
7852 };
7853
7854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail;
7855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7856 {
7857 arg2 = wxString_in_helper(obj1);
7858 if (arg2 == NULL) SWIG_fail;
7859 temp2 = True;
7860 }
7861 if (obj2) {
7862 {
7863 arg3 = (int) SWIG_PyObj_AsInt(obj2);
7864 if (PyErr_Occurred()) SWIG_fail;
7865 }
7866 }
7867 {
7868 PyThreadState* __tstate = wxPyBeginAllowThreads();
7869 (arg1)->SetFooter((wxString const &)*arg2,arg3);
7870
7871 wxPyEndAllowThreads(__tstate);
7872 if (PyErr_Occurred()) SWIG_fail;
7873 }
7874 Py_INCREF(Py_None); resultobj = Py_None;
7875 {
7876 if (temp2)
7877 delete arg2;
7878 }
7879 return resultobj;
7880 fail:
7881 {
7882 if (temp2)
7883 delete arg2;
7884 }
7885 return NULL;
7886 }
7887
7888
7889 static PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
7890 PyObject *resultobj;
7891 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7892 wxString arg2 ;
7893 wxString arg3 ;
7894 PyObject *arg4 = (PyObject *) NULL ;
7895 PyObject * obj0 = 0 ;
7896 PyObject * obj1 = 0 ;
7897 PyObject * obj2 = 0 ;
7898 PyObject * obj3 = 0 ;
7899 char *kwnames[] = {
7900 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
7901 };
7902
7903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7905 {
7906 wxString* sptr = wxString_in_helper(obj1);
7907 if (sptr == NULL) SWIG_fail;
7908 arg2 = *sptr;
7909 delete sptr;
7910 }
7911 {
7912 wxString* sptr = wxString_in_helper(obj2);
7913 if (sptr == NULL) SWIG_fail;
7914 arg3 = *sptr;
7915 delete sptr;
7916 }
7917 if (obj3) {
7918 arg4 = obj3;
7919 }
7920 {
7921 PyThreadState* __tstate = wxPyBeginAllowThreads();
7922 wxHtmlEasyPrinting_SetFonts(arg1,arg2,arg3,arg4);
7923
7924 wxPyEndAllowThreads(__tstate);
7925 if (PyErr_Occurred()) SWIG_fail;
7926 }
7927 Py_INCREF(Py_None); resultobj = Py_None;
7928 return resultobj;
7929 fail:
7930 return NULL;
7931 }
7932
7933
7934 static PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
7935 PyObject *resultobj;
7936 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7937 wxPrintData *result;
7938 PyObject * obj0 = 0 ;
7939 char *kwnames[] = {
7940 (char *) "self", NULL
7941 };
7942
7943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPrintData",kwnames,&obj0)) goto fail;
7944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7945 {
7946 PyThreadState* __tstate = wxPyBeginAllowThreads();
7947 result = (wxPrintData *)(arg1)->GetPrintData();
7948
7949 wxPyEndAllowThreads(__tstate);
7950 if (PyErr_Occurred()) SWIG_fail;
7951 }
7952 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
7953 return resultobj;
7954 fail:
7955 return NULL;
7956 }
7957
7958
7959 static PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
7960 PyObject *resultobj;
7961 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7962 wxPageSetupDialogData *result;
7963 PyObject * obj0 = 0 ;
7964 char *kwnames[] = {
7965 (char *) "self", NULL
7966 };
7967
7968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPageSetupData",kwnames,&obj0)) goto fail;
7969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7970 {
7971 PyThreadState* __tstate = wxPyBeginAllowThreads();
7972 result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData();
7973
7974 wxPyEndAllowThreads(__tstate);
7975 if (PyErr_Occurred()) SWIG_fail;
7976 }
7977 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 0);
7978 return resultobj;
7979 fail:
7980 return NULL;
7981 }
7982
7983
7984 static PyObject * HtmlEasyPrinting_swigregister(PyObject *self, PyObject *args) {
7985 PyObject *obj;
7986 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7987 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlEasyPrinting, obj);
7988 Py_INCREF(obj);
7989 return Py_BuildValue((char *)"");
7990 }
7991 static PyObject *_wrap_new_HtmlBookRecord(PyObject *self, PyObject *args, PyObject *kwargs) {
7992 PyObject *resultobj;
7993 wxString *arg1 = 0 ;
7994 wxString *arg2 = 0 ;
7995 wxString *arg3 = 0 ;
7996 wxString *arg4 = 0 ;
7997 wxHtmlBookRecord *result;
7998 bool temp1 = False ;
7999 bool temp2 = False ;
8000 bool temp3 = False ;
8001 bool temp4 = False ;
8002 PyObject * obj0 = 0 ;
8003 PyObject * obj1 = 0 ;
8004 PyObject * obj2 = 0 ;
8005 PyObject * obj3 = 0 ;
8006 char *kwnames[] = {
8007 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
8008 };
8009
8010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_HtmlBookRecord",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8011 {
8012 arg1 = wxString_in_helper(obj0);
8013 if (arg1 == NULL) SWIG_fail;
8014 temp1 = True;
8015 }
8016 {
8017 arg2 = wxString_in_helper(obj1);
8018 if (arg2 == NULL) SWIG_fail;
8019 temp2 = True;
8020 }
8021 {
8022 arg3 = wxString_in_helper(obj2);
8023 if (arg3 == NULL) SWIG_fail;
8024 temp3 = True;
8025 }
8026 {
8027 arg4 = wxString_in_helper(obj3);
8028 if (arg4 == NULL) SWIG_fail;
8029 temp4 = True;
8030 }
8031 {
8032 PyThreadState* __tstate = wxPyBeginAllowThreads();
8033 result = (wxHtmlBookRecord *)new wxHtmlBookRecord((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
8034
8035 wxPyEndAllowThreads(__tstate);
8036 if (PyErr_Occurred()) SWIG_fail;
8037 }
8038 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlBookRecord, 1);
8039 {
8040 if (temp1)
8041 delete arg1;
8042 }
8043 {
8044 if (temp2)
8045 delete arg2;
8046 }
8047 {
8048 if (temp3)
8049 delete arg3;
8050 }
8051 {
8052 if (temp4)
8053 delete arg4;
8054 }
8055 return resultobj;
8056 fail:
8057 {
8058 if (temp1)
8059 delete arg1;
8060 }
8061 {
8062 if (temp2)
8063 delete arg2;
8064 }
8065 {
8066 if (temp3)
8067 delete arg3;
8068 }
8069 {
8070 if (temp4)
8071 delete arg4;
8072 }
8073 return NULL;
8074 }
8075
8076
8077 static PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8078 PyObject *resultobj;
8079 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8080 wxString result;
8081 PyObject * obj0 = 0 ;
8082 char *kwnames[] = {
8083 (char *) "self", NULL
8084 };
8085
8086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBookFile",kwnames,&obj0)) goto fail;
8087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8088 {
8089 PyThreadState* __tstate = wxPyBeginAllowThreads();
8090 result = (arg1)->GetBookFile();
8091
8092 wxPyEndAllowThreads(__tstate);
8093 if (PyErr_Occurred()) SWIG_fail;
8094 }
8095 {
8096 #if wxUSE_UNICODE
8097 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8098 #else
8099 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8100 #endif
8101 }
8102 return resultobj;
8103 fail:
8104 return NULL;
8105 }
8106
8107
8108 static PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
8109 PyObject *resultobj;
8110 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8111 wxString result;
8112 PyObject * obj0 = 0 ;
8113 char *kwnames[] = {
8114 (char *) "self", NULL
8115 };
8116
8117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetTitle",kwnames,&obj0)) goto fail;
8118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8119 {
8120 PyThreadState* __tstate = wxPyBeginAllowThreads();
8121 result = (arg1)->GetTitle();
8122
8123 wxPyEndAllowThreads(__tstate);
8124 if (PyErr_Occurred()) SWIG_fail;
8125 }
8126 {
8127 #if wxUSE_UNICODE
8128 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8129 #else
8130 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8131 #endif
8132 }
8133 return resultobj;
8134 fail:
8135 return NULL;
8136 }
8137
8138
8139 static PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *self, PyObject *args, PyObject *kwargs) {
8140 PyObject *resultobj;
8141 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8142 wxString result;
8143 PyObject * obj0 = 0 ;
8144 char *kwnames[] = {
8145 (char *) "self", NULL
8146 };
8147
8148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetStart",kwnames,&obj0)) goto fail;
8149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8150 {
8151 PyThreadState* __tstate = wxPyBeginAllowThreads();
8152 result = (arg1)->GetStart();
8153
8154 wxPyEndAllowThreads(__tstate);
8155 if (PyErr_Occurred()) SWIG_fail;
8156 }
8157 {
8158 #if wxUSE_UNICODE
8159 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8160 #else
8161 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8162 #endif
8163 }
8164 return resultobj;
8165 fail:
8166 return NULL;
8167 }
8168
8169
8170 static PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *self, PyObject *args, PyObject *kwargs) {
8171 PyObject *resultobj;
8172 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8173 wxString result;
8174 PyObject * obj0 = 0 ;
8175 char *kwnames[] = {
8176 (char *) "self", NULL
8177 };
8178
8179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBasePath",kwnames,&obj0)) goto fail;
8180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8181 {
8182 PyThreadState* __tstate = wxPyBeginAllowThreads();
8183 result = (arg1)->GetBasePath();
8184
8185 wxPyEndAllowThreads(__tstate);
8186 if (PyErr_Occurred()) SWIG_fail;
8187 }
8188 {
8189 #if wxUSE_UNICODE
8190 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8191 #else
8192 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8193 #endif
8194 }
8195 return resultobj;
8196 fail:
8197 return NULL;
8198 }
8199
8200
8201 static PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8202 PyObject *resultobj;
8203 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8204 int arg2 ;
8205 int arg3 ;
8206 PyObject * obj0 = 0 ;
8207 PyObject * obj1 = 0 ;
8208 PyObject * obj2 = 0 ;
8209 char *kwnames[] = {
8210 (char *) "self",(char *) "start",(char *) "end", NULL
8211 };
8212
8213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
8214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8215 {
8216 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8217 if (PyErr_Occurred()) SWIG_fail;
8218 }
8219 {
8220 arg3 = (int) SWIG_PyObj_AsInt(obj2);
8221 if (PyErr_Occurred()) SWIG_fail;
8222 }
8223 {
8224 PyThreadState* __tstate = wxPyBeginAllowThreads();
8225 (arg1)->SetContentsRange(arg2,arg3);
8226
8227 wxPyEndAllowThreads(__tstate);
8228 if (PyErr_Occurred()) SWIG_fail;
8229 }
8230 Py_INCREF(Py_None); resultobj = Py_None;
8231 return resultobj;
8232 fail:
8233 return NULL;
8234 }
8235
8236
8237 static PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *self, PyObject *args, PyObject *kwargs) {
8238 PyObject *resultobj;
8239 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8240 int result;
8241 PyObject * obj0 = 0 ;
8242 char *kwnames[] = {
8243 (char *) "self", NULL
8244 };
8245
8246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsStart",kwnames,&obj0)) goto fail;
8247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8248 {
8249 PyThreadState* __tstate = wxPyBeginAllowThreads();
8250 result = (int)(arg1)->GetContentsStart();
8251
8252 wxPyEndAllowThreads(__tstate);
8253 if (PyErr_Occurred()) SWIG_fail;
8254 }
8255 resultobj = SWIG_PyObj_FromInt((int)result);
8256 return resultobj;
8257 fail:
8258 return NULL;
8259 }
8260
8261
8262 static PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
8263 PyObject *resultobj;
8264 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8265 int result;
8266 PyObject * obj0 = 0 ;
8267 char *kwnames[] = {
8268 (char *) "self", NULL
8269 };
8270
8271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsEnd",kwnames,&obj0)) goto fail;
8272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8273 {
8274 PyThreadState* __tstate = wxPyBeginAllowThreads();
8275 result = (int)(arg1)->GetContentsEnd();
8276
8277 wxPyEndAllowThreads(__tstate);
8278 if (PyErr_Occurred()) SWIG_fail;
8279 }
8280 resultobj = SWIG_PyObj_FromInt((int)result);
8281 return resultobj;
8282 fail:
8283 return NULL;
8284 }
8285
8286
8287 static PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
8288 PyObject *resultobj;
8289 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8290 wxString *arg2 = 0 ;
8291 bool temp2 = False ;
8292 PyObject * obj0 = 0 ;
8293 PyObject * obj1 = 0 ;
8294 char *kwnames[] = {
8295 (char *) "self",(char *) "title", NULL
8296 };
8297
8298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetTitle",kwnames,&obj0,&obj1)) goto fail;
8299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8300 {
8301 arg2 = wxString_in_helper(obj1);
8302 if (arg2 == NULL) SWIG_fail;
8303 temp2 = True;
8304 }
8305 {
8306 PyThreadState* __tstate = wxPyBeginAllowThreads();
8307 (arg1)->SetTitle((wxString const &)*arg2);
8308
8309 wxPyEndAllowThreads(__tstate);
8310 if (PyErr_Occurred()) SWIG_fail;
8311 }
8312 Py_INCREF(Py_None); resultobj = Py_None;
8313 {
8314 if (temp2)
8315 delete arg2;
8316 }
8317 return resultobj;
8318 fail:
8319 {
8320 if (temp2)
8321 delete arg2;
8322 }
8323 return NULL;
8324 }
8325
8326
8327 static PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *self, PyObject *args, PyObject *kwargs) {
8328 PyObject *resultobj;
8329 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8330 wxString *arg2 = 0 ;
8331 bool temp2 = False ;
8332 PyObject * obj0 = 0 ;
8333 PyObject * obj1 = 0 ;
8334 char *kwnames[] = {
8335 (char *) "self",(char *) "path", NULL
8336 };
8337
8338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames,&obj0,&obj1)) goto fail;
8339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8340 {
8341 arg2 = wxString_in_helper(obj1);
8342 if (arg2 == NULL) SWIG_fail;
8343 temp2 = True;
8344 }
8345 {
8346 PyThreadState* __tstate = wxPyBeginAllowThreads();
8347 (arg1)->SetBasePath((wxString const &)*arg2);
8348
8349 wxPyEndAllowThreads(__tstate);
8350 if (PyErr_Occurred()) SWIG_fail;
8351 }
8352 Py_INCREF(Py_None); resultobj = Py_None;
8353 {
8354 if (temp2)
8355 delete arg2;
8356 }
8357 return resultobj;
8358 fail:
8359 {
8360 if (temp2)
8361 delete arg2;
8362 }
8363 return NULL;
8364 }
8365
8366
8367 static PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *self, PyObject *args, PyObject *kwargs) {
8368 PyObject *resultobj;
8369 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8370 wxString *arg2 = 0 ;
8371 bool temp2 = False ;
8372 PyObject * obj0 = 0 ;
8373 PyObject * obj1 = 0 ;
8374 char *kwnames[] = {
8375 (char *) "self",(char *) "start", NULL
8376 };
8377
8378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetStart",kwnames,&obj0,&obj1)) goto fail;
8379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8380 {
8381 arg2 = wxString_in_helper(obj1);
8382 if (arg2 == NULL) SWIG_fail;
8383 temp2 = True;
8384 }
8385 {
8386 PyThreadState* __tstate = wxPyBeginAllowThreads();
8387 (arg1)->SetStart((wxString const &)*arg2);
8388
8389 wxPyEndAllowThreads(__tstate);
8390 if (PyErr_Occurred()) SWIG_fail;
8391 }
8392 Py_INCREF(Py_None); resultobj = Py_None;
8393 {
8394 if (temp2)
8395 delete arg2;
8396 }
8397 return resultobj;
8398 fail:
8399 {
8400 if (temp2)
8401 delete arg2;
8402 }
8403 return NULL;
8404 }
8405
8406
8407 static PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *self, PyObject *args, PyObject *kwargs) {
8408 PyObject *resultobj;
8409 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8410 wxString *arg2 = 0 ;
8411 wxString result;
8412 bool temp2 = False ;
8413 PyObject * obj0 = 0 ;
8414 PyObject * obj1 = 0 ;
8415 char *kwnames[] = {
8416 (char *) "self",(char *) "page", NULL
8417 };
8418
8419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames,&obj0,&obj1)) goto fail;
8420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8421 {
8422 arg2 = wxString_in_helper(obj1);
8423 if (arg2 == NULL) SWIG_fail;
8424 temp2 = True;
8425 }
8426 {
8427 PyThreadState* __tstate = wxPyBeginAllowThreads();
8428 result = ((wxHtmlBookRecord const *)arg1)->GetFullPath((wxString const &)*arg2);
8429
8430 wxPyEndAllowThreads(__tstate);
8431 if (PyErr_Occurred()) SWIG_fail;
8432 }
8433 {
8434 #if wxUSE_UNICODE
8435 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8436 #else
8437 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8438 #endif
8439 }
8440 {
8441 if (temp2)
8442 delete arg2;
8443 }
8444 return resultobj;
8445 fail:
8446 {
8447 if (temp2)
8448 delete arg2;
8449 }
8450 return NULL;
8451 }
8452
8453
8454 static PyObject * HtmlBookRecord_swigregister(PyObject *self, PyObject *args) {
8455 PyObject *obj;
8456 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8457 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlBookRecord, obj);
8458 Py_INCREF(obj);
8459 return Py_BuildValue((char *)"");
8460 }
8461 static PyObject *_wrap_HtmlContentsItem_GetLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
8462 PyObject *resultobj;
8463 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
8464 int result;
8465 PyObject * obj0 = 0 ;
8466 char *kwnames[] = {
8467 (char *) "self", NULL
8468 };
8469
8470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetLevel",kwnames,&obj0)) goto fail;
8471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContentsItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8472 {
8473 PyThreadState* __tstate = wxPyBeginAllowThreads();
8474 result = (int)wxHtmlContentsItem_GetLevel(arg1);
8475
8476 wxPyEndAllowThreads(__tstate);
8477 if (PyErr_Occurred()) SWIG_fail;
8478 }
8479 resultobj = SWIG_PyObj_FromInt((int)result);
8480 return resultobj;
8481 fail:
8482 return NULL;
8483 }
8484
8485
8486 static PyObject *_wrap_HtmlContentsItem_GetID(PyObject *self, PyObject *args, PyObject *kwargs) {
8487 PyObject *resultobj;
8488 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
8489 int result;
8490 PyObject * obj0 = 0 ;
8491 char *kwnames[] = {
8492 (char *) "self", NULL
8493 };
8494
8495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetID",kwnames,&obj0)) goto fail;
8496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContentsItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8497 {
8498 PyThreadState* __tstate = wxPyBeginAllowThreads();
8499 result = (int)wxHtmlContentsItem_GetID(arg1);
8500
8501 wxPyEndAllowThreads(__tstate);
8502 if (PyErr_Occurred()) SWIG_fail;
8503 }
8504 resultobj = SWIG_PyObj_FromInt((int)result);
8505 return resultobj;
8506 fail:
8507 return NULL;
8508 }
8509
8510
8511 static PyObject *_wrap_HtmlContentsItem_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
8512 PyObject *resultobj;
8513 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
8514 wxString result;
8515 PyObject * obj0 = 0 ;
8516 char *kwnames[] = {
8517 (char *) "self", NULL
8518 };
8519
8520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetName",kwnames,&obj0)) goto fail;
8521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContentsItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8522 {
8523 PyThreadState* __tstate = wxPyBeginAllowThreads();
8524 result = wxHtmlContentsItem_GetName(arg1);
8525
8526 wxPyEndAllowThreads(__tstate);
8527 if (PyErr_Occurred()) SWIG_fail;
8528 }
8529 {
8530 #if wxUSE_UNICODE
8531 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8532 #else
8533 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8534 #endif
8535 }
8536 return resultobj;
8537 fail:
8538 return NULL;
8539 }
8540
8541
8542 static PyObject *_wrap_HtmlContentsItem_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
8543 PyObject *resultobj;
8544 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
8545 wxString result;
8546 PyObject * obj0 = 0 ;
8547 char *kwnames[] = {
8548 (char *) "self", NULL
8549 };
8550
8551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetPage",kwnames,&obj0)) goto fail;
8552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContentsItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8553 {
8554 PyThreadState* __tstate = wxPyBeginAllowThreads();
8555 result = wxHtmlContentsItem_GetPage(arg1);
8556
8557 wxPyEndAllowThreads(__tstate);
8558 if (PyErr_Occurred()) SWIG_fail;
8559 }
8560 {
8561 #if wxUSE_UNICODE
8562 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8563 #else
8564 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8565 #endif
8566 }
8567 return resultobj;
8568 fail:
8569 return NULL;
8570 }
8571
8572
8573 static PyObject *_wrap_HtmlContentsItem_GetBook(PyObject *self, PyObject *args, PyObject *kwargs) {
8574 PyObject *resultobj;
8575 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
8576 wxHtmlBookRecord *result;
8577 PyObject * obj0 = 0 ;
8578 char *kwnames[] = {
8579 (char *) "self", NULL
8580 };
8581
8582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetBook",kwnames,&obj0)) goto fail;
8583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContentsItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8584 {
8585 PyThreadState* __tstate = wxPyBeginAllowThreads();
8586 result = (wxHtmlBookRecord *)wxHtmlContentsItem_GetBook(arg1);
8587
8588 wxPyEndAllowThreads(__tstate);
8589 if (PyErr_Occurred()) SWIG_fail;
8590 }
8591 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlBookRecord, 0);
8592 return resultobj;
8593 fail:
8594 return NULL;
8595 }
8596
8597
8598 static PyObject * HtmlContentsItem_swigregister(PyObject *self, PyObject *args) {
8599 PyObject *obj;
8600 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8601 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContentsItem, obj);
8602 Py_INCREF(obj);
8603 return Py_BuildValue((char *)"");
8604 }
8605 static PyObject *_wrap_HtmlSearchStatus_Search(PyObject *self, PyObject *args, PyObject *kwargs) {
8606 PyObject *resultobj;
8607 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
8608 bool result;
8609 PyObject * obj0 = 0 ;
8610 char *kwnames[] = {
8611 (char *) "self", NULL
8612 };
8613
8614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_Search",kwnames,&obj0)) goto fail;
8615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8616 {
8617 PyThreadState* __tstate = wxPyBeginAllowThreads();
8618 result = (bool)(arg1)->Search();
8619
8620 wxPyEndAllowThreads(__tstate);
8621 if (PyErr_Occurred()) SWIG_fail;
8622 }
8623 resultobj = SWIG_PyObj_FromBool((bool)result);
8624 return resultobj;
8625 fail:
8626 return NULL;
8627 }
8628
8629
8630 static PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *self, PyObject *args, PyObject *kwargs) {
8631 PyObject *resultobj;
8632 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
8633 bool result;
8634 PyObject * obj0 = 0 ;
8635 char *kwnames[] = {
8636 (char *) "self", NULL
8637 };
8638
8639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_IsActive",kwnames,&obj0)) goto fail;
8640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8641 {
8642 PyThreadState* __tstate = wxPyBeginAllowThreads();
8643 result = (bool)(arg1)->IsActive();
8644
8645 wxPyEndAllowThreads(__tstate);
8646 if (PyErr_Occurred()) SWIG_fail;
8647 }
8648 resultobj = SWIG_PyObj_FromBool((bool)result);
8649 return resultobj;
8650 fail:
8651 return NULL;
8652 }
8653
8654
8655 static PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
8656 PyObject *resultobj;
8657 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
8658 int result;
8659 PyObject * obj0 = 0 ;
8660 char *kwnames[] = {
8661 (char *) "self", NULL
8662 };
8663
8664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetCurIndex",kwnames,&obj0)) goto fail;
8665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8666 {
8667 PyThreadState* __tstate = wxPyBeginAllowThreads();
8668 result = (int)(arg1)->GetCurIndex();
8669
8670 wxPyEndAllowThreads(__tstate);
8671 if (PyErr_Occurred()) SWIG_fail;
8672 }
8673 resultobj = SWIG_PyObj_FromInt((int)result);
8674 return resultobj;
8675 fail:
8676 return NULL;
8677 }
8678
8679
8680 static PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
8681 PyObject *resultobj;
8682 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
8683 int result;
8684 PyObject * obj0 = 0 ;
8685 char *kwnames[] = {
8686 (char *) "self", NULL
8687 };
8688
8689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetMaxIndex",kwnames,&obj0)) goto fail;
8690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8691 {
8692 PyThreadState* __tstate = wxPyBeginAllowThreads();
8693 result = (int)(arg1)->GetMaxIndex();
8694
8695 wxPyEndAllowThreads(__tstate);
8696 if (PyErr_Occurred()) SWIG_fail;
8697 }
8698 resultobj = SWIG_PyObj_FromInt((int)result);
8699 return resultobj;
8700 fail:
8701 return NULL;
8702 }
8703
8704
8705 static PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
8706 PyObject *resultobj;
8707 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
8708 wxString *result;
8709 PyObject * obj0 = 0 ;
8710 char *kwnames[] = {
8711 (char *) "self", NULL
8712 };
8713
8714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetName",kwnames,&obj0)) goto fail;
8715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8716 {
8717 PyThreadState* __tstate = wxPyBeginAllowThreads();
8718 {
8719 wxString const &_result_ref = (arg1)->GetName();
8720 result = (wxString *) &_result_ref;
8721 }
8722
8723 wxPyEndAllowThreads(__tstate);
8724 if (PyErr_Occurred()) SWIG_fail;
8725 }
8726 {
8727 #if wxUSE_UNICODE
8728 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
8729 #else
8730 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
8731 #endif
8732 }
8733 return resultobj;
8734 fail:
8735 return NULL;
8736 }
8737
8738
8739 static PyObject *_wrap_HtmlSearchStatus_GetContentsItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8740 PyObject *resultobj;
8741 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
8742 wxHtmlContentsItem *result;
8743 PyObject * obj0 = 0 ;
8744 char *kwnames[] = {
8745 (char *) "self", NULL
8746 };
8747
8748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetContentsItem",kwnames,&obj0)) goto fail;
8749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8750 {
8751 PyThreadState* __tstate = wxPyBeginAllowThreads();
8752 result = (wxHtmlContentsItem *)(arg1)->GetContentsItem();
8753
8754 wxPyEndAllowThreads(__tstate);
8755 if (PyErr_Occurred()) SWIG_fail;
8756 }
8757 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContentsItem, 0);
8758 return resultobj;
8759 fail:
8760 return NULL;
8761 }
8762
8763
8764 static PyObject * HtmlSearchStatus_swigregister(PyObject *self, PyObject *args) {
8765 PyObject *obj;
8766 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8767 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSearchStatus, obj);
8768 Py_INCREF(obj);
8769 return Py_BuildValue((char *)"");
8770 }
8771 static PyObject *_wrap_new_HtmlHelpData(PyObject *self, PyObject *args, PyObject *kwargs) {
8772 PyObject *resultobj;
8773 wxHtmlHelpData *result;
8774 char *kwnames[] = {
8775 NULL
8776 };
8777
8778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlHelpData",kwnames)) goto fail;
8779 {
8780 PyThreadState* __tstate = wxPyBeginAllowThreads();
8781 result = (wxHtmlHelpData *)new wxHtmlHelpData();
8782
8783 wxPyEndAllowThreads(__tstate);
8784 if (PyErr_Occurred()) SWIG_fail;
8785 }
8786 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlHelpData, 1);
8787 return resultobj;
8788 fail:
8789 return NULL;
8790 }
8791
8792
8793 static PyObject *_wrap_delete_HtmlHelpData(PyObject *self, PyObject *args, PyObject *kwargs) {
8794 PyObject *resultobj;
8795 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
8796 PyObject * obj0 = 0 ;
8797 char *kwnames[] = {
8798 (char *) "self", NULL
8799 };
8800
8801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpData",kwnames,&obj0)) goto fail;
8802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8803 {
8804 PyThreadState* __tstate = wxPyBeginAllowThreads();
8805 delete arg1;
8806
8807 wxPyEndAllowThreads(__tstate);
8808 if (PyErr_Occurred()) SWIG_fail;
8809 }
8810 Py_INCREF(Py_None); resultobj = Py_None;
8811 return resultobj;
8812 fail:
8813 return NULL;
8814 }
8815
8816
8817 static PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *self, PyObject *args, PyObject *kwargs) {
8818 PyObject *resultobj;
8819 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
8820 wxString *arg2 = 0 ;
8821 bool temp2 = False ;
8822 PyObject * obj0 = 0 ;
8823 PyObject * obj1 = 0 ;
8824 char *kwnames[] = {
8825 (char *) "self",(char *) "path", NULL
8826 };
8827
8828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_SetTempDir",kwnames,&obj0,&obj1)) goto fail;
8829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8830 {
8831 arg2 = wxString_in_helper(obj1);
8832 if (arg2 == NULL) SWIG_fail;
8833 temp2 = True;
8834 }
8835 {
8836 PyThreadState* __tstate = wxPyBeginAllowThreads();
8837 (arg1)->SetTempDir((wxString const &)*arg2);
8838
8839 wxPyEndAllowThreads(__tstate);
8840 if (PyErr_Occurred()) SWIG_fail;
8841 }
8842 Py_INCREF(Py_None); resultobj = Py_None;
8843 {
8844 if (temp2)
8845 delete arg2;
8846 }
8847 return resultobj;
8848 fail:
8849 {
8850 if (temp2)
8851 delete arg2;
8852 }
8853 return NULL;
8854 }
8855
8856
8857 static PyObject *_wrap_HtmlHelpData_AddBook(PyObject *self, PyObject *args, PyObject *kwargs) {
8858 PyObject *resultobj;
8859 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
8860 wxString *arg2 = 0 ;
8861 bool result;
8862 bool temp2 = False ;
8863 PyObject * obj0 = 0 ;
8864 PyObject * obj1 = 0 ;
8865 char *kwnames[] = {
8866 (char *) "self",(char *) "book", NULL
8867 };
8868
8869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_AddBook",kwnames,&obj0,&obj1)) goto fail;
8870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8871 {
8872 arg2 = wxString_in_helper(obj1);
8873 if (arg2 == NULL) SWIG_fail;
8874 temp2 = True;
8875 }
8876 {
8877 PyThreadState* __tstate = wxPyBeginAllowThreads();
8878 result = (bool)(arg1)->AddBook((wxString const &)*arg2);
8879
8880 wxPyEndAllowThreads(__tstate);
8881 if (PyErr_Occurred()) SWIG_fail;
8882 }
8883 resultobj = SWIG_PyObj_FromBool((bool)result);
8884 {
8885 if (temp2)
8886 delete arg2;
8887 }
8888 return resultobj;
8889 fail:
8890 {
8891 if (temp2)
8892 delete arg2;
8893 }
8894 return NULL;
8895 }
8896
8897
8898 static PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *self, PyObject *args, PyObject *kwargs) {
8899 PyObject *resultobj;
8900 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
8901 wxString *arg2 = 0 ;
8902 wxString result;
8903 bool temp2 = False ;
8904 PyObject * obj0 = 0 ;
8905 PyObject * obj1 = 0 ;
8906 char *kwnames[] = {
8907 (char *) "self",(char *) "page", NULL
8908 };
8909
8910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageByName",kwnames,&obj0,&obj1)) goto fail;
8911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8912 {
8913 arg2 = wxString_in_helper(obj1);
8914 if (arg2 == NULL) SWIG_fail;
8915 temp2 = True;
8916 }
8917 {
8918 PyThreadState* __tstate = wxPyBeginAllowThreads();
8919 result = (arg1)->FindPageByName((wxString const &)*arg2);
8920
8921 wxPyEndAllowThreads(__tstate);
8922 if (PyErr_Occurred()) SWIG_fail;
8923 }
8924 {
8925 #if wxUSE_UNICODE
8926 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8927 #else
8928 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8929 #endif
8930 }
8931 {
8932 if (temp2)
8933 delete arg2;
8934 }
8935 return resultobj;
8936 fail:
8937 {
8938 if (temp2)
8939 delete arg2;
8940 }
8941 return NULL;
8942 }
8943
8944
8945 static PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *self, PyObject *args, PyObject *kwargs) {
8946 PyObject *resultobj;
8947 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
8948 int arg2 ;
8949 wxString result;
8950 PyObject * obj0 = 0 ;
8951 PyObject * obj1 = 0 ;
8952 char *kwnames[] = {
8953 (char *) "self",(char *) "id", NULL
8954 };
8955
8956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageById",kwnames,&obj0,&obj1)) goto fail;
8957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8958 {
8959 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8960 if (PyErr_Occurred()) SWIG_fail;
8961 }
8962 {
8963 PyThreadState* __tstate = wxPyBeginAllowThreads();
8964 result = (arg1)->FindPageById(arg2);
8965
8966 wxPyEndAllowThreads(__tstate);
8967 if (PyErr_Occurred()) SWIG_fail;
8968 }
8969 {
8970 #if wxUSE_UNICODE
8971 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8972 #else
8973 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8974 #endif
8975 }
8976 return resultobj;
8977 fail:
8978 return NULL;
8979 }
8980
8981
8982 static PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *self, PyObject *args, PyObject *kwargs) {
8983 PyObject *resultobj;
8984 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
8985 wxHtmlBookRecArray *result;
8986 PyObject * obj0 = 0 ;
8987 char *kwnames[] = {
8988 (char *) "self", NULL
8989 };
8990
8991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetBookRecArray",kwnames,&obj0)) goto fail;
8992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8993 {
8994 PyThreadState* __tstate = wxPyBeginAllowThreads();
8995 {
8996 wxHtmlBookRecArray const &_result_ref = (arg1)->GetBookRecArray();
8997 result = (wxHtmlBookRecArray *) &_result_ref;
8998 }
8999
9000 wxPyEndAllowThreads(__tstate);
9001 if (PyErr_Occurred()) SWIG_fail;
9002 }
9003 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlBookRecArray, 0);
9004 return resultobj;
9005 fail:
9006 return NULL;
9007 }
9008
9009
9010 static PyObject *_wrap_HtmlHelpData_GetContents(PyObject *self, PyObject *args, PyObject *kwargs) {
9011 PyObject *resultobj;
9012 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9013 wxHtmlContentsItem *result;
9014 PyObject * obj0 = 0 ;
9015 char *kwnames[] = {
9016 (char *) "self", NULL
9017 };
9018
9019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContents",kwnames,&obj0)) goto fail;
9020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9021 {
9022 PyThreadState* __tstate = wxPyBeginAllowThreads();
9023 result = (wxHtmlContentsItem *)(arg1)->GetContents();
9024
9025 wxPyEndAllowThreads(__tstate);
9026 if (PyErr_Occurred()) SWIG_fail;
9027 }
9028 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContentsItem, 0);
9029 return resultobj;
9030 fail:
9031 return NULL;
9032 }
9033
9034
9035 static PyObject *_wrap_HtmlHelpData_GetContentsCnt(PyObject *self, PyObject *args, PyObject *kwargs) {
9036 PyObject *resultobj;
9037 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9038 int result;
9039 PyObject * obj0 = 0 ;
9040 char *kwnames[] = {
9041 (char *) "self", NULL
9042 };
9043
9044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContentsCnt",kwnames,&obj0)) goto fail;
9045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9046 {
9047 PyThreadState* __tstate = wxPyBeginAllowThreads();
9048 result = (int)(arg1)->GetContentsCnt();
9049
9050 wxPyEndAllowThreads(__tstate);
9051 if (PyErr_Occurred()) SWIG_fail;
9052 }
9053 resultobj = SWIG_PyObj_FromInt((int)result);
9054 return resultobj;
9055 fail:
9056 return NULL;
9057 }
9058
9059
9060 static PyObject *_wrap_HtmlHelpData_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
9061 PyObject *resultobj;
9062 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9063 wxHtmlContentsItem *result;
9064 PyObject * obj0 = 0 ;
9065 char *kwnames[] = {
9066 (char *) "self", NULL
9067 };
9068
9069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndex",kwnames,&obj0)) goto fail;
9070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9071 {
9072 PyThreadState* __tstate = wxPyBeginAllowThreads();
9073 result = (wxHtmlContentsItem *)(arg1)->GetIndex();
9074
9075 wxPyEndAllowThreads(__tstate);
9076 if (PyErr_Occurred()) SWIG_fail;
9077 }
9078 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContentsItem, 0);
9079 return resultobj;
9080 fail:
9081 return NULL;
9082 }
9083
9084
9085 static PyObject *_wrap_HtmlHelpData_GetIndexCnt(PyObject *self, PyObject *args, PyObject *kwargs) {
9086 PyObject *resultobj;
9087 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9088 int result;
9089 PyObject * obj0 = 0 ;
9090 char *kwnames[] = {
9091 (char *) "self", NULL
9092 };
9093
9094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndexCnt",kwnames,&obj0)) goto fail;
9095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9096 {
9097 PyThreadState* __tstate = wxPyBeginAllowThreads();
9098 result = (int)(arg1)->GetIndexCnt();
9099
9100 wxPyEndAllowThreads(__tstate);
9101 if (PyErr_Occurred()) SWIG_fail;
9102 }
9103 resultobj = SWIG_PyObj_FromInt((int)result);
9104 return resultobj;
9105 fail:
9106 return NULL;
9107 }
9108
9109
9110 static PyObject * HtmlHelpData_swigregister(PyObject *self, PyObject *args) {
9111 PyObject *obj;
9112 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9113 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpData, obj);
9114 Py_INCREF(obj);
9115 return Py_BuildValue((char *)"");
9116 }
9117 static PyObject *_wrap_new_HtmlHelpFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
9118 PyObject *resultobj;
9119 wxWindow *arg1 = (wxWindow *) 0 ;
9120 int arg2 ;
9121 wxString const &arg3_defvalue = wxPyEmptyString ;
9122 wxString *arg3 = (wxString *) &arg3_defvalue ;
9123 int arg4 = (int) wxHF_DEFAULTSTYLE ;
9124 wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ;
9125 wxHtmlHelpFrame *result;
9126 bool temp3 = False ;
9127 PyObject * obj0 = 0 ;
9128 PyObject * obj1 = 0 ;
9129 PyObject * obj2 = 0 ;
9130 PyObject * obj3 = 0 ;
9131 PyObject * obj4 = 0 ;
9132 char *kwnames[] = {
9133 (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL
9134 };
9135
9136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
9137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9138 {
9139 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9140 if (PyErr_Occurred()) SWIG_fail;
9141 }
9142 if (obj2) {
9143 {
9144 arg3 = wxString_in_helper(obj2);
9145 if (arg3 == NULL) SWIG_fail;
9146 temp3 = True;
9147 }
9148 }
9149 if (obj3) {
9150 {
9151 arg4 = (int) SWIG_PyObj_AsInt(obj3);
9152 if (PyErr_Occurred()) SWIG_fail;
9153 }
9154 }
9155 if (obj4) {
9156 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9157 }
9158 {
9159 PyThreadState* __tstate = wxPyBeginAllowThreads();
9160 result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5);
9161
9162 wxPyEndAllowThreads(__tstate);
9163 if (PyErr_Occurred()) SWIG_fail;
9164 }
9165 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlHelpFrame, 1);
9166 {
9167 if (temp3)
9168 delete arg3;
9169 }
9170 return resultobj;
9171 fail:
9172 {
9173 if (temp3)
9174 delete arg3;
9175 }
9176 return NULL;
9177 }
9178
9179
9180 static PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
9181 PyObject *resultobj;
9182 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9183 wxHtmlHelpData *result;
9184 PyObject * obj0 = 0 ;
9185 char *kwnames[] = {
9186 (char *) "self", NULL
9187 };
9188
9189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_GetData",kwnames,&obj0)) goto fail;
9190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9191 {
9192 PyThreadState* __tstate = wxPyBeginAllowThreads();
9193 result = (wxHtmlHelpData *)(arg1)->GetData();
9194
9195 wxPyEndAllowThreads(__tstate);
9196 if (PyErr_Occurred()) SWIG_fail;
9197 }
9198 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlHelpData, 0);
9199 return resultobj;
9200 fail:
9201 return NULL;
9202 }
9203
9204
9205 static PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
9206 PyObject *resultobj;
9207 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9208 wxString *arg2 = 0 ;
9209 bool temp2 = False ;
9210 PyObject * obj0 = 0 ;
9211 PyObject * obj1 = 0 ;
9212 char *kwnames[] = {
9213 (char *) "self",(char *) "format", NULL
9214 };
9215
9216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
9217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9218 {
9219 arg2 = wxString_in_helper(obj1);
9220 if (arg2 == NULL) SWIG_fail;
9221 temp2 = True;
9222 }
9223 {
9224 PyThreadState* __tstate = wxPyBeginAllowThreads();
9225 (arg1)->SetTitleFormat((wxString const &)*arg2);
9226
9227 wxPyEndAllowThreads(__tstate);
9228 if (PyErr_Occurred()) SWIG_fail;
9229 }
9230 Py_INCREF(Py_None); resultobj = Py_None;
9231 {
9232 if (temp2)
9233 delete arg2;
9234 }
9235 return resultobj;
9236 fail:
9237 {
9238 if (temp2)
9239 delete arg2;
9240 }
9241 return NULL;
9242 }
9243
9244
9245 static PyObject *_wrap_HtmlHelpFrame_Display(PyObject *self, PyObject *args, PyObject *kwargs) {
9246 PyObject *resultobj;
9247 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9248 wxString *arg2 = 0 ;
9249 bool temp2 = False ;
9250 PyObject * obj0 = 0 ;
9251 PyObject * obj1 = 0 ;
9252 char *kwnames[] = {
9253 (char *) "self",(char *) "x", NULL
9254 };
9255
9256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_Display",kwnames,&obj0,&obj1)) goto fail;
9257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9258 {
9259 arg2 = wxString_in_helper(obj1);
9260 if (arg2 == NULL) SWIG_fail;
9261 temp2 = True;
9262 }
9263 {
9264 PyThreadState* __tstate = wxPyBeginAllowThreads();
9265 (arg1)->Display((wxString const &)*arg2);
9266
9267 wxPyEndAllowThreads(__tstate);
9268 if (PyErr_Occurred()) SWIG_fail;
9269 }
9270 Py_INCREF(Py_None); resultobj = Py_None;
9271 {
9272 if (temp2)
9273 delete arg2;
9274 }
9275 return resultobj;
9276 fail:
9277 {
9278 if (temp2)
9279 delete arg2;
9280 }
9281 return NULL;
9282 }
9283
9284
9285 static PyObject *_wrap_HtmlHelpFrame_DisplayID(PyObject *self, PyObject *args, PyObject *kwargs) {
9286 PyObject *resultobj;
9287 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9288 int arg2 ;
9289 PyObject * obj0 = 0 ;
9290 PyObject * obj1 = 0 ;
9291 char *kwnames[] = {
9292 (char *) "self",(char *) "id", NULL
9293 };
9294
9295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_DisplayID",kwnames,&obj0,&obj1)) goto fail;
9296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9297 {
9298 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9299 if (PyErr_Occurred()) SWIG_fail;
9300 }
9301 {
9302 PyThreadState* __tstate = wxPyBeginAllowThreads();
9303 (arg1)->Display(arg2);
9304
9305 wxPyEndAllowThreads(__tstate);
9306 if (PyErr_Occurred()) SWIG_fail;
9307 }
9308 Py_INCREF(Py_None); resultobj = Py_None;
9309 return resultobj;
9310 fail:
9311 return NULL;
9312 }
9313
9314
9315 static PyObject *_wrap_HtmlHelpFrame_DisplayContents(PyObject *self, PyObject *args, PyObject *kwargs) {
9316 PyObject *resultobj;
9317 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9318 PyObject * obj0 = 0 ;
9319 char *kwnames[] = {
9320 (char *) "self", NULL
9321 };
9322
9323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayContents",kwnames,&obj0)) goto fail;
9324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9325 {
9326 PyThreadState* __tstate = wxPyBeginAllowThreads();
9327 (arg1)->DisplayContents();
9328
9329 wxPyEndAllowThreads(__tstate);
9330 if (PyErr_Occurred()) SWIG_fail;
9331 }
9332 Py_INCREF(Py_None); resultobj = Py_None;
9333 return resultobj;
9334 fail:
9335 return NULL;
9336 }
9337
9338
9339 static PyObject *_wrap_HtmlHelpFrame_DisplayIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
9340 PyObject *resultobj;
9341 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9342 PyObject * obj0 = 0 ;
9343 char *kwnames[] = {
9344 (char *) "self", NULL
9345 };
9346
9347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayIndex",kwnames,&obj0)) goto fail;
9348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9349 {
9350 PyThreadState* __tstate = wxPyBeginAllowThreads();
9351 (arg1)->DisplayIndex();
9352
9353 wxPyEndAllowThreads(__tstate);
9354 if (PyErr_Occurred()) SWIG_fail;
9355 }
9356 Py_INCREF(Py_None); resultobj = Py_None;
9357 return resultobj;
9358 fail:
9359 return NULL;
9360 }
9361
9362
9363 static PyObject *_wrap_HtmlHelpFrame_KeywordSearch(PyObject *self, PyObject *args, PyObject *kwargs) {
9364 PyObject *resultobj;
9365 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9366 wxString *arg2 = 0 ;
9367 bool result;
9368 bool temp2 = False ;
9369 PyObject * obj0 = 0 ;
9370 PyObject * obj1 = 0 ;
9371 char *kwnames[] = {
9372 (char *) "self",(char *) "keyword", NULL
9373 };
9374
9375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_KeywordSearch",kwnames,&obj0,&obj1)) goto fail;
9376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9377 {
9378 arg2 = wxString_in_helper(obj1);
9379 if (arg2 == NULL) SWIG_fail;
9380 temp2 = True;
9381 }
9382 {
9383 PyThreadState* __tstate = wxPyBeginAllowThreads();
9384 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
9385
9386 wxPyEndAllowThreads(__tstate);
9387 if (PyErr_Occurred()) SWIG_fail;
9388 }
9389 resultobj = SWIG_PyObj_FromBool((bool)result);
9390 {
9391 if (temp2)
9392 delete arg2;
9393 }
9394 return resultobj;
9395 fail:
9396 {
9397 if (temp2)
9398 delete arg2;
9399 }
9400 return NULL;
9401 }
9402
9403
9404 static PyObject *_wrap_HtmlHelpFrame_UseConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
9405 PyObject *resultobj;
9406 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9407 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
9408 wxString const &arg3_defvalue = wxPyEmptyString ;
9409 wxString *arg3 = (wxString *) &arg3_defvalue ;
9410 bool temp3 = False ;
9411 PyObject * obj0 = 0 ;
9412 PyObject * obj1 = 0 ;
9413 PyObject * obj2 = 0 ;
9414 char *kwnames[] = {
9415 (char *) "self",(char *) "config",(char *) "rootpath", NULL
9416 };
9417
9418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail;
9419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9420 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9421 if (obj2) {
9422 {
9423 arg3 = wxString_in_helper(obj2);
9424 if (arg3 == NULL) SWIG_fail;
9425 temp3 = True;
9426 }
9427 }
9428 {
9429 PyThreadState* __tstate = wxPyBeginAllowThreads();
9430 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
9431
9432 wxPyEndAllowThreads(__tstate);
9433 if (PyErr_Occurred()) SWIG_fail;
9434 }
9435 Py_INCREF(Py_None); resultobj = Py_None;
9436 {
9437 if (temp3)
9438 delete arg3;
9439 }
9440 return resultobj;
9441 fail:
9442 {
9443 if (temp3)
9444 delete arg3;
9445 }
9446 return NULL;
9447 }
9448
9449
9450 static PyObject *_wrap_HtmlHelpFrame_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
9451 PyObject *resultobj;
9452 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9453 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
9454 wxString arg3 = (wxString) wxPyEmptyString ;
9455 PyObject * obj0 = 0 ;
9456 PyObject * obj1 = 0 ;
9457 PyObject * obj2 = 0 ;
9458 char *kwnames[] = {
9459 (char *) "self",(char *) "cfg",(char *) "path", NULL
9460 };
9461
9462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
9463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9464 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9465 if (obj2) {
9466 {
9467 wxString* sptr = wxString_in_helper(obj2);
9468 if (sptr == NULL) SWIG_fail;
9469 arg3 = *sptr;
9470 delete sptr;
9471 }
9472 }
9473 {
9474 PyThreadState* __tstate = wxPyBeginAllowThreads();
9475 (arg1)->ReadCustomization(arg2,arg3);
9476
9477 wxPyEndAllowThreads(__tstate);
9478 if (PyErr_Occurred()) SWIG_fail;
9479 }
9480 Py_INCREF(Py_None); resultobj = Py_None;
9481 return resultobj;
9482 fail:
9483 return NULL;
9484 }
9485
9486
9487 static PyObject *_wrap_HtmlHelpFrame_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
9488 PyObject *resultobj;
9489 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9490 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
9491 wxString arg3 = (wxString) wxPyEmptyString ;
9492 PyObject * obj0 = 0 ;
9493 PyObject * obj1 = 0 ;
9494 PyObject * obj2 = 0 ;
9495 char *kwnames[] = {
9496 (char *) "self",(char *) "cfg",(char *) "path", NULL
9497 };
9498
9499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
9500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9501 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9502 if (obj2) {
9503 {
9504 wxString* sptr = wxString_in_helper(obj2);
9505 if (sptr == NULL) SWIG_fail;
9506 arg3 = *sptr;
9507 delete sptr;
9508 }
9509 }
9510 {
9511 PyThreadState* __tstate = wxPyBeginAllowThreads();
9512 (arg1)->WriteCustomization(arg2,arg3);
9513
9514 wxPyEndAllowThreads(__tstate);
9515 if (PyErr_Occurred()) SWIG_fail;
9516 }
9517 Py_INCREF(Py_None); resultobj = Py_None;
9518 return resultobj;
9519 fail:
9520 return NULL;
9521 }
9522
9523
9524 static PyObject * HtmlHelpFrame_swigregister(PyObject *self, PyObject *args) {
9525 PyObject *obj;
9526 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9527 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpFrame, obj);
9528 Py_INCREF(obj);
9529 return Py_BuildValue((char *)"");
9530 }
9531 static PyObject *_wrap_new_HtmlHelpController(PyObject *self, PyObject *args, PyObject *kwargs) {
9532 PyObject *resultobj;
9533 int arg1 = (int) wxHF_DEFAULTSTYLE ;
9534 wxHtmlHelpController *result;
9535 PyObject * obj0 = 0 ;
9536 char *kwnames[] = {
9537 (char *) "style", NULL
9538 };
9539
9540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlHelpController",kwnames,&obj0)) goto fail;
9541 if (obj0) {
9542 {
9543 arg1 = (int) SWIG_PyObj_AsInt(obj0);
9544 if (PyErr_Occurred()) SWIG_fail;
9545 }
9546 }
9547 {
9548 PyThreadState* __tstate = wxPyBeginAllowThreads();
9549 result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1);
9550
9551 wxPyEndAllowThreads(__tstate);
9552 if (PyErr_Occurred()) SWIG_fail;
9553 }
9554 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlHelpController, 1);
9555 return resultobj;
9556 fail:
9557 return NULL;
9558 }
9559
9560
9561 static PyObject *_wrap_delete_HtmlHelpController(PyObject *self, PyObject *args, PyObject *kwargs) {
9562 PyObject *resultobj;
9563 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
9564 PyObject * obj0 = 0 ;
9565 char *kwnames[] = {
9566 (char *) "self", NULL
9567 };
9568
9569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpController",kwnames,&obj0)) goto fail;
9570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9571 {
9572 PyThreadState* __tstate = wxPyBeginAllowThreads();
9573 delete arg1;
9574
9575 wxPyEndAllowThreads(__tstate);
9576 if (PyErr_Occurred()) SWIG_fail;
9577 }
9578 Py_INCREF(Py_None); resultobj = Py_None;
9579 return resultobj;
9580 fail:
9581 return NULL;
9582 }
9583
9584
9585 static PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
9586 PyObject *resultobj;
9587 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
9588 wxString *arg2 = 0 ;
9589 bool temp2 = False ;
9590 PyObject * obj0 = 0 ;
9591 PyObject * obj1 = 0 ;
9592 char *kwnames[] = {
9593 (char *) "self",(char *) "format", NULL
9594 };
9595
9596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
9597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9598 {
9599 arg2 = wxString_in_helper(obj1);
9600 if (arg2 == NULL) SWIG_fail;
9601 temp2 = True;
9602 }
9603 {
9604 PyThreadState* __tstate = wxPyBeginAllowThreads();
9605 (arg1)->SetTitleFormat((wxString const &)*arg2);
9606
9607 wxPyEndAllowThreads(__tstate);
9608 if (PyErr_Occurred()) SWIG_fail;
9609 }
9610 Py_INCREF(Py_None); resultobj = Py_None;
9611 {
9612 if (temp2)
9613 delete arg2;
9614 }
9615 return resultobj;
9616 fail:
9617 {
9618 if (temp2)
9619 delete arg2;
9620 }
9621 return NULL;
9622 }
9623
9624
9625 static PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *self, PyObject *args, PyObject *kwargs) {
9626 PyObject *resultobj;
9627 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
9628 wxString *arg2 = 0 ;
9629 bool temp2 = False ;
9630 PyObject * obj0 = 0 ;
9631 PyObject * obj1 = 0 ;
9632 char *kwnames[] = {
9633 (char *) "self",(char *) "path", NULL
9634 };
9635
9636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",kwnames,&obj0,&obj1)) goto fail;
9637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9638 {
9639 arg2 = wxString_in_helper(obj1);
9640 if (arg2 == NULL) SWIG_fail;
9641 temp2 = True;
9642 }
9643 {
9644 PyThreadState* __tstate = wxPyBeginAllowThreads();
9645 (arg1)->SetTempDir((wxString const &)*arg2);
9646
9647 wxPyEndAllowThreads(__tstate);
9648 if (PyErr_Occurred()) SWIG_fail;
9649 }
9650 Py_INCREF(Py_None); resultobj = Py_None;
9651 {
9652 if (temp2)
9653 delete arg2;
9654 }
9655 return resultobj;
9656 fail:
9657 {
9658 if (temp2)
9659 delete arg2;
9660 }
9661 return NULL;
9662 }
9663
9664
9665 static PyObject *_wrap_HtmlHelpController_AddBook(PyObject *self, PyObject *args, PyObject *kwargs) {
9666 PyObject *resultobj;
9667 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
9668 wxString *arg2 = 0 ;
9669 int arg3 = (int) False ;
9670 bool result;
9671 bool temp2 = False ;
9672 PyObject * obj0 = 0 ;
9673 PyObject * obj1 = 0 ;
9674 PyObject * obj2 = 0 ;
9675 char *kwnames[] = {
9676 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
9677 };
9678
9679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&obj2)) goto fail;
9680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9681 {
9682 arg2 = wxString_in_helper(obj1);
9683 if (arg2 == NULL) SWIG_fail;
9684 temp2 = True;
9685 }
9686 if (obj2) {
9687 {
9688 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9689 if (PyErr_Occurred()) SWIG_fail;
9690 }
9691 }
9692 {
9693 PyThreadState* __tstate = wxPyBeginAllowThreads();
9694 result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3);
9695
9696 wxPyEndAllowThreads(__tstate);
9697 if (PyErr_Occurred()) SWIG_fail;
9698 }
9699 resultobj = SWIG_PyObj_FromBool((bool)result);
9700 {
9701 if (temp2)
9702 delete arg2;
9703 }
9704 return resultobj;
9705 fail:
9706 {
9707 if (temp2)
9708 delete arg2;
9709 }
9710 return NULL;
9711 }
9712
9713
9714 static PyObject *_wrap_HtmlHelpController_Display(PyObject *self, PyObject *args, PyObject *kwargs) {
9715 PyObject *resultobj;
9716 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
9717 wxString *arg2 = 0 ;
9718 bool temp2 = False ;
9719 PyObject * obj0 = 0 ;
9720 PyObject * obj1 = 0 ;
9721 char *kwnames[] = {
9722 (char *) "self",(char *) "x", NULL
9723 };
9724
9725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) goto fail;
9726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9727 {
9728 arg2 = wxString_in_helper(obj1);
9729 if (arg2 == NULL) SWIG_fail;
9730 temp2 = True;
9731 }
9732 {
9733 PyThreadState* __tstate = wxPyBeginAllowThreads();
9734 (arg1)->Display((wxString const &)*arg2);
9735
9736 wxPyEndAllowThreads(__tstate);
9737 if (PyErr_Occurred()) SWIG_fail;
9738 }
9739 Py_INCREF(Py_None); resultobj = Py_None;
9740 {
9741 if (temp2)
9742 delete arg2;
9743 }
9744 return resultobj;
9745 fail:
9746 {
9747 if (temp2)
9748 delete arg2;
9749 }
9750 return NULL;
9751 }
9752
9753
9754 static PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *self, PyObject *args, PyObject *kwargs) {
9755 PyObject *resultobj;
9756 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
9757 int arg2 ;
9758 PyObject * obj0 = 0 ;
9759 PyObject * obj1 = 0 ;
9760 char *kwnames[] = {
9761 (char *) "self",(char *) "id", NULL
9762 };
9763
9764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_DisplayID",kwnames,&obj0,&obj1)) goto fail;
9765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9766 {
9767 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9768 if (PyErr_Occurred()) SWIG_fail;
9769 }
9770 {
9771 PyThreadState* __tstate = wxPyBeginAllowThreads();
9772 (arg1)->Display(arg2);
9773
9774 wxPyEndAllowThreads(__tstate);
9775 if (PyErr_Occurred()) SWIG_fail;
9776 }
9777 Py_INCREF(Py_None); resultobj = Py_None;
9778 return resultobj;
9779 fail:
9780 return NULL;
9781 }
9782
9783
9784 static PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *self, PyObject *args, PyObject *kwargs) {
9785 PyObject *resultobj;
9786 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
9787 PyObject * obj0 = 0 ;
9788 char *kwnames[] = {
9789 (char *) "self", NULL
9790 };
9791
9792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayContents",kwnames,&obj0)) goto fail;
9793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9794 {
9795 PyThreadState* __tstate = wxPyBeginAllowThreads();
9796 (arg1)->DisplayContents();
9797
9798 wxPyEndAllowThreads(__tstate);
9799 if (PyErr_Occurred()) SWIG_fail;
9800 }
9801 Py_INCREF(Py_None); resultobj = Py_None;
9802 return resultobj;
9803 fail:
9804 return NULL;
9805 }
9806
9807
9808 static PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
9809 PyObject *resultobj;
9810 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
9811 PyObject * obj0 = 0 ;
9812 char *kwnames[] = {
9813 (char *) "self", NULL
9814 };
9815
9816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayIndex",kwnames,&obj0)) goto fail;
9817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9818 {
9819 PyThreadState* __tstate = wxPyBeginAllowThreads();
9820 (arg1)->DisplayIndex();
9821
9822 wxPyEndAllowThreads(__tstate);
9823 if (PyErr_Occurred()) SWIG_fail;
9824 }
9825 Py_INCREF(Py_None); resultobj = Py_None;
9826 return resultobj;
9827 fail:
9828 return NULL;
9829 }
9830
9831
9832 static PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *self, PyObject *args, PyObject *kwargs) {
9833 PyObject *resultobj;
9834 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
9835 wxString *arg2 = 0 ;
9836 bool result;
9837 bool temp2 = False ;
9838 PyObject * obj0 = 0 ;
9839 PyObject * obj1 = 0 ;
9840 char *kwnames[] = {
9841 (char *) "self",(char *) "keyword", NULL
9842 };
9843
9844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) goto fail;
9845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9846 {
9847 arg2 = wxString_in_helper(obj1);
9848 if (arg2 == NULL) SWIG_fail;
9849 temp2 = True;
9850 }
9851 {
9852 PyThreadState* __tstate = wxPyBeginAllowThreads();
9853 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
9854
9855 wxPyEndAllowThreads(__tstate);
9856 if (PyErr_Occurred()) SWIG_fail;
9857 }
9858 resultobj = SWIG_PyObj_FromBool((bool)result);
9859 {
9860 if (temp2)
9861 delete arg2;
9862 }
9863 return resultobj;
9864 fail:
9865 {
9866 if (temp2)
9867 delete arg2;
9868 }
9869 return NULL;
9870 }
9871
9872
9873 static PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
9874 PyObject *resultobj;
9875 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
9876 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
9877 wxString const &arg3_defvalue = wxPyEmptyString ;
9878 wxString *arg3 = (wxString *) &arg3_defvalue ;
9879 bool temp3 = False ;
9880 PyObject * obj0 = 0 ;
9881 PyObject * obj1 = 0 ;
9882 PyObject * obj2 = 0 ;
9883 char *kwnames[] = {
9884 (char *) "self",(char *) "config",(char *) "rootpath", NULL
9885 };
9886
9887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail;
9888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9889 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9890 if (obj2) {
9891 {
9892 arg3 = wxString_in_helper(obj2);
9893 if (arg3 == NULL) SWIG_fail;
9894 temp3 = True;
9895 }
9896 }
9897 {
9898 PyThreadState* __tstate = wxPyBeginAllowThreads();
9899 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
9900
9901 wxPyEndAllowThreads(__tstate);
9902 if (PyErr_Occurred()) SWIG_fail;
9903 }
9904 Py_INCREF(Py_None); resultobj = Py_None;
9905 {
9906 if (temp3)
9907 delete arg3;
9908 }
9909 return resultobj;
9910 fail:
9911 {
9912 if (temp3)
9913 delete arg3;
9914 }
9915 return NULL;
9916 }
9917
9918
9919 static PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
9920 PyObject *resultobj;
9921 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
9922 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
9923 wxString arg3 = (wxString) wxPyEmptyString ;
9924 PyObject * obj0 = 0 ;
9925 PyObject * obj1 = 0 ;
9926 PyObject * obj2 = 0 ;
9927 char *kwnames[] = {
9928 (char *) "self",(char *) "cfg",(char *) "path", NULL
9929 };
9930
9931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
9932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9933 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9934 if (obj2) {
9935 {
9936 wxString* sptr = wxString_in_helper(obj2);
9937 if (sptr == NULL) SWIG_fail;
9938 arg3 = *sptr;
9939 delete sptr;
9940 }
9941 }
9942 {
9943 PyThreadState* __tstate = wxPyBeginAllowThreads();
9944 (arg1)->ReadCustomization(arg2,arg3);
9945
9946 wxPyEndAllowThreads(__tstate);
9947 if (PyErr_Occurred()) SWIG_fail;
9948 }
9949 Py_INCREF(Py_None); resultobj = Py_None;
9950 return resultobj;
9951 fail:
9952 return NULL;
9953 }
9954
9955
9956 static PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
9957 PyObject *resultobj;
9958 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
9959 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
9960 wxString arg3 = (wxString) wxPyEmptyString ;
9961 PyObject * obj0 = 0 ;
9962 PyObject * obj1 = 0 ;
9963 PyObject * obj2 = 0 ;
9964 char *kwnames[] = {
9965 (char *) "self",(char *) "cfg",(char *) "path", NULL
9966 };
9967
9968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
9969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9970 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9971 if (obj2) {
9972 {
9973 wxString* sptr = wxString_in_helper(obj2);
9974 if (sptr == NULL) SWIG_fail;
9975 arg3 = *sptr;
9976 delete sptr;
9977 }
9978 }
9979 {
9980 PyThreadState* __tstate = wxPyBeginAllowThreads();
9981 (arg1)->WriteCustomization(arg2,arg3);
9982
9983 wxPyEndAllowThreads(__tstate);
9984 if (PyErr_Occurred()) SWIG_fail;
9985 }
9986 Py_INCREF(Py_None); resultobj = Py_None;
9987 return resultobj;
9988 fail:
9989 return NULL;
9990 }
9991
9992
9993 static PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
9994 PyObject *resultobj;
9995 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
9996 wxHtmlHelpFrame *result;
9997 PyObject * obj0 = 0 ;
9998 char *kwnames[] = {
9999 (char *) "self", NULL
10000 };
10001
10002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_GetFrame",kwnames,&obj0)) goto fail;
10003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10004 {
10005 PyThreadState* __tstate = wxPyBeginAllowThreads();
10006 result = (wxHtmlHelpFrame *)(arg1)->GetFrame();
10007
10008 wxPyEndAllowThreads(__tstate);
10009 if (PyErr_Occurred()) SWIG_fail;
10010 }
10011 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlHelpFrame, 0);
10012 return resultobj;
10013 fail:
10014 return NULL;
10015 }
10016
10017
10018 static PyObject * HtmlHelpController_swigregister(PyObject *self, PyObject *args) {
10019 PyObject *obj;
10020 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10021 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpController, obj);
10022 Py_INCREF(obj);
10023 return Py_BuildValue((char *)"");
10024 }
10025 static PyMethodDef SwigMethods[] = {
10026 { (char *)"new_HtmlLinkInfo", (PyCFunction) _wrap_new_HtmlLinkInfo, METH_VARARGS | METH_KEYWORDS },
10027 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction) _wrap_HtmlLinkInfo_GetHref, METH_VARARGS | METH_KEYWORDS },
10028 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction) _wrap_HtmlLinkInfo_GetTarget, METH_VARARGS | METH_KEYWORDS },
10029 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction) _wrap_HtmlLinkInfo_GetEvent, METH_VARARGS | METH_KEYWORDS },
10030 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_GetHtmlCell, METH_VARARGS | METH_KEYWORDS },
10031 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction) _wrap_HtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS },
10032 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS },
10033 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister, METH_VARARGS },
10034 { (char *)"HtmlTag_GetName", (PyCFunction) _wrap_HtmlTag_GetName, METH_VARARGS | METH_KEYWORDS },
10035 { (char *)"HtmlTag_HasParam", (PyCFunction) _wrap_HtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS },
10036 { (char *)"HtmlTag_GetParam", (PyCFunction) _wrap_HtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS },
10037 { (char *)"HtmlTag_GetAllParams", (PyCFunction) _wrap_HtmlTag_GetAllParams, METH_VARARGS | METH_KEYWORDS },
10038 { (char *)"HtmlTag_HasEnding", (PyCFunction) _wrap_HtmlTag_HasEnding, METH_VARARGS | METH_KEYWORDS },
10039 { (char *)"HtmlTag_GetBeginPos", (PyCFunction) _wrap_HtmlTag_GetBeginPos, METH_VARARGS | METH_KEYWORDS },
10040 { (char *)"HtmlTag_GetEndPos1", (PyCFunction) _wrap_HtmlTag_GetEndPos1, METH_VARARGS | METH_KEYWORDS },
10041 { (char *)"HtmlTag_GetEndPos2", (PyCFunction) _wrap_HtmlTag_GetEndPos2, METH_VARARGS | METH_KEYWORDS },
10042 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister, METH_VARARGS },
10043 { (char *)"HtmlParser_SetFS", (PyCFunction) _wrap_HtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS },
10044 { (char *)"HtmlParser_GetFS", (PyCFunction) _wrap_HtmlParser_GetFS, METH_VARARGS | METH_KEYWORDS },
10045 { (char *)"HtmlParser_Parse", (PyCFunction) _wrap_HtmlParser_Parse, METH_VARARGS | METH_KEYWORDS },
10046 { (char *)"HtmlParser_InitParser", (PyCFunction) _wrap_HtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS },
10047 { (char *)"HtmlParser_DoneParser", (PyCFunction) _wrap_HtmlParser_DoneParser, METH_VARARGS | METH_KEYWORDS },
10048 { (char *)"HtmlParser_DoParsing", (PyCFunction) _wrap_HtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS },
10049 { (char *)"HtmlParser_StopParsing", (PyCFunction) _wrap_HtmlParser_StopParsing, METH_VARARGS | METH_KEYWORDS },
10050 { (char *)"HtmlParser_AddTagHandler", (PyCFunction) _wrap_HtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS },
10051 { (char *)"HtmlParser_GetSource", (PyCFunction) _wrap_HtmlParser_GetSource, METH_VARARGS | METH_KEYWORDS },
10052 { (char *)"HtmlParser_PushTagHandler", (PyCFunction) _wrap_HtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS },
10053 { (char *)"HtmlParser_PopTagHandler", (PyCFunction) _wrap_HtmlParser_PopTagHandler, METH_VARARGS | METH_KEYWORDS },
10054 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister, METH_VARARGS },
10055 { (char *)"new_HtmlWinParser", (PyCFunction) _wrap_new_HtmlWinParser, METH_VARARGS | METH_KEYWORDS },
10056 { (char *)"HtmlWinParser_SetDC", (PyCFunction) _wrap_HtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS },
10057 { (char *)"HtmlWinParser_GetDC", (PyCFunction) _wrap_HtmlWinParser_GetDC, METH_VARARGS | METH_KEYWORDS },
10058 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction) _wrap_HtmlWinParser_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
10059 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction) _wrap_HtmlWinParser_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
10060 { (char *)"HtmlWinParser_GetWindow", (PyCFunction) _wrap_HtmlWinParser_GetWindow, METH_VARARGS | METH_KEYWORDS },
10061 { (char *)"HtmlWinParser_SetFonts", (PyCFunction) _wrap_HtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS },
10062 { (char *)"HtmlWinParser_GetContainer", (PyCFunction) _wrap_HtmlWinParser_GetContainer, METH_VARARGS | METH_KEYWORDS },
10063 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction) _wrap_HtmlWinParser_OpenContainer, METH_VARARGS | METH_KEYWORDS },
10064 { (char *)"HtmlWinParser_SetContainer", (PyCFunction) _wrap_HtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS },
10065 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction) _wrap_HtmlWinParser_CloseContainer, METH_VARARGS | METH_KEYWORDS },
10066 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction) _wrap_HtmlWinParser_GetFontSize, METH_VARARGS | METH_KEYWORDS },
10067 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction) _wrap_HtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS },
10068 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction) _wrap_HtmlWinParser_GetFontBold, METH_VARARGS | METH_KEYWORDS },
10069 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction) _wrap_HtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS },
10070 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction) _wrap_HtmlWinParser_GetFontItalic, METH_VARARGS | METH_KEYWORDS },
10071 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction) _wrap_HtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS },
10072 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_GetFontUnderlined, METH_VARARGS | METH_KEYWORDS },
10073 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS },
10074 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction) _wrap_HtmlWinParser_GetFontFixed, METH_VARARGS | METH_KEYWORDS },
10075 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction) _wrap_HtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS },
10076 { (char *)"HtmlWinParser_GetAlign", (PyCFunction) _wrap_HtmlWinParser_GetAlign, METH_VARARGS | METH_KEYWORDS },
10077 { (char *)"HtmlWinParser_SetAlign", (PyCFunction) _wrap_HtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS },
10078 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction) _wrap_HtmlWinParser_GetLinkColor, METH_VARARGS | METH_KEYWORDS },
10079 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction) _wrap_HtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS },
10080 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction) _wrap_HtmlWinParser_GetActualColor, METH_VARARGS | METH_KEYWORDS },
10081 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction) _wrap_HtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS },
10082 { (char *)"HtmlWinParser_SetLink", (PyCFunction) _wrap_HtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS },
10083 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction) _wrap_HtmlWinParser_CreateCurrentFont, METH_VARARGS | METH_KEYWORDS },
10084 { (char *)"HtmlWinParser_GetLink", (PyCFunction) _wrap_HtmlWinParser_GetLink, METH_VARARGS | METH_KEYWORDS },
10085 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister, METH_VARARGS },
10086 { (char *)"new_HtmlTagHandler", (PyCFunction) _wrap_new_HtmlTagHandler, METH_VARARGS | METH_KEYWORDS },
10087 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
10088 { (char *)"HtmlTagHandler_SetParser", (PyCFunction) _wrap_HtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS },
10089 { (char *)"HtmlTagHandler_GetParser", (PyCFunction) _wrap_HtmlTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS },
10090 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction) _wrap_HtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS },
10091 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister, METH_VARARGS },
10092 { (char *)"new_HtmlWinTagHandler", (PyCFunction) _wrap_new_HtmlWinTagHandler, METH_VARARGS | METH_KEYWORDS },
10093 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
10094 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction) _wrap_HtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS },
10095 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction) _wrap_HtmlWinTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS },
10096 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_HtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS },
10097 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister, METH_VARARGS },
10098 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction) _wrap_HtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS },
10099 { (char *)"new_HtmlSelection", (PyCFunction) _wrap_new_HtmlSelection, METH_VARARGS | METH_KEYWORDS },
10100 { (char *)"delete_HtmlSelection", (PyCFunction) _wrap_delete_HtmlSelection, METH_VARARGS | METH_KEYWORDS },
10101 { (char *)"HtmlSelection_Set", (PyCFunction) _wrap_HtmlSelection_Set, METH_VARARGS | METH_KEYWORDS },
10102 { (char *)"HtmlSelection_SetCells", (PyCFunction) _wrap_HtmlSelection_SetCells, METH_VARARGS | METH_KEYWORDS },
10103 { (char *)"HtmlSelection_GetFromCell", (PyCFunction) _wrap_HtmlSelection_GetFromCell, METH_VARARGS | METH_KEYWORDS },
10104 { (char *)"HtmlSelection_GetToCell", (PyCFunction) _wrap_HtmlSelection_GetToCell, METH_VARARGS | METH_KEYWORDS },
10105 { (char *)"HtmlSelection_GetFromPos", (PyCFunction) _wrap_HtmlSelection_GetFromPos, METH_VARARGS | METH_KEYWORDS },
10106 { (char *)"HtmlSelection_GetToPos", (PyCFunction) _wrap_HtmlSelection_GetToPos, METH_VARARGS | METH_KEYWORDS },
10107 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_GetFromPrivPos, METH_VARARGS | METH_KEYWORDS },
10108 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction) _wrap_HtmlSelection_GetToPrivPos, METH_VARARGS | METH_KEYWORDS },
10109 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_SetFromPrivPos, METH_VARARGS | METH_KEYWORDS },
10110 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction) _wrap_HtmlSelection_SetToPrivPos, METH_VARARGS | METH_KEYWORDS },
10111 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction) _wrap_HtmlSelection_ClearPrivPos, METH_VARARGS | METH_KEYWORDS },
10112 { (char *)"HtmlSelection_IsEmpty", (PyCFunction) _wrap_HtmlSelection_IsEmpty, METH_VARARGS | METH_KEYWORDS },
10113 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister, METH_VARARGS },
10114 { (char *)"new_HtmlRenderingState", (PyCFunction) _wrap_new_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS },
10115 { (char *)"delete_HtmlRenderingState", (PyCFunction) _wrap_delete_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS },
10116 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_SetSelectionState, METH_VARARGS | METH_KEYWORDS },
10117 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_GetSelectionState, METH_VARARGS | METH_KEYWORDS },
10118 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction) _wrap_HtmlRenderingState_SetFgColour, METH_VARARGS | METH_KEYWORDS },
10119 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction) _wrap_HtmlRenderingState_GetFgColour, METH_VARARGS | METH_KEYWORDS },
10120 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction) _wrap_HtmlRenderingState_SetBgColour, METH_VARARGS | METH_KEYWORDS },
10121 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction) _wrap_HtmlRenderingState_GetBgColour, METH_VARARGS | METH_KEYWORDS },
10122 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister, METH_VARARGS },
10123 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS },
10124 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS },
10125 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister, METH_VARARGS },
10126 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS },
10127 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS },
10128 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister, METH_VARARGS },
10129 { (char *)"new_HtmlRenderingInfo", (PyCFunction) _wrap_new_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS },
10130 { (char *)"delete_HtmlRenderingInfo", (PyCFunction) _wrap_delete_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS },
10131 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_SetSelection, METH_VARARGS | METH_KEYWORDS },
10132 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_GetSelection, METH_VARARGS | METH_KEYWORDS },
10133 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_SetStyle, METH_VARARGS | METH_KEYWORDS },
10134 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_GetStyle, METH_VARARGS | METH_KEYWORDS },
10135 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction) _wrap_HtmlRenderingInfo_GetState, METH_VARARGS | METH_KEYWORDS },
10136 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister, METH_VARARGS },
10137 { (char *)"new_HtmlCell", (PyCFunction) _wrap_new_HtmlCell, METH_VARARGS | METH_KEYWORDS },
10138 { (char *)"HtmlCell_GetPosX", (PyCFunction) _wrap_HtmlCell_GetPosX, METH_VARARGS | METH_KEYWORDS },
10139 { (char *)"HtmlCell_GetPosY", (PyCFunction) _wrap_HtmlCell_GetPosY, METH_VARARGS | METH_KEYWORDS },
10140 { (char *)"HtmlCell_GetWidth", (PyCFunction) _wrap_HtmlCell_GetWidth, METH_VARARGS | METH_KEYWORDS },
10141 { (char *)"HtmlCell_GetHeight", (PyCFunction) _wrap_HtmlCell_GetHeight, METH_VARARGS | METH_KEYWORDS },
10142 { (char *)"HtmlCell_GetDescent", (PyCFunction) _wrap_HtmlCell_GetDescent, METH_VARARGS | METH_KEYWORDS },
10143 { (char *)"HtmlCell_GetId", (PyCFunction) _wrap_HtmlCell_GetId, METH_VARARGS | METH_KEYWORDS },
10144 { (char *)"HtmlCell_SetId", (PyCFunction) _wrap_HtmlCell_SetId, METH_VARARGS | METH_KEYWORDS },
10145 { (char *)"HtmlCell_GetLink", (PyCFunction) _wrap_HtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS },
10146 { (char *)"HtmlCell_GetNext", (PyCFunction) _wrap_HtmlCell_GetNext, METH_VARARGS | METH_KEYWORDS },
10147 { (char *)"HtmlCell_GetParent", (PyCFunction) _wrap_HtmlCell_GetParent, METH_VARARGS | METH_KEYWORDS },
10148 { (char *)"HtmlCell_GetFirstChild", (PyCFunction) _wrap_HtmlCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
10149 { (char *)"HtmlCell_GetCursor", (PyCFunction) _wrap_HtmlCell_GetCursor, METH_VARARGS | METH_KEYWORDS },
10150 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction) _wrap_HtmlCell_IsFormattingCell, METH_VARARGS | METH_KEYWORDS },
10151 { (char *)"HtmlCell_SetLink", (PyCFunction) _wrap_HtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS },
10152 { (char *)"HtmlCell_SetNext", (PyCFunction) _wrap_HtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS },
10153 { (char *)"HtmlCell_SetParent", (PyCFunction) _wrap_HtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS },
10154 { (char *)"HtmlCell_SetPos", (PyCFunction) _wrap_HtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS },
10155 { (char *)"HtmlCell_Layout", (PyCFunction) _wrap_HtmlCell_Layout, METH_VARARGS | METH_KEYWORDS },
10156 { (char *)"HtmlCell_Draw", (PyCFunction) _wrap_HtmlCell_Draw, METH_VARARGS | METH_KEYWORDS },
10157 { (char *)"HtmlCell_DrawInvisible", (PyCFunction) _wrap_HtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS },
10158 { (char *)"HtmlCell_Find", (PyCFunction) _wrap_HtmlCell_Find, METH_VARARGS | METH_KEYWORDS },
10159 { (char *)"HtmlCell_AdjustPagebreak", (PyCFunction) _wrap_HtmlCell_AdjustPagebreak, METH_VARARGS | METH_KEYWORDS },
10160 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_HtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS },
10161 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction) _wrap_HtmlCell_IsLinebreakAllowed, METH_VARARGS | METH_KEYWORDS },
10162 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction) _wrap_HtmlCell_IsTerminalCell, METH_VARARGS | METH_KEYWORDS },
10163 { (char *)"HtmlCell_FindCellByPos", (PyCFunction) _wrap_HtmlCell_FindCellByPos, METH_VARARGS | METH_KEYWORDS },
10164 { (char *)"HtmlCell_GetAbsPos", (PyCFunction) _wrap_HtmlCell_GetAbsPos, METH_VARARGS | METH_KEYWORDS },
10165 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction) _wrap_HtmlCell_GetFirstTerminal, METH_VARARGS | METH_KEYWORDS },
10166 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction) _wrap_HtmlCell_GetLastTerminal, METH_VARARGS | METH_KEYWORDS },
10167 { (char *)"HtmlCell_GetDepth", (PyCFunction) _wrap_HtmlCell_GetDepth, METH_VARARGS | METH_KEYWORDS },
10168 { (char *)"HtmlCell_IsBefore", (PyCFunction) _wrap_HtmlCell_IsBefore, METH_VARARGS | METH_KEYWORDS },
10169 { (char *)"HtmlCell_ConvertToText", (PyCFunction) _wrap_HtmlCell_ConvertToText, METH_VARARGS | METH_KEYWORDS },
10170 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister, METH_VARARGS },
10171 { (char *)"new_HtmlWordCell", (PyCFunction) _wrap_new_HtmlWordCell, METH_VARARGS | METH_KEYWORDS },
10172 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister, METH_VARARGS },
10173 { (char *)"new_HtmlContainerCell", (PyCFunction) _wrap_new_HtmlContainerCell, METH_VARARGS | METH_KEYWORDS },
10174 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction) _wrap_HtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS },
10175 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS },
10176 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_GetAlignHor, METH_VARARGS | METH_KEYWORDS },
10177 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS },
10178 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_GetAlignVer, METH_VARARGS | METH_KEYWORDS },
10179 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction) _wrap_HtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS },
10180 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction) _wrap_HtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS },
10181 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_HtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS },
10182 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction) _wrap_HtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS },
10183 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS },
10184 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS },
10185 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_HtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
10186 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10187 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10188 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction) _wrap_HtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS },
10189 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction) _wrap_HtmlContainerCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
10190 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister, METH_VARARGS },
10191 { (char *)"new_HtmlColourCell", (PyCFunction) _wrap_new_HtmlColourCell, METH_VARARGS | METH_KEYWORDS },
10192 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister, METH_VARARGS },
10193 { (char *)"new_HtmlFontCell", (PyCFunction) _wrap_new_HtmlFontCell, METH_VARARGS | METH_KEYWORDS },
10194 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister, METH_VARARGS },
10195 { (char *)"new_HtmlWidgetCell", (PyCFunction) _wrap_new_HtmlWidgetCell, METH_VARARGS | METH_KEYWORDS },
10196 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister, METH_VARARGS },
10197 { (char *)"new_HtmlFilter", (PyCFunction) _wrap_new_HtmlFilter, METH_VARARGS | METH_KEYWORDS },
10198 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction) _wrap_HtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
10199 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister, METH_VARARGS },
10200 { (char *)"new_HtmlWindow", (PyCFunction) _wrap_new_HtmlWindow, METH_VARARGS | METH_KEYWORDS },
10201 { (char *)"new_PreHtmlWindow", (PyCFunction) _wrap_new_PreHtmlWindow, METH_VARARGS | METH_KEYWORDS },
10202 { (char *)"HtmlWindow_Create", (PyCFunction) _wrap_HtmlWindow_Create, METH_VARARGS | METH_KEYWORDS },
10203 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction) _wrap_HtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
10204 { (char *)"HtmlWindow_SetPage", (PyCFunction) _wrap_HtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS },
10205 { (char *)"HtmlWindow_LoadPage", (PyCFunction) _wrap_HtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS },
10206 { (char *)"HtmlWindow_LoadFile", (PyCFunction) _wrap_HtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS },
10207 { (char *)"HtmlWindow_AppendToPage", (PyCFunction) _wrap_HtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS },
10208 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction) _wrap_HtmlWindow_GetOpenedPage, METH_VARARGS | METH_KEYWORDS },
10209 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction) _wrap_HtmlWindow_GetOpenedAnchor, METH_VARARGS | METH_KEYWORDS },
10210 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction) _wrap_HtmlWindow_GetOpenedPageTitle, METH_VARARGS | METH_KEYWORDS },
10211 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS },
10212 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_GetRelatedFrame, METH_VARARGS | METH_KEYWORDS },
10213 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_HtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS },
10214 { (char *)"HtmlWindow_SetFonts", (PyCFunction) _wrap_HtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS },
10215 { (char *)"HtmlWindow_SetTitle", (PyCFunction) _wrap_HtmlWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
10216 { (char *)"HtmlWindow_SetBorders", (PyCFunction) _wrap_HtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS },
10217 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction) _wrap_HtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS },
10218 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction) _wrap_HtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS },
10219 { (char *)"HtmlWindow_HistoryBack", (PyCFunction) _wrap_HtmlWindow_HistoryBack, METH_VARARGS | METH_KEYWORDS },
10220 { (char *)"HtmlWindow_HistoryForward", (PyCFunction) _wrap_HtmlWindow_HistoryForward, METH_VARARGS | METH_KEYWORDS },
10221 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction) _wrap_HtmlWindow_HistoryCanBack, METH_VARARGS | METH_KEYWORDS },
10222 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction) _wrap_HtmlWindow_HistoryCanForward, METH_VARARGS | METH_KEYWORDS },
10223 { (char *)"HtmlWindow_HistoryClear", (PyCFunction) _wrap_HtmlWindow_HistoryClear, METH_VARARGS | METH_KEYWORDS },
10224 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction) _wrap_HtmlWindow_GetInternalRepresentation, METH_VARARGS | METH_KEYWORDS },
10225 { (char *)"HtmlWindow_GetParser", (PyCFunction) _wrap_HtmlWindow_GetParser, METH_VARARGS | METH_KEYWORDS },
10226 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_HtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS },
10227 { (char *)"HtmlWindow_HasAnchor", (PyCFunction) _wrap_HtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS },
10228 { (char *)"HtmlWindow_AddFilter", (PyCFunction) _wrap_HtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS },
10229 { (char *)"HtmlWindow_base_OnLinkClicked", (PyCFunction) _wrap_HtmlWindow_base_OnLinkClicked, METH_VARARGS | METH_KEYWORDS },
10230 { (char *)"HtmlWindow_base_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_base_OnSetTitle, METH_VARARGS | METH_KEYWORDS },
10231 { (char *)"HtmlWindow_base_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_base_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS },
10232 { (char *)"HtmlWindow_base_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_base_OnCellClicked, METH_VARARGS | METH_KEYWORDS },
10233 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS },
10234 { (char *)"new_HtmlDCRenderer", (PyCFunction) _wrap_new_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS },
10235 { (char *)"delete_HtmlDCRenderer", (PyCFunction) _wrap_delete_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS },
10236 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction) _wrap_HtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS },
10237 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction) _wrap_HtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS },
10238 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_HtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS },
10239 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS },
10240 { (char *)"HtmlDCRenderer_Render", (PyCFunction) _wrap_HtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS },
10241 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction) _wrap_HtmlDCRenderer_GetTotalHeight, METH_VARARGS | METH_KEYWORDS },
10242 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister, METH_VARARGS },
10243 { (char *)"new_HtmlPrintout", (PyCFunction) _wrap_new_HtmlPrintout, METH_VARARGS | METH_KEYWORDS },
10244 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction) _wrap_HtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS },
10245 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_HtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS },
10246 { (char *)"HtmlPrintout_SetHeader", (PyCFunction) _wrap_HtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS },
10247 { (char *)"HtmlPrintout_SetFooter", (PyCFunction) _wrap_HtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS },
10248 { (char *)"HtmlPrintout_SetFonts", (PyCFunction) _wrap_HtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS },
10249 { (char *)"HtmlPrintout_SetMargins", (PyCFunction) _wrap_HtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS },
10250 { (char *)"HtmlPrintout_AddFilter", (PyCFunction) _wrap_HtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS },
10251 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction) _wrap_HtmlPrintout_CleanUpStatics, METH_VARARGS | METH_KEYWORDS },
10252 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister, METH_VARARGS },
10253 { (char *)"new_HtmlEasyPrinting", (PyCFunction) _wrap_new_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS },
10254 { (char *)"delete_HtmlEasyPrinting", (PyCFunction) _wrap_delete_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS },
10255 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS },
10256 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS },
10257 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_HtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS },
10258 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction) _wrap_HtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS },
10259 { (char *)"HtmlEasyPrinting_PrinterSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PrinterSetup, METH_VARARGS | METH_KEYWORDS },
10260 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PageSetup, METH_VARARGS | METH_KEYWORDS },
10261 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_HtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS },
10262 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_HtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS },
10263 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS },
10264 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPrintData, METH_VARARGS | METH_KEYWORDS },
10265 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
10266 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister, METH_VARARGS },
10267 { (char *)"new_HtmlBookRecord", (PyCFunction) _wrap_new_HtmlBookRecord, METH_VARARGS | METH_KEYWORDS },
10268 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction) _wrap_HtmlBookRecord_GetBookFile, METH_VARARGS | METH_KEYWORDS },
10269 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction) _wrap_HtmlBookRecord_GetTitle, METH_VARARGS | METH_KEYWORDS },
10270 { (char *)"HtmlBookRecord_GetStart", (PyCFunction) _wrap_HtmlBookRecord_GetStart, METH_VARARGS | METH_KEYWORDS },
10271 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction) _wrap_HtmlBookRecord_GetBasePath, METH_VARARGS | METH_KEYWORDS },
10272 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_HtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS },
10273 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction) _wrap_HtmlBookRecord_GetContentsStart, METH_VARARGS | METH_KEYWORDS },
10274 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction) _wrap_HtmlBookRecord_GetContentsEnd, METH_VARARGS | METH_KEYWORDS },
10275 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction) _wrap_HtmlBookRecord_SetTitle, METH_VARARGS | METH_KEYWORDS },
10276 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction) _wrap_HtmlBookRecord_SetBasePath, METH_VARARGS | METH_KEYWORDS },
10277 { (char *)"HtmlBookRecord_SetStart", (PyCFunction) _wrap_HtmlBookRecord_SetStart, METH_VARARGS | METH_KEYWORDS },
10278 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction) _wrap_HtmlBookRecord_GetFullPath, METH_VARARGS | METH_KEYWORDS },
10279 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister, METH_VARARGS },
10280 { (char *)"HtmlContentsItem_GetLevel", (PyCFunction) _wrap_HtmlContentsItem_GetLevel, METH_VARARGS | METH_KEYWORDS },
10281 { (char *)"HtmlContentsItem_GetID", (PyCFunction) _wrap_HtmlContentsItem_GetID, METH_VARARGS | METH_KEYWORDS },
10282 { (char *)"HtmlContentsItem_GetName", (PyCFunction) _wrap_HtmlContentsItem_GetName, METH_VARARGS | METH_KEYWORDS },
10283 { (char *)"HtmlContentsItem_GetPage", (PyCFunction) _wrap_HtmlContentsItem_GetPage, METH_VARARGS | METH_KEYWORDS },
10284 { (char *)"HtmlContentsItem_GetBook", (PyCFunction) _wrap_HtmlContentsItem_GetBook, METH_VARARGS | METH_KEYWORDS },
10285 { (char *)"HtmlContentsItem_swigregister", HtmlContentsItem_swigregister, METH_VARARGS },
10286 { (char *)"HtmlSearchStatus_Search", (PyCFunction) _wrap_HtmlSearchStatus_Search, METH_VARARGS | METH_KEYWORDS },
10287 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction) _wrap_HtmlSearchStatus_IsActive, METH_VARARGS | METH_KEYWORDS },
10288 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetCurIndex, METH_VARARGS | METH_KEYWORDS },
10289 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetMaxIndex, METH_VARARGS | METH_KEYWORDS },
10290 { (char *)"HtmlSearchStatus_GetName", (PyCFunction) _wrap_HtmlSearchStatus_GetName, METH_VARARGS | METH_KEYWORDS },
10291 { (char *)"HtmlSearchStatus_GetContentsItem", (PyCFunction) _wrap_HtmlSearchStatus_GetContentsItem, METH_VARARGS | METH_KEYWORDS },
10292 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister, METH_VARARGS },
10293 { (char *)"new_HtmlHelpData", (PyCFunction) _wrap_new_HtmlHelpData, METH_VARARGS | METH_KEYWORDS },
10294 { (char *)"delete_HtmlHelpData", (PyCFunction) _wrap_delete_HtmlHelpData, METH_VARARGS | METH_KEYWORDS },
10295 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction) _wrap_HtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS },
10296 { (char *)"HtmlHelpData_AddBook", (PyCFunction) _wrap_HtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS },
10297 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction) _wrap_HtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS },
10298 { (char *)"HtmlHelpData_FindPageById", (PyCFunction) _wrap_HtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS },
10299 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction) _wrap_HtmlHelpData_GetBookRecArray, METH_VARARGS | METH_KEYWORDS },
10300 { (char *)"HtmlHelpData_GetContents", (PyCFunction) _wrap_HtmlHelpData_GetContents, METH_VARARGS | METH_KEYWORDS },
10301 { (char *)"HtmlHelpData_GetContentsCnt", (PyCFunction) _wrap_HtmlHelpData_GetContentsCnt, METH_VARARGS | METH_KEYWORDS },
10302 { (char *)"HtmlHelpData_GetIndex", (PyCFunction) _wrap_HtmlHelpData_GetIndex, METH_VARARGS | METH_KEYWORDS },
10303 { (char *)"HtmlHelpData_GetIndexCnt", (PyCFunction) _wrap_HtmlHelpData_GetIndexCnt, METH_VARARGS | METH_KEYWORDS },
10304 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister, METH_VARARGS },
10305 { (char *)"new_HtmlHelpFrame", (PyCFunction) _wrap_new_HtmlHelpFrame, METH_VARARGS | METH_KEYWORDS },
10306 { (char *)"HtmlHelpFrame_GetData", (PyCFunction) _wrap_HtmlHelpFrame_GetData, METH_VARARGS | METH_KEYWORDS },
10307 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS },
10308 { (char *)"HtmlHelpFrame_Display", (PyCFunction) _wrap_HtmlHelpFrame_Display, METH_VARARGS | METH_KEYWORDS },
10309 { (char *)"HtmlHelpFrame_DisplayID", (PyCFunction) _wrap_HtmlHelpFrame_DisplayID, METH_VARARGS | METH_KEYWORDS },
10310 { (char *)"HtmlHelpFrame_DisplayContents", (PyCFunction) _wrap_HtmlHelpFrame_DisplayContents, METH_VARARGS | METH_KEYWORDS },
10311 { (char *)"HtmlHelpFrame_DisplayIndex", (PyCFunction) _wrap_HtmlHelpFrame_DisplayIndex, METH_VARARGS | METH_KEYWORDS },
10312 { (char *)"HtmlHelpFrame_KeywordSearch", (PyCFunction) _wrap_HtmlHelpFrame_KeywordSearch, METH_VARARGS | METH_KEYWORDS },
10313 { (char *)"HtmlHelpFrame_UseConfig", (PyCFunction) _wrap_HtmlHelpFrame_UseConfig, METH_VARARGS | METH_KEYWORDS },
10314 { (char *)"HtmlHelpFrame_ReadCustomization", (PyCFunction) _wrap_HtmlHelpFrame_ReadCustomization, METH_VARARGS | METH_KEYWORDS },
10315 { (char *)"HtmlHelpFrame_WriteCustomization", (PyCFunction) _wrap_HtmlHelpFrame_WriteCustomization, METH_VARARGS | METH_KEYWORDS },
10316 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister, METH_VARARGS },
10317 { (char *)"new_HtmlHelpController", (PyCFunction) _wrap_new_HtmlHelpController, METH_VARARGS | METH_KEYWORDS },
10318 { (char *)"delete_HtmlHelpController", (PyCFunction) _wrap_delete_HtmlHelpController, METH_VARARGS | METH_KEYWORDS },
10319 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS },
10320 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction) _wrap_HtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS },
10321 { (char *)"HtmlHelpController_AddBook", (PyCFunction) _wrap_HtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS },
10322 { (char *)"HtmlHelpController_Display", (PyCFunction) _wrap_HtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS },
10323 { (char *)"HtmlHelpController_DisplayID", (PyCFunction) _wrap_HtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS },
10324 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction) _wrap_HtmlHelpController_DisplayContents, METH_VARARGS | METH_KEYWORDS },
10325 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction) _wrap_HtmlHelpController_DisplayIndex, METH_VARARGS | METH_KEYWORDS },
10326 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction) _wrap_HtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS },
10327 { (char *)"HtmlHelpController_UseConfig", (PyCFunction) _wrap_HtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS },
10328 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction) _wrap_HtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS },
10329 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction) _wrap_HtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS },
10330 { (char *)"HtmlHelpController_GetFrame", (PyCFunction) _wrap_HtmlHelpController_GetFrame, METH_VARARGS | METH_KEYWORDS },
10331 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister, METH_VARARGS },
10332 { NULL, NULL }
10333 };
10334
10335
10336 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
10337
10338 static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x) {
10339 return (void *)((wxHtmlRenderingStyle *) ((wxDefaultHtmlRenderingStyle *) x));
10340 }
10341 static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) {
10342 return (void *)((wxHtmlParser *) ((wxHtmlWinParser *) x));
10343 }
10344 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
10345 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
10346 }
10347 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
10348 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
10349 }
10350 static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) {
10351 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x));
10352 }
10353 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
10354 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
10355 }
10356 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
10357 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
10358 }
10359 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
10360 return (void *)((wxPanel *) ((wxPyPanel *) x));
10361 }
10362 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
10363 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
10364 }
10365 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
10366 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
10367 }
10368 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
10369 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
10370 }
10371 static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) {
10372 return (void *)((wxScrolledWindow *) ((wxPyHtmlWindow *) x));
10373 }
10374 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
10375 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
10376 }
10377 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
10378 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
10379 }
10380 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
10381 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
10382 }
10383 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
10384 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
10385 }
10386 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
10387 return (void *)((wxWindow *) ((wxMenuBar *) x));
10388 }
10389 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
10390 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
10391 }
10392 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
10393 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
10394 }
10395 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
10396 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
10397 }
10398 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
10399 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
10400 }
10401 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
10402 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
10403 }
10404 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
10405 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
10406 }
10407 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
10408 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
10409 }
10410 static void *_p_wxPanelTo_p_wxWindow(void *x) {
10411 return (void *)((wxWindow *) ((wxPanel *) x));
10412 }
10413 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
10414 return (void *)((wxWindow *) ((wxStatusBar *) x));
10415 }
10416 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
10417 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
10418 }
10419 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
10420 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
10421 }
10422 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
10423 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
10424 }
10425 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
10426 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
10427 }
10428 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
10429 return (void *)((wxWindow *) ((wxPopupWindow *) x));
10430 }
10431 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
10432 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
10433 }
10434 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
10435 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
10436 }
10437 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
10438 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
10439 }
10440 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
10441 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
10442 }
10443 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
10444 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
10445 }
10446 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
10447 return (void *)((wxWindow *) ((wxSashWindow *) x));
10448 }
10449 static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) {
10450 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
10451 }
10452 static void *_p_wxControlTo_p_wxWindow(void *x) {
10453 return (void *)((wxWindow *) ((wxControl *) x));
10454 }
10455 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
10456 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
10457 }
10458 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
10459 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
10460 }
10461 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
10462 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
10463 }
10464 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
10465 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
10466 }
10467 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
10468 return (void *)((wxWindow *) ((wxPyWindow *) x));
10469 }
10470 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
10471 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
10472 }
10473 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
10474 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
10475 }
10476 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
10477 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
10478 }
10479 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
10480 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
10481 }
10482 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
10483 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
10484 }
10485 static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) {
10486 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
10487 }
10488 static void *_p_wxFrameTo_p_wxWindow(void *x) {
10489 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
10490 }
10491 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
10492 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
10493 }
10494 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
10495 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
10496 }
10497 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
10498 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
10499 }
10500 static void *_p_wxDialogTo_p_wxWindow(void *x) {
10501 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
10502 }
10503 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
10504 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
10505 }
10506 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
10507 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
10508 }
10509 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
10510 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
10511 }
10512 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
10513 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
10514 }
10515 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
10516 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
10517 }
10518 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
10519 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
10520 }
10521 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
10522 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
10523 }
10524 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
10525 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
10526 }
10527 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
10528 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
10529 }
10530 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
10531 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
10532 }
10533 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
10534 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
10535 }
10536 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
10537 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
10538 }
10539 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
10540 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
10541 }
10542 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
10543 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
10544 }
10545 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
10546 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
10547 }
10548 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
10549 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
10550 }
10551 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
10552 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
10553 }
10554 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
10555 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
10556 }
10557 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
10558 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
10559 }
10560 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
10561 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
10562 }
10563 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
10564 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
10565 }
10566 static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) {
10567 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x));
10568 }
10569 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
10570 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
10571 }
10572 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
10573 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
10574 }
10575 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
10576 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
10577 }
10578 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
10579 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
10580 }
10581 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
10582 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
10583 }
10584 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
10585 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
10586 }
10587 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
10588 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
10589 }
10590 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
10591 return (void *)((wxObject *) ((wxSizerItem *) x));
10592 }
10593 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
10594 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
10595 }
10596 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
10597 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
10598 }
10599 static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) {
10600 return (void *)((wxObject *) ((wxHtmlLinkInfo *) x));
10601 }
10602 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
10603 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
10604 }
10605 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
10606 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
10607 }
10608 static void *_p_wxSizerTo_p_wxObject(void *x) {
10609 return (void *)((wxObject *) ((wxSizer *) x));
10610 }
10611 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
10612 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
10613 }
10614 static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) {
10615 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x));
10616 }
10617 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
10618 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
10619 }
10620 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
10621 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
10622 }
10623 static void *_p_wxEventTo_p_wxObject(void *x) {
10624 return (void *)((wxObject *) ((wxEvent *) x));
10625 }
10626 static void *_p_wxFontDataTo_p_wxObject(void *x) {
10627 return (void *)((wxObject *) ((wxFontData *) x));
10628 }
10629 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
10630 return (void *)((wxObject *) ((wxPrintData *) x));
10631 }
10632 static void *_p_wxHtmlTagTo_p_wxObject(void *x) {
10633 return (void *)((wxObject *) ((wxHtmlTag *) x));
10634 }
10635 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
10636 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
10637 }
10638 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
10639 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
10640 }
10641 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
10642 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
10643 }
10644 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
10645 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
10646 }
10647 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
10648 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
10649 }
10650 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
10651 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
10652 }
10653 static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) {
10654 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
10655 }
10656 static void *_p_wxHtmlCellTo_p_wxObject(void *x) {
10657 return (void *)((wxObject *) ((wxHtmlCell *) x));
10658 }
10659 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
10660 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
10661 }
10662 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
10663 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
10664 }
10665 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
10666 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
10667 }
10668 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
10669 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
10670 }
10671 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
10672 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
10673 }
10674 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
10675 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
10676 }
10677 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
10678 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
10679 }
10680 static void *_p_wxControlTo_p_wxObject(void *x) {
10681 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
10682 }
10683 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
10684 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
10685 }
10686 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
10687 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
10688 }
10689 static void *_p_wxFSFileTo_p_wxObject(void *x) {
10690 return (void *)((wxObject *) ((wxFSFile *) x));
10691 }
10692 static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) {
10693 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x));
10694 }
10695 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
10696 return (void *)((wxObject *) ((wxFindReplaceData *) x));
10697 }
10698 static void *_p_wxPySizerTo_p_wxObject(void *x) {
10699 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
10700 }
10701 static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) {
10702 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x));
10703 }
10704 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
10705 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
10706 }
10707 static void *_p_wxColourDataTo_p_wxObject(void *x) {
10708 return (void *)((wxObject *) ((wxColourData *) x));
10709 }
10710 static void *_p_wxPyEventTo_p_wxObject(void *x) {
10711 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
10712 }
10713 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
10714 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
10715 }
10716 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
10717 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
10718 }
10719 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
10720 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
10721 }
10722 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
10723 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
10724 }
10725 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
10726 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
10727 }
10728 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
10729 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
10730 }
10731 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
10732 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
10733 }
10734 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
10735 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
10736 }
10737 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
10738 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
10739 }
10740 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
10741 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
10742 }
10743 static void *_p_wxShowEventTo_p_wxObject(void *x) {
10744 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
10745 }
10746 static void *_p_wxPrinterTo_p_wxObject(void *x) {
10747 return (void *)((wxObject *) ((wxPrinter *) x));
10748 }
10749 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
10750 return (void *)((wxObject *) ((wxMenuItem *) x));
10751 }
10752 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
10753 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
10754 }
10755 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
10756 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
10757 }
10758 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
10759 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
10760 }
10761 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
10762 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
10763 }
10764 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
10765 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
10766 }
10767 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
10768 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
10769 }
10770 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
10771 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
10772 }
10773 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
10774 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
10775 }
10776 static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) {
10777 return (void *)((wxObject *) ((wxPyHtmlFilter *) x));
10778 }
10779 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
10780 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
10781 }
10782 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
10783 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
10784 }
10785 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
10786 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
10787 }
10788 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
10789 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
10790 }
10791 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
10792 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
10793 }
10794 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
10795 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
10796 }
10797 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
10798 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
10799 }
10800 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
10801 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
10802 }
10803 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
10804 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
10805 }
10806 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
10807 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
10808 }
10809 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
10810 return (void *)((wxObject *) ((wxImageHandler *) x));
10811 }
10812 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
10813 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
10814 }
10815 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
10816 return (void *)((wxObject *) ((wxEvtHandler *) x));
10817 }
10818 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
10819 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
10820 }
10821 static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) {
10822 return (void *)((wxObject *) ((wxPyHtmlTagHandler *) x));
10823 }
10824 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) {
10825 return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
10826 }
10827 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
10828 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
10829 }
10830 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
10831 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
10832 }
10833 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
10834 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
10835 }
10836 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
10837 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
10838 }
10839 static void *_p_wxImageTo_p_wxObject(void *x) {
10840 return (void *)((wxObject *) ((wxImage *) x));
10841 }
10842 static void *_p_wxFrameTo_p_wxObject(void *x) {
10843 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
10844 }
10845 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
10846 return (void *)((wxObject *) ((wxPyPrintout *) x));
10847 }
10848 static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) {
10849 return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x));
10850 }
10851 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
10852 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
10853 }
10854 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
10855 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
10856 }
10857 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
10858 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
10859 }
10860 static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x) {
10861 return (void *)((wxObject *) ((wxHtmlDCRenderer *) x));
10862 }
10863 static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) {
10864 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x));
10865 }
10866 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
10867 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
10868 }
10869 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
10870 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
10871 }
10872 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
10873 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
10874 }
10875 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
10876 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
10877 }
10878 static void *_p_wxWindowTo_p_wxObject(void *x) {
10879 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
10880 }
10881 static void *_p_wxMenuTo_p_wxObject(void *x) {
10882 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
10883 }
10884 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
10885 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
10886 }
10887 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
10888 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
10889 }
10890 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
10891 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
10892 }
10893 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
10894 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
10895 }
10896 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
10897 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
10898 }
10899 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
10900 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
10901 }
10902 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
10903 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
10904 }
10905 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
10906 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
10907 }
10908 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
10909 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
10910 }
10911 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
10912 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
10913 }
10914 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
10915 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
10916 }
10917 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
10918 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
10919 }
10920 static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) {
10921 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
10922 }
10923 static void *_p_wxSashEventTo_p_wxObject(void *x) {
10924 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
10925 }
10926 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
10927 return (void *)((wxObject *) ((wxPrintPreview *) x));
10928 }
10929 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
10930 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
10931 }
10932 static void *_p_wxPanelTo_p_wxObject(void *x) {
10933 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
10934 }
10935 static void *_p_wxDialogTo_p_wxObject(void *x) {
10936 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
10937 }
10938 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
10939 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
10940 }
10941 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
10942 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
10943 }
10944 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
10945 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
10946 }
10947 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
10948 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
10949 }
10950 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
10951 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
10952 }
10953 static void *_p_wxHtmlParserTo_p_wxObject(void *x) {
10954 return (void *)((wxObject *) ((wxHtmlParser *) x));
10955 }
10956 static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) {
10957 return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x));
10958 }
10959 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
10960 return (void *)((wxObject *) ((wxFileSystem *) x));
10961 }
10962 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
10963 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
10964 }
10965 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
10966 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
10967 }
10968 static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) {
10969 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x));
10970 }
10971 static void *_p_wxPyAppTo_p_wxObject(void *x) {
10972 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
10973 }
10974 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
10975 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
10976 }
10977 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
10978 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
10979 }
10980 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
10981 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
10982 }
10983 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
10984 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
10985 }
10986 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
10987 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
10988 }
10989 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
10990 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
10991 }
10992 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
10993 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
10994 }
10995 static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) {
10996 return (void *)((wxObject *) ((wxHtmlEasyPrinting *) x));
10997 }
10998 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
10999 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
11000 }
11001 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
11002 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
11003 }
11004 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
11005 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
11006 }
11007 static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) {
11008 return (void *)((wxObject *) (wxEvtHandler *) ((wxHtmlHelpController *) x));
11009 }
11010 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
11011 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
11012 }
11013 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
11014 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
11015 }
11016 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
11017 return (void *)((wxObject *) ((wxPrintDialogData *) x));
11018 }
11019 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
11020 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
11021 }
11022 static void *_p_wxValidatorTo_p_wxObject(void *x) {
11023 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
11024 }
11025 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) {
11026 return (void *)((wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
11027 }
11028 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
11029 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
11030 }
11031 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
11032 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
11033 }
11034 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
11035 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
11036 }
11037 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
11038 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
11039 }
11040 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
11041 return (void *)((wxEvtHandler *) ((wxValidator *) x));
11042 }
11043 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
11044 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
11045 }
11046 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
11047 return (void *)((wxEvtHandler *) ((wxMenu *) x));
11048 }
11049 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
11050 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
11051 }
11052 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
11053 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
11054 }
11055 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
11056 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
11057 }
11058 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
11059 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
11060 }
11061 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
11062 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
11063 }
11064 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
11065 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
11066 }
11067 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
11068 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
11069 }
11070 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
11071 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
11072 }
11073 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
11074 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
11075 }
11076 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
11077 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
11078 }
11079 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
11080 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
11081 }
11082 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
11083 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
11084 }
11085 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
11086 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
11087 }
11088 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
11089 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
11090 }
11091 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
11092 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
11093 }
11094 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
11095 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
11096 }
11097 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
11098 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
11099 }
11100 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
11101 return (void *)((wxEvtHandler *) ((wxWindow *) x));
11102 }
11103 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
11104 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
11105 }
11106 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
11107 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
11108 }
11109 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
11110 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
11111 }
11112 static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) {
11113 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
11114 }
11115 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
11116 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
11117 }
11118 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
11119 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
11120 }
11121 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
11122 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11123 }
11124 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
11125 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
11126 }
11127 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
11128 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
11129 }
11130 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
11131 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
11132 }
11133 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
11134 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
11135 }
11136 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
11137 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
11138 }
11139 static void *_p_wxHtmlHelpControllerTo_p_wxEvtHandler(void *x) {
11140 return (void *)((wxEvtHandler *) ((wxHtmlHelpController *) x));
11141 }
11142 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
11143 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11144 }
11145 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
11146 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11147 }
11148 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
11149 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
11150 }
11151 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
11152 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11153 }
11154 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
11155 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
11156 }
11157 static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) {
11158 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
11159 }
11160 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
11161 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
11162 }
11163 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
11164 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
11165 }
11166 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
11167 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
11168 }
11169 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
11170 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
11171 }
11172 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
11173 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
11174 }
11175 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
11176 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
11177 }
11178 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
11179 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
11180 }
11181 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
11182 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
11183 }
11184 static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) {
11185 return (void *)((wxPyPrintout *) ((wxHtmlPrintout *) x));
11186 }
11187 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
11188 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
11189 }
11190 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
11191 return (void *)((wxFrame *) ((wxProgressDialog *) x));
11192 }
11193 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
11194 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
11195 }
11196 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
11197 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11198 }
11199 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
11200 return (void *)((wxFrame *) ((wxMiniFrame *) x));
11201 }
11202 static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) {
11203 return (void *)((wxFrame *) ((wxHtmlHelpFrame *) x));
11204 }
11205 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
11206 return (void *)((wxFrame *) ((wxSplashScreen *) x));
11207 }
11208 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
11209 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
11210 }
11211 static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) {
11212 return (void *)((wxHtmlCell *) ((wxHtmlContainerCell *) x));
11213 }
11214 static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) {
11215 return (void *)((wxHtmlCell *) ((wxHtmlWidgetCell *) x));
11216 }
11217 static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) {
11218 return (void *)((wxHtmlCell *) ((wxHtmlColourCell *) x));
11219 }
11220 static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) {
11221 return (void *)((wxHtmlCell *) ((wxHtmlWordCell *) x));
11222 }
11223 static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) {
11224 return (void *)((wxHtmlCell *) ((wxHtmlFontCell *) x));
11225 }
11226 static swig_type_info _swigt__p_wxHtmlDCRenderer[] = {{"_p_wxHtmlDCRenderer", 0, "wxHtmlDCRenderer *", 0},{"_p_wxHtmlDCRenderer"},{0}};
11227 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
11228 static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
11229 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
11230 static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle[] = {{"_p_wxDefaultHtmlRenderingStyle", 0, "wxDefaultHtmlRenderingStyle *", 0},{"_p_wxDefaultHtmlRenderingStyle"},{0}};
11231 static swig_type_info _swigt__p_wxHtmlRenderingStyle[] = {{"_p_wxHtmlRenderingStyle", 0, "wxHtmlRenderingStyle *", 0},{"_p_wxHtmlRenderingStyle"},{"_p_wxDefaultHtmlRenderingStyle", _p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle},{0}};
11232 static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
11233 static swig_type_info _swigt__p_wxHtmlWordCell[] = {{"_p_wxHtmlWordCell", 0, "wxHtmlWordCell *", 0},{"_p_wxHtmlWordCell"},{0}};
11234 static swig_type_info _swigt__p_wxHtmlHelpData[] = {{"_p_wxHtmlHelpData", 0, "wxHtmlHelpData *", 0},{"_p_wxHtmlHelpData"},{0}};
11235 static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
11236 static swig_type_info _swigt__p_wxHtmlWinParser[] = {{"_p_wxHtmlWinParser", 0, "wxHtmlWinParser *", 0},{"_p_wxHtmlWinParser"},{0}};
11237 static swig_type_info _swigt__p_wxHtmlParser[] = {{"_p_wxHtmlParser", 0, "wxHtmlParser *", 0},{"_p_wxHtmlParser"},{"_p_wxHtmlWinParser", _p_wxHtmlWinParserTo_p_wxHtmlParser},{0}};
11238 static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0},{"_p_wxPanel"},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxPanel},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel},{0}};
11239 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
11240 static swig_type_info _swigt__p_wxHtmlColourCell[] = {{"_p_wxHtmlColourCell", 0, "wxHtmlColourCell *", 0},{"_p_wxHtmlColourCell"},{0}};
11241 static swig_type_info _swigt__p_wxPyHtmlWindow[] = {{"_p_wxPyHtmlWindow", 0, "wxPyHtmlWindow *", 0},{"_p_wxPyHtmlWindow"},{0}};
11242 static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxScrolledWindow},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow},{0}};
11243 static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxWindow},{"_p_wxWindow"},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow},{"_p_wxControl", _p_wxControlTo_p_wxWindow},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxWindow},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow},{0}};
11244 static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow},{"_p_wxTopLevelWindow"},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxTopLevelWindow},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow},{0}};
11245 static swig_type_info _swigt__p_wxHtmlFontCell[] = {{"_p_wxHtmlFontCell", 0, "wxHtmlFontCell *", 0},{"_p_wxHtmlFontCell"},{0}};
11246 static swig_type_info _swigt__p_wxHtmlEasyPrinting[] = {{"_p_wxHtmlEasyPrinting", 0, "wxHtmlEasyPrinting *", 0},{"_p_wxHtmlEasyPrinting"},{0}};
11247 static swig_type_info _swigt__p_wxHtmlSelection[] = {{"_p_wxHtmlSelection", 0, "wxHtmlSelection *", 0},{"_p_wxHtmlSelection"},{0}};
11248 static swig_type_info _swigt__p_wxHtmlRenderingInfo[] = {{"_p_wxHtmlRenderingInfo", 0, "wxHtmlRenderingInfo *", 0},{"_p_wxHtmlRenderingInfo"},{0}};
11249 static swig_type_info _swigt__p_wxHtmlWidgetCell[] = {{"_p_wxHtmlWidgetCell", 0, "wxHtmlWidgetCell *", 0},{"_p_wxHtmlWidgetCell"},{0}};
11250 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxHtmlLinkInfo", _p_wxHtmlLinkInfoTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxHtmlFontCell", _p_wxHtmlFontCellTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject},{"_p_wxHtmlTag", _p_wxHtmlTagTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxObject},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject},{"_p_wxHtmlCell", _p_wxHtmlCellTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxHtmlWidgetCell", _p_wxHtmlWidgetCellTo_p_wxObject},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxHtmlColourCell", _p_wxHtmlColourCellTo_p_wxObject},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxPyHtmlFilter", _p_wxPyHtmlFilterTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject},{"_p_wxPyHtmlTagHandler", _p_wxPyHtmlTagHandlerTo_p_wxObject},{"_p_wxPyHtmlWinTagHandler", _p_wxPyHtmlWinTagHandlerTo_p_wxObject},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxFrame", _p_wxFrameTo_p_wxObject},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject},{"_p_wxHtmlPrintout", _p_wxHtmlPrintoutTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject},{"_p_wxHtmlDCRenderer", _p_wxHtmlDCRendererTo_p_wxObject},{"_p_wxHtmlContainerCell", _p_wxHtmlContainerCellTo_p_wxObject},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject},{"_p_wxObject"},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxObject},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject},{"_p_wxPanel", _p_wxPanelTo_p_wxObject},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject},{"_p_wxDialog", _p_wxDialogTo_p_wxObject},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject},{"_p_wxHtmlParser", _p_wxHtmlParserTo_p_wxObject},{"_p_wxHtmlWinParser", _p_wxHtmlWinParserTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxHtmlWordCell", _p_wxHtmlWordCellTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject},{"_p_wxHtmlEasyPrinting", _p_wxHtmlEasyPrintingTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxHtmlHelpController", _p_wxHtmlHelpControllerTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{0}};
11251 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
11252 static swig_type_info _swigt__p_wxPyHtmlWinTagHandler[] = {{"_p_wxPyHtmlWinTagHandler", 0, "wxPyHtmlWinTagHandler *", 0},{"_p_wxPyHtmlWinTagHandler"},{0}};
11253 static swig_type_info _swigt__p_wxHtmlTagHandler[] = {{"_p_wxHtmlTagHandler", 0, "wxHtmlTagHandler *", 0},{"_p_wxHtmlTagHandler"},{0}};
11254 static swig_type_info _swigt__p_wxPyHtmlTagHandler[] = {{"_p_wxPyHtmlTagHandler", 0, "wxPyHtmlTagHandler *", 0},{"_p_wxPyHtmlTagHandler"},{"_p_wxPyHtmlWinTagHandler", _p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler},{0}};
11255 static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxEvtHandler},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler},{"_p_wxEvtHandler"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler},{"_p_wxHtmlHelpController", _p_wxHtmlHelpControllerTo_p_wxEvtHandler},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxEvtHandler},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler},{0}};
11256 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
11257 static swig_type_info _swigt__p_wxHtmlHelpController[] = {{"_p_wxHtmlHelpController", 0, "wxHtmlHelpController *", 0},{"_p_wxHtmlHelpController"},{0}};
11258 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
11259 static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0},{"_p_wxFileSystem"},{0}};
11260 static swig_type_info _swigt__p_wxHtmlBookRecArray[] = {{"_p_wxHtmlBookRecArray", 0, "wxHtmlBookRecArray *", 0},{"_p_wxHtmlBookRecArray"},{0}};
11261 static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{"_p_wxHtmlPrintout", _p_wxHtmlPrintoutTo_p_wxPyPrintout},{0}};
11262 static swig_type_info _swigt__p_wxHtmlPrintout[] = {{"_p_wxHtmlPrintout", 0, "wxHtmlPrintout *", 0},{"_p_wxHtmlPrintout"},{0}};
11263 static swig_type_info _swigt__p_wxHtmlSearchStatus[] = {{"_p_wxHtmlSearchStatus", 0, "wxHtmlSearchStatus *", 0},{"_p_wxHtmlSearchStatus"},{0}};
11264 static swig_type_info _swigt__p_wxHtmlContentsItem[] = {{"_p_wxHtmlContentsItem", 0, "wxHtmlContentsItem *", 0},{"_p_wxHtmlContentsItem"},{0}};
11265 static swig_type_info _swigt__p_wxConfigBase[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0},{"_p_wxConfigBase"},{0}};
11266 static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
11267 static swig_type_info _swigt__p_wxHtmlHelpFrame[] = {{"_p_wxHtmlHelpFrame", 0, "wxHtmlHelpFrame *", 0},{"_p_wxHtmlHelpFrame"},{0}};
11268 static swig_type_info _swigt__p_wxHtmlRenderingState[] = {{"_p_wxHtmlRenderingState", 0, "wxHtmlRenderingState *", 0},{"_p_wxHtmlRenderingState"},{0}};
11269 static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxFrame},{"_p_wxFrame"},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame},{0}};
11270 static swig_type_info _swigt__p_wxPyHtmlFilter[] = {{"_p_wxPyHtmlFilter", 0, "wxPyHtmlFilter *", 0},{"_p_wxPyHtmlFilter"},{0}};
11271 static swig_type_info _swigt__p_wxHtmlFilter[] = {{"_p_wxHtmlFilter", 0, "wxHtmlFilter *", 0},{"_p_wxHtmlFilter"},{0}};
11272 static swig_type_info _swigt__p_wxHtmlCell[] = {{"_p_wxHtmlCell", 0, "wxHtmlCell *", 0},{"_p_wxHtmlCell"},{"_p_wxHtmlContainerCell", _p_wxHtmlContainerCellTo_p_wxHtmlCell},{"_p_wxHtmlWidgetCell", _p_wxHtmlWidgetCellTo_p_wxHtmlCell},{"_p_wxHtmlColourCell", _p_wxHtmlColourCellTo_p_wxHtmlCell},{"_p_wxHtmlWordCell", _p_wxHtmlWordCellTo_p_wxHtmlCell},{"_p_wxHtmlFontCell", _p_wxHtmlFontCellTo_p_wxHtmlCell},{0}};
11273 static swig_type_info _swigt__p_wxHtmlContainerCell[] = {{"_p_wxHtmlContainerCell", 0, "wxHtmlContainerCell *", 0},{"_p_wxHtmlContainerCell"},{0}};
11274 static swig_type_info _swigt__p_wxHtmlTag[] = {{"_p_wxHtmlTag", 0, "wxHtmlTag *", 0},{"_p_wxHtmlTag"},{0}};
11275 static swig_type_info _swigt__p_wxHtmlLinkInfo[] = {{"_p_wxHtmlLinkInfo", 0, "wxHtmlLinkInfo *", 0},{"_p_wxHtmlLinkInfo"},{0}};
11276 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
11277 static swig_type_info _swigt__p_wxHtmlBookRecord[] = {{"_p_wxHtmlBookRecord", 0, "wxHtmlBookRecord *", 0},{"_p_wxHtmlBookRecord"},{0}};
11278
11279 static swig_type_info *swig_types_initial[] = {
11280 _swigt__p_wxHtmlDCRenderer,
11281 _swigt__p_wxColour,
11282 _swigt__p_wxPageSetupDialogData,
11283 _swigt__p_wxDC,
11284 _swigt__p_wxDefaultHtmlRenderingStyle,
11285 _swigt__p_wxHtmlRenderingStyle,
11286 _swigt__p_wxMouseEvent,
11287 _swigt__p_wxHtmlWordCell,
11288 _swigt__p_wxHtmlHelpData,
11289 _swigt__p_char,
11290 _swigt__p_wxHtmlWinParser,
11291 _swigt__p_wxHtmlParser,
11292 _swigt__p_wxPanel,
11293 _swigt__p_wxFont,
11294 _swigt__p_wxHtmlColourCell,
11295 _swigt__p_wxPyHtmlWindow,
11296 _swigt__p_wxScrolledWindow,
11297 _swigt__p_wxWindow,
11298 _swigt__p_wxTopLevelWindow,
11299 _swigt__p_wxHtmlFontCell,
11300 _swigt__p_wxHtmlEasyPrinting,
11301 _swigt__p_wxHtmlSelection,
11302 _swigt__p_wxHtmlRenderingInfo,
11303 _swigt__p_wxHtmlWidgetCell,
11304 _swigt__p_wxObject,
11305 _swigt__p_wxString,
11306 _swigt__p_wxPyHtmlWinTagHandler,
11307 _swigt__p_wxHtmlTagHandler,
11308 _swigt__p_wxPyHtmlTagHandler,
11309 _swigt__p_wxEvtHandler,
11310 _swigt__p_wxPoint,
11311 _swigt__p_wxHtmlHelpController,
11312 _swigt__p_wxCursor,
11313 _swigt__p_wxFileSystem,
11314 _swigt__p_wxHtmlBookRecArray,
11315 _swigt__p_wxPyPrintout,
11316 _swigt__p_wxHtmlPrintout,
11317 _swigt__p_wxHtmlSearchStatus,
11318 _swigt__p_wxHtmlContentsItem,
11319 _swigt__p_wxConfigBase,
11320 _swigt__p_wxPrintData,
11321 _swigt__p_wxHtmlHelpFrame,
11322 _swigt__p_wxHtmlRenderingState,
11323 _swigt__p_wxFrame,
11324 _swigt__p_wxPyHtmlFilter,
11325 _swigt__p_wxHtmlFilter,
11326 _swigt__p_wxHtmlCell,
11327 _swigt__p_wxHtmlContainerCell,
11328 _swigt__p_wxHtmlTag,
11329 _swigt__p_wxHtmlLinkInfo,
11330 _swigt__p_int,
11331 _swigt__p_wxHtmlBookRecord,
11332 0
11333 };
11334
11335
11336 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
11337
11338 static swig_const_info swig_const_table[] = {
11339 {0}};
11340
11341 #ifdef __cplusplus
11342 }
11343 #endif
11344
11345 #ifdef __cplusplus
11346 extern "C"
11347 #endif
11348 SWIGEXPORT(void) SWIG_init(void) {
11349 static PyObject *SWIG_globals = 0;
11350 static int typeinit = 0;
11351 PyObject *m, *d;
11352 int i;
11353 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
11354 m = Py_InitModule((char *) SWIG_name, SwigMethods);
11355 d = PyModule_GetDict(m);
11356
11357 if (!typeinit) {
11358 for (i = 0; swig_types_initial[i]; i++) {
11359 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
11360 }
11361 typeinit = 1;
11362 }
11363 SWIG_InstallConstants(d,swig_const_table);
11364
11365 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
11366 SWIG_addvarlink(SWIG_globals,(char*)"HtmlWindowNameStr",_wrap_HtmlWindowNameStr_get, _wrap_HtmlWindowNameStr_set);
11367 SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintoutTitleStr",_wrap_HtmlPrintoutTitleStr_get, _wrap_HtmlPrintoutTitleStr_set);
11368 SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintingTitleStr",_wrap_HtmlPrintingTitleStr_get, _wrap_HtmlPrintingTitleStr_set);
11369 PyDict_SetItemString(d,"HTML_ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxHTML_ALIGN_LEFT));
11370 PyDict_SetItemString(d,"HTML_ALIGN_CENTER", SWIG_PyObj_FromInt((int)wxHTML_ALIGN_CENTER));
11371 PyDict_SetItemString(d,"HTML_ALIGN_RIGHT", SWIG_PyObj_FromInt((int)wxHTML_ALIGN_RIGHT));
11372 PyDict_SetItemString(d,"HTML_ALIGN_BOTTOM", SWIG_PyObj_FromInt((int)wxHTML_ALIGN_BOTTOM));
11373 PyDict_SetItemString(d,"HTML_ALIGN_TOP", SWIG_PyObj_FromInt((int)wxHTML_ALIGN_TOP));
11374 PyDict_SetItemString(d,"HTML_CLR_FOREGROUND", SWIG_PyObj_FromInt((int)wxHTML_CLR_FOREGROUND));
11375 PyDict_SetItemString(d,"HTML_CLR_BACKGROUND", SWIG_PyObj_FromInt((int)wxHTML_CLR_BACKGROUND));
11376 PyDict_SetItemString(d,"HTML_UNITS_PIXELS", SWIG_PyObj_FromInt((int)wxHTML_UNITS_PIXELS));
11377 PyDict_SetItemString(d,"HTML_UNITS_PERCENT", SWIG_PyObj_FromInt((int)wxHTML_UNITS_PERCENT));
11378 PyDict_SetItemString(d,"HTML_INDENT_LEFT", SWIG_PyObj_FromInt((int)wxHTML_INDENT_LEFT));
11379 PyDict_SetItemString(d,"HTML_INDENT_RIGHT", SWIG_PyObj_FromInt((int)wxHTML_INDENT_RIGHT));
11380 PyDict_SetItemString(d,"HTML_INDENT_TOP", SWIG_PyObj_FromInt((int)wxHTML_INDENT_TOP));
11381 PyDict_SetItemString(d,"HTML_INDENT_BOTTOM", SWIG_PyObj_FromInt((int)wxHTML_INDENT_BOTTOM));
11382 PyDict_SetItemString(d,"HTML_INDENT_HORIZONTAL", SWIG_PyObj_FromInt((int)wxHTML_INDENT_HORIZONTAL));
11383 PyDict_SetItemString(d,"HTML_INDENT_VERTICAL", SWIG_PyObj_FromInt((int)wxHTML_INDENT_VERTICAL));
11384 PyDict_SetItemString(d,"HTML_INDENT_ALL", SWIG_PyObj_FromInt((int)wxHTML_INDENT_ALL));
11385 PyDict_SetItemString(d,"HTML_COND_ISANCHOR", SWIG_PyObj_FromInt((int)wxHTML_COND_ISANCHOR));
11386 PyDict_SetItemString(d,"HTML_COND_ISIMAGEMAP", SWIG_PyObj_FromInt((int)wxHTML_COND_ISIMAGEMAP));
11387 PyDict_SetItemString(d,"HTML_COND_USER", SWIG_PyObj_FromInt((int)wxHTML_COND_USER));
11388 PyDict_SetItemString(d,"HTML_FONT_SIZE_1", SWIG_PyObj_FromInt((int)wxHTML_FONT_SIZE_1));
11389 PyDict_SetItemString(d,"HTML_FONT_SIZE_2", SWIG_PyObj_FromInt((int)wxHTML_FONT_SIZE_2));
11390 PyDict_SetItemString(d,"HTML_FONT_SIZE_3", SWIG_PyObj_FromInt((int)wxHTML_FONT_SIZE_3));
11391 PyDict_SetItemString(d,"HTML_FONT_SIZE_4", SWIG_PyObj_FromInt((int)wxHTML_FONT_SIZE_4));
11392 PyDict_SetItemString(d,"HTML_FONT_SIZE_5", SWIG_PyObj_FromInt((int)wxHTML_FONT_SIZE_5));
11393 PyDict_SetItemString(d,"HTML_FONT_SIZE_6", SWIG_PyObj_FromInt((int)wxHTML_FONT_SIZE_6));
11394 PyDict_SetItemString(d,"HTML_FONT_SIZE_7", SWIG_PyObj_FromInt((int)wxHTML_FONT_SIZE_7));
11395 PyDict_SetItemString(d,"HW_SCROLLBAR_NEVER", SWIG_PyObj_FromInt((int)wxHW_SCROLLBAR_NEVER));
11396 PyDict_SetItemString(d,"HW_SCROLLBAR_AUTO", SWIG_PyObj_FromInt((int)wxHW_SCROLLBAR_AUTO));
11397 PyDict_SetItemString(d,"HW_NO_SELECTION", SWIG_PyObj_FromInt((int)wxHW_NO_SELECTION));
11398 PyDict_SetItemString(d,"HW_DEFAULT_STYLE", SWIG_PyObj_FromInt((int)wxHW_DEFAULT_STYLE));
11399 PyDict_SetItemString(d,"HTML_OPEN", SWIG_PyObj_FromInt((int)wxHTML_OPEN));
11400 PyDict_SetItemString(d,"HTML_BLOCK", SWIG_PyObj_FromInt((int)wxHTML_BLOCK));
11401 PyDict_SetItemString(d,"HTML_REDIRECT", SWIG_PyObj_FromInt((int)wxHTML_REDIRECT));
11402 PyDict_SetItemString(d,"HTML_URL_PAGE", SWIG_PyObj_FromInt((int)wxHTML_URL_PAGE));
11403 PyDict_SetItemString(d,"HTML_URL_IMAGE", SWIG_PyObj_FromInt((int)wxHTML_URL_IMAGE));
11404 PyDict_SetItemString(d,"HTML_URL_OTHER", SWIG_PyObj_FromInt((int)wxHTML_URL_OTHER));
11405 PyDict_SetItemString(d,"HTML_SEL_OUT", SWIG_PyObj_FromInt((int)wxHTML_SEL_OUT));
11406 PyDict_SetItemString(d,"HTML_SEL_IN", SWIG_PyObj_FromInt((int)wxHTML_SEL_IN));
11407 PyDict_SetItemString(d,"HTML_SEL_CHANGING", SWIG_PyObj_FromInt((int)wxHTML_SEL_CHANGING));
11408 PyDict_SetItemString(d,"HTML_FIND_EXACT", SWIG_PyObj_FromInt((int)wxHTML_FIND_EXACT));
11409 PyDict_SetItemString(d,"HTML_FIND_NEAREST_BEFORE", SWIG_PyObj_FromInt((int)wxHTML_FIND_NEAREST_BEFORE));
11410 PyDict_SetItemString(d,"HTML_FIND_NEAREST_AFTER", SWIG_PyObj_FromInt((int)wxHTML_FIND_NEAREST_AFTER));
11411 PyDict_SetItemString(d,"PAGE_ODD", SWIG_PyObj_FromInt((int)wxPAGE_ODD));
11412 PyDict_SetItemString(d,"PAGE_EVEN", SWIG_PyObj_FromInt((int)wxPAGE_EVEN));
11413 PyDict_SetItemString(d,"PAGE_ALL", SWIG_PyObj_FromInt((int)wxPAGE_ALL));
11414 PyDict_SetItemString(d,"HF_TOOLBAR", SWIG_PyObj_FromInt((int)wxHF_TOOLBAR));
11415 PyDict_SetItemString(d,"HF_FLATTOOLBAR", SWIG_PyObj_FromInt((int)wxHF_FLATTOOLBAR));
11416 PyDict_SetItemString(d,"HF_CONTENTS", SWIG_PyObj_FromInt((int)wxHF_CONTENTS));
11417 PyDict_SetItemString(d,"HF_INDEX", SWIG_PyObj_FromInt((int)wxHF_INDEX));
11418 PyDict_SetItemString(d,"HF_SEARCH", SWIG_PyObj_FromInt((int)wxHF_SEARCH));
11419 PyDict_SetItemString(d,"HF_BOOKMARKS", SWIG_PyObj_FromInt((int)wxHF_BOOKMARKS));
11420 PyDict_SetItemString(d,"HF_OPENFILES", SWIG_PyObj_FromInt((int)wxHF_OPENFILES));
11421 PyDict_SetItemString(d,"HF_PRINT", SWIG_PyObj_FromInt((int)wxHF_PRINT));
11422 PyDict_SetItemString(d,"HF_DEFAULTSTYLE", SWIG_PyObj_FromInt((int)wxHF_DEFAULTSTYLE));
11423
11424 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
11425 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
11426 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
11427 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");
11428
11429 }
11430