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