]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/html_wrap.cpp
reSWIGged
[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(int)
351 SWIG_PyObj_AsInt(PyObject *obj)
352 {
353 return numeric_cast(int,
354 SWIG_PyObj_AsLongInRange(obj, "int", INT_MIN, INT_MAX));
355 }
356
357 void wxHtmlWinParser_SetFonts(wxHtmlWinParser *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
358 int* temp = NULL;
359 if (sizes) temp = int_LIST_helper(sizes);
360 self->SetFonts(normal_face, fixed_face, temp);
361 if (temp)
362 delete [] temp;
363 }
364
365 class wxPyHtmlTagHandler : public wxHtmlTagHandler {
366 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler);
367 public:
368 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
369
370 wxHtmlParser* GetParser() { return m_Parser; }
371 void ParseInner(const wxHtmlTag& tag) { wxHtmlTagHandler::ParseInner(tag); }
372
373 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
374 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
375
376 PYPRIVATE;
377 };
378
379 IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler, wxHtmlTagHandler);
380
381 IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler, wxHtmlTagHandler, GetSupportedTags);
382 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag);
383
384
385 class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler {
386 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler);
387 public:
388 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
389
390 wxHtmlWinParser* GetParser() { return m_WParser; }
391 void ParseInner(const wxHtmlTag& tag)
392 { wxHtmlWinTagHandler::ParseInner(tag); }
393
394 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
395 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
396
397 PYPRIVATE;
398 };
399
400 IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler, wxHtmlWinTagHandler);
401
402 IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, GetSupportedTags);
403 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, HandleTag);
404
405
406
407 class wxPyHtmlTagsModule : public wxHtmlTagsModule {
408 public:
409 wxPyHtmlTagsModule(PyObject* thc) : wxHtmlTagsModule() {
410 m_tagHandlerClass = thc;
411 Py_INCREF(m_tagHandlerClass);
412 RegisterModule(this);
413 wxHtmlWinParser::AddModule(this);
414 }
415
416 void OnExit() {
417 wxPyBeginBlockThreads();
418 Py_DECREF(m_tagHandlerClass);
419 m_tagHandlerClass = NULL;
420 for (size_t x=0; x < m_objArray.GetCount(); x++) {
421 PyObject* obj = (PyObject*)m_objArray.Item(x);
422 Py_DECREF(obj);
423 }
424 wxPyEndBlockThreads();
425 };
426
427 void FillHandlersTable(wxHtmlWinParser *parser) {
428 // Wave our magic wand... (if it works it's a miracle! ;-)
429
430 // First, make a new instance of the tag handler
431 wxPyBeginBlockThreads();
432 PyObject* arg = PyTuple_New(0);
433 PyObject* obj = PyObject_CallObject(m_tagHandlerClass, arg);
434 Py_DECREF(arg);
435
436 // now figure out where it's C++ object is...
437 wxPyHtmlWinTagHandler* thPtr;
438 if (! wxPyConvertSwigPtr(obj, (void **)&thPtr, wxT("wxPyHtmlWinTagHandler"))) {
439 wxPyEndBlockThreads();
440 return;
441 }
442 wxPyEndBlockThreads();
443
444 // add it,
445 parser->AddTagHandler(thPtr);
446
447 // and track it.
448 m_objArray.Add(obj);
449 }
450
451 private:
452 PyObject* m_tagHandlerClass;
453 wxArrayPtrVoid m_objArray;
454
455 };
456
457
458 void wxHtmlWinParser_AddTagHandler(PyObject* tagHandlerClass) {
459 // Dynamically create a new wxModule. Refcounts tagHandlerClass
460 // and adds itself to the wxModules list and to the wxHtmlWinParser.
461 new wxPyHtmlTagsModule(tagHandlerClass);
462 }
463
464
465 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
466 PyObject* o2;
467 PyObject* o3;
468
469 if (!target) {
470 target = o;
471 } else if (target == Py_None) {
472 Py_DECREF(Py_None);
473 target = o;
474 } else {
475 if (!PyTuple_Check(target)) {
476 o2 = target;
477 target = PyTuple_New(1);
478 PyTuple_SetItem(target, 0, o2);
479 }
480 o3 = PyTuple_New(1);
481 PyTuple_SetItem(o3, 0, o);
482
483 o2 = target;
484 target = PySequence_Concat(o2, o3);
485 Py_DECREF(o2);
486 Py_DECREF(o3);
487 }
488 return target;
489 }
490
491
492 SWIGSTATIC(bool)
493 SWIG_PyObj_AsBool(PyObject *obj)
494 {
495 return PyObject_IsTrue(obj) ? true : false;
496 }
497
498
499 SWIGSTATIC(unsigned int)
500 SWIG_PyObj_AsUnsignedInt(PyObject *obj)
501 {
502 return numeric_cast(unsigned int,
503 SWIG_PyObj_AsUnsignedLongInRange(obj, "unsigned int", UINT_MAX));
504 }
505
506
507 SWIGSTATIC(PyObject* )
508 SWIG_PyObj_FromUnsignedLong(unsigned long value)
509 {
510 return (value > (unsigned long)(LONG_MAX)) ?
511 PyLong_FromUnsignedLong(value) : PyInt_FromLong((long)value);
512 }
513
514
515 #define SWIG_PyObj_FromUnsignedInt SWIG_PyObj_FromUnsignedLong
516
517 // here's the C++ version
518 class wxPyHtmlFilter : public wxHtmlFilter {
519 DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter);
520 public:
521 wxPyHtmlFilter() : wxHtmlFilter() {}
522
523 // returns True if this filter is able to open&read given file
524 virtual bool CanRead(const wxFSFile& file) const {
525 bool rval = False;
526 bool found;
527 wxPyBeginBlockThreads();
528 if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) {
529 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file); // cast away const
530 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
531 Py_DECREF(obj);
532 }
533 wxPyEndBlockThreads();
534 return rval;
535 }
536
537
538 // Reads given file and returns HTML document.
539 // Returns empty string if opening failed
540 virtual wxString ReadFile(const wxFSFile& file) const {
541 wxString rval;
542 bool found;
543 wxPyBeginBlockThreads();
544 if ((found = wxPyCBH_findCallback(m_myInst, "ReadFile"))) {
545 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file); // cast away const
546 PyObject* ro;
547 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(O)", obj));
548 Py_DECREF(obj);
549 if (ro) {
550 rval = Py2wxString(ro);
551 Py_DECREF(ro);
552 }
553 }
554 wxPyEndBlockThreads();
555 return rval;
556 }
557
558 PYPRIVATE;
559 };
560
561 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter, wxHtmlFilter);
562
563
564 class wxPyHtmlWindow : public wxHtmlWindow {
565 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow);
566 public:
567 wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1,
568 const wxPoint& pos = wxDefaultPosition,
569 const wxSize& size = wxDefaultSize,
570 long style = wxHW_DEFAULT_STYLE,
571 const wxString& name = wxPyHtmlWindowNameStr)
572 : wxHtmlWindow(parent, id, pos, size, style, name) {};
573 wxPyHtmlWindow() : wxHtmlWindow() {};
574
575 bool ScrollToAnchor(const wxString& anchor) {
576 return wxHtmlWindow::ScrollToAnchor(anchor);
577 }
578
579 bool HasAnchor(const wxString& anchor) {
580 const wxHtmlCell *c = m_Cell->Find(wxHTML_COND_ISANCHOR, &anchor);
581 return c!=NULL;
582 }
583
584 void OnLinkClicked(const wxHtmlLinkInfo& link);
585 void base_OnLinkClicked(const wxHtmlLinkInfo& link);
586
587 wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type,
588 const wxString& url,
589 wxString *redirect) const;
590
591 DEC_PYCALLBACK__STRING(OnSetTitle);
592 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover);
593 DEC_PYCALLBACK__CELLINTINTME(OnCellClicked);
594 PYPRIVATE;
595 };
596
597 IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow, wxHtmlWindow );
598 IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnSetTitle);
599 IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow, wxHtmlWindow, OnCellMouseHover);
600 IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow, wxHtmlWindow, OnCellClicked);
601
602
603 void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) {
604 bool found;
605 wxPyBeginBlockThreads();
606 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
607 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
608 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
609 Py_DECREF(obj);
610 }
611 wxPyEndBlockThreads();
612 if (! found)
613 wxHtmlWindow::OnLinkClicked(link);
614 }
615 void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo& link) {
616 wxHtmlWindow::OnLinkClicked(link);
617 }
618
619
620 wxHtmlOpeningStatus wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type,
621 const wxString& url,
622 wxString *redirect) const {
623 bool found;
624 wxHtmlOpeningStatus rval;
625 wxPyBeginBlockThreads();
626 if ((found = wxPyCBH_findCallback(m_myInst, "OnOpeningURL"))) {
627 PyObject* ro;
628 PyObject* s = wx2PyString(url);
629 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iO)", type, s));
630 Py_DECREF(s);
631 if (PyString_Check(ro)
632 #if PYTHON_API_VERSION >= 1009
633 || PyUnicode_Check(ro)
634 #endif
635 ) {
636 *redirect = Py2wxString(ro);
637 rval = wxHTML_REDIRECT;
638 }
639 else {
640 PyObject* num = PyNumber_Int(ro);
641 rval = (wxHtmlOpeningStatus)PyInt_AsLong(num);
642 Py_DECREF(num);
643 }
644 Py_DECREF(ro);
645 }
646 wxPyEndBlockThreads();
647 if (! found)
648 rval = wxHtmlWindow::OnOpeningURL(type, url, redirect);
649 return rval;
650 }
651
652
653
654 void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
655 int* temp = NULL;
656 if (sizes) temp = int_LIST_helper(sizes);
657 self->SetFonts(normal_face, fixed_face, temp);
658 if (temp)
659 delete [] temp;
660 }
661 void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
662 int* temp = NULL;
663 if (sizes) temp = int_LIST_helper(sizes);
664 self->SetFonts(normal_face, fixed_face, temp);
665 if (temp)
666 delete [] temp;
667 }
668 void wxHtmlPrintout_SetFonts(wxHtmlPrintout *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
669 int* temp = NULL;
670 if (sizes) temp = int_LIST_helper(sizes);
671 self->SetFonts(normal_face, fixed_face, temp);
672 if (temp)
673 delete [] temp;
674 }
675
676 SWIGSTATIC(double)
677 SWIG_PyObj_AsDouble(PyObject *obj)
678 {
679 return (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
680 #if HAVE_LONG_LONG
681 (double)((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
682 #else
683 (double)((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLong(obj));
684 #endif
685 if (PyErr_Occurred()) {
686 PyErr_Clear();
687 PyErr_SetString(PyExc_TypeError, "a double is expected");
688 }
689 }
690
691
692 SWIGSTATIC(float)
693 SWIG_PyObj_AsFloat(PyObject *obj)
694 {
695 return SWIG_PyObj_AsFloatConv(obj, SWIG_PyObj_AsDouble);
696 }
697
698 void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
699 int* temp = NULL;
700 if (sizes) temp = int_LIST_helper(sizes);
701 self->SetFonts(normal_face, fixed_face, temp);
702 if (temp)
703 delete [] temp;
704 }
705 int wxHtmlContentsItem_GetLevel(wxHtmlContentsItem *self){ return self->m_Level; }
706 int wxHtmlContentsItem_GetID(wxHtmlContentsItem *self){ return self->m_ID; }
707 wxString wxHtmlContentsItem_GetName(wxHtmlContentsItem *self){ return self->m_Name; }
708 wxString wxHtmlContentsItem_GetPage(wxHtmlContentsItem *self){ return self->m_Page; }
709 wxHtmlBookRecord *wxHtmlContentsItem_GetBook(wxHtmlContentsItem *self){ return self->m_Book; }
710 #ifdef __cplusplus
711 extern "C" {
712 #endif
713 static int _wrap_HtmlWindowNameStr_set(PyObject *_val) {
714 PyErr_SetString(PyExc_TypeError,"Variable HtmlWindowNameStr is read-only.");
715 return 1;
716 }
717
718
719 static PyObject *_wrap_HtmlWindowNameStr_get() {
720 PyObject *pyobj;
721
722 {
723 #if wxUSE_UNICODE
724 pyobj = PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
725 #else
726 pyobj = PyString_FromStringAndSize((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
727 #endif
728 }
729 return pyobj;
730 }
731
732
733 static int _wrap_HtmlPrintoutTitleStr_set(PyObject *_val) {
734 PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintoutTitleStr is read-only.");
735 return 1;
736 }
737
738
739 static PyObject *_wrap_HtmlPrintoutTitleStr_get() {
740 PyObject *pyobj;
741
742 {
743 #if wxUSE_UNICODE
744 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
745 #else
746 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
747 #endif
748 }
749 return pyobj;
750 }
751
752
753 static int _wrap_HtmlPrintingTitleStr_set(PyObject *_val) {
754 PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintingTitleStr is read-only.");
755 return 1;
756 }
757
758
759 static PyObject *_wrap_HtmlPrintingTitleStr_get() {
760 PyObject *pyobj;
761
762 {
763 #if wxUSE_UNICODE
764 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
765 #else
766 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
767 #endif
768 }
769 return pyobj;
770 }
771
772
773 static PyObject *_wrap_new_HtmlLinkInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
774 PyObject *resultobj;
775 wxString *arg1 = 0 ;
776 wxString const &arg2_defvalue = wxPyEmptyString ;
777 wxString *arg2 = (wxString *) &arg2_defvalue ;
778 wxHtmlLinkInfo *result;
779 bool temp1 = False ;
780 bool temp2 = False ;
781 PyObject * obj0 = 0 ;
782 PyObject * obj1 = 0 ;
783 char *kwnames[] = {
784 (char *) "href",(char *) "target", NULL
785 };
786
787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlLinkInfo",kwnames,&obj0,&obj1)) goto fail;
788 {
789 arg1 = wxString_in_helper(obj0);
790 if (arg1 == NULL) SWIG_fail;
791 temp1 = True;
792 }
793 if (obj1) {
794 {
795 arg2 = wxString_in_helper(obj1);
796 if (arg2 == NULL) SWIG_fail;
797 temp2 = True;
798 }
799 }
800 {
801 PyThreadState* __tstate = wxPyBeginAllowThreads();
802 result = (wxHtmlLinkInfo *)new wxHtmlLinkInfo((wxString const &)*arg1,(wxString const &)*arg2);
803
804 wxPyEndAllowThreads(__tstate);
805 if (PyErr_Occurred()) SWIG_fail;
806 }
807 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlLinkInfo, 1);
808 {
809 if (temp1)
810 delete arg1;
811 }
812 {
813 if (temp2)
814 delete arg2;
815 }
816 return resultobj;
817 fail:
818 {
819 if (temp1)
820 delete arg1;
821 }
822 {
823 if (temp2)
824 delete arg2;
825 }
826 return NULL;
827 }
828
829
830 static PyObject *_wrap_HtmlLinkInfo_GetHref(PyObject *self, PyObject *args, PyObject *kwargs) {
831 PyObject *resultobj;
832 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
833 wxString result;
834 PyObject * obj0 = 0 ;
835 char *kwnames[] = {
836 (char *) "self", NULL
837 };
838
839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHref",kwnames,&obj0)) goto fail;
840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
841 {
842 PyThreadState* __tstate = wxPyBeginAllowThreads();
843 result = (arg1)->GetHref();
844
845 wxPyEndAllowThreads(__tstate);
846 if (PyErr_Occurred()) SWIG_fail;
847 }
848 {
849 #if wxUSE_UNICODE
850 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
851 #else
852 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
853 #endif
854 }
855 return resultobj;
856 fail:
857 return NULL;
858 }
859
860
861 static PyObject *_wrap_HtmlLinkInfo_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
862 PyObject *resultobj;
863 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
864 wxString result;
865 PyObject * obj0 = 0 ;
866 char *kwnames[] = {
867 (char *) "self", NULL
868 };
869
870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetTarget",kwnames,&obj0)) goto fail;
871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
872 {
873 PyThreadState* __tstate = wxPyBeginAllowThreads();
874 result = (arg1)->GetTarget();
875
876 wxPyEndAllowThreads(__tstate);
877 if (PyErr_Occurred()) SWIG_fail;
878 }
879 {
880 #if wxUSE_UNICODE
881 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
882 #else
883 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
884 #endif
885 }
886 return resultobj;
887 fail:
888 return NULL;
889 }
890
891
892 static PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
893 PyObject *resultobj;
894 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
895 wxMouseEvent *result;
896 PyObject * obj0 = 0 ;
897 char *kwnames[] = {
898 (char *) "self", NULL
899 };
900
901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetEvent",kwnames,&obj0)) goto fail;
902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
903 {
904 PyThreadState* __tstate = wxPyBeginAllowThreads();
905 result = (wxMouseEvent *)(arg1)->GetEvent();
906
907 wxPyEndAllowThreads(__tstate);
908 if (PyErr_Occurred()) SWIG_fail;
909 }
910 {
911 resultobj = wxPyMake_wxObject(result);
912 }
913 return resultobj;
914 fail:
915 return NULL;
916 }
917
918
919 static PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) {
920 PyObject *resultobj;
921 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
922 wxHtmlCell *result;
923 PyObject * obj0 = 0 ;
924 char *kwnames[] = {
925 (char *) "self", NULL
926 };
927
928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHtmlCell",kwnames,&obj0)) goto fail;
929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
930 {
931 PyThreadState* __tstate = wxPyBeginAllowThreads();
932 result = (wxHtmlCell *)(arg1)->GetHtmlCell();
933
934 wxPyEndAllowThreads(__tstate);
935 if (PyErr_Occurred()) SWIG_fail;
936 }
937 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0);
938 return resultobj;
939 fail:
940 return NULL;
941 }
942
943
944 static PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
945 PyObject *resultobj;
946 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
947 wxMouseEvent *arg2 = (wxMouseEvent *) 0 ;
948 PyObject * obj0 = 0 ;
949 PyObject * obj1 = 0 ;
950 char *kwnames[] = {
951 (char *) "self",(char *) "e", NULL
952 };
953
954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames,&obj0,&obj1)) goto fail;
955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
956 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
957 {
958 PyThreadState* __tstate = wxPyBeginAllowThreads();
959 (arg1)->SetEvent((wxMouseEvent const *)arg2);
960
961 wxPyEndAllowThreads(__tstate);
962 if (PyErr_Occurred()) SWIG_fail;
963 }
964 Py_INCREF(Py_None); resultobj = Py_None;
965 return resultobj;
966 fail:
967 return NULL;
968 }
969
970
971 static PyObject *_wrap_HtmlLinkInfo_SetHtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) {
972 PyObject *resultobj;
973 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
974 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
975 PyObject * obj0 = 0 ;
976 PyObject * obj1 = 0 ;
977 char *kwnames[] = {
978 (char *) "self",(char *) "e", NULL
979 };
980
981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames,&obj0,&obj1)) goto fail;
982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
983 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
984 {
985 PyThreadState* __tstate = wxPyBeginAllowThreads();
986 (arg1)->SetHtmlCell((wxHtmlCell const *)arg2);
987
988 wxPyEndAllowThreads(__tstate);
989 if (PyErr_Occurred()) SWIG_fail;
990 }
991 Py_INCREF(Py_None); resultobj = Py_None;
992 return resultobj;
993 fail:
994 return NULL;
995 }
996
997
998 static PyObject * HtmlLinkInfo_swigregister(PyObject *self, PyObject *args) {
999 PyObject *obj;
1000 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1001 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlLinkInfo, obj);
1002 Py_INCREF(obj);
1003 return Py_BuildValue((char *)"");
1004 }
1005 static PyObject *_wrap_HtmlTag_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
1006 PyObject *resultobj;
1007 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1008 wxString result;
1009 PyObject * obj0 = 0 ;
1010 char *kwnames[] = {
1011 (char *) "self", NULL
1012 };
1013
1014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetName",kwnames,&obj0)) goto fail;
1015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1016 {
1017 PyThreadState* __tstate = wxPyBeginAllowThreads();
1018 result = (arg1)->GetName();
1019
1020 wxPyEndAllowThreads(__tstate);
1021 if (PyErr_Occurred()) SWIG_fail;
1022 }
1023 {
1024 #if wxUSE_UNICODE
1025 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1026 #else
1027 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1028 #endif
1029 }
1030 return resultobj;
1031 fail:
1032 return NULL;
1033 }
1034
1035
1036 static PyObject *_wrap_HtmlTag_HasParam(PyObject *self, PyObject *args, PyObject *kwargs) {
1037 PyObject *resultobj;
1038 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1039 wxString *arg2 = 0 ;
1040 bool result;
1041 bool temp2 = False ;
1042 PyObject * obj0 = 0 ;
1043 PyObject * obj1 = 0 ;
1044 char *kwnames[] = {
1045 (char *) "self",(char *) "par", NULL
1046 };
1047
1048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTag_HasParam",kwnames,&obj0,&obj1)) goto fail;
1049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1050 {
1051 arg2 = wxString_in_helper(obj1);
1052 if (arg2 == NULL) SWIG_fail;
1053 temp2 = True;
1054 }
1055 {
1056 PyThreadState* __tstate = wxPyBeginAllowThreads();
1057 result = (bool)(arg1)->HasParam((wxString const &)*arg2);
1058
1059 wxPyEndAllowThreads(__tstate);
1060 if (PyErr_Occurred()) SWIG_fail;
1061 }
1062 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1063 {
1064 if (temp2)
1065 delete arg2;
1066 }
1067 return resultobj;
1068 fail:
1069 {
1070 if (temp2)
1071 delete arg2;
1072 }
1073 return NULL;
1074 }
1075
1076
1077 static PyObject *_wrap_HtmlTag_GetParam(PyObject *self, PyObject *args, PyObject *kwargs) {
1078 PyObject *resultobj;
1079 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1080 wxString *arg2 = 0 ;
1081 int arg3 = (int) False ;
1082 wxString result;
1083 bool temp2 = False ;
1084 PyObject * obj0 = 0 ;
1085 PyObject * obj1 = 0 ;
1086 PyObject * obj2 = 0 ;
1087 char *kwnames[] = {
1088 (char *) "self",(char *) "par",(char *) "with_commas", NULL
1089 };
1090
1091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlTag_GetParam",kwnames,&obj0,&obj1,&obj2)) goto fail;
1092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1093 {
1094 arg2 = wxString_in_helper(obj1);
1095 if (arg2 == NULL) SWIG_fail;
1096 temp2 = True;
1097 }
1098 if (obj2) {
1099 {
1100 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1101 if (PyErr_Occurred()) SWIG_fail;
1102 }
1103 }
1104 {
1105 PyThreadState* __tstate = wxPyBeginAllowThreads();
1106 result = (arg1)->GetParam((wxString const &)*arg2,arg3);
1107
1108 wxPyEndAllowThreads(__tstate);
1109 if (PyErr_Occurred()) SWIG_fail;
1110 }
1111 {
1112 #if wxUSE_UNICODE
1113 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1114 #else
1115 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1116 #endif
1117 }
1118 {
1119 if (temp2)
1120 delete arg2;
1121 }
1122 return resultobj;
1123 fail:
1124 {
1125 if (temp2)
1126 delete arg2;
1127 }
1128 return NULL;
1129 }
1130
1131
1132 static PyObject *_wrap_HtmlTag_GetAllParams(PyObject *self, PyObject *args, PyObject *kwargs) {
1133 PyObject *resultobj;
1134 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1135 wxString result;
1136 PyObject * obj0 = 0 ;
1137 char *kwnames[] = {
1138 (char *) "self", NULL
1139 };
1140
1141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetAllParams",kwnames,&obj0)) goto fail;
1142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1143 {
1144 PyThreadState* __tstate = wxPyBeginAllowThreads();
1145 result = (arg1)->GetAllParams();
1146
1147 wxPyEndAllowThreads(__tstate);
1148 if (PyErr_Occurred()) SWIG_fail;
1149 }
1150 {
1151 #if wxUSE_UNICODE
1152 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1153 #else
1154 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1155 #endif
1156 }
1157 return resultobj;
1158 fail:
1159 return NULL;
1160 }
1161
1162
1163 static PyObject *_wrap_HtmlTag_HasEnding(PyObject *self, PyObject *args, PyObject *kwargs) {
1164 PyObject *resultobj;
1165 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1166 bool result;
1167 PyObject * obj0 = 0 ;
1168 char *kwnames[] = {
1169 (char *) "self", NULL
1170 };
1171
1172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_HasEnding",kwnames,&obj0)) goto fail;
1173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1174 {
1175 PyThreadState* __tstate = wxPyBeginAllowThreads();
1176 result = (bool)(arg1)->HasEnding();
1177
1178 wxPyEndAllowThreads(__tstate);
1179 if (PyErr_Occurred()) SWIG_fail;
1180 }
1181 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1182 return resultobj;
1183 fail:
1184 return NULL;
1185 }
1186
1187
1188 static PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *self, PyObject *args, PyObject *kwargs) {
1189 PyObject *resultobj;
1190 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1191 int result;
1192 PyObject * obj0 = 0 ;
1193 char *kwnames[] = {
1194 (char *) "self", NULL
1195 };
1196
1197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetBeginPos",kwnames,&obj0)) goto fail;
1198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1199 {
1200 PyThreadState* __tstate = wxPyBeginAllowThreads();
1201 result = (int)(arg1)->GetBeginPos();
1202
1203 wxPyEndAllowThreads(__tstate);
1204 if (PyErr_Occurred()) SWIG_fail;
1205 }
1206 resultobj = SWIG_PyObj_FromInt((int)result);
1207 return resultobj;
1208 fail:
1209 return NULL;
1210 }
1211
1212
1213 static PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *self, PyObject *args, PyObject *kwargs) {
1214 PyObject *resultobj;
1215 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1216 int result;
1217 PyObject * obj0 = 0 ;
1218 char *kwnames[] = {
1219 (char *) "self", NULL
1220 };
1221
1222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos1",kwnames,&obj0)) goto fail;
1223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1224 {
1225 PyThreadState* __tstate = wxPyBeginAllowThreads();
1226 result = (int)(arg1)->GetEndPos1();
1227
1228 wxPyEndAllowThreads(__tstate);
1229 if (PyErr_Occurred()) SWIG_fail;
1230 }
1231 resultobj = SWIG_PyObj_FromInt((int)result);
1232 return resultobj;
1233 fail:
1234 return NULL;
1235 }
1236
1237
1238 static PyObject *_wrap_HtmlTag_GetEndPos2(PyObject *self, PyObject *args, PyObject *kwargs) {
1239 PyObject *resultobj;
1240 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1241 int result;
1242 PyObject * obj0 = 0 ;
1243 char *kwnames[] = {
1244 (char *) "self", NULL
1245 };
1246
1247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos2",kwnames,&obj0)) goto fail;
1248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1249 {
1250 PyThreadState* __tstate = wxPyBeginAllowThreads();
1251 result = (int)(arg1)->GetEndPos2();
1252
1253 wxPyEndAllowThreads(__tstate);
1254 if (PyErr_Occurred()) SWIG_fail;
1255 }
1256 resultobj = SWIG_PyObj_FromInt((int)result);
1257 return resultobj;
1258 fail:
1259 return NULL;
1260 }
1261
1262
1263 static PyObject * HtmlTag_swigregister(PyObject *self, PyObject *args) {
1264 PyObject *obj;
1265 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1266 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlTag, obj);
1267 Py_INCREF(obj);
1268 return Py_BuildValue((char *)"");
1269 }
1270 static PyObject *_wrap_HtmlParser_SetFS(PyObject *self, PyObject *args, PyObject *kwargs) {
1271 PyObject *resultobj;
1272 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1273 wxFileSystem *arg2 = (wxFileSystem *) 0 ;
1274 PyObject * obj0 = 0 ;
1275 PyObject * obj1 = 0 ;
1276 char *kwnames[] = {
1277 (char *) "self",(char *) "fs", NULL
1278 };
1279
1280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_SetFS",kwnames,&obj0,&obj1)) goto fail;
1281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1282 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1283 {
1284 PyThreadState* __tstate = wxPyBeginAllowThreads();
1285 (arg1)->SetFS(arg2);
1286
1287 wxPyEndAllowThreads(__tstate);
1288 if (PyErr_Occurred()) SWIG_fail;
1289 }
1290 Py_INCREF(Py_None); resultobj = Py_None;
1291 return resultobj;
1292 fail:
1293 return NULL;
1294 }
1295
1296
1297 static PyObject *_wrap_HtmlParser_GetFS(PyObject *self, PyObject *args, PyObject *kwargs) {
1298 PyObject *resultobj;
1299 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1300 wxFileSystem *result;
1301 PyObject * obj0 = 0 ;
1302 char *kwnames[] = {
1303 (char *) "self", NULL
1304 };
1305
1306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetFS",kwnames,&obj0)) goto fail;
1307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1308 {
1309 PyThreadState* __tstate = wxPyBeginAllowThreads();
1310 result = (wxFileSystem *)(arg1)->GetFS();
1311
1312 wxPyEndAllowThreads(__tstate);
1313 if (PyErr_Occurred()) SWIG_fail;
1314 }
1315 {
1316 resultobj = wxPyMake_wxObject(result);
1317 }
1318 return resultobj;
1319 fail:
1320 return NULL;
1321 }
1322
1323
1324 static PyObject *_wrap_HtmlParser_Parse(PyObject *self, PyObject *args, PyObject *kwargs) {
1325 PyObject *resultobj;
1326 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1327 wxString *arg2 = 0 ;
1328 wxObject *result;
1329 bool temp2 = False ;
1330 PyObject * obj0 = 0 ;
1331 PyObject * obj1 = 0 ;
1332 char *kwnames[] = {
1333 (char *) "self",(char *) "source", NULL
1334 };
1335
1336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_Parse",kwnames,&obj0,&obj1)) goto fail;
1337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1338 {
1339 arg2 = wxString_in_helper(obj1);
1340 if (arg2 == NULL) SWIG_fail;
1341 temp2 = True;
1342 }
1343 {
1344 PyThreadState* __tstate = wxPyBeginAllowThreads();
1345 result = (wxObject *)(arg1)->Parse((wxString const &)*arg2);
1346
1347 wxPyEndAllowThreads(__tstate);
1348 if (PyErr_Occurred()) SWIG_fail;
1349 }
1350 {
1351 resultobj = wxPyMake_wxObject(result);
1352 }
1353 {
1354 if (temp2)
1355 delete arg2;
1356 }
1357 return resultobj;
1358 fail:
1359 {
1360 if (temp2)
1361 delete arg2;
1362 }
1363 return NULL;
1364 }
1365
1366
1367 static PyObject *_wrap_HtmlParser_InitParser(PyObject *self, PyObject *args, PyObject *kwargs) {
1368 PyObject *resultobj;
1369 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1370 wxString *arg2 = 0 ;
1371 bool temp2 = False ;
1372 PyObject * obj0 = 0 ;
1373 PyObject * obj1 = 0 ;
1374 char *kwnames[] = {
1375 (char *) "self",(char *) "source", NULL
1376 };
1377
1378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_InitParser",kwnames,&obj0,&obj1)) goto fail;
1379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1380 {
1381 arg2 = wxString_in_helper(obj1);
1382 if (arg2 == NULL) SWIG_fail;
1383 temp2 = True;
1384 }
1385 {
1386 PyThreadState* __tstate = wxPyBeginAllowThreads();
1387 (arg1)->InitParser((wxString const &)*arg2);
1388
1389 wxPyEndAllowThreads(__tstate);
1390 if (PyErr_Occurred()) SWIG_fail;
1391 }
1392 Py_INCREF(Py_None); resultobj = Py_None;
1393 {
1394 if (temp2)
1395 delete arg2;
1396 }
1397 return resultobj;
1398 fail:
1399 {
1400 if (temp2)
1401 delete arg2;
1402 }
1403 return NULL;
1404 }
1405
1406
1407 static PyObject *_wrap_HtmlParser_DoneParser(PyObject *self, PyObject *args, PyObject *kwargs) {
1408 PyObject *resultobj;
1409 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1410 PyObject * obj0 = 0 ;
1411 char *kwnames[] = {
1412 (char *) "self", NULL
1413 };
1414
1415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_DoneParser",kwnames,&obj0)) goto fail;
1416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1417 {
1418 PyThreadState* __tstate = wxPyBeginAllowThreads();
1419 (arg1)->DoneParser();
1420
1421 wxPyEndAllowThreads(__tstate);
1422 if (PyErr_Occurred()) SWIG_fail;
1423 }
1424 Py_INCREF(Py_None); resultobj = Py_None;
1425 return resultobj;
1426 fail:
1427 return NULL;
1428 }
1429
1430
1431 static PyObject *_wrap_HtmlParser_DoParsing(PyObject *self, PyObject *args, PyObject *kwargs) {
1432 PyObject *resultobj;
1433 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1434 int arg2 ;
1435 int arg3 ;
1436 PyObject * obj0 = 0 ;
1437 PyObject * obj1 = 0 ;
1438 PyObject * obj2 = 0 ;
1439 char *kwnames[] = {
1440 (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
1441 };
1442
1443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_DoParsing",kwnames,&obj0,&obj1,&obj2)) goto fail;
1444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1445 {
1446 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1447 if (PyErr_Occurred()) SWIG_fail;
1448 }
1449 {
1450 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1451 if (PyErr_Occurred()) SWIG_fail;
1452 }
1453 {
1454 PyThreadState* __tstate = wxPyBeginAllowThreads();
1455 (arg1)->DoParsing(arg2,arg3);
1456
1457 wxPyEndAllowThreads(__tstate);
1458 if (PyErr_Occurred()) SWIG_fail;
1459 }
1460 Py_INCREF(Py_None); resultobj = Py_None;
1461 return resultobj;
1462 fail:
1463 return NULL;
1464 }
1465
1466
1467 static PyObject *_wrap_HtmlParser_StopParsing(PyObject *self, PyObject *args, PyObject *kwargs) {
1468 PyObject *resultobj;
1469 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1470 PyObject * obj0 = 0 ;
1471 char *kwnames[] = {
1472 (char *) "self", NULL
1473 };
1474
1475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_StopParsing",kwnames,&obj0)) goto fail;
1476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1477 {
1478 PyThreadState* __tstate = wxPyBeginAllowThreads();
1479 (arg1)->StopParsing();
1480
1481 wxPyEndAllowThreads(__tstate);
1482 if (PyErr_Occurred()) SWIG_fail;
1483 }
1484 Py_INCREF(Py_None); resultobj = Py_None;
1485 return resultobj;
1486 fail:
1487 return NULL;
1488 }
1489
1490
1491 static PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1492 PyObject *resultobj;
1493 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1494 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
1495 PyObject * obj0 = 0 ;
1496 PyObject * obj1 = 0 ;
1497 char *kwnames[] = {
1498 (char *) "self",(char *) "handler", NULL
1499 };
1500
1501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_AddTagHandler",kwnames,&obj0,&obj1)) goto fail;
1502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1503 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1504 {
1505 PyThreadState* __tstate = wxPyBeginAllowThreads();
1506 (arg1)->AddTagHandler(arg2);
1507
1508 wxPyEndAllowThreads(__tstate);
1509 if (PyErr_Occurred()) SWIG_fail;
1510 }
1511 Py_INCREF(Py_None); resultobj = Py_None;
1512 return resultobj;
1513 fail:
1514 return NULL;
1515 }
1516
1517
1518 static PyObject *_wrap_HtmlParser_GetSource(PyObject *self, PyObject *args, PyObject *kwargs) {
1519 PyObject *resultobj;
1520 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1521 wxString *result;
1522 PyObject * obj0 = 0 ;
1523 char *kwnames[] = {
1524 (char *) "self", NULL
1525 };
1526
1527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetSource",kwnames,&obj0)) goto fail;
1528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1529 {
1530 PyThreadState* __tstate = wxPyBeginAllowThreads();
1531 result = (wxString *)(arg1)->GetSource();
1532
1533 wxPyEndAllowThreads(__tstate);
1534 if (PyErr_Occurred()) SWIG_fail;
1535 }
1536 {
1537 #if wxUSE_UNICODE
1538 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
1539 #else
1540 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
1541 #endif
1542 }
1543 return resultobj;
1544 fail:
1545 return NULL;
1546 }
1547
1548
1549 static PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1550 PyObject *resultobj;
1551 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1552 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
1553 wxString arg3 ;
1554 PyObject * obj0 = 0 ;
1555 PyObject * obj1 = 0 ;
1556 PyObject * obj2 = 0 ;
1557 char *kwnames[] = {
1558 (char *) "self",(char *) "handler",(char *) "tags", NULL
1559 };
1560
1561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_PushTagHandler",kwnames,&obj0,&obj1,&obj2)) goto fail;
1562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1563 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1564 {
1565 wxString* sptr = wxString_in_helper(obj2);
1566 if (sptr == NULL) SWIG_fail;
1567 arg3 = *sptr;
1568 delete sptr;
1569 }
1570 {
1571 PyThreadState* __tstate = wxPyBeginAllowThreads();
1572 (arg1)->PushTagHandler(arg2,arg3);
1573
1574 wxPyEndAllowThreads(__tstate);
1575 if (PyErr_Occurred()) SWIG_fail;
1576 }
1577 Py_INCREF(Py_None); resultobj = Py_None;
1578 return resultobj;
1579 fail:
1580 return NULL;
1581 }
1582
1583
1584 static PyObject *_wrap_HtmlParser_PopTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1585 PyObject *resultobj;
1586 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1587 PyObject * obj0 = 0 ;
1588 char *kwnames[] = {
1589 (char *) "self", NULL
1590 };
1591
1592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_PopTagHandler",kwnames,&obj0)) goto fail;
1593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1594 {
1595 PyThreadState* __tstate = wxPyBeginAllowThreads();
1596 (arg1)->PopTagHandler();
1597
1598 wxPyEndAllowThreads(__tstate);
1599 if (PyErr_Occurred()) SWIG_fail;
1600 }
1601 Py_INCREF(Py_None); resultobj = Py_None;
1602 return resultobj;
1603 fail:
1604 return NULL;
1605 }
1606
1607
1608 static PyObject * HtmlParser_swigregister(PyObject *self, PyObject *args) {
1609 PyObject *obj;
1610 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1611 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlParser, obj);
1612 Py_INCREF(obj);
1613 return Py_BuildValue((char *)"");
1614 }
1615 static PyObject *_wrap_new_HtmlWinParser(PyObject *self, PyObject *args, PyObject *kwargs) {
1616 PyObject *resultobj;
1617 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) NULL ;
1618 wxHtmlWinParser *result;
1619 PyObject * obj0 = 0 ;
1620 char *kwnames[] = {
1621 (char *) "wnd", NULL
1622 };
1623
1624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlWinParser",kwnames,&obj0)) goto fail;
1625 if (obj0) {
1626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1627 }
1628 {
1629 PyThreadState* __tstate = wxPyBeginAllowThreads();
1630 result = (wxHtmlWinParser *)new wxHtmlWinParser(arg1);
1631
1632 wxPyEndAllowThreads(__tstate);
1633 if (PyErr_Occurred()) SWIG_fail;
1634 }
1635 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlWinParser, 1);
1636 return resultobj;
1637 fail:
1638 return NULL;
1639 }
1640
1641
1642 static PyObject *_wrap_HtmlWinParser_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
1643 PyObject *resultobj;
1644 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1645 wxDC *arg2 = (wxDC *) 0 ;
1646 PyObject * obj0 = 0 ;
1647 PyObject * obj1 = 0 ;
1648 char *kwnames[] = {
1649 (char *) "self",(char *) "dc", NULL
1650 };
1651
1652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetDC",kwnames,&obj0,&obj1)) goto fail;
1653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1654 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1655 {
1656 PyThreadState* __tstate = wxPyBeginAllowThreads();
1657 (arg1)->SetDC(arg2);
1658
1659 wxPyEndAllowThreads(__tstate);
1660 if (PyErr_Occurred()) SWIG_fail;
1661 }
1662 Py_INCREF(Py_None); resultobj = Py_None;
1663 return resultobj;
1664 fail:
1665 return NULL;
1666 }
1667
1668
1669 static PyObject *_wrap_HtmlWinParser_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
1670 PyObject *resultobj;
1671 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1672 wxDC *result;
1673 PyObject * obj0 = 0 ;
1674 char *kwnames[] = {
1675 (char *) "self", NULL
1676 };
1677
1678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetDC",kwnames,&obj0)) goto fail;
1679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1680 {
1681 PyThreadState* __tstate = wxPyBeginAllowThreads();
1682 result = (wxDC *)(arg1)->GetDC();
1683
1684 wxPyEndAllowThreads(__tstate);
1685 if (PyErr_Occurred()) SWIG_fail;
1686 }
1687 {
1688 resultobj = wxPyMake_wxObject(result);
1689 }
1690 return resultobj;
1691 fail:
1692 return NULL;
1693 }
1694
1695
1696 static PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1697 PyObject *resultobj;
1698 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1699 int result;
1700 PyObject * obj0 = 0 ;
1701 char *kwnames[] = {
1702 (char *) "self", NULL
1703 };
1704
1705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharHeight",kwnames,&obj0)) goto fail;
1706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1707 {
1708 PyThreadState* __tstate = wxPyBeginAllowThreads();
1709 result = (int)(arg1)->GetCharHeight();
1710
1711 wxPyEndAllowThreads(__tstate);
1712 if (PyErr_Occurred()) SWIG_fail;
1713 }
1714 resultobj = SWIG_PyObj_FromInt((int)result);
1715 return resultobj;
1716 fail:
1717 return NULL;
1718 }
1719
1720
1721 static PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1722 PyObject *resultobj;
1723 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1724 int result;
1725 PyObject * obj0 = 0 ;
1726 char *kwnames[] = {
1727 (char *) "self", NULL
1728 };
1729
1730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharWidth",kwnames,&obj0)) goto fail;
1731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1732 {
1733 PyThreadState* __tstate = wxPyBeginAllowThreads();
1734 result = (int)(arg1)->GetCharWidth();
1735
1736 wxPyEndAllowThreads(__tstate);
1737 if (PyErr_Occurred()) SWIG_fail;
1738 }
1739 resultobj = SWIG_PyObj_FromInt((int)result);
1740 return resultobj;
1741 fail:
1742 return NULL;
1743 }
1744
1745
1746 static PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1747 PyObject *resultobj;
1748 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1749 wxPyHtmlWindow *result;
1750 PyObject * obj0 = 0 ;
1751 char *kwnames[] = {
1752 (char *) "self", NULL
1753 };
1754
1755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetWindow",kwnames,&obj0)) goto fail;
1756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1757 {
1758 PyThreadState* __tstate = wxPyBeginAllowThreads();
1759 result = (wxPyHtmlWindow *)(arg1)->GetWindow();
1760
1761 wxPyEndAllowThreads(__tstate);
1762 if (PyErr_Occurred()) SWIG_fail;
1763 }
1764 {
1765 resultobj = wxPyMake_wxObject(result);
1766 }
1767 return resultobj;
1768 fail:
1769 return NULL;
1770 }
1771
1772
1773 static PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
1774 PyObject *resultobj;
1775 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1776 wxString arg2 ;
1777 wxString arg3 ;
1778 PyObject *arg4 = (PyObject *) NULL ;
1779 PyObject * obj0 = 0 ;
1780 PyObject * obj1 = 0 ;
1781 PyObject * obj2 = 0 ;
1782 PyObject * obj3 = 0 ;
1783 char *kwnames[] = {
1784 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
1785 };
1786
1787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
1788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1789 {
1790 wxString* sptr = wxString_in_helper(obj1);
1791 if (sptr == NULL) SWIG_fail;
1792 arg2 = *sptr;
1793 delete sptr;
1794 }
1795 {
1796 wxString* sptr = wxString_in_helper(obj2);
1797 if (sptr == NULL) SWIG_fail;
1798 arg3 = *sptr;
1799 delete sptr;
1800 }
1801 if (obj3) {
1802 arg4 = obj3;
1803 }
1804 {
1805 PyThreadState* __tstate = wxPyBeginAllowThreads();
1806 wxHtmlWinParser_SetFonts(arg1,arg2,arg3,arg4);
1807
1808 wxPyEndAllowThreads(__tstate);
1809 if (PyErr_Occurred()) SWIG_fail;
1810 }
1811 Py_INCREF(Py_None); resultobj = Py_None;
1812 return resultobj;
1813 fail:
1814 return NULL;
1815 }
1816
1817
1818 static PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
1819 PyObject *resultobj;
1820 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1821 wxHtmlContainerCell *result;
1822 PyObject * obj0 = 0 ;
1823 char *kwnames[] = {
1824 (char *) "self", NULL
1825 };
1826
1827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetContainer",kwnames,&obj0)) goto fail;
1828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1829 {
1830 PyThreadState* __tstate = wxPyBeginAllowThreads();
1831 result = (wxHtmlContainerCell *)(arg1)->GetContainer();
1832
1833 wxPyEndAllowThreads(__tstate);
1834 if (PyErr_Occurred()) SWIG_fail;
1835 }
1836 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0);
1837 return resultobj;
1838 fail:
1839 return NULL;
1840 }
1841
1842
1843 static PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
1844 PyObject *resultobj;
1845 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1846 wxHtmlContainerCell *result;
1847 PyObject * obj0 = 0 ;
1848 char *kwnames[] = {
1849 (char *) "self", NULL
1850 };
1851
1852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_OpenContainer",kwnames,&obj0)) goto fail;
1853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1854 {
1855 PyThreadState* __tstate = wxPyBeginAllowThreads();
1856 result = (wxHtmlContainerCell *)(arg1)->OpenContainer();
1857
1858 wxPyEndAllowThreads(__tstate);
1859 if (PyErr_Occurred()) SWIG_fail;
1860 }
1861 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0);
1862 return resultobj;
1863 fail:
1864 return NULL;
1865 }
1866
1867
1868 static PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
1869 PyObject *resultobj;
1870 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1871 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
1872 wxHtmlContainerCell *result;
1873 PyObject * obj0 = 0 ;
1874 PyObject * obj1 = 0 ;
1875 char *kwnames[] = {
1876 (char *) "self",(char *) "c", NULL
1877 };
1878
1879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetContainer",kwnames,&obj0,&obj1)) goto fail;
1880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1881 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1882 {
1883 PyThreadState* __tstate = wxPyBeginAllowThreads();
1884 result = (wxHtmlContainerCell *)(arg1)->SetContainer(arg2);
1885
1886 wxPyEndAllowThreads(__tstate);
1887 if (PyErr_Occurred()) SWIG_fail;
1888 }
1889 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0);
1890 return resultobj;
1891 fail:
1892 return NULL;
1893 }
1894
1895
1896 static PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
1897 PyObject *resultobj;
1898 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1899 wxHtmlContainerCell *result;
1900 PyObject * obj0 = 0 ;
1901 char *kwnames[] = {
1902 (char *) "self", NULL
1903 };
1904
1905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CloseContainer",kwnames,&obj0)) goto fail;
1906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1907 {
1908 PyThreadState* __tstate = wxPyBeginAllowThreads();
1909 result = (wxHtmlContainerCell *)(arg1)->CloseContainer();
1910
1911 wxPyEndAllowThreads(__tstate);
1912 if (PyErr_Occurred()) SWIG_fail;
1913 }
1914 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0);
1915 return resultobj;
1916 fail:
1917 return NULL;
1918 }
1919
1920
1921 static PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1922 PyObject *resultobj;
1923 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1924 int result;
1925 PyObject * obj0 = 0 ;
1926 char *kwnames[] = {
1927 (char *) "self", NULL
1928 };
1929
1930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontSize",kwnames,&obj0)) goto fail;
1931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1932 {
1933 PyThreadState* __tstate = wxPyBeginAllowThreads();
1934 result = (int)(arg1)->GetFontSize();
1935
1936 wxPyEndAllowThreads(__tstate);
1937 if (PyErr_Occurred()) SWIG_fail;
1938 }
1939 resultobj = SWIG_PyObj_FromInt((int)result);
1940 return resultobj;
1941 fail:
1942 return NULL;
1943 }
1944
1945
1946 static PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1947 PyObject *resultobj;
1948 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1949 int arg2 ;
1950 PyObject * obj0 = 0 ;
1951 PyObject * obj1 = 0 ;
1952 char *kwnames[] = {
1953 (char *) "self",(char *) "s", NULL
1954 };
1955
1956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontSize",kwnames,&obj0,&obj1)) goto fail;
1957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1958 {
1959 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1960 if (PyErr_Occurred()) SWIG_fail;
1961 }
1962 {
1963 PyThreadState* __tstate = wxPyBeginAllowThreads();
1964 (arg1)->SetFontSize(arg2);
1965
1966 wxPyEndAllowThreads(__tstate);
1967 if (PyErr_Occurred()) SWIG_fail;
1968 }
1969 Py_INCREF(Py_None); resultobj = Py_None;
1970 return resultobj;
1971 fail:
1972 return NULL;
1973 }
1974
1975
1976 static PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *self, PyObject *args, PyObject *kwargs) {
1977 PyObject *resultobj;
1978 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1979 int result;
1980 PyObject * obj0 = 0 ;
1981 char *kwnames[] = {
1982 (char *) "self", NULL
1983 };
1984
1985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontBold",kwnames,&obj0)) goto fail;
1986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1987 {
1988 PyThreadState* __tstate = wxPyBeginAllowThreads();
1989 result = (int)(arg1)->GetFontBold();
1990
1991 wxPyEndAllowThreads(__tstate);
1992 if (PyErr_Occurred()) SWIG_fail;
1993 }
1994 resultobj = SWIG_PyObj_FromInt((int)result);
1995 return resultobj;
1996 fail:
1997 return NULL;
1998 }
1999
2000
2001 static PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *self, PyObject *args, PyObject *kwargs) {
2002 PyObject *resultobj;
2003 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2004 int arg2 ;
2005 PyObject * obj0 = 0 ;
2006 PyObject * obj1 = 0 ;
2007 char *kwnames[] = {
2008 (char *) "self",(char *) "x", NULL
2009 };
2010
2011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontBold",kwnames,&obj0,&obj1)) goto fail;
2012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2013 {
2014 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2015 if (PyErr_Occurred()) SWIG_fail;
2016 }
2017 {
2018 PyThreadState* __tstate = wxPyBeginAllowThreads();
2019 (arg1)->SetFontBold(arg2);
2020
2021 wxPyEndAllowThreads(__tstate);
2022 if (PyErr_Occurred()) SWIG_fail;
2023 }
2024 Py_INCREF(Py_None); resultobj = Py_None;
2025 return resultobj;
2026 fail:
2027 return NULL;
2028 }
2029
2030
2031 static PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *self, PyObject *args, PyObject *kwargs) {
2032 PyObject *resultobj;
2033 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2034 int result;
2035 PyObject * obj0 = 0 ;
2036 char *kwnames[] = {
2037 (char *) "self", NULL
2038 };
2039
2040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontItalic",kwnames,&obj0)) goto fail;
2041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2042 {
2043 PyThreadState* __tstate = wxPyBeginAllowThreads();
2044 result = (int)(arg1)->GetFontItalic();
2045
2046 wxPyEndAllowThreads(__tstate);
2047 if (PyErr_Occurred()) SWIG_fail;
2048 }
2049 resultobj = SWIG_PyObj_FromInt((int)result);
2050 return resultobj;
2051 fail:
2052 return NULL;
2053 }
2054
2055
2056 static PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *self, PyObject *args, PyObject *kwargs) {
2057 PyObject *resultobj;
2058 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2059 int arg2 ;
2060 PyObject * obj0 = 0 ;
2061 PyObject * obj1 = 0 ;
2062 char *kwnames[] = {
2063 (char *) "self",(char *) "x", NULL
2064 };
2065
2066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames,&obj0,&obj1)) goto fail;
2067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2068 {
2069 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2070 if (PyErr_Occurred()) SWIG_fail;
2071 }
2072 {
2073 PyThreadState* __tstate = wxPyBeginAllowThreads();
2074 (arg1)->SetFontItalic(arg2);
2075
2076 wxPyEndAllowThreads(__tstate);
2077 if (PyErr_Occurred()) SWIG_fail;
2078 }
2079 Py_INCREF(Py_None); resultobj = Py_None;
2080 return resultobj;
2081 fail:
2082 return NULL;
2083 }
2084
2085
2086 static PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) {
2087 PyObject *resultobj;
2088 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2089 int result;
2090 PyObject * obj0 = 0 ;
2091 char *kwnames[] = {
2092 (char *) "self", NULL
2093 };
2094
2095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontUnderlined",kwnames,&obj0)) goto fail;
2096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2097 {
2098 PyThreadState* __tstate = wxPyBeginAllowThreads();
2099 result = (int)(arg1)->GetFontUnderlined();
2100
2101 wxPyEndAllowThreads(__tstate);
2102 if (PyErr_Occurred()) SWIG_fail;
2103 }
2104 resultobj = SWIG_PyObj_FromInt((int)result);
2105 return resultobj;
2106 fail:
2107 return NULL;
2108 }
2109
2110
2111 static PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) {
2112 PyObject *resultobj;
2113 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2114 int arg2 ;
2115 PyObject * obj0 = 0 ;
2116 PyObject * obj1 = 0 ;
2117 char *kwnames[] = {
2118 (char *) "self",(char *) "x", NULL
2119 };
2120
2121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames,&obj0,&obj1)) goto fail;
2122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2123 {
2124 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2125 if (PyErr_Occurred()) SWIG_fail;
2126 }
2127 {
2128 PyThreadState* __tstate = wxPyBeginAllowThreads();
2129 (arg1)->SetFontUnderlined(arg2);
2130
2131 wxPyEndAllowThreads(__tstate);
2132 if (PyErr_Occurred()) SWIG_fail;
2133 }
2134 Py_INCREF(Py_None); resultobj = Py_None;
2135 return resultobj;
2136 fail:
2137 return NULL;
2138 }
2139
2140
2141 static PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *self, PyObject *args, PyObject *kwargs) {
2142 PyObject *resultobj;
2143 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2144 int result;
2145 PyObject * obj0 = 0 ;
2146 char *kwnames[] = {
2147 (char *) "self", NULL
2148 };
2149
2150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontFixed",kwnames,&obj0)) goto fail;
2151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2152 {
2153 PyThreadState* __tstate = wxPyBeginAllowThreads();
2154 result = (int)(arg1)->GetFontFixed();
2155
2156 wxPyEndAllowThreads(__tstate);
2157 if (PyErr_Occurred()) SWIG_fail;
2158 }
2159 resultobj = SWIG_PyObj_FromInt((int)result);
2160 return resultobj;
2161 fail:
2162 return NULL;
2163 }
2164
2165
2166 static PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *self, PyObject *args, PyObject *kwargs) {
2167 PyObject *resultobj;
2168 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2169 int arg2 ;
2170 PyObject * obj0 = 0 ;
2171 PyObject * obj1 = 0 ;
2172 char *kwnames[] = {
2173 (char *) "self",(char *) "x", NULL
2174 };
2175
2176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames,&obj0,&obj1)) goto fail;
2177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2178 {
2179 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2180 if (PyErr_Occurred()) SWIG_fail;
2181 }
2182 {
2183 PyThreadState* __tstate = wxPyBeginAllowThreads();
2184 (arg1)->SetFontFixed(arg2);
2185
2186 wxPyEndAllowThreads(__tstate);
2187 if (PyErr_Occurred()) SWIG_fail;
2188 }
2189 Py_INCREF(Py_None); resultobj = Py_None;
2190 return resultobj;
2191 fail:
2192 return NULL;
2193 }
2194
2195
2196 static PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
2197 PyObject *resultobj;
2198 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2199 int result;
2200 PyObject * obj0 = 0 ;
2201 char *kwnames[] = {
2202 (char *) "self", NULL
2203 };
2204
2205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetAlign",kwnames,&obj0)) goto fail;
2206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2207 {
2208 PyThreadState* __tstate = wxPyBeginAllowThreads();
2209 result = (int)(arg1)->GetAlign();
2210
2211 wxPyEndAllowThreads(__tstate);
2212 if (PyErr_Occurred()) SWIG_fail;
2213 }
2214 resultobj = SWIG_PyObj_FromInt((int)result);
2215 return resultobj;
2216 fail:
2217 return NULL;
2218 }
2219
2220
2221 static PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
2222 PyObject *resultobj;
2223 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2224 int arg2 ;
2225 PyObject * obj0 = 0 ;
2226 PyObject * obj1 = 0 ;
2227 char *kwnames[] = {
2228 (char *) "self",(char *) "a", NULL
2229 };
2230
2231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetAlign",kwnames,&obj0,&obj1)) goto fail;
2232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2233 {
2234 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2235 if (PyErr_Occurred()) SWIG_fail;
2236 }
2237 {
2238 PyThreadState* __tstate = wxPyBeginAllowThreads();
2239 (arg1)->SetAlign(arg2);
2240
2241 wxPyEndAllowThreads(__tstate);
2242 if (PyErr_Occurred()) SWIG_fail;
2243 }
2244 Py_INCREF(Py_None); resultobj = Py_None;
2245 return resultobj;
2246 fail:
2247 return NULL;
2248 }
2249
2250
2251 static PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *self, PyObject *args, PyObject *kwargs) {
2252 PyObject *resultobj;
2253 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2254 wxColour result;
2255 PyObject * obj0 = 0 ;
2256 char *kwnames[] = {
2257 (char *) "self", NULL
2258 };
2259
2260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLinkColor",kwnames,&obj0)) goto fail;
2261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2262 {
2263 PyThreadState* __tstate = wxPyBeginAllowThreads();
2264 result = (arg1)->GetLinkColor();
2265
2266 wxPyEndAllowThreads(__tstate);
2267 if (PyErr_Occurred()) SWIG_fail;
2268 }
2269 {
2270 wxColour * resultptr;
2271 resultptr = new wxColour((wxColour &) result);
2272 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
2273 }
2274 return resultobj;
2275 fail:
2276 return NULL;
2277 }
2278
2279
2280 static PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *self, PyObject *args, PyObject *kwargs) {
2281 PyObject *resultobj;
2282 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2283 wxColour *arg2 = 0 ;
2284 wxColour temp2 ;
2285 PyObject * obj0 = 0 ;
2286 PyObject * obj1 = 0 ;
2287 char *kwnames[] = {
2288 (char *) "self",(char *) "clr", NULL
2289 };
2290
2291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames,&obj0,&obj1)) goto fail;
2292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2293 {
2294 arg2 = &temp2;
2295 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2296 }
2297 {
2298 PyThreadState* __tstate = wxPyBeginAllowThreads();
2299 (arg1)->SetLinkColor((wxColour const &)*arg2);
2300
2301 wxPyEndAllowThreads(__tstate);
2302 if (PyErr_Occurred()) SWIG_fail;
2303 }
2304 Py_INCREF(Py_None); resultobj = Py_None;
2305 return resultobj;
2306 fail:
2307 return NULL;
2308 }
2309
2310
2311 static PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *self, PyObject *args, PyObject *kwargs) {
2312 PyObject *resultobj;
2313 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2314 wxColour result;
2315 PyObject * obj0 = 0 ;
2316 char *kwnames[] = {
2317 (char *) "self", NULL
2318 };
2319
2320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetActualColor",kwnames,&obj0)) goto fail;
2321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2322 {
2323 PyThreadState* __tstate = wxPyBeginAllowThreads();
2324 result = (arg1)->GetActualColor();
2325
2326 wxPyEndAllowThreads(__tstate);
2327 if (PyErr_Occurred()) SWIG_fail;
2328 }
2329 {
2330 wxColour * resultptr;
2331 resultptr = new wxColour((wxColour &) result);
2332 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
2333 }
2334 return resultobj;
2335 fail:
2336 return NULL;
2337 }
2338
2339
2340 static PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *self, PyObject *args, PyObject *kwargs) {
2341 PyObject *resultobj;
2342 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2343 wxColour *arg2 = 0 ;
2344 wxColour temp2 ;
2345 PyObject * obj0 = 0 ;
2346 PyObject * obj1 = 0 ;
2347 char *kwnames[] = {
2348 (char *) "self",(char *) "clr", NULL
2349 };
2350
2351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetActualColor",kwnames,&obj0,&obj1)) goto fail;
2352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2353 {
2354 arg2 = &temp2;
2355 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2356 }
2357 {
2358 PyThreadState* __tstate = wxPyBeginAllowThreads();
2359 (arg1)->SetActualColor((wxColour const &)*arg2);
2360
2361 wxPyEndAllowThreads(__tstate);
2362 if (PyErr_Occurred()) SWIG_fail;
2363 }
2364 Py_INCREF(Py_None); resultobj = Py_None;
2365 return resultobj;
2366 fail:
2367 return NULL;
2368 }
2369
2370
2371 static PyObject *_wrap_HtmlWinParser_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
2372 PyObject *resultobj;
2373 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2374 wxString *arg2 = 0 ;
2375 bool temp2 = False ;
2376 PyObject * obj0 = 0 ;
2377 PyObject * obj1 = 0 ;
2378 char *kwnames[] = {
2379 (char *) "self",(char *) "link", NULL
2380 };
2381
2382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLink",kwnames,&obj0,&obj1)) goto fail;
2383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2384 {
2385 arg2 = wxString_in_helper(obj1);
2386 if (arg2 == NULL) SWIG_fail;
2387 temp2 = True;
2388 }
2389 {
2390 PyThreadState* __tstate = wxPyBeginAllowThreads();
2391 (arg1)->SetLink((wxString const &)*arg2);
2392
2393 wxPyEndAllowThreads(__tstate);
2394 if (PyErr_Occurred()) SWIG_fail;
2395 }
2396 Py_INCREF(Py_None); resultobj = Py_None;
2397 {
2398 if (temp2)
2399 delete arg2;
2400 }
2401 return resultobj;
2402 fail:
2403 {
2404 if (temp2)
2405 delete arg2;
2406 }
2407 return NULL;
2408 }
2409
2410
2411 static PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *self, PyObject *args, PyObject *kwargs) {
2412 PyObject *resultobj;
2413 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2414 wxFont *result;
2415 PyObject * obj0 = 0 ;
2416 char *kwnames[] = {
2417 (char *) "self", NULL
2418 };
2419
2420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CreateCurrentFont",kwnames,&obj0)) goto fail;
2421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2422 {
2423 PyThreadState* __tstate = wxPyBeginAllowThreads();
2424 result = (wxFont *)(arg1)->CreateCurrentFont();
2425
2426 wxPyEndAllowThreads(__tstate);
2427 if (PyErr_Occurred()) SWIG_fail;
2428 }
2429 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
2430 return resultobj;
2431 fail:
2432 return NULL;
2433 }
2434
2435
2436 static PyObject *_wrap_HtmlWinParser_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
2437 PyObject *resultobj;
2438 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2439 SwigValueWrapper< wxHtmlLinkInfo > result;
2440 PyObject * obj0 = 0 ;
2441 char *kwnames[] = {
2442 (char *) "self", NULL
2443 };
2444
2445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLink",kwnames,&obj0)) goto fail;
2446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2447 {
2448 PyThreadState* __tstate = wxPyBeginAllowThreads();
2449 result = (arg1)->GetLink();
2450
2451 wxPyEndAllowThreads(__tstate);
2452 if (PyErr_Occurred()) SWIG_fail;
2453 }
2454 {
2455 wxHtmlLinkInfo * resultptr;
2456 resultptr = new wxHtmlLinkInfo((wxHtmlLinkInfo &) result);
2457 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxHtmlLinkInfo, 1);
2458 }
2459 return resultobj;
2460 fail:
2461 return NULL;
2462 }
2463
2464
2465 static PyObject * HtmlWinParser_swigregister(PyObject *self, PyObject *args) {
2466 PyObject *obj;
2467 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2468 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWinParser, obj);
2469 Py_INCREF(obj);
2470 return Py_BuildValue((char *)"");
2471 }
2472 static PyObject *_wrap_new_HtmlTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2473 PyObject *resultobj;
2474 wxPyHtmlTagHandler *result;
2475 char *kwnames[] = {
2476 NULL
2477 };
2478
2479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlTagHandler",kwnames)) goto fail;
2480 {
2481 PyThreadState* __tstate = wxPyBeginAllowThreads();
2482 result = (wxPyHtmlTagHandler *)new wxPyHtmlTagHandler();
2483
2484 wxPyEndAllowThreads(__tstate);
2485 if (PyErr_Occurred()) SWIG_fail;
2486 }
2487 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlTagHandler, 1);
2488 return resultobj;
2489 fail:
2490 return NULL;
2491 }
2492
2493
2494 static PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2495 PyObject *resultobj;
2496 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
2497 PyObject *arg2 = (PyObject *) 0 ;
2498 PyObject *arg3 = (PyObject *) 0 ;
2499 PyObject * obj0 = 0 ;
2500 PyObject * obj1 = 0 ;
2501 PyObject * obj2 = 0 ;
2502 char *kwnames[] = {
2503 (char *) "self",(char *) "self",(char *) "_class", NULL
2504 };
2505
2506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2508 arg2 = obj1;
2509 arg3 = obj2;
2510 {
2511 PyThreadState* __tstate = wxPyBeginAllowThreads();
2512 (arg1)->_setCallbackInfo(arg2,arg3);
2513
2514 wxPyEndAllowThreads(__tstate);
2515 if (PyErr_Occurred()) SWIG_fail;
2516 }
2517 Py_INCREF(Py_None); resultobj = Py_None;
2518 return resultobj;
2519 fail:
2520 return NULL;
2521 }
2522
2523
2524 static PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
2525 PyObject *resultobj;
2526 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
2527 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
2528 PyObject * obj0 = 0 ;
2529 PyObject * obj1 = 0 ;
2530 char *kwnames[] = {
2531 (char *) "self",(char *) "parser", NULL
2532 };
2533
2534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail;
2535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2536 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2537 {
2538 PyThreadState* __tstate = wxPyBeginAllowThreads();
2539 (arg1)->SetParser(arg2);
2540
2541 wxPyEndAllowThreads(__tstate);
2542 if (PyErr_Occurred()) SWIG_fail;
2543 }
2544 Py_INCREF(Py_None); resultobj = Py_None;
2545 return resultobj;
2546 fail:
2547 return NULL;
2548 }
2549
2550
2551 static PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
2552 PyObject *resultobj;
2553 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
2554 wxHtmlParser *result;
2555 PyObject * obj0 = 0 ;
2556 char *kwnames[] = {
2557 (char *) "self", NULL
2558 };
2559
2560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTagHandler_GetParser",kwnames,&obj0)) goto fail;
2561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2562 {
2563 PyThreadState* __tstate = wxPyBeginAllowThreads();
2564 result = (wxHtmlParser *)(arg1)->GetParser();
2565
2566 wxPyEndAllowThreads(__tstate);
2567 if (PyErr_Occurred()) SWIG_fail;
2568 }
2569 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlParser, 0);
2570 return resultobj;
2571 fail:
2572 return NULL;
2573 }
2574
2575
2576 static PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *self, PyObject *args, PyObject *kwargs) {
2577 PyObject *resultobj;
2578 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
2579 wxHtmlTag *arg2 = 0 ;
2580 PyObject * obj0 = 0 ;
2581 PyObject * obj1 = 0 ;
2582 char *kwnames[] = {
2583 (char *) "self",(char *) "tag", NULL
2584 };
2585
2586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail;
2587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2588 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2589 if (arg2 == NULL) {
2590 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2591 }
2592 {
2593 PyThreadState* __tstate = wxPyBeginAllowThreads();
2594 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
2595
2596 wxPyEndAllowThreads(__tstate);
2597 if (PyErr_Occurred()) SWIG_fail;
2598 }
2599 Py_INCREF(Py_None); resultobj = Py_None;
2600 return resultobj;
2601 fail:
2602 return NULL;
2603 }
2604
2605
2606 static PyObject * HtmlTagHandler_swigregister(PyObject *self, PyObject *args) {
2607 PyObject *obj;
2608 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2609 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlTagHandler, obj);
2610 Py_INCREF(obj);
2611 return Py_BuildValue((char *)"");
2612 }
2613 static PyObject *_wrap_new_HtmlWinTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2614 PyObject *resultobj;
2615 wxPyHtmlWinTagHandler *result;
2616 char *kwnames[] = {
2617 NULL
2618 };
2619
2620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlWinTagHandler",kwnames)) goto fail;
2621 {
2622 PyThreadState* __tstate = wxPyBeginAllowThreads();
2623 result = (wxPyHtmlWinTagHandler *)new wxPyHtmlWinTagHandler();
2624
2625 wxPyEndAllowThreads(__tstate);
2626 if (PyErr_Occurred()) SWIG_fail;
2627 }
2628 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlWinTagHandler, 1);
2629 return resultobj;
2630 fail:
2631 return NULL;
2632 }
2633
2634
2635 static PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2636 PyObject *resultobj;
2637 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
2638 PyObject *arg2 = (PyObject *) 0 ;
2639 PyObject *arg3 = (PyObject *) 0 ;
2640 PyObject * obj0 = 0 ;
2641 PyObject * obj1 = 0 ;
2642 PyObject * obj2 = 0 ;
2643 char *kwnames[] = {
2644 (char *) "self",(char *) "self",(char *) "_class", NULL
2645 };
2646
2647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2649 arg2 = obj1;
2650 arg3 = obj2;
2651 {
2652 PyThreadState* __tstate = wxPyBeginAllowThreads();
2653 (arg1)->_setCallbackInfo(arg2,arg3);
2654
2655 wxPyEndAllowThreads(__tstate);
2656 if (PyErr_Occurred()) SWIG_fail;
2657 }
2658 Py_INCREF(Py_None); resultobj = Py_None;
2659 return resultobj;
2660 fail:
2661 return NULL;
2662 }
2663
2664
2665 static PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
2666 PyObject *resultobj;
2667 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
2668 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
2669 PyObject * obj0 = 0 ;
2670 PyObject * obj1 = 0 ;
2671 char *kwnames[] = {
2672 (char *) "self",(char *) "parser", NULL
2673 };
2674
2675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail;
2676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2677 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2678 {
2679 PyThreadState* __tstate = wxPyBeginAllowThreads();
2680 (arg1)->SetParser(arg2);
2681
2682 wxPyEndAllowThreads(__tstate);
2683 if (PyErr_Occurred()) SWIG_fail;
2684 }
2685 Py_INCREF(Py_None); resultobj = Py_None;
2686 return resultobj;
2687 fail:
2688 return NULL;
2689 }
2690
2691
2692 static PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
2693 PyObject *resultobj;
2694 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
2695 wxHtmlWinParser *result;
2696 PyObject * obj0 = 0 ;
2697 char *kwnames[] = {
2698 (char *) "self", NULL
2699 };
2700
2701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinTagHandler_GetParser",kwnames,&obj0)) goto fail;
2702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2703 {
2704 PyThreadState* __tstate = wxPyBeginAllowThreads();
2705 result = (wxHtmlWinParser *)(arg1)->GetParser();
2706
2707 wxPyEndAllowThreads(__tstate);
2708 if (PyErr_Occurred()) SWIG_fail;
2709 }
2710 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlWinParser, 0);
2711 return resultobj;
2712 fail:
2713 return NULL;
2714 }
2715
2716
2717 static PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *self, PyObject *args, PyObject *kwargs) {
2718 PyObject *resultobj;
2719 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
2720 wxHtmlTag *arg2 = 0 ;
2721 PyObject * obj0 = 0 ;
2722 PyObject * obj1 = 0 ;
2723 char *kwnames[] = {
2724 (char *) "self",(char *) "tag", NULL
2725 };
2726
2727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail;
2728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2729 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2730 if (arg2 == NULL) {
2731 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2732 }
2733 {
2734 PyThreadState* __tstate = wxPyBeginAllowThreads();
2735 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
2736
2737 wxPyEndAllowThreads(__tstate);
2738 if (PyErr_Occurred()) SWIG_fail;
2739 }
2740 Py_INCREF(Py_None); resultobj = Py_None;
2741 return resultobj;
2742 fail:
2743 return NULL;
2744 }
2745
2746
2747 static PyObject * HtmlWinTagHandler_swigregister(PyObject *self, PyObject *args) {
2748 PyObject *obj;
2749 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2750 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler, obj);
2751 Py_INCREF(obj);
2752 return Py_BuildValue((char *)"");
2753 }
2754 static PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2755 PyObject *resultobj;
2756 PyObject *arg1 = (PyObject *) 0 ;
2757 PyObject * obj0 = 0 ;
2758 char *kwnames[] = {
2759 (char *) "tagHandlerClass", NULL
2760 };
2761
2762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_AddTagHandler",kwnames,&obj0)) goto fail;
2763 arg1 = obj0;
2764 {
2765 PyThreadState* __tstate = wxPyBeginAllowThreads();
2766 wxHtmlWinParser_AddTagHandler(arg1);
2767
2768 wxPyEndAllowThreads(__tstate);
2769 if (PyErr_Occurred()) SWIG_fail;
2770 }
2771 Py_INCREF(Py_None); resultobj = Py_None;
2772 return resultobj;
2773 fail:
2774 return NULL;
2775 }
2776
2777
2778 static PyObject *_wrap_new_HtmlSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2779 PyObject *resultobj;
2780 wxHtmlSelection *result;
2781 char *kwnames[] = {
2782 NULL
2783 };
2784
2785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlSelection",kwnames)) goto fail;
2786 {
2787 PyThreadState* __tstate = wxPyBeginAllowThreads();
2788 result = (wxHtmlSelection *)new wxHtmlSelection();
2789
2790 wxPyEndAllowThreads(__tstate);
2791 if (PyErr_Occurred()) SWIG_fail;
2792 }
2793 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlSelection, 1);
2794 return resultobj;
2795 fail:
2796 return NULL;
2797 }
2798
2799
2800 static PyObject *_wrap_delete_HtmlSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2801 PyObject *resultobj;
2802 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
2803 PyObject * obj0 = 0 ;
2804 char *kwnames[] = {
2805 (char *) "self", NULL
2806 };
2807
2808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlSelection",kwnames,&obj0)) goto fail;
2809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2810 {
2811 PyThreadState* __tstate = wxPyBeginAllowThreads();
2812 delete arg1;
2813
2814 wxPyEndAllowThreads(__tstate);
2815 if (PyErr_Occurred()) SWIG_fail;
2816 }
2817 Py_INCREF(Py_None); resultobj = Py_None;
2818 return resultobj;
2819 fail:
2820 return NULL;
2821 }
2822
2823
2824 static PyObject *_wrap_HtmlSelection_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2825 PyObject *resultobj;
2826 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
2827 wxPoint *arg2 = 0 ;
2828 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
2829 wxPoint *arg4 = 0 ;
2830 wxHtmlCell *arg5 = (wxHtmlCell *) 0 ;
2831 wxPoint temp2 ;
2832 wxPoint temp4 ;
2833 PyObject * obj0 = 0 ;
2834 PyObject * obj1 = 0 ;
2835 PyObject * obj2 = 0 ;
2836 PyObject * obj3 = 0 ;
2837 PyObject * obj4 = 0 ;
2838 char *kwnames[] = {
2839 (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
2840 };
2841
2842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlSelection_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2844 {
2845 arg2 = &temp2;
2846 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2847 }
2848 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2849 {
2850 arg4 = &temp4;
2851 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2852 }
2853 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2854 {
2855 PyThreadState* __tstate = wxPyBeginAllowThreads();
2856 (arg1)->Set((wxPoint const &)*arg2,(wxHtmlCell const *)arg3,(wxPoint const &)*arg4,(wxHtmlCell const *)arg5);
2857
2858 wxPyEndAllowThreads(__tstate);
2859 if (PyErr_Occurred()) SWIG_fail;
2860 }
2861 Py_INCREF(Py_None); resultobj = Py_None;
2862 return resultobj;
2863 fail:
2864 return NULL;
2865 }
2866
2867
2868 static PyObject *_wrap_HtmlSelection_SetCells(PyObject *self, PyObject *args, PyObject *kwargs) {
2869 PyObject *resultobj;
2870 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
2871 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
2872 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
2873 PyObject * obj0 = 0 ;
2874 PyObject * obj1 = 0 ;
2875 PyObject * obj2 = 0 ;
2876 char *kwnames[] = {
2877 (char *) "self",(char *) "fromCell",(char *) "toCell", NULL
2878 };
2879
2880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlSelection_SetCells",kwnames,&obj0,&obj1,&obj2)) goto fail;
2881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2882 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2883 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2884 {
2885 PyThreadState* __tstate = wxPyBeginAllowThreads();
2886 (arg1)->Set((wxHtmlCell const *)arg2,(wxHtmlCell const *)arg3);
2887
2888 wxPyEndAllowThreads(__tstate);
2889 if (PyErr_Occurred()) SWIG_fail;
2890 }
2891 Py_INCREF(Py_None); resultobj = Py_None;
2892 return resultobj;
2893 fail:
2894 return NULL;
2895 }
2896
2897
2898 static PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *self, PyObject *args, PyObject *kwargs) {
2899 PyObject *resultobj;
2900 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
2901 wxHtmlCell *result;
2902 PyObject * obj0 = 0 ;
2903 char *kwnames[] = {
2904 (char *) "self", NULL
2905 };
2906
2907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromCell",kwnames,&obj0)) goto fail;
2908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2909 {
2910 PyThreadState* __tstate = wxPyBeginAllowThreads();
2911 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetFromCell();
2912
2913 wxPyEndAllowThreads(__tstate);
2914 if (PyErr_Occurred()) SWIG_fail;
2915 }
2916 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0);
2917 return resultobj;
2918 fail:
2919 return NULL;
2920 }
2921
2922
2923 static PyObject *_wrap_HtmlSelection_GetToCell(PyObject *self, PyObject *args, PyObject *kwargs) {
2924 PyObject *resultobj;
2925 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
2926 wxHtmlCell *result;
2927 PyObject * obj0 = 0 ;
2928 char *kwnames[] = {
2929 (char *) "self", NULL
2930 };
2931
2932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToCell",kwnames,&obj0)) goto fail;
2933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2934 {
2935 PyThreadState* __tstate = wxPyBeginAllowThreads();
2936 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetToCell();
2937
2938 wxPyEndAllowThreads(__tstate);
2939 if (PyErr_Occurred()) SWIG_fail;
2940 }
2941 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0);
2942 return resultobj;
2943 fail:
2944 return NULL;
2945 }
2946
2947
2948 static PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *self, PyObject *args, PyObject *kwargs) {
2949 PyObject *resultobj;
2950 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
2951 wxPoint *result;
2952 PyObject * obj0 = 0 ;
2953 char *kwnames[] = {
2954 (char *) "self", NULL
2955 };
2956
2957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPos",kwnames,&obj0)) goto fail;
2958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2959 {
2960 PyThreadState* __tstate = wxPyBeginAllowThreads();
2961 {
2962 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPos();
2963 result = (wxPoint *) &_result_ref;
2964 }
2965
2966 wxPyEndAllowThreads(__tstate);
2967 if (PyErr_Occurred()) SWIG_fail;
2968 }
2969 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
2970 return resultobj;
2971 fail:
2972 return NULL;
2973 }
2974
2975
2976 static PyObject *_wrap_HtmlSelection_GetToPos(PyObject *self, PyObject *args, PyObject *kwargs) {
2977 PyObject *resultobj;
2978 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
2979 wxPoint *result;
2980 PyObject * obj0 = 0 ;
2981 char *kwnames[] = {
2982 (char *) "self", NULL
2983 };
2984
2985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPos",kwnames,&obj0)) goto fail;
2986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2987 {
2988 PyThreadState* __tstate = wxPyBeginAllowThreads();
2989 {
2990 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPos();
2991 result = (wxPoint *) &_result_ref;
2992 }
2993
2994 wxPyEndAllowThreads(__tstate);
2995 if (PyErr_Occurred()) SWIG_fail;
2996 }
2997 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
2998 return resultobj;
2999 fail:
3000 return NULL;
3001 }
3002
3003
3004 static PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3005 PyObject *resultobj;
3006 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3007 wxPoint *result;
3008 PyObject * obj0 = 0 ;
3009 char *kwnames[] = {
3010 (char *) "self", NULL
3011 };
3012
3013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPrivPos",kwnames,&obj0)) goto fail;
3014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3015 {
3016 PyThreadState* __tstate = wxPyBeginAllowThreads();
3017 {
3018 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPrivPos();
3019 result = (wxPoint *) &_result_ref;
3020 }
3021
3022 wxPyEndAllowThreads(__tstate);
3023 if (PyErr_Occurred()) SWIG_fail;
3024 }
3025 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
3026 return resultobj;
3027 fail:
3028 return NULL;
3029 }
3030
3031
3032 static PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3033 PyObject *resultobj;
3034 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3035 wxPoint *result;
3036 PyObject * obj0 = 0 ;
3037 char *kwnames[] = {
3038 (char *) "self", NULL
3039 };
3040
3041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPrivPos",kwnames,&obj0)) goto fail;
3042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3043 {
3044 PyThreadState* __tstate = wxPyBeginAllowThreads();
3045 {
3046 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPrivPos();
3047 result = (wxPoint *) &_result_ref;
3048 }
3049
3050 wxPyEndAllowThreads(__tstate);
3051 if (PyErr_Occurred()) SWIG_fail;
3052 }
3053 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
3054 return resultobj;
3055 fail:
3056 return NULL;
3057 }
3058
3059
3060 static PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3061 PyObject *resultobj;
3062 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3063 wxPoint *arg2 = 0 ;
3064 wxPoint temp2 ;
3065 PyObject * obj0 = 0 ;
3066 PyObject * obj1 = 0 ;
3067 char *kwnames[] = {
3068 (char *) "self",(char *) "pos", NULL
3069 };
3070
3071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames,&obj0,&obj1)) goto fail;
3072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3073 {
3074 arg2 = &temp2;
3075 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3076 }
3077 {
3078 PyThreadState* __tstate = wxPyBeginAllowThreads();
3079 (arg1)->SetFromPrivPos((wxPoint const &)*arg2);
3080
3081 wxPyEndAllowThreads(__tstate);
3082 if (PyErr_Occurred()) SWIG_fail;
3083 }
3084 Py_INCREF(Py_None); resultobj = Py_None;
3085 return resultobj;
3086 fail:
3087 return NULL;
3088 }
3089
3090
3091 static PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3092 PyObject *resultobj;
3093 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3094 wxPoint *arg2 = 0 ;
3095 wxPoint temp2 ;
3096 PyObject * obj0 = 0 ;
3097 PyObject * obj1 = 0 ;
3098 char *kwnames[] = {
3099 (char *) "self",(char *) "pos", NULL
3100 };
3101
3102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames,&obj0,&obj1)) goto fail;
3103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3104 {
3105 arg2 = &temp2;
3106 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3107 }
3108 {
3109 PyThreadState* __tstate = wxPyBeginAllowThreads();
3110 (arg1)->SetToPrivPos((wxPoint const &)*arg2);
3111
3112 wxPyEndAllowThreads(__tstate);
3113 if (PyErr_Occurred()) SWIG_fail;
3114 }
3115 Py_INCREF(Py_None); resultobj = Py_None;
3116 return resultobj;
3117 fail:
3118 return NULL;
3119 }
3120
3121
3122 static PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3123 PyObject *resultobj;
3124 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3125 PyObject * obj0 = 0 ;
3126 char *kwnames[] = {
3127 (char *) "self", NULL
3128 };
3129
3130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_ClearPrivPos",kwnames,&obj0)) goto fail;
3131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3132 {
3133 PyThreadState* __tstate = wxPyBeginAllowThreads();
3134 (arg1)->ClearPrivPos();
3135
3136 wxPyEndAllowThreads(__tstate);
3137 if (PyErr_Occurred()) SWIG_fail;
3138 }
3139 Py_INCREF(Py_None); resultobj = Py_None;
3140 return resultobj;
3141 fail:
3142 return NULL;
3143 }
3144
3145
3146 static PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *self, PyObject *args, PyObject *kwargs) {
3147 PyObject *resultobj;
3148 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3149 bool result;
3150 PyObject * obj0 = 0 ;
3151 char *kwnames[] = {
3152 (char *) "self", NULL
3153 };
3154
3155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_IsEmpty",kwnames,&obj0)) goto fail;
3156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3157 {
3158 PyThreadState* __tstate = wxPyBeginAllowThreads();
3159 result = (bool)((wxHtmlSelection const *)arg1)->IsEmpty();
3160
3161 wxPyEndAllowThreads(__tstate);
3162 if (PyErr_Occurred()) SWIG_fail;
3163 }
3164 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3165 return resultobj;
3166 fail:
3167 return NULL;
3168 }
3169
3170
3171 static PyObject * HtmlSelection_swigregister(PyObject *self, PyObject *args) {
3172 PyObject *obj;
3173 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3174 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSelection, obj);
3175 Py_INCREF(obj);
3176 return Py_BuildValue((char *)"");
3177 }
3178 static PyObject *_wrap_new_HtmlRenderingState(PyObject *self, PyObject *args, PyObject *kwargs) {
3179 PyObject *resultobj;
3180 wxHtmlRenderingState *result;
3181 char *kwnames[] = {
3182 NULL
3183 };
3184
3185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingState",kwnames)) goto fail;
3186 {
3187 PyThreadState* __tstate = wxPyBeginAllowThreads();
3188 result = (wxHtmlRenderingState *)new wxHtmlRenderingState();
3189
3190 wxPyEndAllowThreads(__tstate);
3191 if (PyErr_Occurred()) SWIG_fail;
3192 }
3193 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlRenderingState, 1);
3194 return resultobj;
3195 fail:
3196 return NULL;
3197 }
3198
3199
3200 static PyObject *_wrap_delete_HtmlRenderingState(PyObject *self, PyObject *args, PyObject *kwargs) {
3201 PyObject *resultobj;
3202 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3203 PyObject * obj0 = 0 ;
3204 char *kwnames[] = {
3205 (char *) "self", NULL
3206 };
3207
3208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingState",kwnames,&obj0)) goto fail;
3209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3210 {
3211 PyThreadState* __tstate = wxPyBeginAllowThreads();
3212 delete arg1;
3213
3214 wxPyEndAllowThreads(__tstate);
3215 if (PyErr_Occurred()) SWIG_fail;
3216 }
3217 Py_INCREF(Py_None); resultobj = Py_None;
3218 return resultobj;
3219 fail:
3220 return NULL;
3221 }
3222
3223
3224 static PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *self, PyObject *args, PyObject *kwargs) {
3225 PyObject *resultobj;
3226 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3227 int arg2 ;
3228 PyObject * obj0 = 0 ;
3229 PyObject * obj1 = 0 ;
3230 char *kwnames[] = {
3231 (char *) "self",(char *) "s", NULL
3232 };
3233
3234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames,&obj0,&obj1)) goto fail;
3235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3236 {
3237 arg2 = (wxHtmlSelectionState) SWIG_PyObj_AsInt(obj1);
3238 if (PyErr_Occurred()) SWIG_fail;
3239 }
3240 {
3241 PyThreadState* __tstate = wxPyBeginAllowThreads();
3242 (arg1)->SetSelectionState((wxHtmlSelectionState )arg2);
3243
3244 wxPyEndAllowThreads(__tstate);
3245 if (PyErr_Occurred()) SWIG_fail;
3246 }
3247 Py_INCREF(Py_None); resultobj = Py_None;
3248 return resultobj;
3249 fail:
3250 return NULL;
3251 }
3252
3253
3254 static PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *self, PyObject *args, PyObject *kwargs) {
3255 PyObject *resultobj;
3256 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3257 int result;
3258 PyObject * obj0 = 0 ;
3259 char *kwnames[] = {
3260 (char *) "self", NULL
3261 };
3262
3263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetSelectionState",kwnames,&obj0)) goto fail;
3264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3265 {
3266 PyThreadState* __tstate = wxPyBeginAllowThreads();
3267 result = (int)((wxHtmlRenderingState const *)arg1)->GetSelectionState();
3268
3269 wxPyEndAllowThreads(__tstate);
3270 if (PyErr_Occurred()) SWIG_fail;
3271 }
3272 resultobj = SWIG_PyObj_FromInt((int)result);
3273 return resultobj;
3274 fail:
3275 return NULL;
3276 }
3277
3278
3279 static PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3280 PyObject *resultobj;
3281 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3282 wxColour *arg2 = 0 ;
3283 wxColour temp2 ;
3284 PyObject * obj0 = 0 ;
3285 PyObject * obj1 = 0 ;
3286 char *kwnames[] = {
3287 (char *) "self",(char *) "c", NULL
3288 };
3289
3290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames,&obj0,&obj1)) goto fail;
3291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3292 {
3293 arg2 = &temp2;
3294 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3295 }
3296 {
3297 PyThreadState* __tstate = wxPyBeginAllowThreads();
3298 (arg1)->SetFgColour((wxColour const &)*arg2);
3299
3300 wxPyEndAllowThreads(__tstate);
3301 if (PyErr_Occurred()) SWIG_fail;
3302 }
3303 Py_INCREF(Py_None); resultobj = Py_None;
3304 return resultobj;
3305 fail:
3306 return NULL;
3307 }
3308
3309
3310 static PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3311 PyObject *resultobj;
3312 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3313 wxColour *result;
3314 PyObject * obj0 = 0 ;
3315 char *kwnames[] = {
3316 (char *) "self", NULL
3317 };
3318
3319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetFgColour",kwnames,&obj0)) goto fail;
3320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3321 {
3322 PyThreadState* __tstate = wxPyBeginAllowThreads();
3323 {
3324 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetFgColour();
3325 result = (wxColour *) &_result_ref;
3326 }
3327
3328 wxPyEndAllowThreads(__tstate);
3329 if (PyErr_Occurred()) SWIG_fail;
3330 }
3331 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
3332 return resultobj;
3333 fail:
3334 return NULL;
3335 }
3336
3337
3338 static PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3339 PyObject *resultobj;
3340 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3341 wxColour *arg2 = 0 ;
3342 wxColour temp2 ;
3343 PyObject * obj0 = 0 ;
3344 PyObject * obj1 = 0 ;
3345 char *kwnames[] = {
3346 (char *) "self",(char *) "c", NULL
3347 };
3348
3349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames,&obj0,&obj1)) goto fail;
3350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3351 {
3352 arg2 = &temp2;
3353 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3354 }
3355 {
3356 PyThreadState* __tstate = wxPyBeginAllowThreads();
3357 (arg1)->SetBgColour((wxColour const &)*arg2);
3358
3359 wxPyEndAllowThreads(__tstate);
3360 if (PyErr_Occurred()) SWIG_fail;
3361 }
3362 Py_INCREF(Py_None); resultobj = Py_None;
3363 return resultobj;
3364 fail:
3365 return NULL;
3366 }
3367
3368
3369 static PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3370 PyObject *resultobj;
3371 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3372 wxColour *result;
3373 PyObject * obj0 = 0 ;
3374 char *kwnames[] = {
3375 (char *) "self", NULL
3376 };
3377
3378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetBgColour",kwnames,&obj0)) goto fail;
3379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3380 {
3381 PyThreadState* __tstate = wxPyBeginAllowThreads();
3382 {
3383 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetBgColour();
3384 result = (wxColour *) &_result_ref;
3385 }
3386
3387 wxPyEndAllowThreads(__tstate);
3388 if (PyErr_Occurred()) SWIG_fail;
3389 }
3390 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
3391 return resultobj;
3392 fail:
3393 return NULL;
3394 }
3395
3396
3397 static PyObject * HtmlRenderingState_swigregister(PyObject *self, PyObject *args) {
3398 PyObject *obj;
3399 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3400 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingState, obj);
3401 Py_INCREF(obj);
3402 return Py_BuildValue((char *)"");
3403 }
3404 static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3405 PyObject *resultobj;
3406 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
3407 wxColour *arg2 = 0 ;
3408 wxColour result;
3409 wxColour temp2 ;
3410 PyObject * obj0 = 0 ;
3411 PyObject * obj1 = 0 ;
3412 char *kwnames[] = {
3413 (char *) "self",(char *) "clr", NULL
3414 };
3415
3416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail;
3417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingStyle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3418 {
3419 arg2 = &temp2;
3420 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3421 }
3422 {
3423 PyThreadState* __tstate = wxPyBeginAllowThreads();
3424 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
3425
3426 wxPyEndAllowThreads(__tstate);
3427 if (PyErr_Occurred()) SWIG_fail;
3428 }
3429 {
3430 wxColour * resultptr;
3431 resultptr = new wxColour((wxColour &) result);
3432 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
3433 }
3434 return resultobj;
3435 fail:
3436 return NULL;
3437 }
3438
3439
3440 static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3441 PyObject *resultobj;
3442 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
3443 wxColour *arg2 = 0 ;
3444 wxColour result;
3445 wxColour temp2 ;
3446 PyObject * obj0 = 0 ;
3447 PyObject * obj1 = 0 ;
3448 char *kwnames[] = {
3449 (char *) "self",(char *) "clr", NULL
3450 };
3451
3452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail;
3453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingStyle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3454 {
3455 arg2 = &temp2;
3456 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3457 }
3458 {
3459 PyThreadState* __tstate = wxPyBeginAllowThreads();
3460 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
3461
3462 wxPyEndAllowThreads(__tstate);
3463 if (PyErr_Occurred()) SWIG_fail;
3464 }
3465 {
3466 wxColour * resultptr;
3467 resultptr = new wxColour((wxColour &) result);
3468 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
3469 }
3470 return resultobj;
3471 fail:
3472 return NULL;
3473 }
3474
3475
3476 static PyObject * HtmlRenderingStyle_swigregister(PyObject *self, PyObject *args) {
3477 PyObject *obj;
3478 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3479 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingStyle, obj);
3480 Py_INCREF(obj);
3481 return Py_BuildValue((char *)"");
3482 }
3483 static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3484 PyObject *resultobj;
3485 wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ;
3486 wxColour *arg2 = 0 ;
3487 wxColour result;
3488 wxColour temp2 ;
3489 PyObject * obj0 = 0 ;
3490 PyObject * obj1 = 0 ;
3491 char *kwnames[] = {
3492 (char *) "self",(char *) "clr", NULL
3493 };
3494
3495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail;
3496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDefaultHtmlRenderingStyle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3497 {
3498 arg2 = &temp2;
3499 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3500 }
3501 {
3502 PyThreadState* __tstate = wxPyBeginAllowThreads();
3503 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
3504
3505 wxPyEndAllowThreads(__tstate);
3506 if (PyErr_Occurred()) SWIG_fail;
3507 }
3508 {
3509 wxColour * resultptr;
3510 resultptr = new wxColour((wxColour &) result);
3511 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
3512 }
3513 return resultobj;
3514 fail:
3515 return NULL;
3516 }
3517
3518
3519 static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3520 PyObject *resultobj;
3521 wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ;
3522 wxColour *arg2 = 0 ;
3523 wxColour result;
3524 wxColour temp2 ;
3525 PyObject * obj0 = 0 ;
3526 PyObject * obj1 = 0 ;
3527 char *kwnames[] = {
3528 (char *) "self",(char *) "clr", NULL
3529 };
3530
3531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail;
3532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDefaultHtmlRenderingStyle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3533 {
3534 arg2 = &temp2;
3535 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3536 }
3537 {
3538 PyThreadState* __tstate = wxPyBeginAllowThreads();
3539 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
3540
3541 wxPyEndAllowThreads(__tstate);
3542 if (PyErr_Occurred()) SWIG_fail;
3543 }
3544 {
3545 wxColour * resultptr;
3546 resultptr = new wxColour((wxColour &) result);
3547 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
3548 }
3549 return resultobj;
3550 fail:
3551 return NULL;
3552 }
3553
3554
3555 static PyObject * DefaultHtmlRenderingStyle_swigregister(PyObject *self, PyObject *args) {
3556 PyObject *obj;
3557 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3558 SWIG_TypeClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle, obj);
3559 Py_INCREF(obj);
3560 return Py_BuildValue((char *)"");
3561 }
3562 static PyObject *_wrap_new_HtmlRenderingInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3563 PyObject *resultobj;
3564 wxHtmlRenderingInfo *result;
3565 char *kwnames[] = {
3566 NULL
3567 };
3568
3569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingInfo",kwnames)) goto fail;
3570 {
3571 PyThreadState* __tstate = wxPyBeginAllowThreads();
3572 result = (wxHtmlRenderingInfo *)new wxHtmlRenderingInfo();
3573
3574 wxPyEndAllowThreads(__tstate);
3575 if (PyErr_Occurred()) SWIG_fail;
3576 }
3577 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlRenderingInfo, 1);
3578 return resultobj;
3579 fail:
3580 return NULL;
3581 }
3582
3583
3584 static PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3585 PyObject *resultobj;
3586 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3587 PyObject * obj0 = 0 ;
3588 char *kwnames[] = {
3589 (char *) "self", NULL
3590 };
3591
3592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingInfo",kwnames,&obj0)) goto fail;
3593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3594 {
3595 PyThreadState* __tstate = wxPyBeginAllowThreads();
3596 delete arg1;
3597
3598 wxPyEndAllowThreads(__tstate);
3599 if (PyErr_Occurred()) SWIG_fail;
3600 }
3601 Py_INCREF(Py_None); resultobj = Py_None;
3602 return resultobj;
3603 fail:
3604 return NULL;
3605 }
3606
3607
3608 static PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3609 PyObject *resultobj;
3610 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3611 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
3612 PyObject * obj0 = 0 ;
3613 PyObject * obj1 = 0 ;
3614 char *kwnames[] = {
3615 (char *) "self",(char *) "s", NULL
3616 };
3617
3618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames,&obj0,&obj1)) goto fail;
3619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3620 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3621 {
3622 PyThreadState* __tstate = wxPyBeginAllowThreads();
3623 (arg1)->SetSelection(arg2);
3624
3625 wxPyEndAllowThreads(__tstate);
3626 if (PyErr_Occurred()) SWIG_fail;
3627 }
3628 Py_INCREF(Py_None); resultobj = Py_None;
3629 return resultobj;
3630 fail:
3631 return NULL;
3632 }
3633
3634
3635 static PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3636 PyObject *resultobj;
3637 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3638 wxHtmlSelection *result;
3639 PyObject * obj0 = 0 ;
3640 char *kwnames[] = {
3641 (char *) "self", NULL
3642 };
3643
3644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetSelection",kwnames,&obj0)) goto fail;
3645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3646 {
3647 PyThreadState* __tstate = wxPyBeginAllowThreads();
3648 result = (wxHtmlSelection *)((wxHtmlRenderingInfo const *)arg1)->GetSelection();
3649
3650 wxPyEndAllowThreads(__tstate);
3651 if (PyErr_Occurred()) SWIG_fail;
3652 }
3653 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlSelection, 0);
3654 return resultobj;
3655 fail:
3656 return NULL;
3657 }
3658
3659
3660 static PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
3661 PyObject *resultobj;
3662 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3663 wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ;
3664 PyObject * obj0 = 0 ;
3665 PyObject * obj1 = 0 ;
3666 char *kwnames[] = {
3667 (char *) "self",(char *) "style", NULL
3668 };
3669
3670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames,&obj0,&obj1)) goto fail;
3671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3672 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlRenderingStyle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3673 {
3674 PyThreadState* __tstate = wxPyBeginAllowThreads();
3675 (arg1)->SetStyle(arg2);
3676
3677 wxPyEndAllowThreads(__tstate);
3678 if (PyErr_Occurred()) SWIG_fail;
3679 }
3680 Py_INCREF(Py_None); resultobj = Py_None;
3681 return resultobj;
3682 fail:
3683 return NULL;
3684 }
3685
3686
3687 static PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
3688 PyObject *resultobj;
3689 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3690 wxHtmlRenderingStyle *result;
3691 PyObject * obj0 = 0 ;
3692 char *kwnames[] = {
3693 (char *) "self", NULL
3694 };
3695
3696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetStyle",kwnames,&obj0)) goto fail;
3697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3698 {
3699 PyThreadState* __tstate = wxPyBeginAllowThreads();
3700 {
3701 wxHtmlRenderingStyle &_result_ref = (arg1)->GetStyle();
3702 result = (wxHtmlRenderingStyle *) &_result_ref;
3703 }
3704
3705 wxPyEndAllowThreads(__tstate);
3706 if (PyErr_Occurred()) SWIG_fail;
3707 }
3708 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlRenderingStyle, 0);
3709 return resultobj;
3710 fail:
3711 return NULL;
3712 }
3713
3714
3715 static PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
3716 PyObject *resultobj;
3717 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3718 wxHtmlRenderingState *result;
3719 PyObject * obj0 = 0 ;
3720 char *kwnames[] = {
3721 (char *) "self", NULL
3722 };
3723
3724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetState",kwnames,&obj0)) goto fail;
3725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3726 {
3727 PyThreadState* __tstate = wxPyBeginAllowThreads();
3728 {
3729 wxHtmlRenderingState &_result_ref = (arg1)->GetState();
3730 result = (wxHtmlRenderingState *) &_result_ref;
3731 }
3732
3733 wxPyEndAllowThreads(__tstate);
3734 if (PyErr_Occurred()) SWIG_fail;
3735 }
3736 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlRenderingState, 0);
3737 return resultobj;
3738 fail:
3739 return NULL;
3740 }
3741
3742
3743 static PyObject * HtmlRenderingInfo_swigregister(PyObject *self, PyObject *args) {
3744 PyObject *obj;
3745 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3746 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingInfo, obj);
3747 Py_INCREF(obj);
3748 return Py_BuildValue((char *)"");
3749 }
3750 static PyObject *_wrap_new_HtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) {
3751 PyObject *resultobj;
3752 wxHtmlCell *result;
3753 char *kwnames[] = {
3754 NULL
3755 };
3756
3757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlCell",kwnames)) goto fail;
3758 {
3759 PyThreadState* __tstate = wxPyBeginAllowThreads();
3760 result = (wxHtmlCell *)new wxHtmlCell();
3761
3762 wxPyEndAllowThreads(__tstate);
3763 if (PyErr_Occurred()) SWIG_fail;
3764 }
3765 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 1);
3766 return resultobj;
3767 fail:
3768 return NULL;
3769 }
3770
3771
3772 static PyObject *_wrap_HtmlCell_GetPosX(PyObject *self, PyObject *args, PyObject *kwargs) {
3773 PyObject *resultobj;
3774 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
3775 int result;
3776 PyObject * obj0 = 0 ;
3777 char *kwnames[] = {
3778 (char *) "self", NULL
3779 };
3780
3781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosX",kwnames,&obj0)) goto fail;
3782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3783 {
3784 PyThreadState* __tstate = wxPyBeginAllowThreads();
3785 result = (int)(arg1)->GetPosX();
3786
3787 wxPyEndAllowThreads(__tstate);
3788 if (PyErr_Occurred()) SWIG_fail;
3789 }
3790 resultobj = SWIG_PyObj_FromInt((int)result);
3791 return resultobj;
3792 fail:
3793 return NULL;
3794 }
3795
3796
3797 static PyObject *_wrap_HtmlCell_GetPosY(PyObject *self, PyObject *args, PyObject *kwargs) {
3798 PyObject *resultobj;
3799 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
3800 int result;
3801 PyObject * obj0 = 0 ;
3802 char *kwnames[] = {
3803 (char *) "self", NULL
3804 };
3805
3806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosY",kwnames,&obj0)) goto fail;
3807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3808 {
3809 PyThreadState* __tstate = wxPyBeginAllowThreads();
3810 result = (int)(arg1)->GetPosY();
3811
3812 wxPyEndAllowThreads(__tstate);
3813 if (PyErr_Occurred()) SWIG_fail;
3814 }
3815 resultobj = SWIG_PyObj_FromInt((int)result);
3816 return resultobj;
3817 fail:
3818 return NULL;
3819 }
3820
3821
3822 static PyObject *_wrap_HtmlCell_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3823 PyObject *resultobj;
3824 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
3825 int result;
3826 PyObject * obj0 = 0 ;
3827 char *kwnames[] = {
3828 (char *) "self", NULL
3829 };
3830
3831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetWidth",kwnames,&obj0)) goto fail;
3832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3833 {
3834 PyThreadState* __tstate = wxPyBeginAllowThreads();
3835 result = (int)(arg1)->GetWidth();
3836
3837 wxPyEndAllowThreads(__tstate);
3838 if (PyErr_Occurred()) SWIG_fail;
3839 }
3840 resultobj = SWIG_PyObj_FromInt((int)result);
3841 return resultobj;
3842 fail:
3843 return NULL;
3844 }
3845
3846
3847 static PyObject *_wrap_HtmlCell_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3848 PyObject *resultobj;
3849 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
3850 int result;
3851 PyObject * obj0 = 0 ;
3852 char *kwnames[] = {
3853 (char *) "self", NULL
3854 };
3855
3856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetHeight",kwnames,&obj0)) goto fail;
3857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3858 {
3859 PyThreadState* __tstate = wxPyBeginAllowThreads();
3860 result = (int)(arg1)->GetHeight();
3861
3862 wxPyEndAllowThreads(__tstate);
3863 if (PyErr_Occurred()) SWIG_fail;
3864 }
3865 resultobj = SWIG_PyObj_FromInt((int)result);
3866 return resultobj;
3867 fail:
3868 return NULL;
3869 }
3870
3871
3872 static PyObject *_wrap_HtmlCell_GetDescent(PyObject *self, PyObject *args, PyObject *kwargs) {
3873 PyObject *resultobj;
3874 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
3875 int result;
3876 PyObject * obj0 = 0 ;
3877 char *kwnames[] = {
3878 (char *) "self", NULL
3879 };
3880
3881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDescent",kwnames,&obj0)) goto fail;
3882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3883 {
3884 PyThreadState* __tstate = wxPyBeginAllowThreads();
3885 result = (int)(arg1)->GetDescent();
3886
3887 wxPyEndAllowThreads(__tstate);
3888 if (PyErr_Occurred()) SWIG_fail;
3889 }
3890 resultobj = SWIG_PyObj_FromInt((int)result);
3891 return resultobj;
3892 fail:
3893 return NULL;
3894 }
3895
3896
3897 static PyObject *_wrap_HtmlCell_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
3898 PyObject *resultobj;
3899 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
3900 wxString *result;
3901 PyObject * obj0 = 0 ;
3902 char *kwnames[] = {
3903 (char *) "self", NULL
3904 };
3905
3906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetId",kwnames,&obj0)) goto fail;
3907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3908 {
3909 PyThreadState* __tstate = wxPyBeginAllowThreads();
3910 {
3911 wxString const &_result_ref = ((wxHtmlCell const *)arg1)->GetId();
3912 result = (wxString *) &_result_ref;
3913 }
3914
3915 wxPyEndAllowThreads(__tstate);
3916 if (PyErr_Occurred()) SWIG_fail;
3917 }
3918 {
3919 #if wxUSE_UNICODE
3920 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
3921 #else
3922 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
3923 #endif
3924 }
3925 return resultobj;
3926 fail:
3927 return NULL;
3928 }
3929
3930
3931 static PyObject *_wrap_HtmlCell_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
3932 PyObject *resultobj;
3933 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
3934 wxString *arg2 = 0 ;
3935 bool temp2 = False ;
3936 PyObject * obj0 = 0 ;
3937 PyObject * obj1 = 0 ;
3938 char *kwnames[] = {
3939 (char *) "self",(char *) "id", NULL
3940 };
3941
3942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetId",kwnames,&obj0,&obj1)) goto fail;
3943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3944 {
3945 arg2 = wxString_in_helper(obj1);
3946 if (arg2 == NULL) SWIG_fail;
3947 temp2 = True;
3948 }
3949 {
3950 PyThreadState* __tstate = wxPyBeginAllowThreads();
3951 (arg1)->SetId((wxString const &)*arg2);
3952
3953 wxPyEndAllowThreads(__tstate);
3954 if (PyErr_Occurred()) SWIG_fail;
3955 }
3956 Py_INCREF(Py_None); resultobj = Py_None;
3957 {
3958 if (temp2)
3959 delete arg2;
3960 }
3961 return resultobj;
3962 fail:
3963 {
3964 if (temp2)
3965 delete arg2;
3966 }
3967 return NULL;
3968 }
3969
3970
3971 static PyObject *_wrap_HtmlCell_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
3972 PyObject *resultobj;
3973 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
3974 int arg2 = (int) 0 ;
3975 int arg3 = (int) 0 ;
3976 wxHtmlLinkInfo *result;
3977 PyObject * obj0 = 0 ;
3978 PyObject * obj1 = 0 ;
3979 PyObject * obj2 = 0 ;
3980 char *kwnames[] = {
3981 (char *) "self",(char *) "x",(char *) "y", NULL
3982 };
3983
3984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:HtmlCell_GetLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
3985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3986 if (obj1) {
3987 {
3988 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3989 if (PyErr_Occurred()) SWIG_fail;
3990 }
3991 }
3992 if (obj2) {
3993 {
3994 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3995 if (PyErr_Occurred()) SWIG_fail;
3996 }
3997 }
3998 {
3999 PyThreadState* __tstate = wxPyBeginAllowThreads();
4000 result = (wxHtmlLinkInfo *)(arg1)->GetLink(arg2,arg3);
4001
4002 wxPyEndAllowThreads(__tstate);
4003 if (PyErr_Occurred()) SWIG_fail;
4004 }
4005 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlLinkInfo, 0);
4006 return resultobj;
4007 fail:
4008 return NULL;
4009 }
4010
4011
4012 static PyObject *_wrap_HtmlCell_GetNext(PyObject *self, PyObject *args, PyObject *kwargs) {
4013 PyObject *resultobj;
4014 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4015 wxHtmlCell *result;
4016 PyObject * obj0 = 0 ;
4017 char *kwnames[] = {
4018 (char *) "self", NULL
4019 };
4020
4021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetNext",kwnames,&obj0)) goto fail;
4022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4023 {
4024 PyThreadState* __tstate = wxPyBeginAllowThreads();
4025 result = (wxHtmlCell *)(arg1)->GetNext();
4026
4027 wxPyEndAllowThreads(__tstate);
4028 if (PyErr_Occurred()) SWIG_fail;
4029 }
4030 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0);
4031 return resultobj;
4032 fail:
4033 return NULL;
4034 }
4035
4036
4037 static PyObject *_wrap_HtmlCell_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
4038 PyObject *resultobj;
4039 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4040 wxHtmlContainerCell *result;
4041 PyObject * obj0 = 0 ;
4042 char *kwnames[] = {
4043 (char *) "self", NULL
4044 };
4045
4046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetParent",kwnames,&obj0)) goto fail;
4047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4048 {
4049 PyThreadState* __tstate = wxPyBeginAllowThreads();
4050 result = (wxHtmlContainerCell *)(arg1)->GetParent();
4051
4052 wxPyEndAllowThreads(__tstate);
4053 if (PyErr_Occurred()) SWIG_fail;
4054 }
4055 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0);
4056 return resultobj;
4057 fail:
4058 return NULL;
4059 }
4060
4061
4062 static PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
4063 PyObject *resultobj;
4064 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4065 wxHtmlCell *result;
4066 PyObject * obj0 = 0 ;
4067 char *kwnames[] = {
4068 (char *) "self", NULL
4069 };
4070
4071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstChild",kwnames,&obj0)) goto fail;
4072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4073 {
4074 PyThreadState* __tstate = wxPyBeginAllowThreads();
4075 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstChild();
4076
4077 wxPyEndAllowThreads(__tstate);
4078 if (PyErr_Occurred()) SWIG_fail;
4079 }
4080 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0);
4081 return resultobj;
4082 fail:
4083 return NULL;
4084 }
4085
4086
4087 static PyObject *_wrap_HtmlCell_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4088 PyObject *resultobj;
4089 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4090 wxCursor result;
4091 PyObject * obj0 = 0 ;
4092 char *kwnames[] = {
4093 (char *) "self", NULL
4094 };
4095
4096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetCursor",kwnames,&obj0)) goto fail;
4097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4098 {
4099 PyThreadState* __tstate = wxPyBeginAllowThreads();
4100 result = ((wxHtmlCell const *)arg1)->GetCursor();
4101
4102 wxPyEndAllowThreads(__tstate);
4103 if (PyErr_Occurred()) SWIG_fail;
4104 }
4105 {
4106 wxCursor * resultptr;
4107 resultptr = new wxCursor((wxCursor &) result);
4108 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxCursor, 1);
4109 }
4110 return resultobj;
4111 fail:
4112 return NULL;
4113 }
4114
4115
4116 static PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4117 PyObject *resultobj;
4118 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4119 bool result;
4120 PyObject * obj0 = 0 ;
4121 char *kwnames[] = {
4122 (char *) "self", NULL
4123 };
4124
4125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsFormattingCell",kwnames,&obj0)) goto fail;
4126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4127 {
4128 PyThreadState* __tstate = wxPyBeginAllowThreads();
4129 result = (bool)((wxHtmlCell const *)arg1)->IsFormattingCell();
4130
4131 wxPyEndAllowThreads(__tstate);
4132 if (PyErr_Occurred()) SWIG_fail;
4133 }
4134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4135 return resultobj;
4136 fail:
4137 return NULL;
4138 }
4139
4140
4141 static PyObject *_wrap_HtmlCell_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
4142 PyObject *resultobj;
4143 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4144 wxHtmlLinkInfo *arg2 = 0 ;
4145 PyObject * obj0 = 0 ;
4146 PyObject * obj1 = 0 ;
4147 char *kwnames[] = {
4148 (char *) "self",(char *) "link", NULL
4149 };
4150
4151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetLink",kwnames,&obj0,&obj1)) goto fail;
4152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4153 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4154 if (arg2 == NULL) {
4155 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4156 }
4157 {
4158 PyThreadState* __tstate = wxPyBeginAllowThreads();
4159 (arg1)->SetLink((wxHtmlLinkInfo const &)*arg2);
4160
4161 wxPyEndAllowThreads(__tstate);
4162 if (PyErr_Occurred()) SWIG_fail;
4163 }
4164 Py_INCREF(Py_None); resultobj = Py_None;
4165 return resultobj;
4166 fail:
4167 return NULL;
4168 }
4169
4170
4171 static PyObject *_wrap_HtmlCell_SetNext(PyObject *self, PyObject *args, PyObject *kwargs) {
4172 PyObject *resultobj;
4173 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4174 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
4175 PyObject * obj0 = 0 ;
4176 PyObject * obj1 = 0 ;
4177 char *kwnames[] = {
4178 (char *) "self",(char *) "cell", NULL
4179 };
4180
4181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetNext",kwnames,&obj0,&obj1)) goto fail;
4182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4183 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4184 {
4185 PyThreadState* __tstate = wxPyBeginAllowThreads();
4186 (arg1)->SetNext(arg2);
4187
4188 wxPyEndAllowThreads(__tstate);
4189 if (PyErr_Occurred()) SWIG_fail;
4190 }
4191 Py_INCREF(Py_None); resultobj = Py_None;
4192 return resultobj;
4193 fail:
4194 return NULL;
4195 }
4196
4197
4198 static PyObject *_wrap_HtmlCell_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
4199 PyObject *resultobj;
4200 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4201 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
4202 PyObject * obj0 = 0 ;
4203 PyObject * obj1 = 0 ;
4204 char *kwnames[] = {
4205 (char *) "self",(char *) "p", NULL
4206 };
4207
4208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetParent",kwnames,&obj0,&obj1)) goto fail;
4209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4210 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4211 {
4212 PyThreadState* __tstate = wxPyBeginAllowThreads();
4213 (arg1)->SetParent(arg2);
4214
4215 wxPyEndAllowThreads(__tstate);
4216 if (PyErr_Occurred()) SWIG_fail;
4217 }
4218 Py_INCREF(Py_None); resultobj = Py_None;
4219 return resultobj;
4220 fail:
4221 return NULL;
4222 }
4223
4224
4225 static PyObject *_wrap_HtmlCell_SetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
4226 PyObject *resultobj;
4227 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4228 int arg2 ;
4229 int arg3 ;
4230 PyObject * obj0 = 0 ;
4231 PyObject * obj1 = 0 ;
4232 PyObject * obj2 = 0 ;
4233 char *kwnames[] = {
4234 (char *) "self",(char *) "x",(char *) "y", NULL
4235 };
4236
4237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_SetPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
4238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4239 {
4240 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4241 if (PyErr_Occurred()) SWIG_fail;
4242 }
4243 {
4244 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4245 if (PyErr_Occurred()) SWIG_fail;
4246 }
4247 {
4248 PyThreadState* __tstate = wxPyBeginAllowThreads();
4249 (arg1)->SetPos(arg2,arg3);
4250
4251 wxPyEndAllowThreads(__tstate);
4252 if (PyErr_Occurred()) SWIG_fail;
4253 }
4254 Py_INCREF(Py_None); resultobj = Py_None;
4255 return resultobj;
4256 fail:
4257 return NULL;
4258 }
4259
4260
4261 static PyObject *_wrap_HtmlCell_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
4262 PyObject *resultobj;
4263 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4264 int arg2 ;
4265 PyObject * obj0 = 0 ;
4266 PyObject * obj1 = 0 ;
4267 char *kwnames[] = {
4268 (char *) "self",(char *) "w", NULL
4269 };
4270
4271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_Layout",kwnames,&obj0,&obj1)) goto fail;
4272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4273 {
4274 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4275 if (PyErr_Occurred()) SWIG_fail;
4276 }
4277 {
4278 PyThreadState* __tstate = wxPyBeginAllowThreads();
4279 (arg1)->Layout(arg2);
4280
4281 wxPyEndAllowThreads(__tstate);
4282 if (PyErr_Occurred()) SWIG_fail;
4283 }
4284 Py_INCREF(Py_None); resultobj = Py_None;
4285 return resultobj;
4286 fail:
4287 return NULL;
4288 }
4289
4290
4291 static PyObject *_wrap_HtmlCell_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
4292 PyObject *resultobj;
4293 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4294 wxDC *arg2 = 0 ;
4295 int arg3 ;
4296 int arg4 ;
4297 int arg5 ;
4298 int arg6 ;
4299 wxHtmlRenderingInfo *arg7 = 0 ;
4300 PyObject * obj0 = 0 ;
4301 PyObject * obj1 = 0 ;
4302 PyObject * obj2 = 0 ;
4303 PyObject * obj3 = 0 ;
4304 PyObject * obj4 = 0 ;
4305 PyObject * obj5 = 0 ;
4306 PyObject * obj6 = 0 ;
4307 char *kwnames[] = {
4308 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
4309 };
4310
4311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:HtmlCell_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4313 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4314 if (arg2 == NULL) {
4315 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4316 }
4317 {
4318 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4319 if (PyErr_Occurred()) SWIG_fail;
4320 }
4321 {
4322 arg4 = (int) SWIG_PyObj_AsInt(obj3);
4323 if (PyErr_Occurred()) SWIG_fail;
4324 }
4325 {
4326 arg5 = (int) SWIG_PyObj_AsInt(obj4);
4327 if (PyErr_Occurred()) SWIG_fail;
4328 }
4329 {
4330 arg6 = (int) SWIG_PyObj_AsInt(obj5);
4331 if (PyErr_Occurred()) SWIG_fail;
4332 }
4333 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4334 if (arg7 == NULL) {
4335 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4336 }
4337 {
4338 PyThreadState* __tstate = wxPyBeginAllowThreads();
4339 (arg1)->Draw(*arg2,arg3,arg4,arg5,arg6,*arg7);
4340
4341 wxPyEndAllowThreads(__tstate);
4342 if (PyErr_Occurred()) SWIG_fail;
4343 }
4344 Py_INCREF(Py_None); resultobj = Py_None;
4345 return resultobj;
4346 fail:
4347 return NULL;
4348 }
4349
4350
4351 static PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4352 PyObject *resultobj;
4353 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4354 wxDC *arg2 = 0 ;
4355 int arg3 ;
4356 int arg4 ;
4357 wxHtmlRenderingInfo *arg5 = 0 ;
4358 PyObject * obj0 = 0 ;
4359 PyObject * obj1 = 0 ;
4360 PyObject * obj2 = 0 ;
4361 PyObject * obj3 = 0 ;
4362 PyObject * obj4 = 0 ;
4363 char *kwnames[] = {
4364 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
4365 };
4366
4367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4369 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4370 if (arg2 == NULL) {
4371 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4372 }
4373 {
4374 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4375 if (PyErr_Occurred()) SWIG_fail;
4376 }
4377 {
4378 arg4 = (int) SWIG_PyObj_AsInt(obj3);
4379 if (PyErr_Occurred()) SWIG_fail;
4380 }
4381 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4382 if (arg5 == NULL) {
4383 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4384 }
4385 {
4386 PyThreadState* __tstate = wxPyBeginAllowThreads();
4387 (arg1)->DrawInvisible(*arg2,arg3,arg4,*arg5);
4388
4389 wxPyEndAllowThreads(__tstate);
4390 if (PyErr_Occurred()) SWIG_fail;
4391 }
4392 Py_INCREF(Py_None); resultobj = Py_None;
4393 return resultobj;
4394 fail:
4395 return NULL;
4396 }
4397
4398
4399 static PyObject *_wrap_HtmlCell_Find(PyObject *self, PyObject *args, PyObject *kwargs) {
4400 PyObject *resultobj;
4401 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4402 int arg2 ;
4403 void *arg3 = (void *) 0 ;
4404 wxHtmlCell *result;
4405 PyObject * obj0 = 0 ;
4406 PyObject * obj1 = 0 ;
4407 PyObject * obj2 = 0 ;
4408 char *kwnames[] = {
4409 (char *) "self",(char *) "condition",(char *) "param", NULL
4410 };
4411
4412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_Find",kwnames,&obj0,&obj1,&obj2)) goto fail;
4413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4414 {
4415 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4416 if (PyErr_Occurred()) SWIG_fail;
4417 }
4418 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4419 {
4420 PyThreadState* __tstate = wxPyBeginAllowThreads();
4421 result = (wxHtmlCell *)(arg1)->Find(arg2,(void const *)arg3);
4422
4423 wxPyEndAllowThreads(__tstate);
4424 if (PyErr_Occurred()) SWIG_fail;
4425 }
4426 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0);
4427 return resultobj;
4428 fail:
4429 return NULL;
4430 }
4431
4432
4433 static PyObject *_wrap_HtmlCell_AdjustPagebreak(PyObject *self, PyObject *args, PyObject *kwargs) {
4434 PyObject *resultobj;
4435 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4436 int *arg2 = (int *) 0 ;
4437 bool result;
4438 int temp2 ;
4439 PyObject * obj0 = 0 ;
4440 PyObject * obj1 = 0 ;
4441 char *kwnames[] = {
4442 (char *) "self",(char *) "INOUT", NULL
4443 };
4444
4445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_AdjustPagebreak",kwnames,&obj0,&obj1)) goto fail;
4446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4447 {
4448 temp2 = PyInt_AsLong(obj1);
4449 if (PyErr_Occurred()) SWIG_fail;
4450 arg2 = &temp2;
4451 }
4452 {
4453 PyThreadState* __tstate = wxPyBeginAllowThreads();
4454 result = (bool)(arg1)->AdjustPagebreak(arg2);
4455
4456 wxPyEndAllowThreads(__tstate);
4457 if (PyErr_Occurred()) SWIG_fail;
4458 }
4459 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4460 {
4461 PyObject *o = PyInt_FromLong((long) (*arg2));
4462 resultobj = t_output_helper(resultobj,o);
4463 }
4464 return resultobj;
4465 fail:
4466 return NULL;
4467 }
4468
4469
4470 static PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *self, PyObject *args, PyObject *kwargs) {
4471 PyObject *resultobj;
4472 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4473 bool arg2 ;
4474 PyObject * obj0 = 0 ;
4475 PyObject * obj1 = 0 ;
4476 char *kwnames[] = {
4477 (char *) "self",(char *) "can", NULL
4478 };
4479
4480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames,&obj0,&obj1)) goto fail;
4481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4482 {
4483 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
4484 if (PyErr_Occurred()) SWIG_fail;
4485 }
4486 {
4487 PyThreadState* __tstate = wxPyBeginAllowThreads();
4488 (arg1)->SetCanLiveOnPagebreak(arg2);
4489
4490 wxPyEndAllowThreads(__tstate);
4491 if (PyErr_Occurred()) SWIG_fail;
4492 }
4493 Py_INCREF(Py_None); resultobj = Py_None;
4494 return resultobj;
4495 fail:
4496 return NULL;
4497 }
4498
4499
4500 static PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *self, PyObject *args, PyObject *kwargs) {
4501 PyObject *resultobj;
4502 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4503 bool result;
4504 PyObject * obj0 = 0 ;
4505 char *kwnames[] = {
4506 (char *) "self", NULL
4507 };
4508
4509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsLinebreakAllowed",kwnames,&obj0)) goto fail;
4510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4511 {
4512 PyThreadState* __tstate = wxPyBeginAllowThreads();
4513 result = (bool)((wxHtmlCell const *)arg1)->IsLinebreakAllowed();
4514
4515 wxPyEndAllowThreads(__tstate);
4516 if (PyErr_Occurred()) SWIG_fail;
4517 }
4518 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4519 return resultobj;
4520 fail:
4521 return NULL;
4522 }
4523
4524
4525 static PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4526 PyObject *resultobj;
4527 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4528 bool result;
4529 PyObject * obj0 = 0 ;
4530 char *kwnames[] = {
4531 (char *) "self", NULL
4532 };
4533
4534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsTerminalCell",kwnames,&obj0)) goto fail;
4535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4536 {
4537 PyThreadState* __tstate = wxPyBeginAllowThreads();
4538 result = (bool)((wxHtmlCell const *)arg1)->IsTerminalCell();
4539
4540 wxPyEndAllowThreads(__tstate);
4541 if (PyErr_Occurred()) SWIG_fail;
4542 }
4543 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4544 return resultobj;
4545 fail:
4546 return NULL;
4547 }
4548
4549
4550 static PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
4551 PyObject *resultobj;
4552 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4553 int arg2 ;
4554 int arg3 ;
4555 unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ;
4556 wxHtmlCell *result;
4557 PyObject * obj0 = 0 ;
4558 PyObject * obj1 = 0 ;
4559 PyObject * obj2 = 0 ;
4560 PyObject * obj3 = 0 ;
4561 char *kwnames[] = {
4562 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
4563 };
4564
4565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4567 {
4568 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4569 if (PyErr_Occurred()) SWIG_fail;
4570 }
4571 {
4572 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4573 if (PyErr_Occurred()) SWIG_fail;
4574 }
4575 if (obj3) {
4576 {
4577 arg4 = (unsigned int) SWIG_PyObj_AsUnsignedInt(obj3);
4578 if (PyErr_Occurred()) SWIG_fail;
4579 }
4580 }
4581 {
4582 PyThreadState* __tstate = wxPyBeginAllowThreads();
4583 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->FindCellByPos(arg2,arg3,arg4);
4584
4585 wxPyEndAllowThreads(__tstate);
4586 if (PyErr_Occurred()) SWIG_fail;
4587 }
4588 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0);
4589 return resultobj;
4590 fail:
4591 return NULL;
4592 }
4593
4594
4595 static PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *self, PyObject *args, PyObject *kwargs) {
4596 PyObject *resultobj;
4597 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4598 wxPoint result;
4599 PyObject * obj0 = 0 ;
4600 char *kwnames[] = {
4601 (char *) "self", NULL
4602 };
4603
4604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetAbsPos",kwnames,&obj0)) goto fail;
4605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4606 {
4607 PyThreadState* __tstate = wxPyBeginAllowThreads();
4608 result = ((wxHtmlCell const *)arg1)->GetAbsPos();
4609
4610 wxPyEndAllowThreads(__tstate);
4611 if (PyErr_Occurred()) SWIG_fail;
4612 }
4613 {
4614 wxPoint * resultptr;
4615 resultptr = new wxPoint((wxPoint &) result);
4616 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
4617 }
4618 return resultobj;
4619 fail:
4620 return NULL;
4621 }
4622
4623
4624 static PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *self, PyObject *args, PyObject *kwargs) {
4625 PyObject *resultobj;
4626 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4627 wxHtmlCell *result;
4628 PyObject * obj0 = 0 ;
4629 char *kwnames[] = {
4630 (char *) "self", NULL
4631 };
4632
4633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstTerminal",kwnames,&obj0)) goto fail;
4634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4635 {
4636 PyThreadState* __tstate = wxPyBeginAllowThreads();
4637 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstTerminal();
4638
4639 wxPyEndAllowThreads(__tstate);
4640 if (PyErr_Occurred()) SWIG_fail;
4641 }
4642 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0);
4643 return resultobj;
4644 fail:
4645 return NULL;
4646 }
4647
4648
4649 static PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *self, PyObject *args, PyObject *kwargs) {
4650 PyObject *resultobj;
4651 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4652 wxHtmlCell *result;
4653 PyObject * obj0 = 0 ;
4654 char *kwnames[] = {
4655 (char *) "self", NULL
4656 };
4657
4658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetLastTerminal",kwnames,&obj0)) goto fail;
4659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4660 {
4661 PyThreadState* __tstate = wxPyBeginAllowThreads();
4662 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetLastTerminal();
4663
4664 wxPyEndAllowThreads(__tstate);
4665 if (PyErr_Occurred()) SWIG_fail;
4666 }
4667 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0);
4668 return resultobj;
4669 fail:
4670 return NULL;
4671 }
4672
4673
4674 static PyObject *_wrap_HtmlCell_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
4675 PyObject *resultobj;
4676 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4677 unsigned int result;
4678 PyObject * obj0 = 0 ;
4679 char *kwnames[] = {
4680 (char *) "self", NULL
4681 };
4682
4683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDepth",kwnames,&obj0)) goto fail;
4684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4685 {
4686 PyThreadState* __tstate = wxPyBeginAllowThreads();
4687 result = (unsigned int)((wxHtmlCell const *)arg1)->GetDepth();
4688
4689 wxPyEndAllowThreads(__tstate);
4690 if (PyErr_Occurred()) SWIG_fail;
4691 }
4692 resultobj = SWIG_PyObj_FromUnsignedInt((unsigned int)result);
4693 return resultobj;
4694 fail:
4695 return NULL;
4696 }
4697
4698
4699 static PyObject *_wrap_HtmlCell_IsBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
4700 PyObject *resultobj;
4701 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4702 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
4703 bool result;
4704 PyObject * obj0 = 0 ;
4705 PyObject * obj1 = 0 ;
4706 char *kwnames[] = {
4707 (char *) "self",(char *) "cell", NULL
4708 };
4709
4710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_IsBefore",kwnames,&obj0,&obj1)) goto fail;
4711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4712 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4713 {
4714 PyThreadState* __tstate = wxPyBeginAllowThreads();
4715 result = (bool)((wxHtmlCell const *)arg1)->IsBefore(arg2);
4716
4717 wxPyEndAllowThreads(__tstate);
4718 if (PyErr_Occurred()) SWIG_fail;
4719 }
4720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4721 return resultobj;
4722 fail:
4723 return NULL;
4724 }
4725
4726
4727 static PyObject *_wrap_HtmlCell_ConvertToText(PyObject *self, PyObject *args, PyObject *kwargs) {
4728 PyObject *resultobj;
4729 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4730 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
4731 wxString result;
4732 PyObject * obj0 = 0 ;
4733 PyObject * obj1 = 0 ;
4734 char *kwnames[] = {
4735 (char *) "self",(char *) "sel", NULL
4736 };
4737
4738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_ConvertToText",kwnames,&obj0,&obj1)) goto fail;
4739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4740 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4741 {
4742 PyThreadState* __tstate = wxPyBeginAllowThreads();
4743 result = ((wxHtmlCell const *)arg1)->ConvertToText(arg2);
4744
4745 wxPyEndAllowThreads(__tstate);
4746 if (PyErr_Occurred()) SWIG_fail;
4747 }
4748 {
4749 #if wxUSE_UNICODE
4750 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4751 #else
4752 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4753 #endif
4754 }
4755 return resultobj;
4756 fail:
4757 return NULL;
4758 }
4759
4760
4761 static PyObject * HtmlCell_swigregister(PyObject *self, PyObject *args) {
4762 PyObject *obj;
4763 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4764 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlCell, obj);
4765 Py_INCREF(obj);
4766 return Py_BuildValue((char *)"");
4767 }
4768 static PyObject *_wrap_new_HtmlWordCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4769 PyObject *resultobj;
4770 wxString *arg1 = 0 ;
4771 wxDC *arg2 = 0 ;
4772 wxHtmlWordCell *result;
4773 bool temp1 = False ;
4774 PyObject * obj0 = 0 ;
4775 PyObject * obj1 = 0 ;
4776 char *kwnames[] = {
4777 (char *) "word",(char *) "dc", NULL
4778 };
4779
4780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlWordCell",kwnames,&obj0,&obj1)) goto fail;
4781 {
4782 arg1 = wxString_in_helper(obj0);
4783 if (arg1 == NULL) SWIG_fail;
4784 temp1 = True;
4785 }
4786 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4787 if (arg2 == NULL) {
4788 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4789 }
4790 {
4791 PyThreadState* __tstate = wxPyBeginAllowThreads();
4792 result = (wxHtmlWordCell *)new wxHtmlWordCell((wxString const &)*arg1,*arg2);
4793
4794 wxPyEndAllowThreads(__tstate);
4795 if (PyErr_Occurred()) SWIG_fail;
4796 }
4797 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlWordCell, 1);
4798 {
4799 if (temp1)
4800 delete arg1;
4801 }
4802 return resultobj;
4803 fail:
4804 {
4805 if (temp1)
4806 delete arg1;
4807 }
4808 return NULL;
4809 }
4810
4811
4812 static PyObject * HtmlWordCell_swigregister(PyObject *self, PyObject *args) {
4813 PyObject *obj;
4814 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4815 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWordCell, obj);
4816 Py_INCREF(obj);
4817 return Py_BuildValue((char *)"");
4818 }
4819 static PyObject *_wrap_new_HtmlContainerCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4820 PyObject *resultobj;
4821 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
4822 wxHtmlContainerCell *result;
4823 PyObject * obj0 = 0 ;
4824 char *kwnames[] = {
4825 (char *) "parent", NULL
4826 };
4827
4828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlContainerCell",kwnames,&obj0)) goto fail;
4829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4830 {
4831 PyThreadState* __tstate = wxPyBeginAllowThreads();
4832 result = (wxHtmlContainerCell *)new wxHtmlContainerCell(arg1);
4833
4834 wxPyEndAllowThreads(__tstate);
4835 if (PyErr_Occurred()) SWIG_fail;
4836 }
4837 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 1);
4838 return resultobj;
4839 fail:
4840 return NULL;
4841 }
4842
4843
4844 static PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4845 PyObject *resultobj;
4846 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
4847 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
4848 PyObject * obj0 = 0 ;
4849 PyObject * obj1 = 0 ;
4850 char *kwnames[] = {
4851 (char *) "self",(char *) "cell", NULL
4852 };
4853
4854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_InsertCell",kwnames,&obj0,&obj1)) goto fail;
4855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4856 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4857 {
4858 PyThreadState* __tstate = wxPyBeginAllowThreads();
4859 (arg1)->InsertCell(arg2);
4860
4861 wxPyEndAllowThreads(__tstate);
4862 if (PyErr_Occurred()) SWIG_fail;
4863 }
4864 Py_INCREF(Py_None); resultobj = Py_None;
4865 return resultobj;
4866 fail:
4867 return NULL;
4868 }
4869
4870
4871 static PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *self, PyObject *args, PyObject *kwargs) {
4872 PyObject *resultobj;
4873 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
4874 int arg2 ;
4875 PyObject * obj0 = 0 ;
4876 PyObject * obj1 = 0 ;
4877 char *kwnames[] = {
4878 (char *) "self",(char *) "al", NULL
4879 };
4880
4881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames,&obj0,&obj1)) goto fail;
4882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4883 {
4884 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4885 if (PyErr_Occurred()) SWIG_fail;
4886 }
4887 {
4888 PyThreadState* __tstate = wxPyBeginAllowThreads();
4889 (arg1)->SetAlignHor(arg2);
4890
4891 wxPyEndAllowThreads(__tstate);
4892 if (PyErr_Occurred()) SWIG_fail;
4893 }
4894 Py_INCREF(Py_None); resultobj = Py_None;
4895 return resultobj;
4896 fail:
4897 return NULL;
4898 }
4899
4900
4901 static PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *self, PyObject *args, PyObject *kwargs) {
4902 PyObject *resultobj;
4903 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
4904 int result;
4905 PyObject * obj0 = 0 ;
4906 char *kwnames[] = {
4907 (char *) "self", NULL
4908 };
4909
4910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignHor",kwnames,&obj0)) goto fail;
4911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4912 {
4913 PyThreadState* __tstate = wxPyBeginAllowThreads();
4914 result = (int)(arg1)->GetAlignHor();
4915
4916 wxPyEndAllowThreads(__tstate);
4917 if (PyErr_Occurred()) SWIG_fail;
4918 }
4919 resultobj = SWIG_PyObj_FromInt((int)result);
4920 return resultobj;
4921 fail:
4922 return NULL;
4923 }
4924
4925
4926 static PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *self, PyObject *args, PyObject *kwargs) {
4927 PyObject *resultobj;
4928 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
4929 int arg2 ;
4930 PyObject * obj0 = 0 ;
4931 PyObject * obj1 = 0 ;
4932 char *kwnames[] = {
4933 (char *) "self",(char *) "al", NULL
4934 };
4935
4936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames,&obj0,&obj1)) goto fail;
4937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4938 {
4939 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4940 if (PyErr_Occurred()) SWIG_fail;
4941 }
4942 {
4943 PyThreadState* __tstate = wxPyBeginAllowThreads();
4944 (arg1)->SetAlignVer(arg2);
4945
4946 wxPyEndAllowThreads(__tstate);
4947 if (PyErr_Occurred()) SWIG_fail;
4948 }
4949 Py_INCREF(Py_None); resultobj = Py_None;
4950 return resultobj;
4951 fail:
4952 return NULL;
4953 }
4954
4955
4956 static PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *self, PyObject *args, PyObject *kwargs) {
4957 PyObject *resultobj;
4958 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
4959 int result;
4960 PyObject * obj0 = 0 ;
4961 char *kwnames[] = {
4962 (char *) "self", NULL
4963 };
4964
4965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignVer",kwnames,&obj0)) goto fail;
4966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4967 {
4968 PyThreadState* __tstate = wxPyBeginAllowThreads();
4969 result = (int)(arg1)->GetAlignVer();
4970
4971 wxPyEndAllowThreads(__tstate);
4972 if (PyErr_Occurred()) SWIG_fail;
4973 }
4974 resultobj = SWIG_PyObj_FromInt((int)result);
4975 return resultobj;
4976 fail:
4977 return NULL;
4978 }
4979
4980
4981 static PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
4982 PyObject *resultobj;
4983 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
4984 int arg2 ;
4985 int arg3 ;
4986 int arg4 = (int) wxHTML_UNITS_PIXELS ;
4987 PyObject * obj0 = 0 ;
4988 PyObject * obj1 = 0 ;
4989 PyObject * obj2 = 0 ;
4990 PyObject * obj3 = 0 ;
4991 char *kwnames[] = {
4992 (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
4993 };
4994
4995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4997 {
4998 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4999 if (PyErr_Occurred()) SWIG_fail;
5000 }
5001 {
5002 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5003 if (PyErr_Occurred()) SWIG_fail;
5004 }
5005 if (obj3) {
5006 {
5007 arg4 = (int) SWIG_PyObj_AsInt(obj3);
5008 if (PyErr_Occurred()) SWIG_fail;
5009 }
5010 }
5011 {
5012 PyThreadState* __tstate = wxPyBeginAllowThreads();
5013 (arg1)->SetIndent(arg2,arg3,arg4);
5014
5015 wxPyEndAllowThreads(__tstate);
5016 if (PyErr_Occurred()) SWIG_fail;
5017 }
5018 Py_INCREF(Py_None); resultobj = Py_None;
5019 return resultobj;
5020 fail:
5021 return NULL;
5022 }
5023
5024
5025 static PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5026 PyObject *resultobj;
5027 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5028 int arg2 ;
5029 int result;
5030 PyObject * obj0 = 0 ;
5031 PyObject * obj1 = 0 ;
5032 char *kwnames[] = {
5033 (char *) "self",(char *) "ind", NULL
5034 };
5035
5036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndent",kwnames,&obj0,&obj1)) goto fail;
5037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5038 {
5039 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5040 if (PyErr_Occurred()) SWIG_fail;
5041 }
5042 {
5043 PyThreadState* __tstate = wxPyBeginAllowThreads();
5044 result = (int)(arg1)->GetIndent(arg2);
5045
5046 wxPyEndAllowThreads(__tstate);
5047 if (PyErr_Occurred()) SWIG_fail;
5048 }
5049 resultobj = SWIG_PyObj_FromInt((int)result);
5050 return resultobj;
5051 fail:
5052 return NULL;
5053 }
5054
5055
5056 static PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *self, PyObject *args, PyObject *kwargs) {
5057 PyObject *resultobj;
5058 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5059 int arg2 ;
5060 int result;
5061 PyObject * obj0 = 0 ;
5062 PyObject * obj1 = 0 ;
5063 char *kwnames[] = {
5064 (char *) "self",(char *) "ind", NULL
5065 };
5066
5067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames,&obj0,&obj1)) goto fail;
5068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5069 {
5070 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5071 if (PyErr_Occurred()) SWIG_fail;
5072 }
5073 {
5074 PyThreadState* __tstate = wxPyBeginAllowThreads();
5075 result = (int)(arg1)->GetIndentUnits(arg2);
5076
5077 wxPyEndAllowThreads(__tstate);
5078 if (PyErr_Occurred()) SWIG_fail;
5079 }
5080 resultobj = SWIG_PyObj_FromInt((int)result);
5081 return resultobj;
5082 fail:
5083 return NULL;
5084 }
5085
5086
5087 static PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
5088 PyObject *resultobj;
5089 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5090 wxHtmlTag *arg2 = 0 ;
5091 PyObject * obj0 = 0 ;
5092 PyObject * obj1 = 0 ;
5093 char *kwnames[] = {
5094 (char *) "self",(char *) "tag", NULL
5095 };
5096
5097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlign",kwnames,&obj0,&obj1)) goto fail;
5098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5099 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5100 if (arg2 == NULL) {
5101 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5102 }
5103 {
5104 PyThreadState* __tstate = wxPyBeginAllowThreads();
5105 (arg1)->SetAlign((wxHtmlTag const &)*arg2);
5106
5107 wxPyEndAllowThreads(__tstate);
5108 if (PyErr_Occurred()) SWIG_fail;
5109 }
5110 Py_INCREF(Py_None); resultobj = Py_None;
5111 return resultobj;
5112 fail:
5113 return NULL;
5114 }
5115
5116
5117 static PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
5118 PyObject *resultobj;
5119 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5120 int arg2 ;
5121 int arg3 ;
5122 PyObject * obj0 = 0 ;
5123 PyObject * obj1 = 0 ;
5124 PyObject * obj2 = 0 ;
5125 char *kwnames[] = {
5126 (char *) "self",(char *) "w",(char *) "units", NULL
5127 };
5128
5129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
5130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5131 {
5132 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5133 if (PyErr_Occurred()) SWIG_fail;
5134 }
5135 {
5136 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5137 if (PyErr_Occurred()) SWIG_fail;
5138 }
5139 {
5140 PyThreadState* __tstate = wxPyBeginAllowThreads();
5141 (arg1)->SetWidthFloat(arg2,arg3);
5142
5143 wxPyEndAllowThreads(__tstate);
5144 if (PyErr_Occurred()) SWIG_fail;
5145 }
5146 Py_INCREF(Py_None); resultobj = Py_None;
5147 return resultobj;
5148 fail:
5149 return NULL;
5150 }
5151
5152
5153 static PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *self, PyObject *args, PyObject *kwargs) {
5154 PyObject *resultobj;
5155 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5156 wxHtmlTag *arg2 = 0 ;
5157 PyObject * obj0 = 0 ;
5158 PyObject * obj1 = 0 ;
5159 char *kwnames[] = {
5160 (char *) "self",(char *) "tag", NULL
5161 };
5162
5163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames,&obj0,&obj1)) goto fail;
5164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5165 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5166 if (arg2 == NULL) {
5167 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5168 }
5169 {
5170 PyThreadState* __tstate = wxPyBeginAllowThreads();
5171 (arg1)->SetWidthFloat((wxHtmlTag const &)*arg2);
5172
5173 wxPyEndAllowThreads(__tstate);
5174 if (PyErr_Occurred()) SWIG_fail;
5175 }
5176 Py_INCREF(Py_None); resultobj = Py_None;
5177 return resultobj;
5178 fail:
5179 return NULL;
5180 }
5181
5182
5183 static PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5184 PyObject *resultobj;
5185 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5186 int arg2 ;
5187 int arg3 = (int) wxHTML_ALIGN_TOP ;
5188 PyObject * obj0 = 0 ;
5189 PyObject * obj1 = 0 ;
5190 PyObject * obj2 = 0 ;
5191 char *kwnames[] = {
5192 (char *) "self",(char *) "h",(char *) "align", NULL
5193 };
5194
5195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames,&obj0,&obj1,&obj2)) goto fail;
5196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5197 {
5198 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5199 if (PyErr_Occurred()) SWIG_fail;
5200 }
5201 if (obj2) {
5202 {
5203 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5204 if (PyErr_Occurred()) SWIG_fail;
5205 }
5206 }
5207 {
5208 PyThreadState* __tstate = wxPyBeginAllowThreads();
5209 (arg1)->SetMinHeight(arg2,arg3);
5210
5211 wxPyEndAllowThreads(__tstate);
5212 if (PyErr_Occurred()) SWIG_fail;
5213 }
5214 Py_INCREF(Py_None); resultobj = Py_None;
5215 return resultobj;
5216 fail:
5217 return NULL;
5218 }
5219
5220
5221 static PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5222 PyObject *resultobj;
5223 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5224 wxColour *arg2 = 0 ;
5225 wxColour temp2 ;
5226 PyObject * obj0 = 0 ;
5227 PyObject * obj1 = 0 ;
5228 char *kwnames[] = {
5229 (char *) "self",(char *) "clr", NULL
5230 };
5231
5232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
5233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5234 {
5235 arg2 = &temp2;
5236 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5237 }
5238 {
5239 PyThreadState* __tstate = wxPyBeginAllowThreads();
5240 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
5241
5242 wxPyEndAllowThreads(__tstate);
5243 if (PyErr_Occurred()) SWIG_fail;
5244 }
5245 Py_INCREF(Py_None); resultobj = Py_None;
5246 return resultobj;
5247 fail:
5248 return NULL;
5249 }
5250
5251
5252 static PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5253 PyObject *resultobj;
5254 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5255 wxColour result;
5256 PyObject * obj0 = 0 ;
5257 char *kwnames[] = {
5258 (char *) "self", NULL
5259 };
5260
5261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetBackgroundColour",kwnames,&obj0)) goto fail;
5262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5263 {
5264 PyThreadState* __tstate = wxPyBeginAllowThreads();
5265 result = (arg1)->GetBackgroundColour();
5266
5267 wxPyEndAllowThreads(__tstate);
5268 if (PyErr_Occurred()) SWIG_fail;
5269 }
5270 {
5271 wxColour * resultptr;
5272 resultptr = new wxColour((wxColour &) result);
5273 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
5274 }
5275 return resultobj;
5276 fail:
5277 return NULL;
5278 }
5279
5280
5281 static PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
5282 PyObject *resultobj;
5283 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5284 wxColour *arg2 = 0 ;
5285 wxColour *arg3 = 0 ;
5286 wxColour temp2 ;
5287 wxColour temp3 ;
5288 PyObject * obj0 = 0 ;
5289 PyObject * obj1 = 0 ;
5290 PyObject * obj2 = 0 ;
5291 char *kwnames[] = {
5292 (char *) "self",(char *) "clr1",(char *) "clr2", NULL
5293 };
5294
5295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
5296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5297 {
5298 arg2 = &temp2;
5299 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5300 }
5301 {
5302 arg3 = &temp3;
5303 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5304 }
5305 {
5306 PyThreadState* __tstate = wxPyBeginAllowThreads();
5307 (arg1)->SetBorder((wxColour const &)*arg2,(wxColour const &)*arg3);
5308
5309 wxPyEndAllowThreads(__tstate);
5310 if (PyErr_Occurred()) SWIG_fail;
5311 }
5312 Py_INCREF(Py_None); resultobj = Py_None;
5313 return resultobj;
5314 fail:
5315 return NULL;
5316 }
5317
5318
5319 static PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
5320 PyObject *resultobj;
5321 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5322 wxHtmlCell *result;
5323 PyObject * obj0 = 0 ;
5324 char *kwnames[] = {
5325 (char *) "self", NULL
5326 };
5327
5328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetFirstChild",kwnames,&obj0)) goto fail;
5329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5330 {
5331 PyThreadState* __tstate = wxPyBeginAllowThreads();
5332 result = (wxHtmlCell *)(arg1)->GetFirstChild();
5333
5334 wxPyEndAllowThreads(__tstate);
5335 if (PyErr_Occurred()) SWIG_fail;
5336 }
5337 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0);
5338 return resultobj;
5339 fail:
5340 return NULL;
5341 }
5342
5343
5344 static PyObject * HtmlContainerCell_swigregister(PyObject *self, PyObject *args) {
5345 PyObject *obj;
5346 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5347 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContainerCell, obj);
5348 Py_INCREF(obj);
5349 return Py_BuildValue((char *)"");
5350 }
5351 static PyObject *_wrap_new_HtmlColourCell(PyObject *self, PyObject *args, PyObject *kwargs) {
5352 PyObject *resultobj;
5353 wxColour arg1 ;
5354 int arg2 = (int) wxHTML_CLR_FOREGROUND ;
5355 wxHtmlColourCell *result;
5356 wxColour *argp1 ;
5357 PyObject * obj0 = 0 ;
5358 PyObject * obj1 = 0 ;
5359 char *kwnames[] = {
5360 (char *) "clr",(char *) "flags", NULL
5361 };
5362
5363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlColourCell",kwnames,&obj0,&obj1)) goto fail;
5364 if ((SWIG_ConvertPtr(obj0,(void **) &argp1, SWIGTYPE_p_wxColour,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5365 arg1 = *argp1;
5366 if (obj1) {
5367 {
5368 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5369 if (PyErr_Occurred()) SWIG_fail;
5370 }
5371 }
5372 {
5373 PyThreadState* __tstate = wxPyBeginAllowThreads();
5374 result = (wxHtmlColourCell *)new wxHtmlColourCell(arg1,arg2);
5375
5376 wxPyEndAllowThreads(__tstate);
5377 if (PyErr_Occurred()) SWIG_fail;
5378 }
5379 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlColourCell, 1);
5380 return resultobj;
5381 fail:
5382 return NULL;
5383 }
5384
5385
5386 static PyObject * HtmlColourCell_swigregister(PyObject *self, PyObject *args) {
5387 PyObject *obj;
5388 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5389 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlColourCell, obj);
5390 Py_INCREF(obj);
5391 return Py_BuildValue((char *)"");
5392 }
5393 static PyObject *_wrap_new_HtmlFontCell(PyObject *self, PyObject *args, PyObject *kwargs) {
5394 PyObject *resultobj;
5395 wxFont *arg1 = (wxFont *) 0 ;
5396 wxHtmlFontCell *result;
5397 PyObject * obj0 = 0 ;
5398 char *kwnames[] = {
5399 (char *) "font", NULL
5400 };
5401
5402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlFontCell",kwnames,&obj0)) goto fail;
5403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5404 {
5405 PyThreadState* __tstate = wxPyBeginAllowThreads();
5406 result = (wxHtmlFontCell *)new wxHtmlFontCell(arg1);
5407
5408 wxPyEndAllowThreads(__tstate);
5409 if (PyErr_Occurred()) SWIG_fail;
5410 }
5411 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlFontCell, 1);
5412 return resultobj;
5413 fail:
5414 return NULL;
5415 }
5416
5417
5418 static PyObject * HtmlFontCell_swigregister(PyObject *self, PyObject *args) {
5419 PyObject *obj;
5420 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5421 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlFontCell, obj);
5422 Py_INCREF(obj);
5423 return Py_BuildValue((char *)"");
5424 }
5425 static PyObject *_wrap_new_HtmlWidgetCell(PyObject *self, PyObject *args, PyObject *kwargs) {
5426 PyObject *resultobj;
5427 wxWindow *arg1 = (wxWindow *) 0 ;
5428 int arg2 = (int) 0 ;
5429 wxHtmlWidgetCell *result;
5430 PyObject * obj0 = 0 ;
5431 PyObject * obj1 = 0 ;
5432 char *kwnames[] = {
5433 (char *) "wnd",(char *) "w", NULL
5434 };
5435
5436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlWidgetCell",kwnames,&obj0,&obj1)) goto fail;
5437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5438 if (obj1) {
5439 {
5440 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5441 if (PyErr_Occurred()) SWIG_fail;
5442 }
5443 }
5444 {
5445 PyThreadState* __tstate = wxPyBeginAllowThreads();
5446 result = (wxHtmlWidgetCell *)new wxHtmlWidgetCell(arg1,arg2);
5447
5448 wxPyEndAllowThreads(__tstate);
5449 if (PyErr_Occurred()) SWIG_fail;
5450 }
5451 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlWidgetCell, 1);
5452 return resultobj;
5453 fail:
5454 return NULL;
5455 }
5456
5457
5458 static PyObject * HtmlWidgetCell_swigregister(PyObject *self, PyObject *args) {
5459 PyObject *obj;
5460 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5461 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWidgetCell, obj);
5462 Py_INCREF(obj);
5463 return Py_BuildValue((char *)"");
5464 }
5465 static PyObject *_wrap_new_HtmlFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
5466 PyObject *resultobj;
5467 wxPyHtmlFilter *result;
5468 char *kwnames[] = {
5469 NULL
5470 };
5471
5472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlFilter",kwnames)) goto fail;
5473 {
5474 PyThreadState* __tstate = wxPyBeginAllowThreads();
5475 result = (wxPyHtmlFilter *)new wxPyHtmlFilter();
5476
5477 wxPyEndAllowThreads(__tstate);
5478 if (PyErr_Occurred()) SWIG_fail;
5479 }
5480 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlFilter, 1);
5481 return resultobj;
5482 fail:
5483 return NULL;
5484 }
5485
5486
5487 static PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5488 PyObject *resultobj;
5489 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
5490 PyObject *arg2 = (PyObject *) 0 ;
5491 PyObject *arg3 = (PyObject *) 0 ;
5492 PyObject * obj0 = 0 ;
5493 PyObject * obj1 = 0 ;
5494 PyObject * obj2 = 0 ;
5495 char *kwnames[] = {
5496 (char *) "self",(char *) "self",(char *) "_class", NULL
5497 };
5498
5499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlFilter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5501 arg2 = obj1;
5502 arg3 = obj2;
5503 {
5504 PyThreadState* __tstate = wxPyBeginAllowThreads();
5505 (arg1)->_setCallbackInfo(arg2,arg3);
5506
5507 wxPyEndAllowThreads(__tstate);
5508 if (PyErr_Occurred()) SWIG_fail;
5509 }
5510 Py_INCREF(Py_None); resultobj = Py_None;
5511 return resultobj;
5512 fail:
5513 return NULL;
5514 }
5515
5516
5517 static PyObject * HtmlFilter_swigregister(PyObject *self, PyObject *args) {
5518 PyObject *obj;
5519 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5520 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlFilter, obj);
5521 Py_INCREF(obj);
5522 return Py_BuildValue((char *)"");
5523 }
5524 static PyObject *_wrap_new_HtmlWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5525 PyObject *resultobj;
5526 wxWindow *arg1 = (wxWindow *) 0 ;
5527 int arg2 = (int) -1 ;
5528 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5529 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5530 wxSize const &arg4_defvalue = wxDefaultSize ;
5531 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5532 int arg5 = (int) wxHW_DEFAULT_STYLE ;
5533 wxString const &arg6_defvalue = wxPyHtmlWindowNameStr ;
5534 wxString *arg6 = (wxString *) &arg6_defvalue ;
5535 wxPyHtmlWindow *result;
5536 wxPoint temp3 ;
5537 wxSize temp4 ;
5538 bool temp6 = False ;
5539 PyObject * obj0 = 0 ;
5540 PyObject * obj1 = 0 ;
5541 PyObject * obj2 = 0 ;
5542 PyObject * obj3 = 0 ;
5543 PyObject * obj4 = 0 ;
5544 PyObject * obj5 = 0 ;
5545 char *kwnames[] = {
5546 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5547 };
5548
5549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5551 if (obj1) {
5552 {
5553 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5554 if (PyErr_Occurred()) SWIG_fail;
5555 }
5556 }
5557 if (obj2) {
5558 {
5559 arg3 = &temp3;
5560 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5561 }
5562 }
5563 if (obj3) {
5564 {
5565 arg4 = &temp4;
5566 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5567 }
5568 }
5569 if (obj4) {
5570 {
5571 arg5 = (int) SWIG_PyObj_AsInt(obj4);
5572 if (PyErr_Occurred()) SWIG_fail;
5573 }
5574 }
5575 if (obj5) {
5576 {
5577 arg6 = wxString_in_helper(obj5);
5578 if (arg6 == NULL) SWIG_fail;
5579 temp6 = True;
5580 }
5581 }
5582 {
5583 PyThreadState* __tstate = wxPyBeginAllowThreads();
5584 result = (wxPyHtmlWindow *)new wxPyHtmlWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5585
5586 wxPyEndAllowThreads(__tstate);
5587 if (PyErr_Occurred()) SWIG_fail;
5588 }
5589 {
5590 resultobj = wxPyMake_wxObject(result);
5591 }
5592 {
5593 if (temp6)
5594 delete arg6;
5595 }
5596 return resultobj;
5597 fail:
5598 {
5599 if (temp6)
5600 delete arg6;
5601 }
5602 return NULL;
5603 }
5604
5605
5606 static PyObject *_wrap_new_PreHtmlWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5607 PyObject *resultobj;
5608 wxPyHtmlWindow *result;
5609 char *kwnames[] = {
5610 NULL
5611 };
5612
5613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlWindow",kwnames)) goto fail;
5614 {
5615 PyThreadState* __tstate = wxPyBeginAllowThreads();
5616 result = (wxPyHtmlWindow *)new wxPyHtmlWindow();
5617
5618 wxPyEndAllowThreads(__tstate);
5619 if (PyErr_Occurred()) SWIG_fail;
5620 }
5621 {
5622 resultobj = wxPyMake_wxObject(result);
5623 }
5624 return resultobj;
5625 fail:
5626 return NULL;
5627 }
5628
5629
5630 static PyObject *_wrap_HtmlWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5631 PyObject *resultobj;
5632 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5633 wxWindow *arg2 = (wxWindow *) 0 ;
5634 int arg3 = (int) -1 ;
5635 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5636 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5637 wxSize const &arg5_defvalue = wxDefaultSize ;
5638 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5639 int arg6 = (int) wxHW_SCROLLBAR_AUTO ;
5640 wxString const &arg7_defvalue = wxPyHtmlWindowNameStr ;
5641 wxString *arg7 = (wxString *) &arg7_defvalue ;
5642 bool result;
5643 wxPoint temp4 ;
5644 wxSize temp5 ;
5645 bool temp7 = False ;
5646 PyObject * obj0 = 0 ;
5647 PyObject * obj1 = 0 ;
5648 PyObject * obj2 = 0 ;
5649 PyObject * obj3 = 0 ;
5650 PyObject * obj4 = 0 ;
5651 PyObject * obj5 = 0 ;
5652 PyObject * obj6 = 0 ;
5653 char *kwnames[] = {
5654 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5655 };
5656
5657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5659 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5660 if (obj2) {
5661 {
5662 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5663 if (PyErr_Occurred()) SWIG_fail;
5664 }
5665 }
5666 if (obj3) {
5667 {
5668 arg4 = &temp4;
5669 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5670 }
5671 }
5672 if (obj4) {
5673 {
5674 arg5 = &temp5;
5675 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5676 }
5677 }
5678 if (obj5) {
5679 {
5680 arg6 = (int) SWIG_PyObj_AsInt(obj5);
5681 if (PyErr_Occurred()) SWIG_fail;
5682 }
5683 }
5684 if (obj6) {
5685 {
5686 arg7 = wxString_in_helper(obj6);
5687 if (arg7 == NULL) SWIG_fail;
5688 temp7 = True;
5689 }
5690 }
5691 {
5692 PyThreadState* __tstate = wxPyBeginAllowThreads();
5693 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5694
5695 wxPyEndAllowThreads(__tstate);
5696 if (PyErr_Occurred()) SWIG_fail;
5697 }
5698 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5699 {
5700 if (temp7)
5701 delete arg7;
5702 }
5703 return resultobj;
5704 fail:
5705 {
5706 if (temp7)
5707 delete arg7;
5708 }
5709 return NULL;
5710 }
5711
5712
5713 static PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5714 PyObject *resultobj;
5715 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5716 PyObject *arg2 = (PyObject *) 0 ;
5717 PyObject *arg3 = (PyObject *) 0 ;
5718 PyObject * obj0 = 0 ;
5719 PyObject * obj1 = 0 ;
5720 PyObject * obj2 = 0 ;
5721 char *kwnames[] = {
5722 (char *) "self",(char *) "self",(char *) "_class", NULL
5723 };
5724
5725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5727 arg2 = obj1;
5728 arg3 = obj2;
5729 {
5730 PyThreadState* __tstate = wxPyBeginAllowThreads();
5731 (arg1)->_setCallbackInfo(arg2,arg3);
5732
5733 wxPyEndAllowThreads(__tstate);
5734 if (PyErr_Occurred()) SWIG_fail;
5735 }
5736 Py_INCREF(Py_None); resultobj = Py_None;
5737 return resultobj;
5738 fail:
5739 return NULL;
5740 }
5741
5742
5743 static PyObject *_wrap_HtmlWindow_SetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
5744 PyObject *resultobj;
5745 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5746 wxString *arg2 = 0 ;
5747 bool result;
5748 bool temp2 = False ;
5749 PyObject * obj0 = 0 ;
5750 PyObject * obj1 = 0 ;
5751 char *kwnames[] = {
5752 (char *) "self",(char *) "source", NULL
5753 };
5754
5755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetPage",kwnames,&obj0,&obj1)) goto fail;
5756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5757 {
5758 arg2 = wxString_in_helper(obj1);
5759 if (arg2 == NULL) SWIG_fail;
5760 temp2 = True;
5761 }
5762 {
5763 PyThreadState* __tstate = wxPyBeginAllowThreads();
5764 result = (bool)(arg1)->SetPage((wxString const &)*arg2);
5765
5766 wxPyEndAllowThreads(__tstate);
5767 if (PyErr_Occurred()) SWIG_fail;
5768 }
5769 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5770 {
5771 if (temp2)
5772 delete arg2;
5773 }
5774 return resultobj;
5775 fail:
5776 {
5777 if (temp2)
5778 delete arg2;
5779 }
5780 return NULL;
5781 }
5782
5783
5784 static PyObject *_wrap_HtmlWindow_LoadPage(PyObject *self, PyObject *args, PyObject *kwargs) {
5785 PyObject *resultobj;
5786 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5787 wxString *arg2 = 0 ;
5788 bool result;
5789 bool temp2 = False ;
5790 PyObject * obj0 = 0 ;
5791 PyObject * obj1 = 0 ;
5792 char *kwnames[] = {
5793 (char *) "self",(char *) "location", NULL
5794 };
5795
5796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadPage",kwnames,&obj0,&obj1)) goto fail;
5797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5798 {
5799 arg2 = wxString_in_helper(obj1);
5800 if (arg2 == NULL) SWIG_fail;
5801 temp2 = True;
5802 }
5803 {
5804 PyThreadState* __tstate = wxPyBeginAllowThreads();
5805 result = (bool)(arg1)->LoadPage((wxString const &)*arg2);
5806
5807 wxPyEndAllowThreads(__tstate);
5808 if (PyErr_Occurred()) SWIG_fail;
5809 }
5810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5811 {
5812 if (temp2)
5813 delete arg2;
5814 }
5815 return resultobj;
5816 fail:
5817 {
5818 if (temp2)
5819 delete arg2;
5820 }
5821 return NULL;
5822 }
5823
5824
5825 static PyObject *_wrap_HtmlWindow_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5826 PyObject *resultobj;
5827 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5828 wxString *arg2 = 0 ;
5829 bool result;
5830 bool temp2 = False ;
5831 PyObject * obj0 = 0 ;
5832 PyObject * obj1 = 0 ;
5833 char *kwnames[] = {
5834 (char *) "self",(char *) "filename", NULL
5835 };
5836
5837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadFile",kwnames,&obj0,&obj1)) goto fail;
5838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5839 {
5840 arg2 = wxString_in_helper(obj1);
5841 if (arg2 == NULL) SWIG_fail;
5842 temp2 = True;
5843 }
5844 {
5845 PyThreadState* __tstate = wxPyBeginAllowThreads();
5846 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
5847
5848 wxPyEndAllowThreads(__tstate);
5849 if (PyErr_Occurred()) SWIG_fail;
5850 }
5851 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5852 {
5853 if (temp2)
5854 delete arg2;
5855 }
5856 return resultobj;
5857 fail:
5858 {
5859 if (temp2)
5860 delete arg2;
5861 }
5862 return NULL;
5863 }
5864
5865
5866 static PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
5867 PyObject *resultobj;
5868 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5869 wxString *arg2 = 0 ;
5870 bool result;
5871 bool temp2 = False ;
5872 PyObject * obj0 = 0 ;
5873 PyObject * obj1 = 0 ;
5874 char *kwnames[] = {
5875 (char *) "self",(char *) "source", NULL
5876 };
5877
5878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_AppendToPage",kwnames,&obj0,&obj1)) goto fail;
5879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5880 {
5881 arg2 = wxString_in_helper(obj1);
5882 if (arg2 == NULL) SWIG_fail;
5883 temp2 = True;
5884 }
5885 {
5886 PyThreadState* __tstate = wxPyBeginAllowThreads();
5887 result = (bool)(arg1)->AppendToPage((wxString const &)*arg2);
5888
5889 wxPyEndAllowThreads(__tstate);
5890 if (PyErr_Occurred()) SWIG_fail;
5891 }
5892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5893 {
5894 if (temp2)
5895 delete arg2;
5896 }
5897 return resultobj;
5898 fail:
5899 {
5900 if (temp2)
5901 delete arg2;
5902 }
5903 return NULL;
5904 }
5905
5906
5907 static PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *self, PyObject *args, PyObject *kwargs) {
5908 PyObject *resultobj;
5909 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5910 wxString result;
5911 PyObject * obj0 = 0 ;
5912 char *kwnames[] = {
5913 (char *) "self", NULL
5914 };
5915
5916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPage",kwnames,&obj0)) goto fail;
5917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5918 {
5919 PyThreadState* __tstate = wxPyBeginAllowThreads();
5920 result = (arg1)->GetOpenedPage();
5921
5922 wxPyEndAllowThreads(__tstate);
5923 if (PyErr_Occurred()) SWIG_fail;
5924 }
5925 {
5926 #if wxUSE_UNICODE
5927 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5928 #else
5929 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5930 #endif
5931 }
5932 return resultobj;
5933 fail:
5934 return NULL;
5935 }
5936
5937
5938 static PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
5939 PyObject *resultobj;
5940 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5941 wxString result;
5942 PyObject * obj0 = 0 ;
5943 char *kwnames[] = {
5944 (char *) "self", NULL
5945 };
5946
5947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedAnchor",kwnames,&obj0)) goto fail;
5948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5949 {
5950 PyThreadState* __tstate = wxPyBeginAllowThreads();
5951 result = (arg1)->GetOpenedAnchor();
5952
5953 wxPyEndAllowThreads(__tstate);
5954 if (PyErr_Occurred()) SWIG_fail;
5955 }
5956 {
5957 #if wxUSE_UNICODE
5958 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5959 #else
5960 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5961 #endif
5962 }
5963 return resultobj;
5964 fail:
5965 return NULL;
5966 }
5967
5968
5969 static PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
5970 PyObject *resultobj;
5971 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5972 wxString result;
5973 PyObject * obj0 = 0 ;
5974 char *kwnames[] = {
5975 (char *) "self", NULL
5976 };
5977
5978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPageTitle",kwnames,&obj0)) goto fail;
5979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5980 {
5981 PyThreadState* __tstate = wxPyBeginAllowThreads();
5982 result = (arg1)->GetOpenedPageTitle();
5983
5984 wxPyEndAllowThreads(__tstate);
5985 if (PyErr_Occurred()) SWIG_fail;
5986 }
5987 {
5988 #if wxUSE_UNICODE
5989 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5990 #else
5991 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5992 #endif
5993 }
5994 return resultobj;
5995 fail:
5996 return NULL;
5997 }
5998
5999
6000 static PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
6001 PyObject *resultobj;
6002 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6003 wxFrame *arg2 = (wxFrame *) 0 ;
6004 wxString *arg3 = 0 ;
6005 bool temp3 = False ;
6006 PyObject * obj0 = 0 ;
6007 PyObject * obj1 = 0 ;
6008 PyObject * obj2 = 0 ;
6009 char *kwnames[] = {
6010 (char *) "self",(char *) "frame",(char *) "format", NULL
6011 };
6012
6013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
6014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6015 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6016 {
6017 arg3 = wxString_in_helper(obj2);
6018 if (arg3 == NULL) SWIG_fail;
6019 temp3 = True;
6020 }
6021 {
6022 PyThreadState* __tstate = wxPyBeginAllowThreads();
6023 (arg1)->SetRelatedFrame(arg2,(wxString const &)*arg3);
6024
6025 wxPyEndAllowThreads(__tstate);
6026 if (PyErr_Occurred()) SWIG_fail;
6027 }
6028 Py_INCREF(Py_None); resultobj = Py_None;
6029 {
6030 if (temp3)
6031 delete arg3;
6032 }
6033 return resultobj;
6034 fail:
6035 {
6036 if (temp3)
6037 delete arg3;
6038 }
6039 return NULL;
6040 }
6041
6042
6043 static PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
6044 PyObject *resultobj;
6045 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6046 wxFrame *result;
6047 PyObject * obj0 = 0 ;
6048 char *kwnames[] = {
6049 (char *) "self", NULL
6050 };
6051
6052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetRelatedFrame",kwnames,&obj0)) goto fail;
6053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6054 {
6055 PyThreadState* __tstate = wxPyBeginAllowThreads();
6056 result = (wxFrame *)(arg1)->GetRelatedFrame();
6057
6058 wxPyEndAllowThreads(__tstate);
6059 if (PyErr_Occurred()) SWIG_fail;
6060 }
6061 {
6062 resultobj = wxPyMake_wxObject(result);
6063 }
6064 return resultobj;
6065 fail:
6066 return NULL;
6067 }
6068
6069
6070 static PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
6071 PyObject *resultobj;
6072 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6073 int arg2 ;
6074 PyObject * obj0 = 0 ;
6075 PyObject * obj1 = 0 ;
6076 char *kwnames[] = {
6077 (char *) "self",(char *) "bar", NULL
6078 };
6079
6080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames,&obj0,&obj1)) goto fail;
6081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6082 {
6083 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6084 if (PyErr_Occurred()) SWIG_fail;
6085 }
6086 {
6087 PyThreadState* __tstate = wxPyBeginAllowThreads();
6088 (arg1)->SetRelatedStatusBar(arg2);
6089
6090 wxPyEndAllowThreads(__tstate);
6091 if (PyErr_Occurred()) SWIG_fail;
6092 }
6093 Py_INCREF(Py_None); resultobj = Py_None;
6094 return resultobj;
6095 fail:
6096 return NULL;
6097 }
6098
6099
6100 static PyObject *_wrap_HtmlWindow_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
6101 PyObject *resultobj;
6102 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6103 wxString arg2 ;
6104 wxString arg3 ;
6105 PyObject *arg4 = (PyObject *) NULL ;
6106 PyObject * obj0 = 0 ;
6107 PyObject * obj1 = 0 ;
6108 PyObject * obj2 = 0 ;
6109 PyObject * obj3 = 0 ;
6110 char *kwnames[] = {
6111 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
6112 };
6113
6114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6116 {
6117 wxString* sptr = wxString_in_helper(obj1);
6118 if (sptr == NULL) SWIG_fail;
6119 arg2 = *sptr;
6120 delete sptr;
6121 }
6122 {
6123 wxString* sptr = wxString_in_helper(obj2);
6124 if (sptr == NULL) SWIG_fail;
6125 arg3 = *sptr;
6126 delete sptr;
6127 }
6128 if (obj3) {
6129 arg4 = obj3;
6130 }
6131 {
6132 PyThreadState* __tstate = wxPyBeginAllowThreads();
6133 wxPyHtmlWindow_SetFonts(arg1,arg2,arg3,arg4);
6134
6135 wxPyEndAllowThreads(__tstate);
6136 if (PyErr_Occurred()) SWIG_fail;
6137 }
6138 Py_INCREF(Py_None); resultobj = Py_None;
6139 return resultobj;
6140 fail:
6141 return NULL;
6142 }
6143
6144
6145 static PyObject *_wrap_HtmlWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
6146 PyObject *resultobj;
6147 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6148 wxString *arg2 = 0 ;
6149 bool temp2 = False ;
6150 PyObject * obj0 = 0 ;
6151 PyObject * obj1 = 0 ;
6152 char *kwnames[] = {
6153 (char *) "self",(char *) "title", NULL
6154 };
6155
6156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
6157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6158 {
6159 arg2 = wxString_in_helper(obj1);
6160 if (arg2 == NULL) SWIG_fail;
6161 temp2 = True;
6162 }
6163 {
6164 PyThreadState* __tstate = wxPyBeginAllowThreads();
6165 (arg1)->SetTitle((wxString const &)*arg2);
6166
6167 wxPyEndAllowThreads(__tstate);
6168 if (PyErr_Occurred()) SWIG_fail;
6169 }
6170 Py_INCREF(Py_None); resultobj = Py_None;
6171 {
6172 if (temp2)
6173 delete arg2;
6174 }
6175 return resultobj;
6176 fail:
6177 {
6178 if (temp2)
6179 delete arg2;
6180 }
6181 return NULL;
6182 }
6183
6184
6185 static PyObject *_wrap_HtmlWindow_SetBorders(PyObject *self, PyObject *args, PyObject *kwargs) {
6186 PyObject *resultobj;
6187 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6188 int arg2 ;
6189 PyObject * obj0 = 0 ;
6190 PyObject * obj1 = 0 ;
6191 char *kwnames[] = {
6192 (char *) "self",(char *) "b", NULL
6193 };
6194
6195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBorders",kwnames,&obj0,&obj1)) goto fail;
6196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6197 {
6198 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6199 if (PyErr_Occurred()) SWIG_fail;
6200 }
6201 {
6202 PyThreadState* __tstate = wxPyBeginAllowThreads();
6203 (arg1)->SetBorders(arg2);
6204
6205 wxPyEndAllowThreads(__tstate);
6206 if (PyErr_Occurred()) SWIG_fail;
6207 }
6208 Py_INCREF(Py_None); resultobj = Py_None;
6209 return resultobj;
6210 fail:
6211 return NULL;
6212 }
6213
6214
6215 static PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
6216 PyObject *resultobj;
6217 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6218 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
6219 wxString arg3 = (wxString) wxPyEmptyString ;
6220 PyObject * obj0 = 0 ;
6221 PyObject * obj1 = 0 ;
6222 PyObject * obj2 = 0 ;
6223 char *kwnames[] = {
6224 (char *) "self",(char *) "cfg",(char *) "path", NULL
6225 };
6226
6227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
6228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6229 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6230 if (obj2) {
6231 {
6232 wxString* sptr = wxString_in_helper(obj2);
6233 if (sptr == NULL) SWIG_fail;
6234 arg3 = *sptr;
6235 delete sptr;
6236 }
6237 }
6238 {
6239 PyThreadState* __tstate = wxPyBeginAllowThreads();
6240 (arg1)->ReadCustomization(arg2,arg3);
6241
6242 wxPyEndAllowThreads(__tstate);
6243 if (PyErr_Occurred()) SWIG_fail;
6244 }
6245 Py_INCREF(Py_None); resultobj = Py_None;
6246 return resultobj;
6247 fail:
6248 return NULL;
6249 }
6250
6251
6252 static PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
6253 PyObject *resultobj;
6254 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6255 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
6256 wxString arg3 = (wxString) wxPyEmptyString ;
6257 PyObject * obj0 = 0 ;
6258 PyObject * obj1 = 0 ;
6259 PyObject * obj2 = 0 ;
6260 char *kwnames[] = {
6261 (char *) "self",(char *) "cfg",(char *) "path", NULL
6262 };
6263
6264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
6265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6266 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6267 if (obj2) {
6268 {
6269 wxString* sptr = wxString_in_helper(obj2);
6270 if (sptr == NULL) SWIG_fail;
6271 arg3 = *sptr;
6272 delete sptr;
6273 }
6274 }
6275 {
6276 PyThreadState* __tstate = wxPyBeginAllowThreads();
6277 (arg1)->WriteCustomization(arg2,arg3);
6278
6279 wxPyEndAllowThreads(__tstate);
6280 if (PyErr_Occurred()) SWIG_fail;
6281 }
6282 Py_INCREF(Py_None); resultobj = Py_None;
6283 return resultobj;
6284 fail:
6285 return NULL;
6286 }
6287
6288
6289 static PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *self, PyObject *args, PyObject *kwargs) {
6290 PyObject *resultobj;
6291 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6292 bool result;
6293 PyObject * obj0 = 0 ;
6294 char *kwnames[] = {
6295 (char *) "self", NULL
6296 };
6297
6298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryBack",kwnames,&obj0)) goto fail;
6299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6300 {
6301 PyThreadState* __tstate = wxPyBeginAllowThreads();
6302 result = (bool)(arg1)->HistoryBack();
6303
6304 wxPyEndAllowThreads(__tstate);
6305 if (PyErr_Occurred()) SWIG_fail;
6306 }
6307 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6308 return resultobj;
6309 fail:
6310 return NULL;
6311 }
6312
6313
6314 static PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *self, PyObject *args, PyObject *kwargs) {
6315 PyObject *resultobj;
6316 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6317 bool result;
6318 PyObject * obj0 = 0 ;
6319 char *kwnames[] = {
6320 (char *) "self", NULL
6321 };
6322
6323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryForward",kwnames,&obj0)) goto fail;
6324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6325 {
6326 PyThreadState* __tstate = wxPyBeginAllowThreads();
6327 result = (bool)(arg1)->HistoryForward();
6328
6329 wxPyEndAllowThreads(__tstate);
6330 if (PyErr_Occurred()) SWIG_fail;
6331 }
6332 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6333 return resultobj;
6334 fail:
6335 return NULL;
6336 }
6337
6338
6339 static PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *self, PyObject *args, PyObject *kwargs) {
6340 PyObject *resultobj;
6341 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6342 bool result;
6343 PyObject * obj0 = 0 ;
6344 char *kwnames[] = {
6345 (char *) "self", NULL
6346 };
6347
6348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanBack",kwnames,&obj0)) goto fail;
6349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6350 {
6351 PyThreadState* __tstate = wxPyBeginAllowThreads();
6352 result = (bool)(arg1)->HistoryCanBack();
6353
6354 wxPyEndAllowThreads(__tstate);
6355 if (PyErr_Occurred()) SWIG_fail;
6356 }
6357 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6358 return resultobj;
6359 fail:
6360 return NULL;
6361 }
6362
6363
6364 static PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *self, PyObject *args, PyObject *kwargs) {
6365 PyObject *resultobj;
6366 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6367 bool result;
6368 PyObject * obj0 = 0 ;
6369 char *kwnames[] = {
6370 (char *) "self", NULL
6371 };
6372
6373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanForward",kwnames,&obj0)) goto fail;
6374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6375 {
6376 PyThreadState* __tstate = wxPyBeginAllowThreads();
6377 result = (bool)(arg1)->HistoryCanForward();
6378
6379 wxPyEndAllowThreads(__tstate);
6380 if (PyErr_Occurred()) SWIG_fail;
6381 }
6382 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6383 return resultobj;
6384 fail:
6385 return NULL;
6386 }
6387
6388
6389 static PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *self, PyObject *args, PyObject *kwargs) {
6390 PyObject *resultobj;
6391 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6392 PyObject * obj0 = 0 ;
6393 char *kwnames[] = {
6394 (char *) "self", NULL
6395 };
6396
6397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryClear",kwnames,&obj0)) goto fail;
6398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6399 {
6400 PyThreadState* __tstate = wxPyBeginAllowThreads();
6401 (arg1)->HistoryClear();
6402
6403 wxPyEndAllowThreads(__tstate);
6404 if (PyErr_Occurred()) SWIG_fail;
6405 }
6406 Py_INCREF(Py_None); resultobj = Py_None;
6407 return resultobj;
6408 fail:
6409 return NULL;
6410 }
6411
6412
6413 static PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *self, PyObject *args, PyObject *kwargs) {
6414 PyObject *resultobj;
6415 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6416 wxHtmlContainerCell *result;
6417 PyObject * obj0 = 0 ;
6418 char *kwnames[] = {
6419 (char *) "self", NULL
6420 };
6421
6422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetInternalRepresentation",kwnames,&obj0)) goto fail;
6423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6424 {
6425 PyThreadState* __tstate = wxPyBeginAllowThreads();
6426 result = (wxHtmlContainerCell *)(arg1)->GetInternalRepresentation();
6427
6428 wxPyEndAllowThreads(__tstate);
6429 if (PyErr_Occurred()) SWIG_fail;
6430 }
6431 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0);
6432 return resultobj;
6433 fail:
6434 return NULL;
6435 }
6436
6437
6438 static PyObject *_wrap_HtmlWindow_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
6439 PyObject *resultobj;
6440 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6441 wxHtmlWinParser *result;
6442 PyObject * obj0 = 0 ;
6443 char *kwnames[] = {
6444 (char *) "self", NULL
6445 };
6446
6447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetParser",kwnames,&obj0)) goto fail;
6448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6449 {
6450 PyThreadState* __tstate = wxPyBeginAllowThreads();
6451 result = (wxHtmlWinParser *)(arg1)->GetParser();
6452
6453 wxPyEndAllowThreads(__tstate);
6454 if (PyErr_Occurred()) SWIG_fail;
6455 }
6456 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlWinParser, 0);
6457 return resultobj;
6458 fail:
6459 return NULL;
6460 }
6461
6462
6463 static PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
6464 PyObject *resultobj;
6465 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6466 wxString *arg2 = 0 ;
6467 bool result;
6468 bool temp2 = False ;
6469 PyObject * obj0 = 0 ;
6470 PyObject * obj1 = 0 ;
6471 char *kwnames[] = {
6472 (char *) "self",(char *) "anchor", NULL
6473 };
6474
6475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames,&obj0,&obj1)) goto fail;
6476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6477 {
6478 arg2 = wxString_in_helper(obj1);
6479 if (arg2 == NULL) SWIG_fail;
6480 temp2 = True;
6481 }
6482 {
6483 PyThreadState* __tstate = wxPyBeginAllowThreads();
6484 result = (bool)(arg1)->ScrollToAnchor((wxString const &)*arg2);
6485
6486 wxPyEndAllowThreads(__tstate);
6487 if (PyErr_Occurred()) SWIG_fail;
6488 }
6489 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6490 {
6491 if (temp2)
6492 delete arg2;
6493 }
6494 return resultobj;
6495 fail:
6496 {
6497 if (temp2)
6498 delete arg2;
6499 }
6500 return NULL;
6501 }
6502
6503
6504 static PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
6505 PyObject *resultobj;
6506 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6507 wxString *arg2 = 0 ;
6508 bool result;
6509 bool temp2 = False ;
6510 PyObject * obj0 = 0 ;
6511 PyObject * obj1 = 0 ;
6512 char *kwnames[] = {
6513 (char *) "self",(char *) "anchor", NULL
6514 };
6515
6516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_HasAnchor",kwnames,&obj0,&obj1)) goto fail;
6517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6518 {
6519 arg2 = wxString_in_helper(obj1);
6520 if (arg2 == NULL) SWIG_fail;
6521 temp2 = True;
6522 }
6523 {
6524 PyThreadState* __tstate = wxPyBeginAllowThreads();
6525 result = (bool)(arg1)->HasAnchor((wxString const &)*arg2);
6526
6527 wxPyEndAllowThreads(__tstate);
6528 if (PyErr_Occurred()) SWIG_fail;
6529 }
6530 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6531 {
6532 if (temp2)
6533 delete arg2;
6534 }
6535 return resultobj;
6536 fail:
6537 {
6538 if (temp2)
6539 delete arg2;
6540 }
6541 return NULL;
6542 }
6543
6544
6545 static PyObject *_wrap_HtmlWindow_AddFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
6546 PyObject *resultobj;
6547 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
6548 PyObject * obj0 = 0 ;
6549 char *kwnames[] = {
6550 (char *) "filter", NULL
6551 };
6552
6553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_AddFilter",kwnames,&obj0)) goto fail;
6554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlFilter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6555 {
6556 PyThreadState* __tstate = wxPyBeginAllowThreads();
6557 wxPyHtmlWindow::AddFilter(arg1);
6558
6559 wxPyEndAllowThreads(__tstate);
6560 if (PyErr_Occurred()) SWIG_fail;
6561 }
6562 Py_INCREF(Py_None); resultobj = Py_None;
6563 return resultobj;
6564 fail:
6565 return NULL;
6566 }
6567
6568
6569 static PyObject *_wrap_HtmlWindow_SelectWord(PyObject *self, PyObject *args, PyObject *kwargs) {
6570 PyObject *resultobj;
6571 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6572 wxPoint *arg2 = 0 ;
6573 wxPoint temp2 ;
6574 PyObject * obj0 = 0 ;
6575 PyObject * obj1 = 0 ;
6576 char *kwnames[] = {
6577 (char *) "self",(char *) "pos", NULL
6578 };
6579
6580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectWord",kwnames,&obj0,&obj1)) goto fail;
6581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6582 {
6583 arg2 = &temp2;
6584 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6585 }
6586 {
6587 PyThreadState* __tstate = wxPyBeginAllowThreads();
6588 (arg1)->SelectWord((wxPoint const &)*arg2);
6589
6590 wxPyEndAllowThreads(__tstate);
6591 if (PyErr_Occurred()) SWIG_fail;
6592 }
6593 Py_INCREF(Py_None); resultobj = Py_None;
6594 return resultobj;
6595 fail:
6596 return NULL;
6597 }
6598
6599
6600 static PyObject *_wrap_HtmlWindow_SelectLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6601 PyObject *resultobj;
6602 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6603 wxPoint *arg2 = 0 ;
6604 wxPoint temp2 ;
6605 PyObject * obj0 = 0 ;
6606 PyObject * obj1 = 0 ;
6607 char *kwnames[] = {
6608 (char *) "self",(char *) "pos", NULL
6609 };
6610
6611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectLine",kwnames,&obj0,&obj1)) goto fail;
6612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6613 {
6614 arg2 = &temp2;
6615 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6616 }
6617 {
6618 PyThreadState* __tstate = wxPyBeginAllowThreads();
6619 (arg1)->SelectLine((wxPoint const &)*arg2);
6620
6621 wxPyEndAllowThreads(__tstate);
6622 if (PyErr_Occurred()) SWIG_fail;
6623 }
6624 Py_INCREF(Py_None); resultobj = Py_None;
6625 return resultobj;
6626 fail:
6627 return NULL;
6628 }
6629
6630
6631 static PyObject *_wrap_HtmlWindow_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
6632 PyObject *resultobj;
6633 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6634 PyObject * obj0 = 0 ;
6635 char *kwnames[] = {
6636 (char *) "self", NULL
6637 };
6638
6639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_SelectAll",kwnames,&obj0)) goto fail;
6640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6641 {
6642 PyThreadState* __tstate = wxPyBeginAllowThreads();
6643 (arg1)->SelectAll();
6644
6645 wxPyEndAllowThreads(__tstate);
6646 if (PyErr_Occurred()) SWIG_fail;
6647 }
6648 Py_INCREF(Py_None); resultobj = Py_None;
6649 return resultobj;
6650 fail:
6651 return NULL;
6652 }
6653
6654
6655 static PyObject *_wrap_HtmlWindow_base_OnLinkClicked(PyObject *self, PyObject *args, PyObject *kwargs) {
6656 PyObject *resultobj;
6657 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6658 wxHtmlLinkInfo *arg2 = 0 ;
6659 PyObject * obj0 = 0 ;
6660 PyObject * obj1 = 0 ;
6661 char *kwnames[] = {
6662 (char *) "self",(char *) "link", NULL
6663 };
6664
6665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnLinkClicked",kwnames,&obj0,&obj1)) goto fail;
6666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6667 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6668 if (arg2 == NULL) {
6669 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6670 }
6671 {
6672 PyThreadState* __tstate = wxPyBeginAllowThreads();
6673 (arg1)->base_OnLinkClicked((wxHtmlLinkInfo const &)*arg2);
6674
6675 wxPyEndAllowThreads(__tstate);
6676 if (PyErr_Occurred()) SWIG_fail;
6677 }
6678 Py_INCREF(Py_None); resultobj = Py_None;
6679 return resultobj;
6680 fail:
6681 return NULL;
6682 }
6683
6684
6685 static PyObject *_wrap_HtmlWindow_base_OnSetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
6686 PyObject *resultobj;
6687 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6688 wxString *arg2 = 0 ;
6689 bool temp2 = False ;
6690 PyObject * obj0 = 0 ;
6691 PyObject * obj1 = 0 ;
6692 char *kwnames[] = {
6693 (char *) "self",(char *) "title", NULL
6694 };
6695
6696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnSetTitle",kwnames,&obj0,&obj1)) goto fail;
6697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6698 {
6699 arg2 = wxString_in_helper(obj1);
6700 if (arg2 == NULL) SWIG_fail;
6701 temp2 = True;
6702 }
6703 {
6704 PyThreadState* __tstate = wxPyBeginAllowThreads();
6705 (arg1)->base_OnSetTitle((wxString const &)*arg2);
6706
6707 wxPyEndAllowThreads(__tstate);
6708 if (PyErr_Occurred()) SWIG_fail;
6709 }
6710 Py_INCREF(Py_None); resultobj = Py_None;
6711 {
6712 if (temp2)
6713 delete arg2;
6714 }
6715 return resultobj;
6716 fail:
6717 {
6718 if (temp2)
6719 delete arg2;
6720 }
6721 return NULL;
6722 }
6723
6724
6725 static PyObject *_wrap_HtmlWindow_base_OnCellMouseHover(PyObject *self, PyObject *args, PyObject *kwargs) {
6726 PyObject *resultobj;
6727 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6728 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
6729 int arg3 ;
6730 int arg4 ;
6731 PyObject * obj0 = 0 ;
6732 PyObject * obj1 = 0 ;
6733 PyObject * obj2 = 0 ;
6734 PyObject * obj3 = 0 ;
6735 char *kwnames[] = {
6736 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
6737 };
6738
6739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_base_OnCellMouseHover",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6741 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6742 {
6743 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6744 if (PyErr_Occurred()) SWIG_fail;
6745 }
6746 {
6747 arg4 = (int) SWIG_PyObj_AsInt(obj3);
6748 if (PyErr_Occurred()) SWIG_fail;
6749 }
6750 {
6751 PyThreadState* __tstate = wxPyBeginAllowThreads();
6752 (arg1)->base_OnCellMouseHover(arg2,arg3,arg4);
6753
6754 wxPyEndAllowThreads(__tstate);
6755 if (PyErr_Occurred()) SWIG_fail;
6756 }
6757 Py_INCREF(Py_None); resultobj = Py_None;
6758 return resultobj;
6759 fail:
6760 return NULL;
6761 }
6762
6763
6764 static PyObject *_wrap_HtmlWindow_base_OnCellClicked(PyObject *self, PyObject *args, PyObject *kwargs) {
6765 PyObject *resultobj;
6766 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6767 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
6768 int arg3 ;
6769 int arg4 ;
6770 wxMouseEvent *arg5 = 0 ;
6771 PyObject * obj0 = 0 ;
6772 PyObject * obj1 = 0 ;
6773 PyObject * obj2 = 0 ;
6774 PyObject * obj3 = 0 ;
6775 PyObject * obj4 = 0 ;
6776 char *kwnames[] = {
6777 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
6778 };
6779
6780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlWindow_base_OnCellClicked",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6782 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6783 {
6784 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6785 if (PyErr_Occurred()) SWIG_fail;
6786 }
6787 {
6788 arg4 = (int) SWIG_PyObj_AsInt(obj3);
6789 if (PyErr_Occurred()) SWIG_fail;
6790 }
6791 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6792 if (arg5 == NULL) {
6793 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6794 }
6795 {
6796 PyThreadState* __tstate = wxPyBeginAllowThreads();
6797 (arg1)->base_OnCellClicked(arg2,arg3,arg4,(wxMouseEvent const &)*arg5);
6798
6799 wxPyEndAllowThreads(__tstate);
6800 if (PyErr_Occurred()) SWIG_fail;
6801 }
6802 Py_INCREF(Py_None); resultobj = Py_None;
6803 return resultobj;
6804 fail:
6805 return NULL;
6806 }
6807
6808
6809 static PyObject * HtmlWindow_swigregister(PyObject *self, PyObject *args) {
6810 PyObject *obj;
6811 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6812 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWindow, obj);
6813 Py_INCREF(obj);
6814 return Py_BuildValue((char *)"");
6815 }
6816 static PyObject *_wrap_new_HtmlDCRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
6817 PyObject *resultobj;
6818 wxHtmlDCRenderer *result;
6819 char *kwnames[] = {
6820 NULL
6821 };
6822
6823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlDCRenderer",kwnames)) goto fail;
6824 {
6825 PyThreadState* __tstate = wxPyBeginAllowThreads();
6826 result = (wxHtmlDCRenderer *)new wxHtmlDCRenderer();
6827
6828 wxPyEndAllowThreads(__tstate);
6829 if (PyErr_Occurred()) SWIG_fail;
6830 }
6831 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlDCRenderer, 1);
6832 return resultobj;
6833 fail:
6834 return NULL;
6835 }
6836
6837
6838 static PyObject *_wrap_delete_HtmlDCRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
6839 PyObject *resultobj;
6840 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
6841 PyObject * obj0 = 0 ;
6842 char *kwnames[] = {
6843 (char *) "self", NULL
6844 };
6845
6846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlDCRenderer",kwnames,&obj0)) goto fail;
6847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6848 {
6849 PyThreadState* __tstate = wxPyBeginAllowThreads();
6850 delete arg1;
6851
6852 wxPyEndAllowThreads(__tstate);
6853 if (PyErr_Occurred()) SWIG_fail;
6854 }
6855 Py_INCREF(Py_None); resultobj = Py_None;
6856 return resultobj;
6857 fail:
6858 return NULL;
6859 }
6860
6861
6862 static PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
6863 PyObject *resultobj;
6864 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
6865 wxDC *arg2 = (wxDC *) 0 ;
6866 int arg3 ;
6867 PyObject * obj0 = 0 ;
6868 PyObject * obj1 = 0 ;
6869 PyObject * obj2 = 0 ;
6870 char *kwnames[] = {
6871 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
6872 };
6873
6874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames,&obj0,&obj1,&obj2)) goto fail;
6875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6876 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6877 {
6878 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6879 if (PyErr_Occurred()) SWIG_fail;
6880 }
6881 {
6882 PyThreadState* __tstate = wxPyBeginAllowThreads();
6883 (arg1)->SetDC(arg2,arg3);
6884
6885 wxPyEndAllowThreads(__tstate);
6886 if (PyErr_Occurred()) SWIG_fail;
6887 }
6888 Py_INCREF(Py_None); resultobj = Py_None;
6889 return resultobj;
6890 fail:
6891 return NULL;
6892 }
6893
6894
6895 static PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6896 PyObject *resultobj;
6897 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
6898 int arg2 ;
6899 int arg3 ;
6900 PyObject * obj0 = 0 ;
6901 PyObject * obj1 = 0 ;
6902 PyObject * obj2 = 0 ;
6903 char *kwnames[] = {
6904 (char *) "self",(char *) "width",(char *) "height", NULL
6905 };
6906
6907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
6908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6909 {
6910 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6911 if (PyErr_Occurred()) SWIG_fail;
6912 }
6913 {
6914 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6915 if (PyErr_Occurred()) SWIG_fail;
6916 }
6917 {
6918 PyThreadState* __tstate = wxPyBeginAllowThreads();
6919 (arg1)->SetSize(arg2,arg3);
6920
6921 wxPyEndAllowThreads(__tstate);
6922 if (PyErr_Occurred()) SWIG_fail;
6923 }
6924 Py_INCREF(Py_None); resultobj = Py_None;
6925 return resultobj;
6926 fail:
6927 return NULL;
6928 }
6929
6930
6931 static PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *self, PyObject *args, PyObject *kwargs) {
6932 PyObject *resultobj;
6933 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
6934 wxString *arg2 = 0 ;
6935 wxString const &arg3_defvalue = wxPyEmptyString ;
6936 wxString *arg3 = (wxString *) &arg3_defvalue ;
6937 bool arg4 = (bool) True ;
6938 bool temp2 = False ;
6939 bool temp3 = False ;
6940 PyObject * obj0 = 0 ;
6941 PyObject * obj1 = 0 ;
6942 PyObject * obj2 = 0 ;
6943 PyObject * obj3 = 0 ;
6944 char *kwnames[] = {
6945 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
6946 };
6947
6948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6950 {
6951 arg2 = wxString_in_helper(obj1);
6952 if (arg2 == NULL) SWIG_fail;
6953 temp2 = True;
6954 }
6955 if (obj2) {
6956 {
6957 arg3 = wxString_in_helper(obj2);
6958 if (arg3 == NULL) SWIG_fail;
6959 temp3 = True;
6960 }
6961 }
6962 if (obj3) {
6963 {
6964 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
6965 if (PyErr_Occurred()) SWIG_fail;
6966 }
6967 }
6968 {
6969 PyThreadState* __tstate = wxPyBeginAllowThreads();
6970 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
6971
6972 wxPyEndAllowThreads(__tstate);
6973 if (PyErr_Occurred()) SWIG_fail;
6974 }
6975 Py_INCREF(Py_None); resultobj = Py_None;
6976 {
6977 if (temp2)
6978 delete arg2;
6979 }
6980 {
6981 if (temp3)
6982 delete arg3;
6983 }
6984 return resultobj;
6985 fail:
6986 {
6987 if (temp2)
6988 delete arg2;
6989 }
6990 {
6991 if (temp3)
6992 delete arg3;
6993 }
6994 return NULL;
6995 }
6996
6997
6998 static PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
6999 PyObject *resultobj;
7000 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7001 wxString arg2 ;
7002 wxString arg3 ;
7003 PyObject *arg4 = (PyObject *) NULL ;
7004 PyObject * obj0 = 0 ;
7005 PyObject * obj1 = 0 ;
7006 PyObject * obj2 = 0 ;
7007 PyObject * obj3 = 0 ;
7008 char *kwnames[] = {
7009 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
7010 };
7011
7012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7014 {
7015 wxString* sptr = wxString_in_helper(obj1);
7016 if (sptr == NULL) SWIG_fail;
7017 arg2 = *sptr;
7018 delete sptr;
7019 }
7020 {
7021 wxString* sptr = wxString_in_helper(obj2);
7022 if (sptr == NULL) SWIG_fail;
7023 arg3 = *sptr;
7024 delete sptr;
7025 }
7026 if (obj3) {
7027 arg4 = obj3;
7028 }
7029 {
7030 PyThreadState* __tstate = wxPyBeginAllowThreads();
7031 wxHtmlDCRenderer_SetFonts(arg1,arg2,arg3,arg4);
7032
7033 wxPyEndAllowThreads(__tstate);
7034 if (PyErr_Occurred()) SWIG_fail;
7035 }
7036 Py_INCREF(Py_None); resultobj = Py_None;
7037 return resultobj;
7038 fail:
7039 return NULL;
7040 }
7041
7042
7043 static PyObject *_wrap_HtmlDCRenderer_Render(PyObject *self, PyObject *args, PyObject *kwargs) {
7044 PyObject *resultobj;
7045 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7046 int arg2 ;
7047 int arg3 ;
7048 int arg4 = (int) 0 ;
7049 int arg5 = (int) False ;
7050 int arg6 = (int) INT_MAX ;
7051 int *arg7 = (int *) NULL ;
7052 int arg8 = (int) 0 ;
7053 int result;
7054 PyObject * obj0 = 0 ;
7055 PyObject * obj1 = 0 ;
7056 PyObject * obj2 = 0 ;
7057 PyObject * obj3 = 0 ;
7058 PyObject * obj4 = 0 ;
7059 PyObject * obj5 = 0 ;
7060 PyObject * obj6 = 0 ;
7061 PyObject * obj7 = 0 ;
7062 char *kwnames[] = {
7063 (char *) "self",(char *) "x",(char *) "y",(char *) "from",(char *) "dont_render",(char *) "to",(char *) "choices",(char *) "LCOUNT", NULL
7064 };
7065
7066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:HtmlDCRenderer_Render",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7068 {
7069 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7070 if (PyErr_Occurred()) SWIG_fail;
7071 }
7072 {
7073 arg3 = (int) SWIG_PyObj_AsInt(obj2);
7074 if (PyErr_Occurred()) SWIG_fail;
7075 }
7076 if (obj3) {
7077 {
7078 arg4 = (int) SWIG_PyObj_AsInt(obj3);
7079 if (PyErr_Occurred()) SWIG_fail;
7080 }
7081 }
7082 if (obj4) {
7083 {
7084 arg5 = (int) SWIG_PyObj_AsInt(obj4);
7085 if (PyErr_Occurred()) SWIG_fail;
7086 }
7087 }
7088 if (obj5) {
7089 {
7090 arg6 = (int) SWIG_PyObj_AsInt(obj5);
7091 if (PyErr_Occurred()) SWIG_fail;
7092 }
7093 }
7094 if (obj6) {
7095 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7096 }
7097 if (obj7) {
7098 {
7099 arg8 = (int) SWIG_PyObj_AsInt(obj7);
7100 if (PyErr_Occurred()) SWIG_fail;
7101 }
7102 }
7103 {
7104 PyThreadState* __tstate = wxPyBeginAllowThreads();
7105 result = (int)(arg1)->Render(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
7106
7107 wxPyEndAllowThreads(__tstate);
7108 if (PyErr_Occurred()) SWIG_fail;
7109 }
7110 resultobj = SWIG_PyObj_FromInt((int)result);
7111 return resultobj;
7112 fail:
7113 return NULL;
7114 }
7115
7116
7117 static PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
7118 PyObject *resultobj;
7119 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7120 int result;
7121 PyObject * obj0 = 0 ;
7122 char *kwnames[] = {
7123 (char *) "self", NULL
7124 };
7125
7126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlDCRenderer_GetTotalHeight",kwnames,&obj0)) goto fail;
7127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7128 {
7129 PyThreadState* __tstate = wxPyBeginAllowThreads();
7130 result = (int)(arg1)->GetTotalHeight();
7131
7132 wxPyEndAllowThreads(__tstate);
7133 if (PyErr_Occurred()) SWIG_fail;
7134 }
7135 resultobj = SWIG_PyObj_FromInt((int)result);
7136 return resultobj;
7137 fail:
7138 return NULL;
7139 }
7140
7141
7142 static PyObject * HtmlDCRenderer_swigregister(PyObject *self, PyObject *args) {
7143 PyObject *obj;
7144 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7145 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlDCRenderer, obj);
7146 Py_INCREF(obj);
7147 return Py_BuildValue((char *)"");
7148 }
7149 static PyObject *_wrap_new_HtmlPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
7150 PyObject *resultobj;
7151 wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ;
7152 wxString *arg1 = (wxString *) &arg1_defvalue ;
7153 wxHtmlPrintout *result;
7154 bool temp1 = False ;
7155 PyObject * obj0 = 0 ;
7156 char *kwnames[] = {
7157 (char *) "title", NULL
7158 };
7159
7160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlPrintout",kwnames,&obj0)) goto fail;
7161 if (obj0) {
7162 {
7163 arg1 = wxString_in_helper(obj0);
7164 if (arg1 == NULL) SWIG_fail;
7165 temp1 = True;
7166 }
7167 }
7168 {
7169 PyThreadState* __tstate = wxPyBeginAllowThreads();
7170 result = (wxHtmlPrintout *)new wxHtmlPrintout((wxString const &)*arg1);
7171
7172 wxPyEndAllowThreads(__tstate);
7173 if (PyErr_Occurred()) SWIG_fail;
7174 }
7175 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlPrintout, 1);
7176 {
7177 if (temp1)
7178 delete arg1;
7179 }
7180 return resultobj;
7181 fail:
7182 {
7183 if (temp1)
7184 delete arg1;
7185 }
7186 return NULL;
7187 }
7188
7189
7190 static PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *self, PyObject *args, PyObject *kwargs) {
7191 PyObject *resultobj;
7192 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7193 wxString *arg2 = 0 ;
7194 wxString const &arg3_defvalue = wxPyEmptyString ;
7195 wxString *arg3 = (wxString *) &arg3_defvalue ;
7196 bool arg4 = (bool) True ;
7197 bool temp2 = False ;
7198 bool temp3 = False ;
7199 PyObject * obj0 = 0 ;
7200 PyObject * obj1 = 0 ;
7201 PyObject * obj2 = 0 ;
7202 PyObject * obj3 = 0 ;
7203 char *kwnames[] = {
7204 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
7205 };
7206
7207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7209 {
7210 arg2 = wxString_in_helper(obj1);
7211 if (arg2 == NULL) SWIG_fail;
7212 temp2 = True;
7213 }
7214 if (obj2) {
7215 {
7216 arg3 = wxString_in_helper(obj2);
7217 if (arg3 == NULL) SWIG_fail;
7218 temp3 = True;
7219 }
7220 }
7221 if (obj3) {
7222 {
7223 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
7224 if (PyErr_Occurred()) SWIG_fail;
7225 }
7226 }
7227 {
7228 PyThreadState* __tstate = wxPyBeginAllowThreads();
7229 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
7230
7231 wxPyEndAllowThreads(__tstate);
7232 if (PyErr_Occurred()) SWIG_fail;
7233 }
7234 Py_INCREF(Py_None); resultobj = Py_None;
7235 {
7236 if (temp2)
7237 delete arg2;
7238 }
7239 {
7240 if (temp3)
7241 delete arg3;
7242 }
7243 return resultobj;
7244 fail:
7245 {
7246 if (temp2)
7247 delete arg2;
7248 }
7249 {
7250 if (temp3)
7251 delete arg3;
7252 }
7253 return NULL;
7254 }
7255
7256
7257 static PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7258 PyObject *resultobj;
7259 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7260 wxString *arg2 = 0 ;
7261 bool temp2 = False ;
7262 PyObject * obj0 = 0 ;
7263 PyObject * obj1 = 0 ;
7264 char *kwnames[] = {
7265 (char *) "self",(char *) "htmlfile", NULL
7266 };
7267
7268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames,&obj0,&obj1)) goto fail;
7269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7270 {
7271 arg2 = wxString_in_helper(obj1);
7272 if (arg2 == NULL) SWIG_fail;
7273 temp2 = True;
7274 }
7275 {
7276 PyThreadState* __tstate = wxPyBeginAllowThreads();
7277 (arg1)->SetHtmlFile((wxString const &)*arg2);
7278
7279 wxPyEndAllowThreads(__tstate);
7280 if (PyErr_Occurred()) SWIG_fail;
7281 }
7282 Py_INCREF(Py_None); resultobj = Py_None;
7283 {
7284 if (temp2)
7285 delete arg2;
7286 }
7287 return resultobj;
7288 fail:
7289 {
7290 if (temp2)
7291 delete arg2;
7292 }
7293 return NULL;
7294 }
7295
7296
7297 static PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *self, PyObject *args, PyObject *kwargs) {
7298 PyObject *resultobj;
7299 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7300 wxString *arg2 = 0 ;
7301 int arg3 = (int) wxPAGE_ALL ;
7302 bool temp2 = False ;
7303 PyObject * obj0 = 0 ;
7304 PyObject * obj1 = 0 ;
7305 PyObject * obj2 = 0 ;
7306 char *kwnames[] = {
7307 (char *) "self",(char *) "header",(char *) "pg", NULL
7308 };
7309
7310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail;
7311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7312 {
7313 arg2 = wxString_in_helper(obj1);
7314 if (arg2 == NULL) SWIG_fail;
7315 temp2 = True;
7316 }
7317 if (obj2) {
7318 {
7319 arg3 = (int) SWIG_PyObj_AsInt(obj2);
7320 if (PyErr_Occurred()) SWIG_fail;
7321 }
7322 }
7323 {
7324 PyThreadState* __tstate = wxPyBeginAllowThreads();
7325 (arg1)->SetHeader((wxString const &)*arg2,arg3);
7326
7327 wxPyEndAllowThreads(__tstate);
7328 if (PyErr_Occurred()) SWIG_fail;
7329 }
7330 Py_INCREF(Py_None); resultobj = Py_None;
7331 {
7332 if (temp2)
7333 delete arg2;
7334 }
7335 return resultobj;
7336 fail:
7337 {
7338 if (temp2)
7339 delete arg2;
7340 }
7341 return NULL;
7342 }
7343
7344
7345 static PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *self, PyObject *args, PyObject *kwargs) {
7346 PyObject *resultobj;
7347 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7348 wxString *arg2 = 0 ;
7349 int arg3 = (int) wxPAGE_ALL ;
7350 bool temp2 = False ;
7351 PyObject * obj0 = 0 ;
7352 PyObject * obj1 = 0 ;
7353 PyObject * obj2 = 0 ;
7354 char *kwnames[] = {
7355 (char *) "self",(char *) "footer",(char *) "pg", NULL
7356 };
7357
7358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail;
7359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7360 {
7361 arg2 = wxString_in_helper(obj1);
7362 if (arg2 == NULL) SWIG_fail;
7363 temp2 = True;
7364 }
7365 if (obj2) {
7366 {
7367 arg3 = (int) SWIG_PyObj_AsInt(obj2);
7368 if (PyErr_Occurred()) SWIG_fail;
7369 }
7370 }
7371 {
7372 PyThreadState* __tstate = wxPyBeginAllowThreads();
7373 (arg1)->SetFooter((wxString const &)*arg2,arg3);
7374
7375 wxPyEndAllowThreads(__tstate);
7376 if (PyErr_Occurred()) SWIG_fail;
7377 }
7378 Py_INCREF(Py_None); resultobj = Py_None;
7379 {
7380 if (temp2)
7381 delete arg2;
7382 }
7383 return resultobj;
7384 fail:
7385 {
7386 if (temp2)
7387 delete arg2;
7388 }
7389 return NULL;
7390 }
7391
7392
7393 static PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
7394 PyObject *resultobj;
7395 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7396 wxString arg2 ;
7397 wxString arg3 ;
7398 PyObject *arg4 = (PyObject *) NULL ;
7399 PyObject * obj0 = 0 ;
7400 PyObject * obj1 = 0 ;
7401 PyObject * obj2 = 0 ;
7402 PyObject * obj3 = 0 ;
7403 char *kwnames[] = {
7404 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
7405 };
7406
7407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7409 {
7410 wxString* sptr = wxString_in_helper(obj1);
7411 if (sptr == NULL) SWIG_fail;
7412 arg2 = *sptr;
7413 delete sptr;
7414 }
7415 {
7416 wxString* sptr = wxString_in_helper(obj2);
7417 if (sptr == NULL) SWIG_fail;
7418 arg3 = *sptr;
7419 delete sptr;
7420 }
7421 if (obj3) {
7422 arg4 = obj3;
7423 }
7424 {
7425 PyThreadState* __tstate = wxPyBeginAllowThreads();
7426 wxHtmlPrintout_SetFonts(arg1,arg2,arg3,arg4);
7427
7428 wxPyEndAllowThreads(__tstate);
7429 if (PyErr_Occurred()) SWIG_fail;
7430 }
7431 Py_INCREF(Py_None); resultobj = Py_None;
7432 return resultobj;
7433 fail:
7434 return NULL;
7435 }
7436
7437
7438 static PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
7439 PyObject *resultobj;
7440 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7441 float arg2 = (float) 25.2 ;
7442 float arg3 = (float) 25.2 ;
7443 float arg4 = (float) 25.2 ;
7444 float arg5 = (float) 25.2 ;
7445 float arg6 = (float) 5 ;
7446 PyObject * obj0 = 0 ;
7447 PyObject * obj1 = 0 ;
7448 PyObject * obj2 = 0 ;
7449 PyObject * obj3 = 0 ;
7450 PyObject * obj4 = 0 ;
7451 PyObject * obj5 = 0 ;
7452 char *kwnames[] = {
7453 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
7454 };
7455
7456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7458 if (obj1) {
7459 {
7460 arg2 = (float) SWIG_PyObj_AsFloat(obj1);
7461 if (PyErr_Occurred()) SWIG_fail;
7462 }
7463 }
7464 if (obj2) {
7465 {
7466 arg3 = (float) SWIG_PyObj_AsFloat(obj2);
7467 if (PyErr_Occurred()) SWIG_fail;
7468 }
7469 }
7470 if (obj3) {
7471 {
7472 arg4 = (float) SWIG_PyObj_AsFloat(obj3);
7473 if (PyErr_Occurred()) SWIG_fail;
7474 }
7475 }
7476 if (obj4) {
7477 {
7478 arg5 = (float) SWIG_PyObj_AsFloat(obj4);
7479 if (PyErr_Occurred()) SWIG_fail;
7480 }
7481 }
7482 if (obj5) {
7483 {
7484 arg6 = (float) SWIG_PyObj_AsFloat(obj5);
7485 if (PyErr_Occurred()) SWIG_fail;
7486 }
7487 }
7488 {
7489 PyThreadState* __tstate = wxPyBeginAllowThreads();
7490 (arg1)->SetMargins(arg2,arg3,arg4,arg5,arg6);
7491
7492 wxPyEndAllowThreads(__tstate);
7493 if (PyErr_Occurred()) SWIG_fail;
7494 }
7495 Py_INCREF(Py_None); resultobj = Py_None;
7496 return resultobj;
7497 fail:
7498 return NULL;
7499 }
7500
7501
7502 static PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
7503 PyObject *resultobj;
7504 wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ;
7505 PyObject * obj0 = 0 ;
7506 char *kwnames[] = {
7507 (char *) "filter", NULL
7508 };
7509
7510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlPrintout_AddFilter",kwnames,&obj0)) goto fail;
7511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlFilter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7512 {
7513 PyThreadState* __tstate = wxPyBeginAllowThreads();
7514 wxHtmlPrintout::AddFilter(arg1);
7515
7516 wxPyEndAllowThreads(__tstate);
7517 if (PyErr_Occurred()) SWIG_fail;
7518 }
7519 Py_INCREF(Py_None); resultobj = Py_None;
7520 return resultobj;
7521 fail:
7522 return NULL;
7523 }
7524
7525
7526 static PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *self, PyObject *args, PyObject *kwargs) {
7527 PyObject *resultobj;
7528 char *kwnames[] = {
7529 NULL
7530 };
7531
7532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HtmlPrintout_CleanUpStatics",kwnames)) goto fail;
7533 {
7534 PyThreadState* __tstate = wxPyBeginAllowThreads();
7535 wxHtmlPrintout::CleanUpStatics();
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 * HtmlPrintout_swigregister(PyObject *self, PyObject *args) {
7548 PyObject *obj;
7549 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7550 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlPrintout, obj);
7551 Py_INCREF(obj);
7552 return Py_BuildValue((char *)"");
7553 }
7554 static PyObject *_wrap_new_HtmlEasyPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
7555 PyObject *resultobj;
7556 wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ;
7557 wxString *arg1 = (wxString *) &arg1_defvalue ;
7558 wxWindow *arg2 = (wxWindow *) NULL ;
7559 wxHtmlEasyPrinting *result;
7560 bool temp1 = False ;
7561 PyObject * obj0 = 0 ;
7562 PyObject * obj1 = 0 ;
7563 char *kwnames[] = {
7564 (char *) "name",(char *) "parentWindow", NULL
7565 };
7566
7567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlEasyPrinting",kwnames,&obj0,&obj1)) goto fail;
7568 if (obj0) {
7569 {
7570 arg1 = wxString_in_helper(obj0);
7571 if (arg1 == NULL) SWIG_fail;
7572 temp1 = True;
7573 }
7574 }
7575 if (obj1) {
7576 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7577 }
7578 {
7579 PyThreadState* __tstate = wxPyBeginAllowThreads();
7580 result = (wxHtmlEasyPrinting *)new wxHtmlEasyPrinting((wxString const &)*arg1,arg2);
7581
7582 wxPyEndAllowThreads(__tstate);
7583 if (PyErr_Occurred()) SWIG_fail;
7584 }
7585 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlEasyPrinting, 1);
7586 {
7587 if (temp1)
7588 delete arg1;
7589 }
7590 return resultobj;
7591 fail:
7592 {
7593 if (temp1)
7594 delete arg1;
7595 }
7596 return NULL;
7597 }
7598
7599
7600 static PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
7601 PyObject *resultobj;
7602 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7603 PyObject * obj0 = 0 ;
7604 char *kwnames[] = {
7605 (char *) "self", NULL
7606 };
7607
7608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlEasyPrinting",kwnames,&obj0)) goto fail;
7609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7610 {
7611 PyThreadState* __tstate = wxPyBeginAllowThreads();
7612 delete arg1;
7613
7614 wxPyEndAllowThreads(__tstate);
7615 if (PyErr_Occurred()) SWIG_fail;
7616 }
7617 Py_INCREF(Py_None); resultobj = Py_None;
7618 return resultobj;
7619 fail:
7620 return NULL;
7621 }
7622
7623
7624 static PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7625 PyObject *resultobj;
7626 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7627 wxString *arg2 = 0 ;
7628 bool temp2 = False ;
7629 PyObject * obj0 = 0 ;
7630 PyObject * obj1 = 0 ;
7631 char *kwnames[] = {
7632 (char *) "self",(char *) "htmlfile", NULL
7633 };
7634
7635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames,&obj0,&obj1)) goto fail;
7636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7637 {
7638 arg2 = wxString_in_helper(obj1);
7639 if (arg2 == NULL) SWIG_fail;
7640 temp2 = True;
7641 }
7642 {
7643 PyThreadState* __tstate = wxPyBeginAllowThreads();
7644 (arg1)->PreviewFile((wxString const &)*arg2);
7645
7646 wxPyEndAllowThreads(__tstate);
7647 if (PyErr_Occurred()) SWIG_fail;
7648 }
7649 Py_INCREF(Py_None); resultobj = Py_None;
7650 {
7651 if (temp2)
7652 delete arg2;
7653 }
7654 return resultobj;
7655 fail:
7656 {
7657 if (temp2)
7658 delete arg2;
7659 }
7660 return NULL;
7661 }
7662
7663
7664 static PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *self, PyObject *args, PyObject *kwargs) {
7665 PyObject *resultobj;
7666 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7667 wxString *arg2 = 0 ;
7668 wxString const &arg3_defvalue = wxPyEmptyString ;
7669 wxString *arg3 = (wxString *) &arg3_defvalue ;
7670 bool temp2 = False ;
7671 bool temp3 = False ;
7672 PyObject * obj0 = 0 ;
7673 PyObject * obj1 = 0 ;
7674 PyObject * obj2 = 0 ;
7675 char *kwnames[] = {
7676 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
7677 };
7678
7679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames,&obj0,&obj1,&obj2)) goto fail;
7680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7681 {
7682 arg2 = wxString_in_helper(obj1);
7683 if (arg2 == NULL) SWIG_fail;
7684 temp2 = True;
7685 }
7686 if (obj2) {
7687 {
7688 arg3 = wxString_in_helper(obj2);
7689 if (arg3 == NULL) SWIG_fail;
7690 temp3 = True;
7691 }
7692 }
7693 {
7694 PyThreadState* __tstate = wxPyBeginAllowThreads();
7695 (arg1)->PreviewText((wxString const &)*arg2,(wxString const &)*arg3);
7696
7697 wxPyEndAllowThreads(__tstate);
7698 if (PyErr_Occurred()) SWIG_fail;
7699 }
7700 Py_INCREF(Py_None); resultobj = Py_None;
7701 {
7702 if (temp2)
7703 delete arg2;
7704 }
7705 {
7706 if (temp3)
7707 delete arg3;
7708 }
7709 return resultobj;
7710 fail:
7711 {
7712 if (temp2)
7713 delete arg2;
7714 }
7715 {
7716 if (temp3)
7717 delete arg3;
7718 }
7719 return NULL;
7720 }
7721
7722
7723 static PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7724 PyObject *resultobj;
7725 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7726 wxString *arg2 = 0 ;
7727 bool temp2 = False ;
7728 PyObject * obj0 = 0 ;
7729 PyObject * obj1 = 0 ;
7730 char *kwnames[] = {
7731 (char *) "self",(char *) "htmlfile", NULL
7732 };
7733
7734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames,&obj0,&obj1)) goto fail;
7735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7736 {
7737 arg2 = wxString_in_helper(obj1);
7738 if (arg2 == NULL) SWIG_fail;
7739 temp2 = True;
7740 }
7741 {
7742 PyThreadState* __tstate = wxPyBeginAllowThreads();
7743 (arg1)->PrintFile((wxString const &)*arg2);
7744
7745 wxPyEndAllowThreads(__tstate);
7746 if (PyErr_Occurred()) SWIG_fail;
7747 }
7748 Py_INCREF(Py_None); resultobj = Py_None;
7749 {
7750 if (temp2)
7751 delete arg2;
7752 }
7753 return resultobj;
7754 fail:
7755 {
7756 if (temp2)
7757 delete arg2;
7758 }
7759 return NULL;
7760 }
7761
7762
7763 static PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *self, PyObject *args, PyObject *kwargs) {
7764 PyObject *resultobj;
7765 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7766 wxString *arg2 = 0 ;
7767 wxString const &arg3_defvalue = wxPyEmptyString ;
7768 wxString *arg3 = (wxString *) &arg3_defvalue ;
7769 bool temp2 = False ;
7770 bool temp3 = False ;
7771 PyObject * obj0 = 0 ;
7772 PyObject * obj1 = 0 ;
7773 PyObject * obj2 = 0 ;
7774 char *kwnames[] = {
7775 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
7776 };
7777
7778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames,&obj0,&obj1,&obj2)) goto fail;
7779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7780 {
7781 arg2 = wxString_in_helper(obj1);
7782 if (arg2 == NULL) SWIG_fail;
7783 temp2 = True;
7784 }
7785 if (obj2) {
7786 {
7787 arg3 = wxString_in_helper(obj2);
7788 if (arg3 == NULL) SWIG_fail;
7789 temp3 = True;
7790 }
7791 }
7792 {
7793 PyThreadState* __tstate = wxPyBeginAllowThreads();
7794 (arg1)->PrintText((wxString const &)*arg2,(wxString const &)*arg3);
7795
7796 wxPyEndAllowThreads(__tstate);
7797 if (PyErr_Occurred()) SWIG_fail;
7798 }
7799 Py_INCREF(Py_None); resultobj = Py_None;
7800 {
7801 if (temp2)
7802 delete arg2;
7803 }
7804 {
7805 if (temp3)
7806 delete arg3;
7807 }
7808 return resultobj;
7809 fail:
7810 {
7811 if (temp2)
7812 delete arg2;
7813 }
7814 {
7815 if (temp3)
7816 delete arg3;
7817 }
7818 return NULL;
7819 }
7820
7821
7822 static PyObject *_wrap_HtmlEasyPrinting_PrinterSetup(PyObject *self, PyObject *args, PyObject *kwargs) {
7823 PyObject *resultobj;
7824 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7825 PyObject * obj0 = 0 ;
7826 char *kwnames[] = {
7827 (char *) "self", NULL
7828 };
7829
7830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PrinterSetup",kwnames,&obj0)) goto fail;
7831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7832 {
7833 PyThreadState* __tstate = wxPyBeginAllowThreads();
7834 (arg1)->PrinterSetup();
7835
7836 wxPyEndAllowThreads(__tstate);
7837 if (PyErr_Occurred()) SWIG_fail;
7838 }
7839 Py_INCREF(Py_None); resultobj = Py_None;
7840 return resultobj;
7841 fail:
7842 return NULL;
7843 }
7844
7845
7846 static PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *self, PyObject *args, PyObject *kwargs) {
7847 PyObject *resultobj;
7848 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7849 PyObject * obj0 = 0 ;
7850 char *kwnames[] = {
7851 (char *) "self", NULL
7852 };
7853
7854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PageSetup",kwnames,&obj0)) goto fail;
7855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7856 {
7857 PyThreadState* __tstate = wxPyBeginAllowThreads();
7858 (arg1)->PageSetup();
7859
7860 wxPyEndAllowThreads(__tstate);
7861 if (PyErr_Occurred()) SWIG_fail;
7862 }
7863 Py_INCREF(Py_None); resultobj = Py_None;
7864 return resultobj;
7865 fail:
7866 return NULL;
7867 }
7868
7869
7870 static PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *self, PyObject *args, PyObject *kwargs) {
7871 PyObject *resultobj;
7872 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7873 wxString *arg2 = 0 ;
7874 int arg3 = (int) wxPAGE_ALL ;
7875 bool temp2 = False ;
7876 PyObject * obj0 = 0 ;
7877 PyObject * obj1 = 0 ;
7878 PyObject * obj2 = 0 ;
7879 char *kwnames[] = {
7880 (char *) "self",(char *) "header",(char *) "pg", NULL
7881 };
7882
7883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail;
7884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7885 {
7886 arg2 = wxString_in_helper(obj1);
7887 if (arg2 == NULL) SWIG_fail;
7888 temp2 = True;
7889 }
7890 if (obj2) {
7891 {
7892 arg3 = (int) SWIG_PyObj_AsInt(obj2);
7893 if (PyErr_Occurred()) SWIG_fail;
7894 }
7895 }
7896 {
7897 PyThreadState* __tstate = wxPyBeginAllowThreads();
7898 (arg1)->SetHeader((wxString const &)*arg2,arg3);
7899
7900 wxPyEndAllowThreads(__tstate);
7901 if (PyErr_Occurred()) SWIG_fail;
7902 }
7903 Py_INCREF(Py_None); resultobj = Py_None;
7904 {
7905 if (temp2)
7906 delete arg2;
7907 }
7908 return resultobj;
7909 fail:
7910 {
7911 if (temp2)
7912 delete arg2;
7913 }
7914 return NULL;
7915 }
7916
7917
7918 static PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *self, PyObject *args, PyObject *kwargs) {
7919 PyObject *resultobj;
7920 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7921 wxString *arg2 = 0 ;
7922 int arg3 = (int) wxPAGE_ALL ;
7923 bool temp2 = False ;
7924 PyObject * obj0 = 0 ;
7925 PyObject * obj1 = 0 ;
7926 PyObject * obj2 = 0 ;
7927 char *kwnames[] = {
7928 (char *) "self",(char *) "footer",(char *) "pg", NULL
7929 };
7930
7931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail;
7932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7933 {
7934 arg2 = wxString_in_helper(obj1);
7935 if (arg2 == NULL) SWIG_fail;
7936 temp2 = True;
7937 }
7938 if (obj2) {
7939 {
7940 arg3 = (int) SWIG_PyObj_AsInt(obj2);
7941 if (PyErr_Occurred()) SWIG_fail;
7942 }
7943 }
7944 {
7945 PyThreadState* __tstate = wxPyBeginAllowThreads();
7946 (arg1)->SetFooter((wxString const &)*arg2,arg3);
7947
7948 wxPyEndAllowThreads(__tstate);
7949 if (PyErr_Occurred()) SWIG_fail;
7950 }
7951 Py_INCREF(Py_None); resultobj = Py_None;
7952 {
7953 if (temp2)
7954 delete arg2;
7955 }
7956 return resultobj;
7957 fail:
7958 {
7959 if (temp2)
7960 delete arg2;
7961 }
7962 return NULL;
7963 }
7964
7965
7966 static PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
7967 PyObject *resultobj;
7968 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7969 wxString arg2 ;
7970 wxString arg3 ;
7971 PyObject *arg4 = (PyObject *) NULL ;
7972 PyObject * obj0 = 0 ;
7973 PyObject * obj1 = 0 ;
7974 PyObject * obj2 = 0 ;
7975 PyObject * obj3 = 0 ;
7976 char *kwnames[] = {
7977 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
7978 };
7979
7980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7982 {
7983 wxString* sptr = wxString_in_helper(obj1);
7984 if (sptr == NULL) SWIG_fail;
7985 arg2 = *sptr;
7986 delete sptr;
7987 }
7988 {
7989 wxString* sptr = wxString_in_helper(obj2);
7990 if (sptr == NULL) SWIG_fail;
7991 arg3 = *sptr;
7992 delete sptr;
7993 }
7994 if (obj3) {
7995 arg4 = obj3;
7996 }
7997 {
7998 PyThreadState* __tstate = wxPyBeginAllowThreads();
7999 wxHtmlEasyPrinting_SetFonts(arg1,arg2,arg3,arg4);
8000
8001 wxPyEndAllowThreads(__tstate);
8002 if (PyErr_Occurred()) SWIG_fail;
8003 }
8004 Py_INCREF(Py_None); resultobj = Py_None;
8005 return resultobj;
8006 fail:
8007 return NULL;
8008 }
8009
8010
8011 static PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
8012 PyObject *resultobj;
8013 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8014 wxPrintData *result;
8015 PyObject * obj0 = 0 ;
8016 char *kwnames[] = {
8017 (char *) "self", NULL
8018 };
8019
8020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPrintData",kwnames,&obj0)) goto fail;
8021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8022 {
8023 PyThreadState* __tstate = wxPyBeginAllowThreads();
8024 result = (wxPrintData *)(arg1)->GetPrintData();
8025
8026 wxPyEndAllowThreads(__tstate);
8027 if (PyErr_Occurred()) SWIG_fail;
8028 }
8029 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
8030 return resultobj;
8031 fail:
8032 return NULL;
8033 }
8034
8035
8036 static PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
8037 PyObject *resultobj;
8038 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8039 wxPageSetupDialogData *result;
8040 PyObject * obj0 = 0 ;
8041 char *kwnames[] = {
8042 (char *) "self", NULL
8043 };
8044
8045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPageSetupData",kwnames,&obj0)) goto fail;
8046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8047 {
8048 PyThreadState* __tstate = wxPyBeginAllowThreads();
8049 result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData();
8050
8051 wxPyEndAllowThreads(__tstate);
8052 if (PyErr_Occurred()) SWIG_fail;
8053 }
8054 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 0);
8055 return resultobj;
8056 fail:
8057 return NULL;
8058 }
8059
8060
8061 static PyObject * HtmlEasyPrinting_swigregister(PyObject *self, PyObject *args) {
8062 PyObject *obj;
8063 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8064 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlEasyPrinting, obj);
8065 Py_INCREF(obj);
8066 return Py_BuildValue((char *)"");
8067 }
8068 static PyObject *_wrap_new_HtmlBookRecord(PyObject *self, PyObject *args, PyObject *kwargs) {
8069 PyObject *resultobj;
8070 wxString *arg1 = 0 ;
8071 wxString *arg2 = 0 ;
8072 wxString *arg3 = 0 ;
8073 wxString *arg4 = 0 ;
8074 wxHtmlBookRecord *result;
8075 bool temp1 = False ;
8076 bool temp2 = False ;
8077 bool temp3 = False ;
8078 bool temp4 = False ;
8079 PyObject * obj0 = 0 ;
8080 PyObject * obj1 = 0 ;
8081 PyObject * obj2 = 0 ;
8082 PyObject * obj3 = 0 ;
8083 char *kwnames[] = {
8084 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
8085 };
8086
8087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_HtmlBookRecord",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8088 {
8089 arg1 = wxString_in_helper(obj0);
8090 if (arg1 == NULL) SWIG_fail;
8091 temp1 = True;
8092 }
8093 {
8094 arg2 = wxString_in_helper(obj1);
8095 if (arg2 == NULL) SWIG_fail;
8096 temp2 = True;
8097 }
8098 {
8099 arg3 = wxString_in_helper(obj2);
8100 if (arg3 == NULL) SWIG_fail;
8101 temp3 = True;
8102 }
8103 {
8104 arg4 = wxString_in_helper(obj3);
8105 if (arg4 == NULL) SWIG_fail;
8106 temp4 = True;
8107 }
8108 {
8109 PyThreadState* __tstate = wxPyBeginAllowThreads();
8110 result = (wxHtmlBookRecord *)new wxHtmlBookRecord((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
8111
8112 wxPyEndAllowThreads(__tstate);
8113 if (PyErr_Occurred()) SWIG_fail;
8114 }
8115 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlBookRecord, 1);
8116 {
8117 if (temp1)
8118 delete arg1;
8119 }
8120 {
8121 if (temp2)
8122 delete arg2;
8123 }
8124 {
8125 if (temp3)
8126 delete arg3;
8127 }
8128 {
8129 if (temp4)
8130 delete arg4;
8131 }
8132 return resultobj;
8133 fail:
8134 {
8135 if (temp1)
8136 delete arg1;
8137 }
8138 {
8139 if (temp2)
8140 delete arg2;
8141 }
8142 {
8143 if (temp3)
8144 delete arg3;
8145 }
8146 {
8147 if (temp4)
8148 delete arg4;
8149 }
8150 return NULL;
8151 }
8152
8153
8154 static PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8155 PyObject *resultobj;
8156 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8157 wxString result;
8158 PyObject * obj0 = 0 ;
8159 char *kwnames[] = {
8160 (char *) "self", NULL
8161 };
8162
8163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBookFile",kwnames,&obj0)) goto fail;
8164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8165 {
8166 PyThreadState* __tstate = wxPyBeginAllowThreads();
8167 result = (arg1)->GetBookFile();
8168
8169 wxPyEndAllowThreads(__tstate);
8170 if (PyErr_Occurred()) SWIG_fail;
8171 }
8172 {
8173 #if wxUSE_UNICODE
8174 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8175 #else
8176 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8177 #endif
8178 }
8179 return resultobj;
8180 fail:
8181 return NULL;
8182 }
8183
8184
8185 static PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
8186 PyObject *resultobj;
8187 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8188 wxString result;
8189 PyObject * obj0 = 0 ;
8190 char *kwnames[] = {
8191 (char *) "self", NULL
8192 };
8193
8194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetTitle",kwnames,&obj0)) goto fail;
8195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8196 {
8197 PyThreadState* __tstate = wxPyBeginAllowThreads();
8198 result = (arg1)->GetTitle();
8199
8200 wxPyEndAllowThreads(__tstate);
8201 if (PyErr_Occurred()) SWIG_fail;
8202 }
8203 {
8204 #if wxUSE_UNICODE
8205 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8206 #else
8207 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8208 #endif
8209 }
8210 return resultobj;
8211 fail:
8212 return NULL;
8213 }
8214
8215
8216 static PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *self, PyObject *args, PyObject *kwargs) {
8217 PyObject *resultobj;
8218 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8219 wxString result;
8220 PyObject * obj0 = 0 ;
8221 char *kwnames[] = {
8222 (char *) "self", NULL
8223 };
8224
8225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetStart",kwnames,&obj0)) goto fail;
8226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8227 {
8228 PyThreadState* __tstate = wxPyBeginAllowThreads();
8229 result = (arg1)->GetStart();
8230
8231 wxPyEndAllowThreads(__tstate);
8232 if (PyErr_Occurred()) SWIG_fail;
8233 }
8234 {
8235 #if wxUSE_UNICODE
8236 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8237 #else
8238 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8239 #endif
8240 }
8241 return resultobj;
8242 fail:
8243 return NULL;
8244 }
8245
8246
8247 static PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *self, PyObject *args, PyObject *kwargs) {
8248 PyObject *resultobj;
8249 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8250 wxString result;
8251 PyObject * obj0 = 0 ;
8252 char *kwnames[] = {
8253 (char *) "self", NULL
8254 };
8255
8256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBasePath",kwnames,&obj0)) goto fail;
8257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8258 {
8259 PyThreadState* __tstate = wxPyBeginAllowThreads();
8260 result = (arg1)->GetBasePath();
8261
8262 wxPyEndAllowThreads(__tstate);
8263 if (PyErr_Occurred()) SWIG_fail;
8264 }
8265 {
8266 #if wxUSE_UNICODE
8267 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8268 #else
8269 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8270 #endif
8271 }
8272 return resultobj;
8273 fail:
8274 return NULL;
8275 }
8276
8277
8278 static PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8279 PyObject *resultobj;
8280 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8281 int arg2 ;
8282 int arg3 ;
8283 PyObject * obj0 = 0 ;
8284 PyObject * obj1 = 0 ;
8285 PyObject * obj2 = 0 ;
8286 char *kwnames[] = {
8287 (char *) "self",(char *) "start",(char *) "end", NULL
8288 };
8289
8290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
8291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8292 {
8293 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8294 if (PyErr_Occurred()) SWIG_fail;
8295 }
8296 {
8297 arg3 = (int) SWIG_PyObj_AsInt(obj2);
8298 if (PyErr_Occurred()) SWIG_fail;
8299 }
8300 {
8301 PyThreadState* __tstate = wxPyBeginAllowThreads();
8302 (arg1)->SetContentsRange(arg2,arg3);
8303
8304 wxPyEndAllowThreads(__tstate);
8305 if (PyErr_Occurred()) SWIG_fail;
8306 }
8307 Py_INCREF(Py_None); resultobj = Py_None;
8308 return resultobj;
8309 fail:
8310 return NULL;
8311 }
8312
8313
8314 static PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *self, PyObject *args, PyObject *kwargs) {
8315 PyObject *resultobj;
8316 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8317 int result;
8318 PyObject * obj0 = 0 ;
8319 char *kwnames[] = {
8320 (char *) "self", NULL
8321 };
8322
8323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsStart",kwnames,&obj0)) goto fail;
8324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8325 {
8326 PyThreadState* __tstate = wxPyBeginAllowThreads();
8327 result = (int)(arg1)->GetContentsStart();
8328
8329 wxPyEndAllowThreads(__tstate);
8330 if (PyErr_Occurred()) SWIG_fail;
8331 }
8332 resultobj = SWIG_PyObj_FromInt((int)result);
8333 return resultobj;
8334 fail:
8335 return NULL;
8336 }
8337
8338
8339 static PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
8340 PyObject *resultobj;
8341 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8342 int result;
8343 PyObject * obj0 = 0 ;
8344 char *kwnames[] = {
8345 (char *) "self", NULL
8346 };
8347
8348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsEnd",kwnames,&obj0)) goto fail;
8349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8350 {
8351 PyThreadState* __tstate = wxPyBeginAllowThreads();
8352 result = (int)(arg1)->GetContentsEnd();
8353
8354 wxPyEndAllowThreads(__tstate);
8355 if (PyErr_Occurred()) SWIG_fail;
8356 }
8357 resultobj = SWIG_PyObj_FromInt((int)result);
8358 return resultobj;
8359 fail:
8360 return NULL;
8361 }
8362
8363
8364 static PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
8365 PyObject *resultobj;
8366 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8367 wxString *arg2 = 0 ;
8368 bool temp2 = False ;
8369 PyObject * obj0 = 0 ;
8370 PyObject * obj1 = 0 ;
8371 char *kwnames[] = {
8372 (char *) "self",(char *) "title", NULL
8373 };
8374
8375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetTitle",kwnames,&obj0,&obj1)) goto fail;
8376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8377 {
8378 arg2 = wxString_in_helper(obj1);
8379 if (arg2 == NULL) SWIG_fail;
8380 temp2 = True;
8381 }
8382 {
8383 PyThreadState* __tstate = wxPyBeginAllowThreads();
8384 (arg1)->SetTitle((wxString const &)*arg2);
8385
8386 wxPyEndAllowThreads(__tstate);
8387 if (PyErr_Occurred()) SWIG_fail;
8388 }
8389 Py_INCREF(Py_None); resultobj = Py_None;
8390 {
8391 if (temp2)
8392 delete arg2;
8393 }
8394 return resultobj;
8395 fail:
8396 {
8397 if (temp2)
8398 delete arg2;
8399 }
8400 return NULL;
8401 }
8402
8403
8404 static PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *self, PyObject *args, PyObject *kwargs) {
8405 PyObject *resultobj;
8406 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8407 wxString *arg2 = 0 ;
8408 bool temp2 = False ;
8409 PyObject * obj0 = 0 ;
8410 PyObject * obj1 = 0 ;
8411 char *kwnames[] = {
8412 (char *) "self",(char *) "path", NULL
8413 };
8414
8415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames,&obj0,&obj1)) goto fail;
8416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8417 {
8418 arg2 = wxString_in_helper(obj1);
8419 if (arg2 == NULL) SWIG_fail;
8420 temp2 = True;
8421 }
8422 {
8423 PyThreadState* __tstate = wxPyBeginAllowThreads();
8424 (arg1)->SetBasePath((wxString const &)*arg2);
8425
8426 wxPyEndAllowThreads(__tstate);
8427 if (PyErr_Occurred()) SWIG_fail;
8428 }
8429 Py_INCREF(Py_None); resultobj = Py_None;
8430 {
8431 if (temp2)
8432 delete arg2;
8433 }
8434 return resultobj;
8435 fail:
8436 {
8437 if (temp2)
8438 delete arg2;
8439 }
8440 return NULL;
8441 }
8442
8443
8444 static PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *self, PyObject *args, PyObject *kwargs) {
8445 PyObject *resultobj;
8446 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8447 wxString *arg2 = 0 ;
8448 bool temp2 = False ;
8449 PyObject * obj0 = 0 ;
8450 PyObject * obj1 = 0 ;
8451 char *kwnames[] = {
8452 (char *) "self",(char *) "start", NULL
8453 };
8454
8455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetStart",kwnames,&obj0,&obj1)) goto fail;
8456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8457 {
8458 arg2 = wxString_in_helper(obj1);
8459 if (arg2 == NULL) SWIG_fail;
8460 temp2 = True;
8461 }
8462 {
8463 PyThreadState* __tstate = wxPyBeginAllowThreads();
8464 (arg1)->SetStart((wxString const &)*arg2);
8465
8466 wxPyEndAllowThreads(__tstate);
8467 if (PyErr_Occurred()) SWIG_fail;
8468 }
8469 Py_INCREF(Py_None); resultobj = Py_None;
8470 {
8471 if (temp2)
8472 delete arg2;
8473 }
8474 return resultobj;
8475 fail:
8476 {
8477 if (temp2)
8478 delete arg2;
8479 }
8480 return NULL;
8481 }
8482
8483
8484 static PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *self, PyObject *args, PyObject *kwargs) {
8485 PyObject *resultobj;
8486 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8487 wxString *arg2 = 0 ;
8488 wxString result;
8489 bool temp2 = False ;
8490 PyObject * obj0 = 0 ;
8491 PyObject * obj1 = 0 ;
8492 char *kwnames[] = {
8493 (char *) "self",(char *) "page", NULL
8494 };
8495
8496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames,&obj0,&obj1)) goto fail;
8497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8498 {
8499 arg2 = wxString_in_helper(obj1);
8500 if (arg2 == NULL) SWIG_fail;
8501 temp2 = True;
8502 }
8503 {
8504 PyThreadState* __tstate = wxPyBeginAllowThreads();
8505 result = ((wxHtmlBookRecord const *)arg1)->GetFullPath((wxString const &)*arg2);
8506
8507 wxPyEndAllowThreads(__tstate);
8508 if (PyErr_Occurred()) SWIG_fail;
8509 }
8510 {
8511 #if wxUSE_UNICODE
8512 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8513 #else
8514 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8515 #endif
8516 }
8517 {
8518 if (temp2)
8519 delete arg2;
8520 }
8521 return resultobj;
8522 fail:
8523 {
8524 if (temp2)
8525 delete arg2;
8526 }
8527 return NULL;
8528 }
8529
8530
8531 static PyObject * HtmlBookRecord_swigregister(PyObject *self, PyObject *args) {
8532 PyObject *obj;
8533 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8534 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlBookRecord, obj);
8535 Py_INCREF(obj);
8536 return Py_BuildValue((char *)"");
8537 }
8538 static PyObject *_wrap_HtmlContentsItem_GetLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
8539 PyObject *resultobj;
8540 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
8541 int result;
8542 PyObject * obj0 = 0 ;
8543 char *kwnames[] = {
8544 (char *) "self", NULL
8545 };
8546
8547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetLevel",kwnames,&obj0)) goto fail;
8548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContentsItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8549 {
8550 PyThreadState* __tstate = wxPyBeginAllowThreads();
8551 result = (int)wxHtmlContentsItem_GetLevel(arg1);
8552
8553 wxPyEndAllowThreads(__tstate);
8554 if (PyErr_Occurred()) SWIG_fail;
8555 }
8556 resultobj = SWIG_PyObj_FromInt((int)result);
8557 return resultobj;
8558 fail:
8559 return NULL;
8560 }
8561
8562
8563 static PyObject *_wrap_HtmlContentsItem_GetID(PyObject *self, PyObject *args, PyObject *kwargs) {
8564 PyObject *resultobj;
8565 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
8566 int result;
8567 PyObject * obj0 = 0 ;
8568 char *kwnames[] = {
8569 (char *) "self", NULL
8570 };
8571
8572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetID",kwnames,&obj0)) goto fail;
8573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContentsItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8574 {
8575 PyThreadState* __tstate = wxPyBeginAllowThreads();
8576 result = (int)wxHtmlContentsItem_GetID(arg1);
8577
8578 wxPyEndAllowThreads(__tstate);
8579 if (PyErr_Occurred()) SWIG_fail;
8580 }
8581 resultobj = SWIG_PyObj_FromInt((int)result);
8582 return resultobj;
8583 fail:
8584 return NULL;
8585 }
8586
8587
8588 static PyObject *_wrap_HtmlContentsItem_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
8589 PyObject *resultobj;
8590 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
8591 wxString result;
8592 PyObject * obj0 = 0 ;
8593 char *kwnames[] = {
8594 (char *) "self", NULL
8595 };
8596
8597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetName",kwnames,&obj0)) goto fail;
8598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContentsItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8599 {
8600 PyThreadState* __tstate = wxPyBeginAllowThreads();
8601 result = wxHtmlContentsItem_GetName(arg1);
8602
8603 wxPyEndAllowThreads(__tstate);
8604 if (PyErr_Occurred()) SWIG_fail;
8605 }
8606 {
8607 #if wxUSE_UNICODE
8608 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8609 #else
8610 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8611 #endif
8612 }
8613 return resultobj;
8614 fail:
8615 return NULL;
8616 }
8617
8618
8619 static PyObject *_wrap_HtmlContentsItem_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
8620 PyObject *resultobj;
8621 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
8622 wxString result;
8623 PyObject * obj0 = 0 ;
8624 char *kwnames[] = {
8625 (char *) "self", NULL
8626 };
8627
8628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetPage",kwnames,&obj0)) goto fail;
8629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContentsItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8630 {
8631 PyThreadState* __tstate = wxPyBeginAllowThreads();
8632 result = wxHtmlContentsItem_GetPage(arg1);
8633
8634 wxPyEndAllowThreads(__tstate);
8635 if (PyErr_Occurred()) SWIG_fail;
8636 }
8637 {
8638 #if wxUSE_UNICODE
8639 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8640 #else
8641 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8642 #endif
8643 }
8644 return resultobj;
8645 fail:
8646 return NULL;
8647 }
8648
8649
8650 static PyObject *_wrap_HtmlContentsItem_GetBook(PyObject *self, PyObject *args, PyObject *kwargs) {
8651 PyObject *resultobj;
8652 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
8653 wxHtmlBookRecord *result;
8654 PyObject * obj0 = 0 ;
8655 char *kwnames[] = {
8656 (char *) "self", NULL
8657 };
8658
8659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetBook",kwnames,&obj0)) goto fail;
8660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContentsItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8661 {
8662 PyThreadState* __tstate = wxPyBeginAllowThreads();
8663 result = (wxHtmlBookRecord *)wxHtmlContentsItem_GetBook(arg1);
8664
8665 wxPyEndAllowThreads(__tstate);
8666 if (PyErr_Occurred()) SWIG_fail;
8667 }
8668 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlBookRecord, 0);
8669 return resultobj;
8670 fail:
8671 return NULL;
8672 }
8673
8674
8675 static PyObject * HtmlContentsItem_swigregister(PyObject *self, PyObject *args) {
8676 PyObject *obj;
8677 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8678 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContentsItem, obj);
8679 Py_INCREF(obj);
8680 return Py_BuildValue((char *)"");
8681 }
8682 static PyObject *_wrap_HtmlSearchStatus_Search(PyObject *self, PyObject *args, PyObject *kwargs) {
8683 PyObject *resultobj;
8684 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
8685 bool result;
8686 PyObject * obj0 = 0 ;
8687 char *kwnames[] = {
8688 (char *) "self", NULL
8689 };
8690
8691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_Search",kwnames,&obj0)) goto fail;
8692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8693 {
8694 PyThreadState* __tstate = wxPyBeginAllowThreads();
8695 result = (bool)(arg1)->Search();
8696
8697 wxPyEndAllowThreads(__tstate);
8698 if (PyErr_Occurred()) SWIG_fail;
8699 }
8700 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8701 return resultobj;
8702 fail:
8703 return NULL;
8704 }
8705
8706
8707 static PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *self, PyObject *args, PyObject *kwargs) {
8708 PyObject *resultobj;
8709 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
8710 bool result;
8711 PyObject * obj0 = 0 ;
8712 char *kwnames[] = {
8713 (char *) "self", NULL
8714 };
8715
8716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_IsActive",kwnames,&obj0)) goto fail;
8717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8718 {
8719 PyThreadState* __tstate = wxPyBeginAllowThreads();
8720 result = (bool)(arg1)->IsActive();
8721
8722 wxPyEndAllowThreads(__tstate);
8723 if (PyErr_Occurred()) SWIG_fail;
8724 }
8725 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8726 return resultobj;
8727 fail:
8728 return NULL;
8729 }
8730
8731
8732 static PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
8733 PyObject *resultobj;
8734 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
8735 int result;
8736 PyObject * obj0 = 0 ;
8737 char *kwnames[] = {
8738 (char *) "self", NULL
8739 };
8740
8741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetCurIndex",kwnames,&obj0)) goto fail;
8742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8743 {
8744 PyThreadState* __tstate = wxPyBeginAllowThreads();
8745 result = (int)(arg1)->GetCurIndex();
8746
8747 wxPyEndAllowThreads(__tstate);
8748 if (PyErr_Occurred()) SWIG_fail;
8749 }
8750 resultobj = SWIG_PyObj_FromInt((int)result);
8751 return resultobj;
8752 fail:
8753 return NULL;
8754 }
8755
8756
8757 static PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
8758 PyObject *resultobj;
8759 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
8760 int result;
8761 PyObject * obj0 = 0 ;
8762 char *kwnames[] = {
8763 (char *) "self", NULL
8764 };
8765
8766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetMaxIndex",kwnames,&obj0)) goto fail;
8767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8768 {
8769 PyThreadState* __tstate = wxPyBeginAllowThreads();
8770 result = (int)(arg1)->GetMaxIndex();
8771
8772 wxPyEndAllowThreads(__tstate);
8773 if (PyErr_Occurred()) SWIG_fail;
8774 }
8775 resultobj = SWIG_PyObj_FromInt((int)result);
8776 return resultobj;
8777 fail:
8778 return NULL;
8779 }
8780
8781
8782 static PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
8783 PyObject *resultobj;
8784 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
8785 wxString *result;
8786 PyObject * obj0 = 0 ;
8787 char *kwnames[] = {
8788 (char *) "self", NULL
8789 };
8790
8791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetName",kwnames,&obj0)) goto fail;
8792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8793 {
8794 PyThreadState* __tstate = wxPyBeginAllowThreads();
8795 {
8796 wxString const &_result_ref = (arg1)->GetName();
8797 result = (wxString *) &_result_ref;
8798 }
8799
8800 wxPyEndAllowThreads(__tstate);
8801 if (PyErr_Occurred()) SWIG_fail;
8802 }
8803 {
8804 #if wxUSE_UNICODE
8805 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
8806 #else
8807 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
8808 #endif
8809 }
8810 return resultobj;
8811 fail:
8812 return NULL;
8813 }
8814
8815
8816 static PyObject *_wrap_HtmlSearchStatus_GetContentsItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8817 PyObject *resultobj;
8818 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
8819 wxHtmlContentsItem *result;
8820 PyObject * obj0 = 0 ;
8821 char *kwnames[] = {
8822 (char *) "self", NULL
8823 };
8824
8825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetContentsItem",kwnames,&obj0)) goto fail;
8826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8827 {
8828 PyThreadState* __tstate = wxPyBeginAllowThreads();
8829 result = (wxHtmlContentsItem *)(arg1)->GetContentsItem();
8830
8831 wxPyEndAllowThreads(__tstate);
8832 if (PyErr_Occurred()) SWIG_fail;
8833 }
8834 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContentsItem, 0);
8835 return resultobj;
8836 fail:
8837 return NULL;
8838 }
8839
8840
8841 static PyObject * HtmlSearchStatus_swigregister(PyObject *self, PyObject *args) {
8842 PyObject *obj;
8843 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8844 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSearchStatus, obj);
8845 Py_INCREF(obj);
8846 return Py_BuildValue((char *)"");
8847 }
8848 static PyObject *_wrap_new_HtmlHelpData(PyObject *self, PyObject *args, PyObject *kwargs) {
8849 PyObject *resultobj;
8850 wxHtmlHelpData *result;
8851 char *kwnames[] = {
8852 NULL
8853 };
8854
8855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlHelpData",kwnames)) goto fail;
8856 {
8857 PyThreadState* __tstate = wxPyBeginAllowThreads();
8858 result = (wxHtmlHelpData *)new wxHtmlHelpData();
8859
8860 wxPyEndAllowThreads(__tstate);
8861 if (PyErr_Occurred()) SWIG_fail;
8862 }
8863 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlHelpData, 1);
8864 return resultobj;
8865 fail:
8866 return NULL;
8867 }
8868
8869
8870 static PyObject *_wrap_delete_HtmlHelpData(PyObject *self, PyObject *args, PyObject *kwargs) {
8871 PyObject *resultobj;
8872 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
8873 PyObject * obj0 = 0 ;
8874 char *kwnames[] = {
8875 (char *) "self", NULL
8876 };
8877
8878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpData",kwnames,&obj0)) goto fail;
8879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8880 {
8881 PyThreadState* __tstate = wxPyBeginAllowThreads();
8882 delete arg1;
8883
8884 wxPyEndAllowThreads(__tstate);
8885 if (PyErr_Occurred()) SWIG_fail;
8886 }
8887 Py_INCREF(Py_None); resultobj = Py_None;
8888 return resultobj;
8889 fail:
8890 return NULL;
8891 }
8892
8893
8894 static PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *self, PyObject *args, PyObject *kwargs) {
8895 PyObject *resultobj;
8896 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
8897 wxString *arg2 = 0 ;
8898 bool temp2 = False ;
8899 PyObject * obj0 = 0 ;
8900 PyObject * obj1 = 0 ;
8901 char *kwnames[] = {
8902 (char *) "self",(char *) "path", NULL
8903 };
8904
8905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_SetTempDir",kwnames,&obj0,&obj1)) goto fail;
8906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8907 {
8908 arg2 = wxString_in_helper(obj1);
8909 if (arg2 == NULL) SWIG_fail;
8910 temp2 = True;
8911 }
8912 {
8913 PyThreadState* __tstate = wxPyBeginAllowThreads();
8914 (arg1)->SetTempDir((wxString const &)*arg2);
8915
8916 wxPyEndAllowThreads(__tstate);
8917 if (PyErr_Occurred()) SWIG_fail;
8918 }
8919 Py_INCREF(Py_None); resultobj = Py_None;
8920 {
8921 if (temp2)
8922 delete arg2;
8923 }
8924 return resultobj;
8925 fail:
8926 {
8927 if (temp2)
8928 delete arg2;
8929 }
8930 return NULL;
8931 }
8932
8933
8934 static PyObject *_wrap_HtmlHelpData_AddBook(PyObject *self, PyObject *args, PyObject *kwargs) {
8935 PyObject *resultobj;
8936 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
8937 wxString *arg2 = 0 ;
8938 bool result;
8939 bool temp2 = False ;
8940 PyObject * obj0 = 0 ;
8941 PyObject * obj1 = 0 ;
8942 char *kwnames[] = {
8943 (char *) "self",(char *) "book", NULL
8944 };
8945
8946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_AddBook",kwnames,&obj0,&obj1)) goto fail;
8947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8948 {
8949 arg2 = wxString_in_helper(obj1);
8950 if (arg2 == NULL) SWIG_fail;
8951 temp2 = True;
8952 }
8953 {
8954 PyThreadState* __tstate = wxPyBeginAllowThreads();
8955 result = (bool)(arg1)->AddBook((wxString const &)*arg2);
8956
8957 wxPyEndAllowThreads(__tstate);
8958 if (PyErr_Occurred()) SWIG_fail;
8959 }
8960 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8961 {
8962 if (temp2)
8963 delete arg2;
8964 }
8965 return resultobj;
8966 fail:
8967 {
8968 if (temp2)
8969 delete arg2;
8970 }
8971 return NULL;
8972 }
8973
8974
8975 static PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *self, PyObject *args, PyObject *kwargs) {
8976 PyObject *resultobj;
8977 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
8978 wxString *arg2 = 0 ;
8979 wxString result;
8980 bool temp2 = False ;
8981 PyObject * obj0 = 0 ;
8982 PyObject * obj1 = 0 ;
8983 char *kwnames[] = {
8984 (char *) "self",(char *) "page", NULL
8985 };
8986
8987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageByName",kwnames,&obj0,&obj1)) goto fail;
8988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8989 {
8990 arg2 = wxString_in_helper(obj1);
8991 if (arg2 == NULL) SWIG_fail;
8992 temp2 = True;
8993 }
8994 {
8995 PyThreadState* __tstate = wxPyBeginAllowThreads();
8996 result = (arg1)->FindPageByName((wxString const &)*arg2);
8997
8998 wxPyEndAllowThreads(__tstate);
8999 if (PyErr_Occurred()) SWIG_fail;
9000 }
9001 {
9002 #if wxUSE_UNICODE
9003 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9004 #else
9005 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9006 #endif
9007 }
9008 {
9009 if (temp2)
9010 delete arg2;
9011 }
9012 return resultobj;
9013 fail:
9014 {
9015 if (temp2)
9016 delete arg2;
9017 }
9018 return NULL;
9019 }
9020
9021
9022 static PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *self, PyObject *args, PyObject *kwargs) {
9023 PyObject *resultobj;
9024 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9025 int arg2 ;
9026 wxString result;
9027 PyObject * obj0 = 0 ;
9028 PyObject * obj1 = 0 ;
9029 char *kwnames[] = {
9030 (char *) "self",(char *) "id", NULL
9031 };
9032
9033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageById",kwnames,&obj0,&obj1)) goto fail;
9034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9035 {
9036 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9037 if (PyErr_Occurred()) SWIG_fail;
9038 }
9039 {
9040 PyThreadState* __tstate = wxPyBeginAllowThreads();
9041 result = (arg1)->FindPageById(arg2);
9042
9043 wxPyEndAllowThreads(__tstate);
9044 if (PyErr_Occurred()) SWIG_fail;
9045 }
9046 {
9047 #if wxUSE_UNICODE
9048 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9049 #else
9050 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9051 #endif
9052 }
9053 return resultobj;
9054 fail:
9055 return NULL;
9056 }
9057
9058
9059 static PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *self, PyObject *args, PyObject *kwargs) {
9060 PyObject *resultobj;
9061 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9062 wxHtmlBookRecArray *result;
9063 PyObject * obj0 = 0 ;
9064 char *kwnames[] = {
9065 (char *) "self", NULL
9066 };
9067
9068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetBookRecArray",kwnames,&obj0)) goto fail;
9069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9070 {
9071 PyThreadState* __tstate = wxPyBeginAllowThreads();
9072 {
9073 wxHtmlBookRecArray const &_result_ref = (arg1)->GetBookRecArray();
9074 result = (wxHtmlBookRecArray *) &_result_ref;
9075 }
9076
9077 wxPyEndAllowThreads(__tstate);
9078 if (PyErr_Occurred()) SWIG_fail;
9079 }
9080 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlBookRecArray, 0);
9081 return resultobj;
9082 fail:
9083 return NULL;
9084 }
9085
9086
9087 static PyObject *_wrap_HtmlHelpData_GetContents(PyObject *self, PyObject *args, PyObject *kwargs) {
9088 PyObject *resultobj;
9089 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9090 wxHtmlContentsItem *result;
9091 PyObject * obj0 = 0 ;
9092 char *kwnames[] = {
9093 (char *) "self", NULL
9094 };
9095
9096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContents",kwnames,&obj0)) goto fail;
9097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9098 {
9099 PyThreadState* __tstate = wxPyBeginAllowThreads();
9100 result = (wxHtmlContentsItem *)(arg1)->GetContents();
9101
9102 wxPyEndAllowThreads(__tstate);
9103 if (PyErr_Occurred()) SWIG_fail;
9104 }
9105 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContentsItem, 0);
9106 return resultobj;
9107 fail:
9108 return NULL;
9109 }
9110
9111
9112 static PyObject *_wrap_HtmlHelpData_GetContentsCnt(PyObject *self, PyObject *args, PyObject *kwargs) {
9113 PyObject *resultobj;
9114 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9115 int result;
9116 PyObject * obj0 = 0 ;
9117 char *kwnames[] = {
9118 (char *) "self", NULL
9119 };
9120
9121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContentsCnt",kwnames,&obj0)) goto fail;
9122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9123 {
9124 PyThreadState* __tstate = wxPyBeginAllowThreads();
9125 result = (int)(arg1)->GetContentsCnt();
9126
9127 wxPyEndAllowThreads(__tstate);
9128 if (PyErr_Occurred()) SWIG_fail;
9129 }
9130 resultobj = SWIG_PyObj_FromInt((int)result);
9131 return resultobj;
9132 fail:
9133 return NULL;
9134 }
9135
9136
9137 static PyObject *_wrap_HtmlHelpData_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
9138 PyObject *resultobj;
9139 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9140 wxHtmlContentsItem *result;
9141 PyObject * obj0 = 0 ;
9142 char *kwnames[] = {
9143 (char *) "self", NULL
9144 };
9145
9146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndex",kwnames,&obj0)) goto fail;
9147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9148 {
9149 PyThreadState* __tstate = wxPyBeginAllowThreads();
9150 result = (wxHtmlContentsItem *)(arg1)->GetIndex();
9151
9152 wxPyEndAllowThreads(__tstate);
9153 if (PyErr_Occurred()) SWIG_fail;
9154 }
9155 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContentsItem, 0);
9156 return resultobj;
9157 fail:
9158 return NULL;
9159 }
9160
9161
9162 static PyObject *_wrap_HtmlHelpData_GetIndexCnt(PyObject *self, PyObject *args, PyObject *kwargs) {
9163 PyObject *resultobj;
9164 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9165 int result;
9166 PyObject * obj0 = 0 ;
9167 char *kwnames[] = {
9168 (char *) "self", NULL
9169 };
9170
9171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndexCnt",kwnames,&obj0)) goto fail;
9172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9173 {
9174 PyThreadState* __tstate = wxPyBeginAllowThreads();
9175 result = (int)(arg1)->GetIndexCnt();
9176
9177 wxPyEndAllowThreads(__tstate);
9178 if (PyErr_Occurred()) SWIG_fail;
9179 }
9180 resultobj = SWIG_PyObj_FromInt((int)result);
9181 return resultobj;
9182 fail:
9183 return NULL;
9184 }
9185
9186
9187 static PyObject * HtmlHelpData_swigregister(PyObject *self, PyObject *args) {
9188 PyObject *obj;
9189 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9190 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpData, obj);
9191 Py_INCREF(obj);
9192 return Py_BuildValue((char *)"");
9193 }
9194 static PyObject *_wrap_new_HtmlHelpFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
9195 PyObject *resultobj;
9196 wxWindow *arg1 = (wxWindow *) 0 ;
9197 int arg2 ;
9198 wxString const &arg3_defvalue = wxPyEmptyString ;
9199 wxString *arg3 = (wxString *) &arg3_defvalue ;
9200 int arg4 = (int) wxHF_DEFAULTSTYLE ;
9201 wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ;
9202 wxHtmlHelpFrame *result;
9203 bool temp3 = False ;
9204 PyObject * obj0 = 0 ;
9205 PyObject * obj1 = 0 ;
9206 PyObject * obj2 = 0 ;
9207 PyObject * obj3 = 0 ;
9208 PyObject * obj4 = 0 ;
9209 char *kwnames[] = {
9210 (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL
9211 };
9212
9213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
9214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9215 {
9216 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9217 if (PyErr_Occurred()) SWIG_fail;
9218 }
9219 if (obj2) {
9220 {
9221 arg3 = wxString_in_helper(obj2);
9222 if (arg3 == NULL) SWIG_fail;
9223 temp3 = True;
9224 }
9225 }
9226 if (obj3) {
9227 {
9228 arg4 = (int) SWIG_PyObj_AsInt(obj3);
9229 if (PyErr_Occurred()) SWIG_fail;
9230 }
9231 }
9232 if (obj4) {
9233 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9234 }
9235 {
9236 PyThreadState* __tstate = wxPyBeginAllowThreads();
9237 result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5);
9238
9239 wxPyEndAllowThreads(__tstate);
9240 if (PyErr_Occurred()) SWIG_fail;
9241 }
9242 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlHelpFrame, 1);
9243 {
9244 if (temp3)
9245 delete arg3;
9246 }
9247 return resultobj;
9248 fail:
9249 {
9250 if (temp3)
9251 delete arg3;
9252 }
9253 return NULL;
9254 }
9255
9256
9257 static PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
9258 PyObject *resultobj;
9259 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9260 wxHtmlHelpData *result;
9261 PyObject * obj0 = 0 ;
9262 char *kwnames[] = {
9263 (char *) "self", NULL
9264 };
9265
9266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_GetData",kwnames,&obj0)) goto fail;
9267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9268 {
9269 PyThreadState* __tstate = wxPyBeginAllowThreads();
9270 result = (wxHtmlHelpData *)(arg1)->GetData();
9271
9272 wxPyEndAllowThreads(__tstate);
9273 if (PyErr_Occurred()) SWIG_fail;
9274 }
9275 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlHelpData, 0);
9276 return resultobj;
9277 fail:
9278 return NULL;
9279 }
9280
9281
9282 static PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
9283 PyObject *resultobj;
9284 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9285 wxString *arg2 = 0 ;
9286 bool temp2 = False ;
9287 PyObject * obj0 = 0 ;
9288 PyObject * obj1 = 0 ;
9289 char *kwnames[] = {
9290 (char *) "self",(char *) "format", NULL
9291 };
9292
9293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
9294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9295 {
9296 arg2 = wxString_in_helper(obj1);
9297 if (arg2 == NULL) SWIG_fail;
9298 temp2 = True;
9299 }
9300 {
9301 PyThreadState* __tstate = wxPyBeginAllowThreads();
9302 (arg1)->SetTitleFormat((wxString const &)*arg2);
9303
9304 wxPyEndAllowThreads(__tstate);
9305 if (PyErr_Occurred()) SWIG_fail;
9306 }
9307 Py_INCREF(Py_None); resultobj = Py_None;
9308 {
9309 if (temp2)
9310 delete arg2;
9311 }
9312 return resultobj;
9313 fail:
9314 {
9315 if (temp2)
9316 delete arg2;
9317 }
9318 return NULL;
9319 }
9320
9321
9322 static PyObject *_wrap_HtmlHelpFrame_Display(PyObject *self, PyObject *args, PyObject *kwargs) {
9323 PyObject *resultobj;
9324 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9325 wxString *arg2 = 0 ;
9326 bool temp2 = False ;
9327 PyObject * obj0 = 0 ;
9328 PyObject * obj1 = 0 ;
9329 char *kwnames[] = {
9330 (char *) "self",(char *) "x", NULL
9331 };
9332
9333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_Display",kwnames,&obj0,&obj1)) goto fail;
9334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9335 {
9336 arg2 = wxString_in_helper(obj1);
9337 if (arg2 == NULL) SWIG_fail;
9338 temp2 = True;
9339 }
9340 {
9341 PyThreadState* __tstate = wxPyBeginAllowThreads();
9342 (arg1)->Display((wxString const &)*arg2);
9343
9344 wxPyEndAllowThreads(__tstate);
9345 if (PyErr_Occurred()) SWIG_fail;
9346 }
9347 Py_INCREF(Py_None); resultobj = Py_None;
9348 {
9349 if (temp2)
9350 delete arg2;
9351 }
9352 return resultobj;
9353 fail:
9354 {
9355 if (temp2)
9356 delete arg2;
9357 }
9358 return NULL;
9359 }
9360
9361
9362 static PyObject *_wrap_HtmlHelpFrame_DisplayID(PyObject *self, PyObject *args, PyObject *kwargs) {
9363 PyObject *resultobj;
9364 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9365 int arg2 ;
9366 PyObject * obj0 = 0 ;
9367 PyObject * obj1 = 0 ;
9368 char *kwnames[] = {
9369 (char *) "self",(char *) "id", NULL
9370 };
9371
9372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_DisplayID",kwnames,&obj0,&obj1)) goto fail;
9373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9374 {
9375 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9376 if (PyErr_Occurred()) SWIG_fail;
9377 }
9378 {
9379 PyThreadState* __tstate = wxPyBeginAllowThreads();
9380 (arg1)->Display(arg2);
9381
9382 wxPyEndAllowThreads(__tstate);
9383 if (PyErr_Occurred()) SWIG_fail;
9384 }
9385 Py_INCREF(Py_None); resultobj = Py_None;
9386 return resultobj;
9387 fail:
9388 return NULL;
9389 }
9390
9391
9392 static PyObject *_wrap_HtmlHelpFrame_DisplayContents(PyObject *self, PyObject *args, PyObject *kwargs) {
9393 PyObject *resultobj;
9394 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9395 PyObject * obj0 = 0 ;
9396 char *kwnames[] = {
9397 (char *) "self", NULL
9398 };
9399
9400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayContents",kwnames,&obj0)) goto fail;
9401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9402 {
9403 PyThreadState* __tstate = wxPyBeginAllowThreads();
9404 (arg1)->DisplayContents();
9405
9406 wxPyEndAllowThreads(__tstate);
9407 if (PyErr_Occurred()) SWIG_fail;
9408 }
9409 Py_INCREF(Py_None); resultobj = Py_None;
9410 return resultobj;
9411 fail:
9412 return NULL;
9413 }
9414
9415
9416 static PyObject *_wrap_HtmlHelpFrame_DisplayIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
9417 PyObject *resultobj;
9418 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9419 PyObject * obj0 = 0 ;
9420 char *kwnames[] = {
9421 (char *) "self", NULL
9422 };
9423
9424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayIndex",kwnames,&obj0)) goto fail;
9425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9426 {
9427 PyThreadState* __tstate = wxPyBeginAllowThreads();
9428 (arg1)->DisplayIndex();
9429
9430 wxPyEndAllowThreads(__tstate);
9431 if (PyErr_Occurred()) SWIG_fail;
9432 }
9433 Py_INCREF(Py_None); resultobj = Py_None;
9434 return resultobj;
9435 fail:
9436 return NULL;
9437 }
9438
9439
9440 static PyObject *_wrap_HtmlHelpFrame_KeywordSearch(PyObject *self, PyObject *args, PyObject *kwargs) {
9441 PyObject *resultobj;
9442 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9443 wxString *arg2 = 0 ;
9444 bool result;
9445 bool temp2 = False ;
9446 PyObject * obj0 = 0 ;
9447 PyObject * obj1 = 0 ;
9448 char *kwnames[] = {
9449 (char *) "self",(char *) "keyword", NULL
9450 };
9451
9452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_KeywordSearch",kwnames,&obj0,&obj1)) goto fail;
9453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9454 {
9455 arg2 = wxString_in_helper(obj1);
9456 if (arg2 == NULL) SWIG_fail;
9457 temp2 = True;
9458 }
9459 {
9460 PyThreadState* __tstate = wxPyBeginAllowThreads();
9461 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
9462
9463 wxPyEndAllowThreads(__tstate);
9464 if (PyErr_Occurred()) SWIG_fail;
9465 }
9466 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9467 {
9468 if (temp2)
9469 delete arg2;
9470 }
9471 return resultobj;
9472 fail:
9473 {
9474 if (temp2)
9475 delete arg2;
9476 }
9477 return NULL;
9478 }
9479
9480
9481 static PyObject *_wrap_HtmlHelpFrame_UseConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
9482 PyObject *resultobj;
9483 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9484 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
9485 wxString const &arg3_defvalue = wxPyEmptyString ;
9486 wxString *arg3 = (wxString *) &arg3_defvalue ;
9487 bool temp3 = False ;
9488 PyObject * obj0 = 0 ;
9489 PyObject * obj1 = 0 ;
9490 PyObject * obj2 = 0 ;
9491 char *kwnames[] = {
9492 (char *) "self",(char *) "config",(char *) "rootpath", NULL
9493 };
9494
9495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail;
9496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9497 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9498 if (obj2) {
9499 {
9500 arg3 = wxString_in_helper(obj2);
9501 if (arg3 == NULL) SWIG_fail;
9502 temp3 = True;
9503 }
9504 }
9505 {
9506 PyThreadState* __tstate = wxPyBeginAllowThreads();
9507 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
9508
9509 wxPyEndAllowThreads(__tstate);
9510 if (PyErr_Occurred()) SWIG_fail;
9511 }
9512 Py_INCREF(Py_None); resultobj = Py_None;
9513 {
9514 if (temp3)
9515 delete arg3;
9516 }
9517 return resultobj;
9518 fail:
9519 {
9520 if (temp3)
9521 delete arg3;
9522 }
9523 return NULL;
9524 }
9525
9526
9527 static PyObject *_wrap_HtmlHelpFrame_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
9528 PyObject *resultobj;
9529 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9530 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
9531 wxString arg3 = (wxString) wxPyEmptyString ;
9532 PyObject * obj0 = 0 ;
9533 PyObject * obj1 = 0 ;
9534 PyObject * obj2 = 0 ;
9535 char *kwnames[] = {
9536 (char *) "self",(char *) "cfg",(char *) "path", NULL
9537 };
9538
9539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
9540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9541 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9542 if (obj2) {
9543 {
9544 wxString* sptr = wxString_in_helper(obj2);
9545 if (sptr == NULL) SWIG_fail;
9546 arg3 = *sptr;
9547 delete sptr;
9548 }
9549 }
9550 {
9551 PyThreadState* __tstate = wxPyBeginAllowThreads();
9552 (arg1)->ReadCustomization(arg2,arg3);
9553
9554 wxPyEndAllowThreads(__tstate);
9555 if (PyErr_Occurred()) SWIG_fail;
9556 }
9557 Py_INCREF(Py_None); resultobj = Py_None;
9558 return resultobj;
9559 fail:
9560 return NULL;
9561 }
9562
9563
9564 static PyObject *_wrap_HtmlHelpFrame_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
9565 PyObject *resultobj;
9566 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9567 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
9568 wxString arg3 = (wxString) wxPyEmptyString ;
9569 PyObject * obj0 = 0 ;
9570 PyObject * obj1 = 0 ;
9571 PyObject * obj2 = 0 ;
9572 char *kwnames[] = {
9573 (char *) "self",(char *) "cfg",(char *) "path", NULL
9574 };
9575
9576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
9577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9578 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9579 if (obj2) {
9580 {
9581 wxString* sptr = wxString_in_helper(obj2);
9582 if (sptr == NULL) SWIG_fail;
9583 arg3 = *sptr;
9584 delete sptr;
9585 }
9586 }
9587 {
9588 PyThreadState* __tstate = wxPyBeginAllowThreads();
9589 (arg1)->WriteCustomization(arg2,arg3);
9590
9591 wxPyEndAllowThreads(__tstate);
9592 if (PyErr_Occurred()) SWIG_fail;
9593 }
9594 Py_INCREF(Py_None); resultobj = Py_None;
9595 return resultobj;
9596 fail:
9597 return NULL;
9598 }
9599
9600
9601 static PyObject * HtmlHelpFrame_swigregister(PyObject *self, PyObject *args) {
9602 PyObject *obj;
9603 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9604 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpFrame, obj);
9605 Py_INCREF(obj);
9606 return Py_BuildValue((char *)"");
9607 }
9608 static PyObject *_wrap_new_HtmlHelpController(PyObject *self, PyObject *args, PyObject *kwargs) {
9609 PyObject *resultobj;
9610 int arg1 = (int) wxHF_DEFAULTSTYLE ;
9611 wxHtmlHelpController *result;
9612 PyObject * obj0 = 0 ;
9613 char *kwnames[] = {
9614 (char *) "style", NULL
9615 };
9616
9617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlHelpController",kwnames,&obj0)) goto fail;
9618 if (obj0) {
9619 {
9620 arg1 = (int) SWIG_PyObj_AsInt(obj0);
9621 if (PyErr_Occurred()) SWIG_fail;
9622 }
9623 }
9624 {
9625 PyThreadState* __tstate = wxPyBeginAllowThreads();
9626 result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1);
9627
9628 wxPyEndAllowThreads(__tstate);
9629 if (PyErr_Occurred()) SWIG_fail;
9630 }
9631 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlHelpController, 1);
9632 return resultobj;
9633 fail:
9634 return NULL;
9635 }
9636
9637
9638 static PyObject *_wrap_delete_HtmlHelpController(PyObject *self, PyObject *args, PyObject *kwargs) {
9639 PyObject *resultobj;
9640 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
9641 PyObject * obj0 = 0 ;
9642 char *kwnames[] = {
9643 (char *) "self", NULL
9644 };
9645
9646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpController",kwnames,&obj0)) goto fail;
9647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9648 {
9649 PyThreadState* __tstate = wxPyBeginAllowThreads();
9650 delete arg1;
9651
9652 wxPyEndAllowThreads(__tstate);
9653 if (PyErr_Occurred()) SWIG_fail;
9654 }
9655 Py_INCREF(Py_None); resultobj = Py_None;
9656 return resultobj;
9657 fail:
9658 return NULL;
9659 }
9660
9661
9662 static PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
9663 PyObject *resultobj;
9664 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
9665 wxString *arg2 = 0 ;
9666 bool temp2 = False ;
9667 PyObject * obj0 = 0 ;
9668 PyObject * obj1 = 0 ;
9669 char *kwnames[] = {
9670 (char *) "self",(char *) "format", NULL
9671 };
9672
9673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
9674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9675 {
9676 arg2 = wxString_in_helper(obj1);
9677 if (arg2 == NULL) SWIG_fail;
9678 temp2 = True;
9679 }
9680 {
9681 PyThreadState* __tstate = wxPyBeginAllowThreads();
9682 (arg1)->SetTitleFormat((wxString const &)*arg2);
9683
9684 wxPyEndAllowThreads(__tstate);
9685 if (PyErr_Occurred()) SWIG_fail;
9686 }
9687 Py_INCREF(Py_None); resultobj = Py_None;
9688 {
9689 if (temp2)
9690 delete arg2;
9691 }
9692 return resultobj;
9693 fail:
9694 {
9695 if (temp2)
9696 delete arg2;
9697 }
9698 return NULL;
9699 }
9700
9701
9702 static PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *self, PyObject *args, PyObject *kwargs) {
9703 PyObject *resultobj;
9704 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
9705 wxString *arg2 = 0 ;
9706 bool temp2 = False ;
9707 PyObject * obj0 = 0 ;
9708 PyObject * obj1 = 0 ;
9709 char *kwnames[] = {
9710 (char *) "self",(char *) "path", NULL
9711 };
9712
9713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",kwnames,&obj0,&obj1)) goto fail;
9714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9715 {
9716 arg2 = wxString_in_helper(obj1);
9717 if (arg2 == NULL) SWIG_fail;
9718 temp2 = True;
9719 }
9720 {
9721 PyThreadState* __tstate = wxPyBeginAllowThreads();
9722 (arg1)->SetTempDir((wxString const &)*arg2);
9723
9724 wxPyEndAllowThreads(__tstate);
9725 if (PyErr_Occurred()) SWIG_fail;
9726 }
9727 Py_INCREF(Py_None); resultobj = Py_None;
9728 {
9729 if (temp2)
9730 delete arg2;
9731 }
9732 return resultobj;
9733 fail:
9734 {
9735 if (temp2)
9736 delete arg2;
9737 }
9738 return NULL;
9739 }
9740
9741
9742 static PyObject *_wrap_HtmlHelpController_AddBook(PyObject *self, PyObject *args, PyObject *kwargs) {
9743 PyObject *resultobj;
9744 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
9745 wxString *arg2 = 0 ;
9746 int arg3 = (int) False ;
9747 bool result;
9748 bool temp2 = False ;
9749 PyObject * obj0 = 0 ;
9750 PyObject * obj1 = 0 ;
9751 PyObject * obj2 = 0 ;
9752 char *kwnames[] = {
9753 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
9754 };
9755
9756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&obj2)) goto fail;
9757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9758 {
9759 arg2 = wxString_in_helper(obj1);
9760 if (arg2 == NULL) SWIG_fail;
9761 temp2 = True;
9762 }
9763 if (obj2) {
9764 {
9765 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9766 if (PyErr_Occurred()) SWIG_fail;
9767 }
9768 }
9769 {
9770 PyThreadState* __tstate = wxPyBeginAllowThreads();
9771 result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3);
9772
9773 wxPyEndAllowThreads(__tstate);
9774 if (PyErr_Occurred()) SWIG_fail;
9775 }
9776 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9777 {
9778 if (temp2)
9779 delete arg2;
9780 }
9781 return resultobj;
9782 fail:
9783 {
9784 if (temp2)
9785 delete arg2;
9786 }
9787 return NULL;
9788 }
9789
9790
9791 static PyObject *_wrap_HtmlHelpController_Display(PyObject *self, PyObject *args, PyObject *kwargs) {
9792 PyObject *resultobj;
9793 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
9794 wxString *arg2 = 0 ;
9795 bool temp2 = False ;
9796 PyObject * obj0 = 0 ;
9797 PyObject * obj1 = 0 ;
9798 char *kwnames[] = {
9799 (char *) "self",(char *) "x", NULL
9800 };
9801
9802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) goto fail;
9803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9804 {
9805 arg2 = wxString_in_helper(obj1);
9806 if (arg2 == NULL) SWIG_fail;
9807 temp2 = True;
9808 }
9809 {
9810 PyThreadState* __tstate = wxPyBeginAllowThreads();
9811 (arg1)->Display((wxString const &)*arg2);
9812
9813 wxPyEndAllowThreads(__tstate);
9814 if (PyErr_Occurred()) SWIG_fail;
9815 }
9816 Py_INCREF(Py_None); resultobj = Py_None;
9817 {
9818 if (temp2)
9819 delete arg2;
9820 }
9821 return resultobj;
9822 fail:
9823 {
9824 if (temp2)
9825 delete arg2;
9826 }
9827 return NULL;
9828 }
9829
9830
9831 static PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *self, PyObject *args, PyObject *kwargs) {
9832 PyObject *resultobj;
9833 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
9834 int arg2 ;
9835 PyObject * obj0 = 0 ;
9836 PyObject * obj1 = 0 ;
9837 char *kwnames[] = {
9838 (char *) "self",(char *) "id", NULL
9839 };
9840
9841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_DisplayID",kwnames,&obj0,&obj1)) goto fail;
9842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9843 {
9844 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9845 if (PyErr_Occurred()) SWIG_fail;
9846 }
9847 {
9848 PyThreadState* __tstate = wxPyBeginAllowThreads();
9849 (arg1)->Display(arg2);
9850
9851 wxPyEndAllowThreads(__tstate);
9852 if (PyErr_Occurred()) SWIG_fail;
9853 }
9854 Py_INCREF(Py_None); resultobj = Py_None;
9855 return resultobj;
9856 fail:
9857 return NULL;
9858 }
9859
9860
9861 static PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *self, PyObject *args, PyObject *kwargs) {
9862 PyObject *resultobj;
9863 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
9864 PyObject * obj0 = 0 ;
9865 char *kwnames[] = {
9866 (char *) "self", NULL
9867 };
9868
9869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayContents",kwnames,&obj0)) goto fail;
9870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9871 {
9872 PyThreadState* __tstate = wxPyBeginAllowThreads();
9873 (arg1)->DisplayContents();
9874
9875 wxPyEndAllowThreads(__tstate);
9876 if (PyErr_Occurred()) SWIG_fail;
9877 }
9878 Py_INCREF(Py_None); resultobj = Py_None;
9879 return resultobj;
9880 fail:
9881 return NULL;
9882 }
9883
9884
9885 static PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
9886 PyObject *resultobj;
9887 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
9888 PyObject * obj0 = 0 ;
9889 char *kwnames[] = {
9890 (char *) "self", NULL
9891 };
9892
9893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayIndex",kwnames,&obj0)) goto fail;
9894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9895 {
9896 PyThreadState* __tstate = wxPyBeginAllowThreads();
9897 (arg1)->DisplayIndex();
9898
9899 wxPyEndAllowThreads(__tstate);
9900 if (PyErr_Occurred()) SWIG_fail;
9901 }
9902 Py_INCREF(Py_None); resultobj = Py_None;
9903 return resultobj;
9904 fail:
9905 return NULL;
9906 }
9907
9908
9909 static PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *self, PyObject *args, PyObject *kwargs) {
9910 PyObject *resultobj;
9911 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
9912 wxString *arg2 = 0 ;
9913 bool result;
9914 bool temp2 = False ;
9915 PyObject * obj0 = 0 ;
9916 PyObject * obj1 = 0 ;
9917 char *kwnames[] = {
9918 (char *) "self",(char *) "keyword", NULL
9919 };
9920
9921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) goto fail;
9922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9923 {
9924 arg2 = wxString_in_helper(obj1);
9925 if (arg2 == NULL) SWIG_fail;
9926 temp2 = True;
9927 }
9928 {
9929 PyThreadState* __tstate = wxPyBeginAllowThreads();
9930 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
9931
9932 wxPyEndAllowThreads(__tstate);
9933 if (PyErr_Occurred()) SWIG_fail;
9934 }
9935 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9936 {
9937 if (temp2)
9938 delete arg2;
9939 }
9940 return resultobj;
9941 fail:
9942 {
9943 if (temp2)
9944 delete arg2;
9945 }
9946 return NULL;
9947 }
9948
9949
9950 static PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
9951 PyObject *resultobj;
9952 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
9953 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
9954 wxString const &arg3_defvalue = wxPyEmptyString ;
9955 wxString *arg3 = (wxString *) &arg3_defvalue ;
9956 bool temp3 = False ;
9957 PyObject * obj0 = 0 ;
9958 PyObject * obj1 = 0 ;
9959 PyObject * obj2 = 0 ;
9960 char *kwnames[] = {
9961 (char *) "self",(char *) "config",(char *) "rootpath", NULL
9962 };
9963
9964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail;
9965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9966 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9967 if (obj2) {
9968 {
9969 arg3 = wxString_in_helper(obj2);
9970 if (arg3 == NULL) SWIG_fail;
9971 temp3 = True;
9972 }
9973 }
9974 {
9975 PyThreadState* __tstate = wxPyBeginAllowThreads();
9976 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
9977
9978 wxPyEndAllowThreads(__tstate);
9979 if (PyErr_Occurred()) SWIG_fail;
9980 }
9981 Py_INCREF(Py_None); resultobj = Py_None;
9982 {
9983 if (temp3)
9984 delete arg3;
9985 }
9986 return resultobj;
9987 fail:
9988 {
9989 if (temp3)
9990 delete arg3;
9991 }
9992 return NULL;
9993 }
9994
9995
9996 static PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
9997 PyObject *resultobj;
9998 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
9999 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10000 wxString arg3 = (wxString) wxPyEmptyString ;
10001 PyObject * obj0 = 0 ;
10002 PyObject * obj1 = 0 ;
10003 PyObject * obj2 = 0 ;
10004 char *kwnames[] = {
10005 (char *) "self",(char *) "cfg",(char *) "path", NULL
10006 };
10007
10008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
10009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10010 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10011 if (obj2) {
10012 {
10013 wxString* sptr = wxString_in_helper(obj2);
10014 if (sptr == NULL) SWIG_fail;
10015 arg3 = *sptr;
10016 delete sptr;
10017 }
10018 }
10019 {
10020 PyThreadState* __tstate = wxPyBeginAllowThreads();
10021 (arg1)->ReadCustomization(arg2,arg3);
10022
10023 wxPyEndAllowThreads(__tstate);
10024 if (PyErr_Occurred()) SWIG_fail;
10025 }
10026 Py_INCREF(Py_None); resultobj = Py_None;
10027 return resultobj;
10028 fail:
10029 return NULL;
10030 }
10031
10032
10033 static PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
10034 PyObject *resultobj;
10035 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10036 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10037 wxString arg3 = (wxString) wxPyEmptyString ;
10038 PyObject * obj0 = 0 ;
10039 PyObject * obj1 = 0 ;
10040 PyObject * obj2 = 0 ;
10041 char *kwnames[] = {
10042 (char *) "self",(char *) "cfg",(char *) "path", NULL
10043 };
10044
10045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
10046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10047 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10048 if (obj2) {
10049 {
10050 wxString* sptr = wxString_in_helper(obj2);
10051 if (sptr == NULL) SWIG_fail;
10052 arg3 = *sptr;
10053 delete sptr;
10054 }
10055 }
10056 {
10057 PyThreadState* __tstate = wxPyBeginAllowThreads();
10058 (arg1)->WriteCustomization(arg2,arg3);
10059
10060 wxPyEndAllowThreads(__tstate);
10061 if (PyErr_Occurred()) SWIG_fail;
10062 }
10063 Py_INCREF(Py_None); resultobj = Py_None;
10064 return resultobj;
10065 fail:
10066 return NULL;
10067 }
10068
10069
10070 static PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
10071 PyObject *resultobj;
10072 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10073 wxHtmlHelpFrame *result;
10074 PyObject * obj0 = 0 ;
10075 char *kwnames[] = {
10076 (char *) "self", NULL
10077 };
10078
10079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_GetFrame",kwnames,&obj0)) goto fail;
10080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10081 {
10082 PyThreadState* __tstate = wxPyBeginAllowThreads();
10083 result = (wxHtmlHelpFrame *)(arg1)->GetFrame();
10084
10085 wxPyEndAllowThreads(__tstate);
10086 if (PyErr_Occurred()) SWIG_fail;
10087 }
10088 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlHelpFrame, 0);
10089 return resultobj;
10090 fail:
10091 return NULL;
10092 }
10093
10094
10095 static PyObject * HtmlHelpController_swigregister(PyObject *self, PyObject *args) {
10096 PyObject *obj;
10097 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10098 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpController, obj);
10099 Py_INCREF(obj);
10100 return Py_BuildValue((char *)"");
10101 }
10102 static PyMethodDef SwigMethods[] = {
10103 { (char *)"new_HtmlLinkInfo", (PyCFunction) _wrap_new_HtmlLinkInfo, METH_VARARGS | METH_KEYWORDS },
10104 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction) _wrap_HtmlLinkInfo_GetHref, METH_VARARGS | METH_KEYWORDS },
10105 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction) _wrap_HtmlLinkInfo_GetTarget, METH_VARARGS | METH_KEYWORDS },
10106 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction) _wrap_HtmlLinkInfo_GetEvent, METH_VARARGS | METH_KEYWORDS },
10107 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_GetHtmlCell, METH_VARARGS | METH_KEYWORDS },
10108 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction) _wrap_HtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS },
10109 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS },
10110 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister, METH_VARARGS },
10111 { (char *)"HtmlTag_GetName", (PyCFunction) _wrap_HtmlTag_GetName, METH_VARARGS | METH_KEYWORDS },
10112 { (char *)"HtmlTag_HasParam", (PyCFunction) _wrap_HtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS },
10113 { (char *)"HtmlTag_GetParam", (PyCFunction) _wrap_HtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS },
10114 { (char *)"HtmlTag_GetAllParams", (PyCFunction) _wrap_HtmlTag_GetAllParams, METH_VARARGS | METH_KEYWORDS },
10115 { (char *)"HtmlTag_HasEnding", (PyCFunction) _wrap_HtmlTag_HasEnding, METH_VARARGS | METH_KEYWORDS },
10116 { (char *)"HtmlTag_GetBeginPos", (PyCFunction) _wrap_HtmlTag_GetBeginPos, METH_VARARGS | METH_KEYWORDS },
10117 { (char *)"HtmlTag_GetEndPos1", (PyCFunction) _wrap_HtmlTag_GetEndPos1, METH_VARARGS | METH_KEYWORDS },
10118 { (char *)"HtmlTag_GetEndPos2", (PyCFunction) _wrap_HtmlTag_GetEndPos2, METH_VARARGS | METH_KEYWORDS },
10119 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister, METH_VARARGS },
10120 { (char *)"HtmlParser_SetFS", (PyCFunction) _wrap_HtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS },
10121 { (char *)"HtmlParser_GetFS", (PyCFunction) _wrap_HtmlParser_GetFS, METH_VARARGS | METH_KEYWORDS },
10122 { (char *)"HtmlParser_Parse", (PyCFunction) _wrap_HtmlParser_Parse, METH_VARARGS | METH_KEYWORDS },
10123 { (char *)"HtmlParser_InitParser", (PyCFunction) _wrap_HtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS },
10124 { (char *)"HtmlParser_DoneParser", (PyCFunction) _wrap_HtmlParser_DoneParser, METH_VARARGS | METH_KEYWORDS },
10125 { (char *)"HtmlParser_DoParsing", (PyCFunction) _wrap_HtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS },
10126 { (char *)"HtmlParser_StopParsing", (PyCFunction) _wrap_HtmlParser_StopParsing, METH_VARARGS | METH_KEYWORDS },
10127 { (char *)"HtmlParser_AddTagHandler", (PyCFunction) _wrap_HtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS },
10128 { (char *)"HtmlParser_GetSource", (PyCFunction) _wrap_HtmlParser_GetSource, METH_VARARGS | METH_KEYWORDS },
10129 { (char *)"HtmlParser_PushTagHandler", (PyCFunction) _wrap_HtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS },
10130 { (char *)"HtmlParser_PopTagHandler", (PyCFunction) _wrap_HtmlParser_PopTagHandler, METH_VARARGS | METH_KEYWORDS },
10131 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister, METH_VARARGS },
10132 { (char *)"new_HtmlWinParser", (PyCFunction) _wrap_new_HtmlWinParser, METH_VARARGS | METH_KEYWORDS },
10133 { (char *)"HtmlWinParser_SetDC", (PyCFunction) _wrap_HtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS },
10134 { (char *)"HtmlWinParser_GetDC", (PyCFunction) _wrap_HtmlWinParser_GetDC, METH_VARARGS | METH_KEYWORDS },
10135 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction) _wrap_HtmlWinParser_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
10136 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction) _wrap_HtmlWinParser_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
10137 { (char *)"HtmlWinParser_GetWindow", (PyCFunction) _wrap_HtmlWinParser_GetWindow, METH_VARARGS | METH_KEYWORDS },
10138 { (char *)"HtmlWinParser_SetFonts", (PyCFunction) _wrap_HtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS },
10139 { (char *)"HtmlWinParser_GetContainer", (PyCFunction) _wrap_HtmlWinParser_GetContainer, METH_VARARGS | METH_KEYWORDS },
10140 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction) _wrap_HtmlWinParser_OpenContainer, METH_VARARGS | METH_KEYWORDS },
10141 { (char *)"HtmlWinParser_SetContainer", (PyCFunction) _wrap_HtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS },
10142 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction) _wrap_HtmlWinParser_CloseContainer, METH_VARARGS | METH_KEYWORDS },
10143 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction) _wrap_HtmlWinParser_GetFontSize, METH_VARARGS | METH_KEYWORDS },
10144 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction) _wrap_HtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS },
10145 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction) _wrap_HtmlWinParser_GetFontBold, METH_VARARGS | METH_KEYWORDS },
10146 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction) _wrap_HtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS },
10147 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction) _wrap_HtmlWinParser_GetFontItalic, METH_VARARGS | METH_KEYWORDS },
10148 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction) _wrap_HtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS },
10149 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_GetFontUnderlined, METH_VARARGS | METH_KEYWORDS },
10150 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS },
10151 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction) _wrap_HtmlWinParser_GetFontFixed, METH_VARARGS | METH_KEYWORDS },
10152 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction) _wrap_HtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS },
10153 { (char *)"HtmlWinParser_GetAlign", (PyCFunction) _wrap_HtmlWinParser_GetAlign, METH_VARARGS | METH_KEYWORDS },
10154 { (char *)"HtmlWinParser_SetAlign", (PyCFunction) _wrap_HtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS },
10155 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction) _wrap_HtmlWinParser_GetLinkColor, METH_VARARGS | METH_KEYWORDS },
10156 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction) _wrap_HtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS },
10157 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction) _wrap_HtmlWinParser_GetActualColor, METH_VARARGS | METH_KEYWORDS },
10158 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction) _wrap_HtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS },
10159 { (char *)"HtmlWinParser_SetLink", (PyCFunction) _wrap_HtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS },
10160 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction) _wrap_HtmlWinParser_CreateCurrentFont, METH_VARARGS | METH_KEYWORDS },
10161 { (char *)"HtmlWinParser_GetLink", (PyCFunction) _wrap_HtmlWinParser_GetLink, METH_VARARGS | METH_KEYWORDS },
10162 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister, METH_VARARGS },
10163 { (char *)"new_HtmlTagHandler", (PyCFunction) _wrap_new_HtmlTagHandler, METH_VARARGS | METH_KEYWORDS },
10164 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
10165 { (char *)"HtmlTagHandler_SetParser", (PyCFunction) _wrap_HtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS },
10166 { (char *)"HtmlTagHandler_GetParser", (PyCFunction) _wrap_HtmlTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS },
10167 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction) _wrap_HtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS },
10168 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister, METH_VARARGS },
10169 { (char *)"new_HtmlWinTagHandler", (PyCFunction) _wrap_new_HtmlWinTagHandler, METH_VARARGS | METH_KEYWORDS },
10170 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
10171 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction) _wrap_HtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS },
10172 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction) _wrap_HtmlWinTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS },
10173 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_HtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS },
10174 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister, METH_VARARGS },
10175 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction) _wrap_HtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS },
10176 { (char *)"new_HtmlSelection", (PyCFunction) _wrap_new_HtmlSelection, METH_VARARGS | METH_KEYWORDS },
10177 { (char *)"delete_HtmlSelection", (PyCFunction) _wrap_delete_HtmlSelection, METH_VARARGS | METH_KEYWORDS },
10178 { (char *)"HtmlSelection_Set", (PyCFunction) _wrap_HtmlSelection_Set, METH_VARARGS | METH_KEYWORDS },
10179 { (char *)"HtmlSelection_SetCells", (PyCFunction) _wrap_HtmlSelection_SetCells, METH_VARARGS | METH_KEYWORDS },
10180 { (char *)"HtmlSelection_GetFromCell", (PyCFunction) _wrap_HtmlSelection_GetFromCell, METH_VARARGS | METH_KEYWORDS },
10181 { (char *)"HtmlSelection_GetToCell", (PyCFunction) _wrap_HtmlSelection_GetToCell, METH_VARARGS | METH_KEYWORDS },
10182 { (char *)"HtmlSelection_GetFromPos", (PyCFunction) _wrap_HtmlSelection_GetFromPos, METH_VARARGS | METH_KEYWORDS },
10183 { (char *)"HtmlSelection_GetToPos", (PyCFunction) _wrap_HtmlSelection_GetToPos, METH_VARARGS | METH_KEYWORDS },
10184 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_GetFromPrivPos, METH_VARARGS | METH_KEYWORDS },
10185 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction) _wrap_HtmlSelection_GetToPrivPos, METH_VARARGS | METH_KEYWORDS },
10186 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_SetFromPrivPos, METH_VARARGS | METH_KEYWORDS },
10187 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction) _wrap_HtmlSelection_SetToPrivPos, METH_VARARGS | METH_KEYWORDS },
10188 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction) _wrap_HtmlSelection_ClearPrivPos, METH_VARARGS | METH_KEYWORDS },
10189 { (char *)"HtmlSelection_IsEmpty", (PyCFunction) _wrap_HtmlSelection_IsEmpty, METH_VARARGS | METH_KEYWORDS },
10190 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister, METH_VARARGS },
10191 { (char *)"new_HtmlRenderingState", (PyCFunction) _wrap_new_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS },
10192 { (char *)"delete_HtmlRenderingState", (PyCFunction) _wrap_delete_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS },
10193 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_SetSelectionState, METH_VARARGS | METH_KEYWORDS },
10194 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_GetSelectionState, METH_VARARGS | METH_KEYWORDS },
10195 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction) _wrap_HtmlRenderingState_SetFgColour, METH_VARARGS | METH_KEYWORDS },
10196 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction) _wrap_HtmlRenderingState_GetFgColour, METH_VARARGS | METH_KEYWORDS },
10197 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction) _wrap_HtmlRenderingState_SetBgColour, METH_VARARGS | METH_KEYWORDS },
10198 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction) _wrap_HtmlRenderingState_GetBgColour, METH_VARARGS | METH_KEYWORDS },
10199 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister, METH_VARARGS },
10200 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS },
10201 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS },
10202 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister, METH_VARARGS },
10203 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS },
10204 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS },
10205 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister, METH_VARARGS },
10206 { (char *)"new_HtmlRenderingInfo", (PyCFunction) _wrap_new_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS },
10207 { (char *)"delete_HtmlRenderingInfo", (PyCFunction) _wrap_delete_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS },
10208 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_SetSelection, METH_VARARGS | METH_KEYWORDS },
10209 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_GetSelection, METH_VARARGS | METH_KEYWORDS },
10210 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_SetStyle, METH_VARARGS | METH_KEYWORDS },
10211 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_GetStyle, METH_VARARGS | METH_KEYWORDS },
10212 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction) _wrap_HtmlRenderingInfo_GetState, METH_VARARGS | METH_KEYWORDS },
10213 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister, METH_VARARGS },
10214 { (char *)"new_HtmlCell", (PyCFunction) _wrap_new_HtmlCell, METH_VARARGS | METH_KEYWORDS },
10215 { (char *)"HtmlCell_GetPosX", (PyCFunction) _wrap_HtmlCell_GetPosX, METH_VARARGS | METH_KEYWORDS },
10216 { (char *)"HtmlCell_GetPosY", (PyCFunction) _wrap_HtmlCell_GetPosY, METH_VARARGS | METH_KEYWORDS },
10217 { (char *)"HtmlCell_GetWidth", (PyCFunction) _wrap_HtmlCell_GetWidth, METH_VARARGS | METH_KEYWORDS },
10218 { (char *)"HtmlCell_GetHeight", (PyCFunction) _wrap_HtmlCell_GetHeight, METH_VARARGS | METH_KEYWORDS },
10219 { (char *)"HtmlCell_GetDescent", (PyCFunction) _wrap_HtmlCell_GetDescent, METH_VARARGS | METH_KEYWORDS },
10220 { (char *)"HtmlCell_GetId", (PyCFunction) _wrap_HtmlCell_GetId, METH_VARARGS | METH_KEYWORDS },
10221 { (char *)"HtmlCell_SetId", (PyCFunction) _wrap_HtmlCell_SetId, METH_VARARGS | METH_KEYWORDS },
10222 { (char *)"HtmlCell_GetLink", (PyCFunction) _wrap_HtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS },
10223 { (char *)"HtmlCell_GetNext", (PyCFunction) _wrap_HtmlCell_GetNext, METH_VARARGS | METH_KEYWORDS },
10224 { (char *)"HtmlCell_GetParent", (PyCFunction) _wrap_HtmlCell_GetParent, METH_VARARGS | METH_KEYWORDS },
10225 { (char *)"HtmlCell_GetFirstChild", (PyCFunction) _wrap_HtmlCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
10226 { (char *)"HtmlCell_GetCursor", (PyCFunction) _wrap_HtmlCell_GetCursor, METH_VARARGS | METH_KEYWORDS },
10227 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction) _wrap_HtmlCell_IsFormattingCell, METH_VARARGS | METH_KEYWORDS },
10228 { (char *)"HtmlCell_SetLink", (PyCFunction) _wrap_HtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS },
10229 { (char *)"HtmlCell_SetNext", (PyCFunction) _wrap_HtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS },
10230 { (char *)"HtmlCell_SetParent", (PyCFunction) _wrap_HtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS },
10231 { (char *)"HtmlCell_SetPos", (PyCFunction) _wrap_HtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS },
10232 { (char *)"HtmlCell_Layout", (PyCFunction) _wrap_HtmlCell_Layout, METH_VARARGS | METH_KEYWORDS },
10233 { (char *)"HtmlCell_Draw", (PyCFunction) _wrap_HtmlCell_Draw, METH_VARARGS | METH_KEYWORDS },
10234 { (char *)"HtmlCell_DrawInvisible", (PyCFunction) _wrap_HtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS },
10235 { (char *)"HtmlCell_Find", (PyCFunction) _wrap_HtmlCell_Find, METH_VARARGS | METH_KEYWORDS },
10236 { (char *)"HtmlCell_AdjustPagebreak", (PyCFunction) _wrap_HtmlCell_AdjustPagebreak, METH_VARARGS | METH_KEYWORDS },
10237 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_HtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS },
10238 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction) _wrap_HtmlCell_IsLinebreakAllowed, METH_VARARGS | METH_KEYWORDS },
10239 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction) _wrap_HtmlCell_IsTerminalCell, METH_VARARGS | METH_KEYWORDS },
10240 { (char *)"HtmlCell_FindCellByPos", (PyCFunction) _wrap_HtmlCell_FindCellByPos, METH_VARARGS | METH_KEYWORDS },
10241 { (char *)"HtmlCell_GetAbsPos", (PyCFunction) _wrap_HtmlCell_GetAbsPos, METH_VARARGS | METH_KEYWORDS },
10242 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction) _wrap_HtmlCell_GetFirstTerminal, METH_VARARGS | METH_KEYWORDS },
10243 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction) _wrap_HtmlCell_GetLastTerminal, METH_VARARGS | METH_KEYWORDS },
10244 { (char *)"HtmlCell_GetDepth", (PyCFunction) _wrap_HtmlCell_GetDepth, METH_VARARGS | METH_KEYWORDS },
10245 { (char *)"HtmlCell_IsBefore", (PyCFunction) _wrap_HtmlCell_IsBefore, METH_VARARGS | METH_KEYWORDS },
10246 { (char *)"HtmlCell_ConvertToText", (PyCFunction) _wrap_HtmlCell_ConvertToText, METH_VARARGS | METH_KEYWORDS },
10247 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister, METH_VARARGS },
10248 { (char *)"new_HtmlWordCell", (PyCFunction) _wrap_new_HtmlWordCell, METH_VARARGS | METH_KEYWORDS },
10249 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister, METH_VARARGS },
10250 { (char *)"new_HtmlContainerCell", (PyCFunction) _wrap_new_HtmlContainerCell, METH_VARARGS | METH_KEYWORDS },
10251 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction) _wrap_HtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS },
10252 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS },
10253 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_GetAlignHor, METH_VARARGS | METH_KEYWORDS },
10254 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS },
10255 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_GetAlignVer, METH_VARARGS | METH_KEYWORDS },
10256 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction) _wrap_HtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS },
10257 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction) _wrap_HtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS },
10258 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_HtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS },
10259 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction) _wrap_HtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS },
10260 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS },
10261 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS },
10262 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_HtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
10263 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10264 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10265 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction) _wrap_HtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS },
10266 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction) _wrap_HtmlContainerCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
10267 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister, METH_VARARGS },
10268 { (char *)"new_HtmlColourCell", (PyCFunction) _wrap_new_HtmlColourCell, METH_VARARGS | METH_KEYWORDS },
10269 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister, METH_VARARGS },
10270 { (char *)"new_HtmlFontCell", (PyCFunction) _wrap_new_HtmlFontCell, METH_VARARGS | METH_KEYWORDS },
10271 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister, METH_VARARGS },
10272 { (char *)"new_HtmlWidgetCell", (PyCFunction) _wrap_new_HtmlWidgetCell, METH_VARARGS | METH_KEYWORDS },
10273 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister, METH_VARARGS },
10274 { (char *)"new_HtmlFilter", (PyCFunction) _wrap_new_HtmlFilter, METH_VARARGS | METH_KEYWORDS },
10275 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction) _wrap_HtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
10276 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister, METH_VARARGS },
10277 { (char *)"new_HtmlWindow", (PyCFunction) _wrap_new_HtmlWindow, METH_VARARGS | METH_KEYWORDS },
10278 { (char *)"new_PreHtmlWindow", (PyCFunction) _wrap_new_PreHtmlWindow, METH_VARARGS | METH_KEYWORDS },
10279 { (char *)"HtmlWindow_Create", (PyCFunction) _wrap_HtmlWindow_Create, METH_VARARGS | METH_KEYWORDS },
10280 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction) _wrap_HtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
10281 { (char *)"HtmlWindow_SetPage", (PyCFunction) _wrap_HtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS },
10282 { (char *)"HtmlWindow_LoadPage", (PyCFunction) _wrap_HtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS },
10283 { (char *)"HtmlWindow_LoadFile", (PyCFunction) _wrap_HtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS },
10284 { (char *)"HtmlWindow_AppendToPage", (PyCFunction) _wrap_HtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS },
10285 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction) _wrap_HtmlWindow_GetOpenedPage, METH_VARARGS | METH_KEYWORDS },
10286 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction) _wrap_HtmlWindow_GetOpenedAnchor, METH_VARARGS | METH_KEYWORDS },
10287 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction) _wrap_HtmlWindow_GetOpenedPageTitle, METH_VARARGS | METH_KEYWORDS },
10288 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS },
10289 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_GetRelatedFrame, METH_VARARGS | METH_KEYWORDS },
10290 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_HtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS },
10291 { (char *)"HtmlWindow_SetFonts", (PyCFunction) _wrap_HtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS },
10292 { (char *)"HtmlWindow_SetTitle", (PyCFunction) _wrap_HtmlWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
10293 { (char *)"HtmlWindow_SetBorders", (PyCFunction) _wrap_HtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS },
10294 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction) _wrap_HtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS },
10295 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction) _wrap_HtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS },
10296 { (char *)"HtmlWindow_HistoryBack", (PyCFunction) _wrap_HtmlWindow_HistoryBack, METH_VARARGS | METH_KEYWORDS },
10297 { (char *)"HtmlWindow_HistoryForward", (PyCFunction) _wrap_HtmlWindow_HistoryForward, METH_VARARGS | METH_KEYWORDS },
10298 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction) _wrap_HtmlWindow_HistoryCanBack, METH_VARARGS | METH_KEYWORDS },
10299 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction) _wrap_HtmlWindow_HistoryCanForward, METH_VARARGS | METH_KEYWORDS },
10300 { (char *)"HtmlWindow_HistoryClear", (PyCFunction) _wrap_HtmlWindow_HistoryClear, METH_VARARGS | METH_KEYWORDS },
10301 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction) _wrap_HtmlWindow_GetInternalRepresentation, METH_VARARGS | METH_KEYWORDS },
10302 { (char *)"HtmlWindow_GetParser", (PyCFunction) _wrap_HtmlWindow_GetParser, METH_VARARGS | METH_KEYWORDS },
10303 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_HtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS },
10304 { (char *)"HtmlWindow_HasAnchor", (PyCFunction) _wrap_HtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS },
10305 { (char *)"HtmlWindow_AddFilter", (PyCFunction) _wrap_HtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS },
10306 { (char *)"HtmlWindow_SelectWord", (PyCFunction) _wrap_HtmlWindow_SelectWord, METH_VARARGS | METH_KEYWORDS },
10307 { (char *)"HtmlWindow_SelectLine", (PyCFunction) _wrap_HtmlWindow_SelectLine, METH_VARARGS | METH_KEYWORDS },
10308 { (char *)"HtmlWindow_SelectAll", (PyCFunction) _wrap_HtmlWindow_SelectAll, METH_VARARGS | METH_KEYWORDS },
10309 { (char *)"HtmlWindow_base_OnLinkClicked", (PyCFunction) _wrap_HtmlWindow_base_OnLinkClicked, METH_VARARGS | METH_KEYWORDS },
10310 { (char *)"HtmlWindow_base_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_base_OnSetTitle, METH_VARARGS | METH_KEYWORDS },
10311 { (char *)"HtmlWindow_base_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_base_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS },
10312 { (char *)"HtmlWindow_base_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_base_OnCellClicked, METH_VARARGS | METH_KEYWORDS },
10313 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS },
10314 { (char *)"new_HtmlDCRenderer", (PyCFunction) _wrap_new_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS },
10315 { (char *)"delete_HtmlDCRenderer", (PyCFunction) _wrap_delete_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS },
10316 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction) _wrap_HtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS },
10317 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction) _wrap_HtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS },
10318 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_HtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS },
10319 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS },
10320 { (char *)"HtmlDCRenderer_Render", (PyCFunction) _wrap_HtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS },
10321 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction) _wrap_HtmlDCRenderer_GetTotalHeight, METH_VARARGS | METH_KEYWORDS },
10322 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister, METH_VARARGS },
10323 { (char *)"new_HtmlPrintout", (PyCFunction) _wrap_new_HtmlPrintout, METH_VARARGS | METH_KEYWORDS },
10324 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction) _wrap_HtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS },
10325 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_HtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS },
10326 { (char *)"HtmlPrintout_SetHeader", (PyCFunction) _wrap_HtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS },
10327 { (char *)"HtmlPrintout_SetFooter", (PyCFunction) _wrap_HtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS },
10328 { (char *)"HtmlPrintout_SetFonts", (PyCFunction) _wrap_HtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS },
10329 { (char *)"HtmlPrintout_SetMargins", (PyCFunction) _wrap_HtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS },
10330 { (char *)"HtmlPrintout_AddFilter", (PyCFunction) _wrap_HtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS },
10331 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction) _wrap_HtmlPrintout_CleanUpStatics, METH_VARARGS | METH_KEYWORDS },
10332 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister, METH_VARARGS },
10333 { (char *)"new_HtmlEasyPrinting", (PyCFunction) _wrap_new_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS },
10334 { (char *)"delete_HtmlEasyPrinting", (PyCFunction) _wrap_delete_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS },
10335 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS },
10336 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS },
10337 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_HtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS },
10338 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction) _wrap_HtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS },
10339 { (char *)"HtmlEasyPrinting_PrinterSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PrinterSetup, METH_VARARGS | METH_KEYWORDS },
10340 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PageSetup, METH_VARARGS | METH_KEYWORDS },
10341 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_HtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS },
10342 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_HtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS },
10343 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS },
10344 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPrintData, METH_VARARGS | METH_KEYWORDS },
10345 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
10346 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister, METH_VARARGS },
10347 { (char *)"new_HtmlBookRecord", (PyCFunction) _wrap_new_HtmlBookRecord, METH_VARARGS | METH_KEYWORDS },
10348 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction) _wrap_HtmlBookRecord_GetBookFile, METH_VARARGS | METH_KEYWORDS },
10349 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction) _wrap_HtmlBookRecord_GetTitle, METH_VARARGS | METH_KEYWORDS },
10350 { (char *)"HtmlBookRecord_GetStart", (PyCFunction) _wrap_HtmlBookRecord_GetStart, METH_VARARGS | METH_KEYWORDS },
10351 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction) _wrap_HtmlBookRecord_GetBasePath, METH_VARARGS | METH_KEYWORDS },
10352 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_HtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS },
10353 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction) _wrap_HtmlBookRecord_GetContentsStart, METH_VARARGS | METH_KEYWORDS },
10354 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction) _wrap_HtmlBookRecord_GetContentsEnd, METH_VARARGS | METH_KEYWORDS },
10355 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction) _wrap_HtmlBookRecord_SetTitle, METH_VARARGS | METH_KEYWORDS },
10356 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction) _wrap_HtmlBookRecord_SetBasePath, METH_VARARGS | METH_KEYWORDS },
10357 { (char *)"HtmlBookRecord_SetStart", (PyCFunction) _wrap_HtmlBookRecord_SetStart, METH_VARARGS | METH_KEYWORDS },
10358 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction) _wrap_HtmlBookRecord_GetFullPath, METH_VARARGS | METH_KEYWORDS },
10359 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister, METH_VARARGS },
10360 { (char *)"HtmlContentsItem_GetLevel", (PyCFunction) _wrap_HtmlContentsItem_GetLevel, METH_VARARGS | METH_KEYWORDS },
10361 { (char *)"HtmlContentsItem_GetID", (PyCFunction) _wrap_HtmlContentsItem_GetID, METH_VARARGS | METH_KEYWORDS },
10362 { (char *)"HtmlContentsItem_GetName", (PyCFunction) _wrap_HtmlContentsItem_GetName, METH_VARARGS | METH_KEYWORDS },
10363 { (char *)"HtmlContentsItem_GetPage", (PyCFunction) _wrap_HtmlContentsItem_GetPage, METH_VARARGS | METH_KEYWORDS },
10364 { (char *)"HtmlContentsItem_GetBook", (PyCFunction) _wrap_HtmlContentsItem_GetBook, METH_VARARGS | METH_KEYWORDS },
10365 { (char *)"HtmlContentsItem_swigregister", HtmlContentsItem_swigregister, METH_VARARGS },
10366 { (char *)"HtmlSearchStatus_Search", (PyCFunction) _wrap_HtmlSearchStatus_Search, METH_VARARGS | METH_KEYWORDS },
10367 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction) _wrap_HtmlSearchStatus_IsActive, METH_VARARGS | METH_KEYWORDS },
10368 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetCurIndex, METH_VARARGS | METH_KEYWORDS },
10369 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetMaxIndex, METH_VARARGS | METH_KEYWORDS },
10370 { (char *)"HtmlSearchStatus_GetName", (PyCFunction) _wrap_HtmlSearchStatus_GetName, METH_VARARGS | METH_KEYWORDS },
10371 { (char *)"HtmlSearchStatus_GetContentsItem", (PyCFunction) _wrap_HtmlSearchStatus_GetContentsItem, METH_VARARGS | METH_KEYWORDS },
10372 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister, METH_VARARGS },
10373 { (char *)"new_HtmlHelpData", (PyCFunction) _wrap_new_HtmlHelpData, METH_VARARGS | METH_KEYWORDS },
10374 { (char *)"delete_HtmlHelpData", (PyCFunction) _wrap_delete_HtmlHelpData, METH_VARARGS | METH_KEYWORDS },
10375 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction) _wrap_HtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS },
10376 { (char *)"HtmlHelpData_AddBook", (PyCFunction) _wrap_HtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS },
10377 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction) _wrap_HtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS },
10378 { (char *)"HtmlHelpData_FindPageById", (PyCFunction) _wrap_HtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS },
10379 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction) _wrap_HtmlHelpData_GetBookRecArray, METH_VARARGS | METH_KEYWORDS },
10380 { (char *)"HtmlHelpData_GetContents", (PyCFunction) _wrap_HtmlHelpData_GetContents, METH_VARARGS | METH_KEYWORDS },
10381 { (char *)"HtmlHelpData_GetContentsCnt", (PyCFunction) _wrap_HtmlHelpData_GetContentsCnt, METH_VARARGS | METH_KEYWORDS },
10382 { (char *)"HtmlHelpData_GetIndex", (PyCFunction) _wrap_HtmlHelpData_GetIndex, METH_VARARGS | METH_KEYWORDS },
10383 { (char *)"HtmlHelpData_GetIndexCnt", (PyCFunction) _wrap_HtmlHelpData_GetIndexCnt, METH_VARARGS | METH_KEYWORDS },
10384 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister, METH_VARARGS },
10385 { (char *)"new_HtmlHelpFrame", (PyCFunction) _wrap_new_HtmlHelpFrame, METH_VARARGS | METH_KEYWORDS },
10386 { (char *)"HtmlHelpFrame_GetData", (PyCFunction) _wrap_HtmlHelpFrame_GetData, METH_VARARGS | METH_KEYWORDS },
10387 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS },
10388 { (char *)"HtmlHelpFrame_Display", (PyCFunction) _wrap_HtmlHelpFrame_Display, METH_VARARGS | METH_KEYWORDS },
10389 { (char *)"HtmlHelpFrame_DisplayID", (PyCFunction) _wrap_HtmlHelpFrame_DisplayID, METH_VARARGS | METH_KEYWORDS },
10390 { (char *)"HtmlHelpFrame_DisplayContents", (PyCFunction) _wrap_HtmlHelpFrame_DisplayContents, METH_VARARGS | METH_KEYWORDS },
10391 { (char *)"HtmlHelpFrame_DisplayIndex", (PyCFunction) _wrap_HtmlHelpFrame_DisplayIndex, METH_VARARGS | METH_KEYWORDS },
10392 { (char *)"HtmlHelpFrame_KeywordSearch", (PyCFunction) _wrap_HtmlHelpFrame_KeywordSearch, METH_VARARGS | METH_KEYWORDS },
10393 { (char *)"HtmlHelpFrame_UseConfig", (PyCFunction) _wrap_HtmlHelpFrame_UseConfig, METH_VARARGS | METH_KEYWORDS },
10394 { (char *)"HtmlHelpFrame_ReadCustomization", (PyCFunction) _wrap_HtmlHelpFrame_ReadCustomization, METH_VARARGS | METH_KEYWORDS },
10395 { (char *)"HtmlHelpFrame_WriteCustomization", (PyCFunction) _wrap_HtmlHelpFrame_WriteCustomization, METH_VARARGS | METH_KEYWORDS },
10396 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister, METH_VARARGS },
10397 { (char *)"new_HtmlHelpController", (PyCFunction) _wrap_new_HtmlHelpController, METH_VARARGS | METH_KEYWORDS },
10398 { (char *)"delete_HtmlHelpController", (PyCFunction) _wrap_delete_HtmlHelpController, METH_VARARGS | METH_KEYWORDS },
10399 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS },
10400 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction) _wrap_HtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS },
10401 { (char *)"HtmlHelpController_AddBook", (PyCFunction) _wrap_HtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS },
10402 { (char *)"HtmlHelpController_Display", (PyCFunction) _wrap_HtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS },
10403 { (char *)"HtmlHelpController_DisplayID", (PyCFunction) _wrap_HtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS },
10404 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction) _wrap_HtmlHelpController_DisplayContents, METH_VARARGS | METH_KEYWORDS },
10405 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction) _wrap_HtmlHelpController_DisplayIndex, METH_VARARGS | METH_KEYWORDS },
10406 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction) _wrap_HtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS },
10407 { (char *)"HtmlHelpController_UseConfig", (PyCFunction) _wrap_HtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS },
10408 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction) _wrap_HtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS },
10409 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction) _wrap_HtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS },
10410 { (char *)"HtmlHelpController_GetFrame", (PyCFunction) _wrap_HtmlHelpController_GetFrame, METH_VARARGS | METH_KEYWORDS },
10411 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister, METH_VARARGS },
10412 { NULL, NULL }
10413 };
10414
10415
10416 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
10417
10418 static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x) {
10419 return (void *)((wxHtmlRenderingStyle *) ((wxDefaultHtmlRenderingStyle *) x));
10420 }
10421 static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) {
10422 return (void *)((wxHtmlParser *) ((wxHtmlWinParser *) x));
10423 }
10424 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
10425 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
10426 }
10427 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
10428 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
10429 }
10430 static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) {
10431 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x));
10432 }
10433 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
10434 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
10435 }
10436 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
10437 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
10438 }
10439 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
10440 return (void *)((wxPanel *) ((wxPyPanel *) x));
10441 }
10442 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
10443 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
10444 }
10445 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
10446 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
10447 }
10448 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
10449 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
10450 }
10451 static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) {
10452 return (void *)((wxScrolledWindow *) ((wxPyHtmlWindow *) x));
10453 }
10454 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
10455 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
10456 }
10457 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
10458 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
10459 }
10460 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
10461 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
10462 }
10463 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
10464 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
10465 }
10466 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
10467 return (void *)((wxWindow *) ((wxMenuBar *) x));
10468 }
10469 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
10470 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
10471 }
10472 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
10473 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
10474 }
10475 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
10476 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
10477 }
10478 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
10479 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
10480 }
10481 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
10482 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
10483 }
10484 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
10485 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
10486 }
10487 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
10488 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
10489 }
10490 static void *_p_wxPanelTo_p_wxWindow(void *x) {
10491 return (void *)((wxWindow *) ((wxPanel *) x));
10492 }
10493 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
10494 return (void *)((wxWindow *) ((wxStatusBar *) x));
10495 }
10496 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
10497 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
10498 }
10499 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
10500 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
10501 }
10502 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
10503 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
10504 }
10505 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
10506 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
10507 }
10508 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
10509 return (void *)((wxWindow *) ((wxPopupWindow *) x));
10510 }
10511 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
10512 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
10513 }
10514 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
10515 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
10516 }
10517 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
10518 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
10519 }
10520 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
10521 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
10522 }
10523 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
10524 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
10525 }
10526 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
10527 return (void *)((wxWindow *) ((wxSashWindow *) x));
10528 }
10529 static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) {
10530 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
10531 }
10532 static void *_p_wxControlTo_p_wxWindow(void *x) {
10533 return (void *)((wxWindow *) ((wxControl *) x));
10534 }
10535 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
10536 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
10537 }
10538 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
10539 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
10540 }
10541 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
10542 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
10543 }
10544 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
10545 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
10546 }
10547 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
10548 return (void *)((wxWindow *) ((wxPyWindow *) x));
10549 }
10550 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
10551 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
10552 }
10553 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
10554 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
10555 }
10556 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
10557 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
10558 }
10559 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
10560 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
10561 }
10562 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
10563 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
10564 }
10565 static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) {
10566 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
10567 }
10568 static void *_p_wxFrameTo_p_wxWindow(void *x) {
10569 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
10570 }
10571 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
10572 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
10573 }
10574 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
10575 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
10576 }
10577 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
10578 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
10579 }
10580 static void *_p_wxDialogTo_p_wxWindow(void *x) {
10581 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
10582 }
10583 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
10584 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
10585 }
10586 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
10587 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
10588 }
10589 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
10590 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
10591 }
10592 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
10593 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
10594 }
10595 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
10596 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
10597 }
10598 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
10599 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
10600 }
10601 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
10602 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
10603 }
10604 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
10605 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
10606 }
10607 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
10608 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
10609 }
10610 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
10611 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
10612 }
10613 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
10614 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
10615 }
10616 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
10617 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
10618 }
10619 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
10620 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
10621 }
10622 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
10623 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
10624 }
10625 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
10626 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
10627 }
10628 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
10629 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
10630 }
10631 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
10632 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
10633 }
10634 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
10635 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
10636 }
10637 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
10638 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
10639 }
10640 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
10641 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
10642 }
10643 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
10644 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
10645 }
10646 static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) {
10647 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x));
10648 }
10649 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
10650 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
10651 }
10652 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
10653 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
10654 }
10655 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
10656 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
10657 }
10658 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
10659 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
10660 }
10661 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
10662 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
10663 }
10664 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
10665 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
10666 }
10667 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
10668 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
10669 }
10670 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
10671 return (void *)((wxObject *) ((wxSizerItem *) x));
10672 }
10673 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
10674 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
10675 }
10676 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
10677 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
10678 }
10679 static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) {
10680 return (void *)((wxObject *) ((wxHtmlLinkInfo *) x));
10681 }
10682 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
10683 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
10684 }
10685 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
10686 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
10687 }
10688 static void *_p_wxSizerTo_p_wxObject(void *x) {
10689 return (void *)((wxObject *) ((wxSizer *) x));
10690 }
10691 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
10692 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
10693 }
10694 static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) {
10695 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x));
10696 }
10697 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
10698 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
10699 }
10700 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
10701 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
10702 }
10703 static void *_p_wxEventTo_p_wxObject(void *x) {
10704 return (void *)((wxObject *) ((wxEvent *) x));
10705 }
10706 static void *_p_wxFontDataTo_p_wxObject(void *x) {
10707 return (void *)((wxObject *) ((wxFontData *) x));
10708 }
10709 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
10710 return (void *)((wxObject *) ((wxPrintData *) x));
10711 }
10712 static void *_p_wxHtmlTagTo_p_wxObject(void *x) {
10713 return (void *)((wxObject *) ((wxHtmlTag *) x));
10714 }
10715 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
10716 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
10717 }
10718 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
10719 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
10720 }
10721 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
10722 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
10723 }
10724 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
10725 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
10726 }
10727 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
10728 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
10729 }
10730 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
10731 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
10732 }
10733 static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) {
10734 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
10735 }
10736 static void *_p_wxHtmlCellTo_p_wxObject(void *x) {
10737 return (void *)((wxObject *) ((wxHtmlCell *) x));
10738 }
10739 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
10740 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
10741 }
10742 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
10743 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
10744 }
10745 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
10746 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
10747 }
10748 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
10749 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
10750 }
10751 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
10752 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
10753 }
10754 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
10755 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
10756 }
10757 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
10758 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
10759 }
10760 static void *_p_wxControlTo_p_wxObject(void *x) {
10761 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
10762 }
10763 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
10764 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
10765 }
10766 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
10767 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
10768 }
10769 static void *_p_wxFSFileTo_p_wxObject(void *x) {
10770 return (void *)((wxObject *) ((wxFSFile *) x));
10771 }
10772 static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) {
10773 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x));
10774 }
10775 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
10776 return (void *)((wxObject *) ((wxFindReplaceData *) x));
10777 }
10778 static void *_p_wxPySizerTo_p_wxObject(void *x) {
10779 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
10780 }
10781 static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) {
10782 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x));
10783 }
10784 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
10785 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
10786 }
10787 static void *_p_wxColourDataTo_p_wxObject(void *x) {
10788 return (void *)((wxObject *) ((wxColourData *) x));
10789 }
10790 static void *_p_wxPyEventTo_p_wxObject(void *x) {
10791 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
10792 }
10793 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
10794 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
10795 }
10796 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
10797 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
10798 }
10799 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
10800 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
10801 }
10802 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
10803 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
10804 }
10805 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
10806 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
10807 }
10808 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
10809 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
10810 }
10811 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
10812 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
10813 }
10814 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
10815 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
10816 }
10817 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
10818 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
10819 }
10820 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
10821 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
10822 }
10823 static void *_p_wxShowEventTo_p_wxObject(void *x) {
10824 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
10825 }
10826 static void *_p_wxPrinterTo_p_wxObject(void *x) {
10827 return (void *)((wxObject *) ((wxPrinter *) x));
10828 }
10829 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
10830 return (void *)((wxObject *) ((wxMenuItem *) x));
10831 }
10832 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
10833 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
10834 }
10835 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
10836 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
10837 }
10838 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
10839 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
10840 }
10841 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
10842 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
10843 }
10844 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
10845 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
10846 }
10847 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
10848 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
10849 }
10850 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
10851 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
10852 }
10853 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
10854 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
10855 }
10856 static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) {
10857 return (void *)((wxObject *) ((wxPyHtmlFilter *) x));
10858 }
10859 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
10860 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
10861 }
10862 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
10863 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
10864 }
10865 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
10866 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
10867 }
10868 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
10869 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
10870 }
10871 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
10872 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
10873 }
10874 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
10875 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
10876 }
10877 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
10878 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
10879 }
10880 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
10881 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
10882 }
10883 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
10884 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
10885 }
10886 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
10887 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
10888 }
10889 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
10890 return (void *)((wxObject *) ((wxImageHandler *) x));
10891 }
10892 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
10893 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
10894 }
10895 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
10896 return (void *)((wxObject *) ((wxEvtHandler *) x));
10897 }
10898 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
10899 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
10900 }
10901 static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) {
10902 return (void *)((wxObject *) ((wxPyHtmlTagHandler *) x));
10903 }
10904 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) {
10905 return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
10906 }
10907 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
10908 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
10909 }
10910 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
10911 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
10912 }
10913 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
10914 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
10915 }
10916 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
10917 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
10918 }
10919 static void *_p_wxImageTo_p_wxObject(void *x) {
10920 return (void *)((wxObject *) ((wxImage *) x));
10921 }
10922 static void *_p_wxFrameTo_p_wxObject(void *x) {
10923 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
10924 }
10925 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
10926 return (void *)((wxObject *) ((wxPyPrintout *) x));
10927 }
10928 static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) {
10929 return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x));
10930 }
10931 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
10932 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
10933 }
10934 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
10935 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
10936 }
10937 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
10938 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
10939 }
10940 static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x) {
10941 return (void *)((wxObject *) ((wxHtmlDCRenderer *) x));
10942 }
10943 static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) {
10944 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x));
10945 }
10946 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
10947 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
10948 }
10949 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
10950 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
10951 }
10952 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
10953 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
10954 }
10955 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
10956 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
10957 }
10958 static void *_p_wxWindowTo_p_wxObject(void *x) {
10959 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
10960 }
10961 static void *_p_wxMenuTo_p_wxObject(void *x) {
10962 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
10963 }
10964 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
10965 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
10966 }
10967 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
10968 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
10969 }
10970 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
10971 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
10972 }
10973 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
10974 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
10975 }
10976 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
10977 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
10978 }
10979 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
10980 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
10981 }
10982 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
10983 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
10984 }
10985 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
10986 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
10987 }
10988 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
10989 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
10990 }
10991 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
10992 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
10993 }
10994 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
10995 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
10996 }
10997 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
10998 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
10999 }
11000 static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) {
11001 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
11002 }
11003 static void *_p_wxSashEventTo_p_wxObject(void *x) {
11004 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
11005 }
11006 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
11007 return (void *)((wxObject *) ((wxPrintPreview *) x));
11008 }
11009 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
11010 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
11011 }
11012 static void *_p_wxPanelTo_p_wxObject(void *x) {
11013 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
11014 }
11015 static void *_p_wxDialogTo_p_wxObject(void *x) {
11016 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
11017 }
11018 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
11019 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
11020 }
11021 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
11022 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
11023 }
11024 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
11025 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
11026 }
11027 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
11028 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
11029 }
11030 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
11031 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
11032 }
11033 static void *_p_wxHtmlParserTo_p_wxObject(void *x) {
11034 return (void *)((wxObject *) ((wxHtmlParser *) x));
11035 }
11036 static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) {
11037 return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x));
11038 }
11039 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
11040 return (void *)((wxObject *) ((wxFileSystem *) x));
11041 }
11042 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
11043 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
11044 }
11045 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
11046 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
11047 }
11048 static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) {
11049 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x));
11050 }
11051 static void *_p_wxPyAppTo_p_wxObject(void *x) {
11052 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
11053 }
11054 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
11055 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
11056 }
11057 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
11058 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
11059 }
11060 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
11061 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
11062 }
11063 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
11064 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
11065 }
11066 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
11067 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
11068 }
11069 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
11070 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
11071 }
11072 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
11073 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11074 }
11075 static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) {
11076 return (void *)((wxObject *) ((wxHtmlEasyPrinting *) x));
11077 }
11078 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
11079 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
11080 }
11081 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
11082 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
11083 }
11084 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
11085 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
11086 }
11087 static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) {
11088 return (void *)((wxObject *) (wxEvtHandler *) ((wxHtmlHelpController *) x));
11089 }
11090 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
11091 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
11092 }
11093 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
11094 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
11095 }
11096 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
11097 return (void *)((wxObject *) ((wxPrintDialogData *) x));
11098 }
11099 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
11100 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
11101 }
11102 static void *_p_wxValidatorTo_p_wxObject(void *x) {
11103 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
11104 }
11105 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) {
11106 return (void *)((wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
11107 }
11108 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
11109 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
11110 }
11111 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
11112 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
11113 }
11114 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
11115 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
11116 }
11117 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
11118 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
11119 }
11120 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
11121 return (void *)((wxEvtHandler *) ((wxValidator *) x));
11122 }
11123 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
11124 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
11125 }
11126 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
11127 return (void *)((wxEvtHandler *) ((wxMenu *) x));
11128 }
11129 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
11130 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
11131 }
11132 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
11133 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
11134 }
11135 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
11136 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
11137 }
11138 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
11139 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
11140 }
11141 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
11142 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
11143 }
11144 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
11145 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
11146 }
11147 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
11148 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
11149 }
11150 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
11151 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
11152 }
11153 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
11154 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
11155 }
11156 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
11157 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
11158 }
11159 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
11160 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
11161 }
11162 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
11163 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
11164 }
11165 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
11166 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
11167 }
11168 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
11169 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
11170 }
11171 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
11172 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
11173 }
11174 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
11175 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
11176 }
11177 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
11178 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
11179 }
11180 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
11181 return (void *)((wxEvtHandler *) ((wxWindow *) x));
11182 }
11183 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
11184 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
11185 }
11186 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
11187 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
11188 }
11189 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
11190 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
11191 }
11192 static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) {
11193 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
11194 }
11195 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
11196 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
11197 }
11198 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
11199 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
11200 }
11201 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
11202 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11203 }
11204 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
11205 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
11206 }
11207 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
11208 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
11209 }
11210 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
11211 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
11212 }
11213 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
11214 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
11215 }
11216 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
11217 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
11218 }
11219 static void *_p_wxHtmlHelpControllerTo_p_wxEvtHandler(void *x) {
11220 return (void *)((wxEvtHandler *) ((wxHtmlHelpController *) x));
11221 }
11222 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
11223 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11224 }
11225 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
11226 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11227 }
11228 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
11229 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
11230 }
11231 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
11232 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11233 }
11234 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
11235 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
11236 }
11237 static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) {
11238 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
11239 }
11240 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
11241 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
11242 }
11243 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
11244 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
11245 }
11246 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
11247 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
11248 }
11249 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
11250 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
11251 }
11252 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
11253 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
11254 }
11255 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
11256 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
11257 }
11258 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
11259 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
11260 }
11261 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
11262 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
11263 }
11264 static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) {
11265 return (void *)((wxPyPrintout *) ((wxHtmlPrintout *) x));
11266 }
11267 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
11268 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
11269 }
11270 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
11271 return (void *)((wxFrame *) ((wxProgressDialog *) x));
11272 }
11273 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
11274 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
11275 }
11276 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
11277 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11278 }
11279 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
11280 return (void *)((wxFrame *) ((wxMiniFrame *) x));
11281 }
11282 static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) {
11283 return (void *)((wxFrame *) ((wxHtmlHelpFrame *) x));
11284 }
11285 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
11286 return (void *)((wxFrame *) ((wxSplashScreen *) x));
11287 }
11288 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
11289 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
11290 }
11291 static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) {
11292 return (void *)((wxHtmlCell *) ((wxHtmlContainerCell *) x));
11293 }
11294 static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) {
11295 return (void *)((wxHtmlCell *) ((wxHtmlWidgetCell *) x));
11296 }
11297 static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) {
11298 return (void *)((wxHtmlCell *) ((wxHtmlColourCell *) x));
11299 }
11300 static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) {
11301 return (void *)((wxHtmlCell *) ((wxHtmlWordCell *) x));
11302 }
11303 static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) {
11304 return (void *)((wxHtmlCell *) ((wxHtmlFontCell *) x));
11305 }
11306 static swig_type_info _swigt__p_wxHtmlDCRenderer[] = {{"_p_wxHtmlDCRenderer", 0, "wxHtmlDCRenderer *", 0},{"_p_wxHtmlDCRenderer"},{0}};
11307 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
11308 static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
11309 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
11310 static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle[] = {{"_p_wxDefaultHtmlRenderingStyle", 0, "wxDefaultHtmlRenderingStyle *", 0},{"_p_wxDefaultHtmlRenderingStyle"},{0}};
11311 static swig_type_info _swigt__p_wxHtmlRenderingStyle[] = {{"_p_wxHtmlRenderingStyle", 0, "wxHtmlRenderingStyle *", 0},{"_p_wxHtmlRenderingStyle"},{"_p_wxDefaultHtmlRenderingStyle", _p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle},{0}};
11312 static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
11313 static swig_type_info _swigt__p_wxHtmlWordCell[] = {{"_p_wxHtmlWordCell", 0, "wxHtmlWordCell *", 0},{"_p_wxHtmlWordCell"},{0}};
11314 static swig_type_info _swigt__p_wxHtmlHelpData[] = {{"_p_wxHtmlHelpData", 0, "wxHtmlHelpData *", 0},{"_p_wxHtmlHelpData"},{0}};
11315 static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
11316 static swig_type_info _swigt__p_wxHtmlWinParser[] = {{"_p_wxHtmlWinParser", 0, "wxHtmlWinParser *", 0},{"_p_wxHtmlWinParser"},{0}};
11317 static swig_type_info _swigt__p_wxHtmlParser[] = {{"_p_wxHtmlParser", 0, "wxHtmlParser *", 0},{"_p_wxHtmlParser"},{"_p_wxHtmlWinParser", _p_wxHtmlWinParserTo_p_wxHtmlParser},{0}};
11318 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}};
11319 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
11320 static swig_type_info _swigt__p_wxHtmlColourCell[] = {{"_p_wxHtmlColourCell", 0, "wxHtmlColourCell *", 0},{"_p_wxHtmlColourCell"},{0}};
11321 static swig_type_info _swigt__p_wxPyHtmlWindow[] = {{"_p_wxPyHtmlWindow", 0, "wxPyHtmlWindow *", 0},{"_p_wxPyHtmlWindow"},{0}};
11322 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}};
11323 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}};
11324 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}};
11325 static swig_type_info _swigt__p_wxHtmlFontCell[] = {{"_p_wxHtmlFontCell", 0, "wxHtmlFontCell *", 0},{"_p_wxHtmlFontCell"},{0}};
11326 static swig_type_info _swigt__p_wxHtmlEasyPrinting[] = {{"_p_wxHtmlEasyPrinting", 0, "wxHtmlEasyPrinting *", 0},{"_p_wxHtmlEasyPrinting"},{0}};
11327 static swig_type_info _swigt__p_wxHtmlSelection[] = {{"_p_wxHtmlSelection", 0, "wxHtmlSelection *", 0},{"_p_wxHtmlSelection"},{0}};
11328 static swig_type_info _swigt__p_wxHtmlRenderingInfo[] = {{"_p_wxHtmlRenderingInfo", 0, "wxHtmlRenderingInfo *", 0},{"_p_wxHtmlRenderingInfo"},{0}};
11329 static swig_type_info _swigt__p_wxHtmlWidgetCell[] = {{"_p_wxHtmlWidgetCell", 0, "wxHtmlWidgetCell *", 0},{"_p_wxHtmlWidgetCell"},{0}};
11330 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}};
11331 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
11332 static swig_type_info _swigt__p_wxPyHtmlWinTagHandler[] = {{"_p_wxPyHtmlWinTagHandler", 0, "wxPyHtmlWinTagHandler *", 0},{"_p_wxPyHtmlWinTagHandler"},{0}};
11333 static swig_type_info _swigt__p_wxHtmlTagHandler[] = {{"_p_wxHtmlTagHandler", 0, "wxHtmlTagHandler *", 0},{"_p_wxHtmlTagHandler"},{0}};
11334 static swig_type_info _swigt__p_wxPyHtmlTagHandler[] = {{"_p_wxPyHtmlTagHandler", 0, "wxPyHtmlTagHandler *", 0},{"_p_wxPyHtmlTagHandler"},{"_p_wxPyHtmlWinTagHandler", _p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler},{0}};
11335 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}};
11336 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
11337 static swig_type_info _swigt__p_wxHtmlHelpController[] = {{"_p_wxHtmlHelpController", 0, "wxHtmlHelpController *", 0},{"_p_wxHtmlHelpController"},{0}};
11338 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
11339 static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0},{"_p_wxFileSystem"},{0}};
11340 static swig_type_info _swigt__p_wxHtmlBookRecArray[] = {{"_p_wxHtmlBookRecArray", 0, "wxHtmlBookRecArray *", 0},{"_p_wxHtmlBookRecArray"},{0}};
11341 static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{"_p_wxHtmlPrintout", _p_wxHtmlPrintoutTo_p_wxPyPrintout},{0}};
11342 static swig_type_info _swigt__p_wxHtmlPrintout[] = {{"_p_wxHtmlPrintout", 0, "wxHtmlPrintout *", 0},{"_p_wxHtmlPrintout"},{0}};
11343 static swig_type_info _swigt__p_wxHtmlSearchStatus[] = {{"_p_wxHtmlSearchStatus", 0, "wxHtmlSearchStatus *", 0},{"_p_wxHtmlSearchStatus"},{0}};
11344 static swig_type_info _swigt__p_wxHtmlContentsItem[] = {{"_p_wxHtmlContentsItem", 0, "wxHtmlContentsItem *", 0},{"_p_wxHtmlContentsItem"},{0}};
11345 static swig_type_info _swigt__p_wxConfigBase[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0},{"_p_wxConfigBase"},{0}};
11346 static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
11347 static swig_type_info _swigt__p_wxHtmlHelpFrame[] = {{"_p_wxHtmlHelpFrame", 0, "wxHtmlHelpFrame *", 0},{"_p_wxHtmlHelpFrame"},{0}};
11348 static swig_type_info _swigt__p_wxHtmlRenderingState[] = {{"_p_wxHtmlRenderingState", 0, "wxHtmlRenderingState *", 0},{"_p_wxHtmlRenderingState"},{0}};
11349 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}};
11350 static swig_type_info _swigt__p_wxPyHtmlFilter[] = {{"_p_wxPyHtmlFilter", 0, "wxPyHtmlFilter *", 0},{"_p_wxPyHtmlFilter"},{0}};
11351 static swig_type_info _swigt__p_wxHtmlFilter[] = {{"_p_wxHtmlFilter", 0, "wxHtmlFilter *", 0},{"_p_wxHtmlFilter"},{0}};
11352 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}};
11353 static swig_type_info _swigt__p_wxHtmlContainerCell[] = {{"_p_wxHtmlContainerCell", 0, "wxHtmlContainerCell *", 0},{"_p_wxHtmlContainerCell"},{0}};
11354 static swig_type_info _swigt__p_wxHtmlTag[] = {{"_p_wxHtmlTag", 0, "wxHtmlTag *", 0},{"_p_wxHtmlTag"},{0}};
11355 static swig_type_info _swigt__p_wxHtmlLinkInfo[] = {{"_p_wxHtmlLinkInfo", 0, "wxHtmlLinkInfo *", 0},{"_p_wxHtmlLinkInfo"},{0}};
11356 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
11357 static swig_type_info _swigt__p_wxHtmlBookRecord[] = {{"_p_wxHtmlBookRecord", 0, "wxHtmlBookRecord *", 0},{"_p_wxHtmlBookRecord"},{0}};
11358
11359 static swig_type_info *swig_types_initial[] = {
11360 _swigt__p_wxHtmlDCRenderer,
11361 _swigt__p_wxColour,
11362 _swigt__p_wxPageSetupDialogData,
11363 _swigt__p_wxDC,
11364 _swigt__p_wxDefaultHtmlRenderingStyle,
11365 _swigt__p_wxHtmlRenderingStyle,
11366 _swigt__p_wxMouseEvent,
11367 _swigt__p_wxHtmlWordCell,
11368 _swigt__p_wxHtmlHelpData,
11369 _swigt__p_char,
11370 _swigt__p_wxHtmlWinParser,
11371 _swigt__p_wxHtmlParser,
11372 _swigt__p_wxPanel,
11373 _swigt__p_wxFont,
11374 _swigt__p_wxHtmlColourCell,
11375 _swigt__p_wxPyHtmlWindow,
11376 _swigt__p_wxScrolledWindow,
11377 _swigt__p_wxWindow,
11378 _swigt__p_wxTopLevelWindow,
11379 _swigt__p_wxHtmlFontCell,
11380 _swigt__p_wxHtmlEasyPrinting,
11381 _swigt__p_wxHtmlSelection,
11382 _swigt__p_wxHtmlRenderingInfo,
11383 _swigt__p_wxHtmlWidgetCell,
11384 _swigt__p_wxObject,
11385 _swigt__p_wxString,
11386 _swigt__p_wxPyHtmlWinTagHandler,
11387 _swigt__p_wxHtmlTagHandler,
11388 _swigt__p_wxPyHtmlTagHandler,
11389 _swigt__p_wxEvtHandler,
11390 _swigt__p_wxPoint,
11391 _swigt__p_wxHtmlHelpController,
11392 _swigt__p_wxCursor,
11393 _swigt__p_wxFileSystem,
11394 _swigt__p_wxHtmlBookRecArray,
11395 _swigt__p_wxPyPrintout,
11396 _swigt__p_wxHtmlPrintout,
11397 _swigt__p_wxHtmlSearchStatus,
11398 _swigt__p_wxHtmlContentsItem,
11399 _swigt__p_wxConfigBase,
11400 _swigt__p_wxPrintData,
11401 _swigt__p_wxHtmlHelpFrame,
11402 _swigt__p_wxHtmlRenderingState,
11403 _swigt__p_wxFrame,
11404 _swigt__p_wxPyHtmlFilter,
11405 _swigt__p_wxHtmlFilter,
11406 _swigt__p_wxHtmlCell,
11407 _swigt__p_wxHtmlContainerCell,
11408 _swigt__p_wxHtmlTag,
11409 _swigt__p_wxHtmlLinkInfo,
11410 _swigt__p_int,
11411 _swigt__p_wxHtmlBookRecord,
11412 0
11413 };
11414
11415
11416 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
11417
11418 static swig_const_info swig_const_table[] = {
11419 {0}};
11420
11421 #ifdef __cplusplus
11422 }
11423 #endif
11424
11425 #ifdef __cplusplus
11426 extern "C"
11427 #endif
11428 SWIGEXPORT(void) SWIG_init(void) {
11429 static PyObject *SWIG_globals = 0;
11430 static int typeinit = 0;
11431 PyObject *m, *d;
11432 int i;
11433 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
11434 m = Py_InitModule((char *) SWIG_name, SwigMethods);
11435 d = PyModule_GetDict(m);
11436
11437 if (!typeinit) {
11438 for (i = 0; swig_types_initial[i]; i++) {
11439 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
11440 }
11441 typeinit = 1;
11442 }
11443 SWIG_InstallConstants(d,swig_const_table);
11444
11445 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
11446 SWIG_addvarlink(SWIG_globals,(char*)"HtmlWindowNameStr",_wrap_HtmlWindowNameStr_get, _wrap_HtmlWindowNameStr_set);
11447 SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintoutTitleStr",_wrap_HtmlPrintoutTitleStr_get, _wrap_HtmlPrintoutTitleStr_set);
11448 SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintingTitleStr",_wrap_HtmlPrintingTitleStr_get, _wrap_HtmlPrintingTitleStr_set);
11449 PyDict_SetItemString(d,"HTML_ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxHTML_ALIGN_LEFT));
11450 PyDict_SetItemString(d,"HTML_ALIGN_CENTER", SWIG_PyObj_FromInt((int)wxHTML_ALIGN_CENTER));
11451 PyDict_SetItemString(d,"HTML_ALIGN_RIGHT", SWIG_PyObj_FromInt((int)wxHTML_ALIGN_RIGHT));
11452 PyDict_SetItemString(d,"HTML_ALIGN_BOTTOM", SWIG_PyObj_FromInt((int)wxHTML_ALIGN_BOTTOM));
11453 PyDict_SetItemString(d,"HTML_ALIGN_TOP", SWIG_PyObj_FromInt((int)wxHTML_ALIGN_TOP));
11454 PyDict_SetItemString(d,"HTML_CLR_FOREGROUND", SWIG_PyObj_FromInt((int)wxHTML_CLR_FOREGROUND));
11455 PyDict_SetItemString(d,"HTML_CLR_BACKGROUND", SWIG_PyObj_FromInt((int)wxHTML_CLR_BACKGROUND));
11456 PyDict_SetItemString(d,"HTML_UNITS_PIXELS", SWIG_PyObj_FromInt((int)wxHTML_UNITS_PIXELS));
11457 PyDict_SetItemString(d,"HTML_UNITS_PERCENT", SWIG_PyObj_FromInt((int)wxHTML_UNITS_PERCENT));
11458 PyDict_SetItemString(d,"HTML_INDENT_LEFT", SWIG_PyObj_FromInt((int)wxHTML_INDENT_LEFT));
11459 PyDict_SetItemString(d,"HTML_INDENT_RIGHT", SWIG_PyObj_FromInt((int)wxHTML_INDENT_RIGHT));
11460 PyDict_SetItemString(d,"HTML_INDENT_TOP", SWIG_PyObj_FromInt((int)wxHTML_INDENT_TOP));
11461 PyDict_SetItemString(d,"HTML_INDENT_BOTTOM", SWIG_PyObj_FromInt((int)wxHTML_INDENT_BOTTOM));
11462 PyDict_SetItemString(d,"HTML_INDENT_HORIZONTAL", SWIG_PyObj_FromInt((int)wxHTML_INDENT_HORIZONTAL));
11463 PyDict_SetItemString(d,"HTML_INDENT_VERTICAL", SWIG_PyObj_FromInt((int)wxHTML_INDENT_VERTICAL));
11464 PyDict_SetItemString(d,"HTML_INDENT_ALL", SWIG_PyObj_FromInt((int)wxHTML_INDENT_ALL));
11465 PyDict_SetItemString(d,"HTML_COND_ISANCHOR", SWIG_PyObj_FromInt((int)wxHTML_COND_ISANCHOR));
11466 PyDict_SetItemString(d,"HTML_COND_ISIMAGEMAP", SWIG_PyObj_FromInt((int)wxHTML_COND_ISIMAGEMAP));
11467 PyDict_SetItemString(d,"HTML_COND_USER", SWIG_PyObj_FromInt((int)wxHTML_COND_USER));
11468 PyDict_SetItemString(d,"HTML_FONT_SIZE_1", SWIG_PyObj_FromInt((int)wxHTML_FONT_SIZE_1));
11469 PyDict_SetItemString(d,"HTML_FONT_SIZE_2", SWIG_PyObj_FromInt((int)wxHTML_FONT_SIZE_2));
11470 PyDict_SetItemString(d,"HTML_FONT_SIZE_3", SWIG_PyObj_FromInt((int)wxHTML_FONT_SIZE_3));
11471 PyDict_SetItemString(d,"HTML_FONT_SIZE_4", SWIG_PyObj_FromInt((int)wxHTML_FONT_SIZE_4));
11472 PyDict_SetItemString(d,"HTML_FONT_SIZE_5", SWIG_PyObj_FromInt((int)wxHTML_FONT_SIZE_5));
11473 PyDict_SetItemString(d,"HTML_FONT_SIZE_6", SWIG_PyObj_FromInt((int)wxHTML_FONT_SIZE_6));
11474 PyDict_SetItemString(d,"HTML_FONT_SIZE_7", SWIG_PyObj_FromInt((int)wxHTML_FONT_SIZE_7));
11475 PyDict_SetItemString(d,"HW_SCROLLBAR_NEVER", SWIG_PyObj_FromInt((int)wxHW_SCROLLBAR_NEVER));
11476 PyDict_SetItemString(d,"HW_SCROLLBAR_AUTO", SWIG_PyObj_FromInt((int)wxHW_SCROLLBAR_AUTO));
11477 PyDict_SetItemString(d,"HW_NO_SELECTION", SWIG_PyObj_FromInt((int)wxHW_NO_SELECTION));
11478 PyDict_SetItemString(d,"HW_DEFAULT_STYLE", SWIG_PyObj_FromInt((int)wxHW_DEFAULT_STYLE));
11479 PyDict_SetItemString(d,"HTML_OPEN", SWIG_PyObj_FromInt((int)wxHTML_OPEN));
11480 PyDict_SetItemString(d,"HTML_BLOCK", SWIG_PyObj_FromInt((int)wxHTML_BLOCK));
11481 PyDict_SetItemString(d,"HTML_REDIRECT", SWIG_PyObj_FromInt((int)wxHTML_REDIRECT));
11482 PyDict_SetItemString(d,"HTML_URL_PAGE", SWIG_PyObj_FromInt((int)wxHTML_URL_PAGE));
11483 PyDict_SetItemString(d,"HTML_URL_IMAGE", SWIG_PyObj_FromInt((int)wxHTML_URL_IMAGE));
11484 PyDict_SetItemString(d,"HTML_URL_OTHER", SWIG_PyObj_FromInt((int)wxHTML_URL_OTHER));
11485 PyDict_SetItemString(d,"HTML_SEL_OUT", SWIG_PyObj_FromInt((int)wxHTML_SEL_OUT));
11486 PyDict_SetItemString(d,"HTML_SEL_IN", SWIG_PyObj_FromInt((int)wxHTML_SEL_IN));
11487 PyDict_SetItemString(d,"HTML_SEL_CHANGING", SWIG_PyObj_FromInt((int)wxHTML_SEL_CHANGING));
11488 PyDict_SetItemString(d,"HTML_FIND_EXACT", SWIG_PyObj_FromInt((int)wxHTML_FIND_EXACT));
11489 PyDict_SetItemString(d,"HTML_FIND_NEAREST_BEFORE", SWIG_PyObj_FromInt((int)wxHTML_FIND_NEAREST_BEFORE));
11490 PyDict_SetItemString(d,"HTML_FIND_NEAREST_AFTER", SWIG_PyObj_FromInt((int)wxHTML_FIND_NEAREST_AFTER));
11491 PyDict_SetItemString(d,"PAGE_ODD", SWIG_PyObj_FromInt((int)wxPAGE_ODD));
11492 PyDict_SetItemString(d,"PAGE_EVEN", SWIG_PyObj_FromInt((int)wxPAGE_EVEN));
11493 PyDict_SetItemString(d,"PAGE_ALL", SWIG_PyObj_FromInt((int)wxPAGE_ALL));
11494 PyDict_SetItemString(d,"HF_TOOLBAR", SWIG_PyObj_FromInt((int)wxHF_TOOLBAR));
11495 PyDict_SetItemString(d,"HF_FLATTOOLBAR", SWIG_PyObj_FromInt((int)wxHF_FLATTOOLBAR));
11496 PyDict_SetItemString(d,"HF_CONTENTS", SWIG_PyObj_FromInt((int)wxHF_CONTENTS));
11497 PyDict_SetItemString(d,"HF_INDEX", SWIG_PyObj_FromInt((int)wxHF_INDEX));
11498 PyDict_SetItemString(d,"HF_SEARCH", SWIG_PyObj_FromInt((int)wxHF_SEARCH));
11499 PyDict_SetItemString(d,"HF_BOOKMARKS", SWIG_PyObj_FromInt((int)wxHF_BOOKMARKS));
11500 PyDict_SetItemString(d,"HF_OPENFILES", SWIG_PyObj_FromInt((int)wxHF_OPENFILES));
11501 PyDict_SetItemString(d,"HF_PRINT", SWIG_PyObj_FromInt((int)wxHF_PRINT));
11502 PyDict_SetItemString(d,"HF_DEFAULTSTYLE", SWIG_PyObj_FromInt((int)wxHF_DEFAULTSTYLE));
11503
11504 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
11505 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
11506 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
11507 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");
11508
11509 }
11510