1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
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 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
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
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
128 /***********************************************************************
129 * pyrun.swg for wxPython
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
136 ************************************************************************/
144 #define SWIG_STATIC_INLINE static inline
146 #define SWIG_STATIC_INLINE static
149 SWIG_STATIC_INLINE
long
150 SPyObj_AsLong(PyObject
* obj
)
152 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
155 SWIG_STATIC_INLINE
unsigned long
156 SPyObj_AsUnsignedLong(PyObject
* obj
)
158 if (PyLong_Check(obj
)) {
159 return PyLong_AsUnsignedLong(obj
);
161 long i
= PyInt_AsLong(obj
);
162 if ( !PyErr_Occurred() && (i
< 0)) {
163 PyErr_SetString(PyExc_TypeError
, "negative value for unsigned type");
169 #if !defined(_MSC_VER)
170 SWIG_STATIC_INLINE PyObject
*
171 SPyObj_FromLongLong(long long value
)
173 return (value
> (long)(LONG_MAX
)) ?
174 PyLong_FromLongLong(value
) : PyInt_FromLong((long)value
);
178 SWIG_STATIC_INLINE PyObject
*
179 SPyObj_FromUnsignedLong(unsigned long value
)
181 return (value
> (unsigned long)(LONG_MAX
)) ?
182 PyLong_FromUnsignedLong(value
) : PyInt_FromLong((long)value
);
185 #if !defined(_MSC_VER)
186 SWIG_STATIC_INLINE PyObject
*
187 SPyObj_FromUnsignedLongLong(unsigned long long value
)
189 return (value
> (unsigned long long)(LONG_MAX
)) ?
190 PyLong_FromUnsignedLongLong(value
) : PyInt_FromLong((long)value
);
194 SWIG_STATIC_INLINE
long
195 SPyObj_AsLongInRange(PyObject
* obj
, long min_value
, long max_value
)
197 long value
= SPyObj_AsLong(obj
);
198 if (!PyErr_Occurred()) {
199 if (value
< min_value
) {
200 PyErr_SetString(PyExc_OverflowError
,"value is smaller than type minimum");
201 } else if (value
> max_value
) {
202 PyErr_SetString(PyExc_OverflowError
,"value is greater than type maximum");
208 SWIG_STATIC_INLINE
unsigned long
209 SPyObj_AsUnsignedLongInRange(PyObject
*obj
, unsigned long max_value
)
211 unsigned long value
= SPyObj_AsUnsignedLong(obj
);
212 if (!PyErr_Occurred()) {
213 if (value
> max_value
) {
214 PyErr_SetString(PyExc_OverflowError
,"value is greater than type maximum");
220 SWIG_STATIC_INLINE
signed char
221 SPyObj_AsSignedChar(PyObject
*obj
) {
222 return (signed char)SPyObj_AsLongInRange(obj
, SCHAR_MIN
, SCHAR_MAX
);
225 SWIG_STATIC_INLINE
short
226 SPyObj_AsShort(PyObject
*obj
) {
227 return (short)SPyObj_AsLongInRange(obj
, SHRT_MIN
, SHRT_MAX
);
230 SWIG_STATIC_INLINE
int
231 SPyObj_AsInt(PyObject
*obj
) {
232 return SPyObj_AsLongInRange(obj
, INT_MIN
, INT_MAX
);
235 SWIG_STATIC_INLINE
unsigned char
236 SPyObj_AsUnsignedChar(PyObject
*obj
) {
237 return (unsigned char)SPyObj_AsUnsignedLongInRange(obj
, UCHAR_MAX
);
240 SWIG_STATIC_INLINE
unsigned short
241 SPyObj_AsUnsignedShort(PyObject
*obj
) {
242 return (unsigned short)SPyObj_AsUnsignedLongInRange(obj
, USHRT_MAX
);
245 SWIG_STATIC_INLINE
unsigned int
246 SPyObj_AsUnsignedInt(PyObject
*obj
) {
247 return SPyObj_AsUnsignedLongInRange(obj
, UINT_MAX
);
250 #if !defined(_MSC_VER)
251 SWIG_STATIC_INLINE
long long
252 SPyObj_AsLongLong(PyObject
*obj
) {
253 return PyInt_Check(obj
) ?
254 PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
);
257 SWIG_STATIC_INLINE
unsigned long long
258 SPyObj_AsUnsignedLongLong(PyObject
*obj
) {
259 return PyLong_Check(obj
) ?
260 PyLong_AsUnsignedLongLong(obj
) : SPyObj_AsUnsignedLong(obj
);
264 SWIG_STATIC_INLINE
double
265 SPyObj_AsDouble(PyObject
*obj
) {
266 return (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
267 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
270 SWIG_STATIC_INLINE
float
271 SPyObj_AsFloat(PyObject
*obj
) {
272 double value
= SPyObj_AsDouble(obj
);
273 if (!PyErr_Occurred()) {
274 if (value
< FLT_MIN
) {
275 PyErr_SetString(PyExc_OverflowError
,"float is smaller than flt_min");
276 } else if (value
> FLT_MAX
) {
277 PyErr_SetString(PyExc_OverflowError
,"float is greater than flt_max");
280 return (float) value
;
283 SWIG_STATIC_INLINE
char
284 SPyObj_AsChar(PyObject
*obj
) {
285 char c
= (PyString_Check(obj
) && PyString_Size(obj
) == 1) ?
286 PyString_AsString(obj
)[0]
287 : (char) SPyObj_AsLongInRange(obj
, CHAR_MIN
, CHAR_MAX
);
288 if (PyErr_Occurred()) {
290 PyErr_SetString(PyExc_TypeError
, "a char is required");
295 SWIG_STATIC_INLINE PyObject
*
296 SPyObj_FromChar(char c
) {
297 return PyString_FromStringAndSize(&c
,1);
300 SWIG_STATIC_INLINE PyObject
*
301 SPyObj_FromCharPtr(const char* cptr
) {
302 return cptr
? PyString_FromString(cptr
) : Py_BuildValue((char*)"");
305 SWIG_STATIC_INLINE
int
306 SPyObj_AsBool(PyObject
*obj
) {
307 return SPyObj_AsLong
/*Long*/(obj
) ? 1 : 0;
316 #define SWIG_PY_INT 1
317 #define SWIG_PY_FLOAT 2
318 #define SWIG_PY_STRING 3
319 #define SWIG_PY_POINTER 4
320 #define SWIG_PY_BINARY 5
322 /* Flags for pointer conversion */
324 #define SWIG_POINTER_EXCEPTION 0x1
325 #define SWIG_POINTER_DISOWN 0x2
327 /* Exception handling in wrappers */
328 #define SWIG_fail goto fail
330 /* Constant information structure */
331 typedef struct swig_const_info
{
337 swig_type_info
**ptype
;
340 /* Common SWIG API */
341 #define SWIG_ConvertPtr(obj, pp, type, flags) \
342 SWIG_Python_ConvertPtr(obj, pp, type, flags)
343 #define SWIG_NewPointerObj(p, type, flags) \
344 SWIG_Python_NewPointerObj(p, type, flags)
345 #define SWIG_MustGetPtr(p, type, argnum, flags) \
346 SWIG_Python_MustGetPtr(p, type, argnum, flags)
348 /* Python-specific SWIG API */
349 #define SWIG_newvarlink() \
350 SWIG_Python_newvarlink()
351 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
352 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
353 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
354 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
355 #define SWIG_NewPackedObj(ptr, sz, type) \
356 SWIG_Python_NewPackedObj(ptr, sz, type)
357 #define SWIG_InstallConstants(d, constants) \
358 SWIG_Python_InstallConstants(d, constants)
361 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
362 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
363 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
364 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
365 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
366 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
367 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
368 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
372 /* Contract support */
374 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
382 /* -------- TYPES TABLE (BEGIN) -------- */
384 #define SWIGTYPE_p_wxHtmlDCRenderer swig_types[0]
385 #define SWIGTYPE_p_wxColour swig_types[1]
386 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[2]
387 #define SWIGTYPE_p_wxDC swig_types[3]
388 #define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[4]
389 #define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[5]
390 #define SWIGTYPE_p_wxMouseEvent swig_types[6]
391 #define SWIGTYPE_p_wxHtmlWordCell swig_types[7]
392 #define SWIGTYPE_p_wxHtmlHelpData swig_types[8]
393 #define SWIGTYPE_p_wxHtmlWinParser swig_types[9]
394 #define SWIGTYPE_p_wxHtmlParser swig_types[10]
395 #define SWIGTYPE_p_wxPanel swig_types[11]
396 #define SWIGTYPE_p_wxHtmlFontCell swig_types[12]
397 #define SWIGTYPE_p_wxFont swig_types[13]
398 #define SWIGTYPE_p_wxHtmlColourCell swig_types[14]
399 #define SWIGTYPE_p_wxPyHtmlWindow swig_types[15]
400 #define SWIGTYPE_p_wxScrolledWindow swig_types[16]
401 #define SWIGTYPE_p_wxWindow swig_types[17]
402 #define SWIGTYPE_p_wxTopLevelWindow swig_types[18]
403 #define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[19]
404 #define SWIGTYPE_p_wxHtmlSelection swig_types[20]
405 #define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[21]
406 #define SWIGTYPE_p_wxHtmlWidgetCell swig_types[22]
407 #define SWIGTYPE_p_wxObject swig_types[23]
408 #define SWIGTYPE_p_wxString swig_types[24]
409 #define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[25]
410 #define SWIGTYPE_p_wxHtmlTagHandler swig_types[26]
411 #define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[27]
412 #define SWIGTYPE_p_wxEvtHandler swig_types[28]
413 #define SWIGTYPE_p_wxPoint swig_types[29]
414 #define SWIGTYPE_p_wxHtmlHelpController swig_types[30]
415 #define SWIGTYPE_p_wxCursor swig_types[31]
416 #define SWIGTYPE_p_wxFileSystem swig_types[32]
417 #define SWIGTYPE_p_wxHtmlBookRecArray swig_types[33]
418 #define SWIGTYPE_p_wxPyPrintout swig_types[34]
419 #define SWIGTYPE_p_wxHtmlPrintout swig_types[35]
420 #define SWIGTYPE_p_wxHtmlSearchStatus swig_types[36]
421 #define SWIGTYPE_p_wxHtmlContentsItem swig_types[37]
422 #define SWIGTYPE_p_wxConfigBase swig_types[38]
423 #define SWIGTYPE_p_wxPrintData swig_types[39]
424 #define SWIGTYPE_p_wxHtmlHelpFrame swig_types[40]
425 #define SWIGTYPE_p_wxHtmlRenderingState swig_types[41]
426 #define SWIGTYPE_p_wxFrame swig_types[42]
427 #define SWIGTYPE_p_wxPyHtmlFilter swig_types[43]
428 #define SWIGTYPE_p_wxHtmlFilter swig_types[44]
429 #define SWIGTYPE_p_wxHtmlCell swig_types[45]
430 #define SWIGTYPE_p_wxHtmlContainerCell swig_types[46]
431 #define SWIGTYPE_p_wxHtmlTag swig_types[47]
432 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[48]
433 #define SWIGTYPE_p_int swig_types[49]
434 #define SWIGTYPE_p_wxHtmlBookRecord swig_types[50]
435 static swig_type_info
*swig_types
[52];
437 /* -------- TYPES TABLE (END) -------- */
440 /*-----------------------------------------------
442 ------------------------------------------------*/
443 #define SWIG_init init_html
445 #define SWIG_name "_html"
447 #include "wx/wxPython/wxPython.h"
448 #include "wx/wxPython/pyclasses.h"
449 #include "wx/wxPython/pyistream.h"
450 #include "wx/wxPython/printfw.h"
452 #include <wx/html/htmlwin.h>
453 #include <wx/html/htmprint.h>
454 #include <wx/html/helpctrl.h>
457 static const wxString
wxPyEmptyString(wxEmptyString
);
458 static const wxString
wxPyHtmlWindowNameStr(wxT("htmlWindow"));
459 static const wxString
wxPyHtmlPrintoutTitleStr(wxT("Printout"));
460 static const wxString
wxPyHtmlPrintingTitleStr(wxT("Printing"));
461 void wxHtmlWinParser_SetFonts(wxHtmlWinParser
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
){
463 if (sizes
) temp
= int_LIST_helper(sizes
);
464 self
->SetFonts(normal_face
, fixed_face
, temp
);
469 class wxPyHtmlTagHandler
: public wxHtmlTagHandler
{
470 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler
);
472 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
474 wxHtmlParser
* GetParser() { return m_Parser
; }
475 void ParseInner(const wxHtmlTag
& tag
) { wxHtmlTagHandler::ParseInner(tag
); }
477 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
478 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
483 IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler
, wxHtmlTagHandler
);
485 IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, GetSupportedTags
);
486 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, HandleTag
);
489 class wxPyHtmlWinTagHandler
: public wxHtmlWinTagHandler
{
490 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler
);
492 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
494 wxHtmlWinParser
* GetParser() { return m_WParser
; }
495 void ParseInner(const wxHtmlTag
& tag
)
496 { wxHtmlWinTagHandler::ParseInner(tag
); }
498 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
499 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
504 IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
);
506 IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, GetSupportedTags
);
507 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, HandleTag
);
511 class wxPyHtmlTagsModule
: public wxHtmlTagsModule
{
513 wxPyHtmlTagsModule(PyObject
* thc
) : wxHtmlTagsModule() {
514 m_tagHandlerClass
= thc
;
515 Py_INCREF(m_tagHandlerClass
);
516 RegisterModule(this);
517 wxHtmlWinParser::AddModule(this);
521 wxPyBeginBlockThreads();
522 Py_DECREF(m_tagHandlerClass
);
523 m_tagHandlerClass
= NULL
;
524 for (size_t x
=0; x
< m_objArray
.GetCount(); x
++) {
525 PyObject
* obj
= (PyObject
*)m_objArray
.Item(x
);
528 wxPyEndBlockThreads();
531 void FillHandlersTable(wxHtmlWinParser
*parser
) {
532 // Wave our magic wand... (if it works it's a miracle! ;-)
534 // First, make a new instance of the tag handler
535 wxPyBeginBlockThreads();
536 PyObject
* arg
= PyTuple_New(0);
537 PyObject
* obj
= PyObject_CallObject(m_tagHandlerClass
, arg
);
540 // now figure out where it's C++ object is...
541 wxPyHtmlWinTagHandler
* thPtr
;
542 if (! wxPyConvertSwigPtr(obj
, (void **)&thPtr
, wxT("wxPyHtmlWinTagHandler"))) {
543 wxPyEndBlockThreads();
546 wxPyEndBlockThreads();
549 parser
->AddTagHandler(thPtr
);
556 PyObject
* m_tagHandlerClass
;
557 wxArrayPtrVoid m_objArray
;
562 void wxHtmlWinParser_AddTagHandler(PyObject
* tagHandlerClass
) {
563 // Dynamically create a new wxModule. Refcounts tagHandlerClass
564 // and adds itself to the wxModules list and to the wxHtmlWinParser.
565 new wxPyHtmlTagsModule(tagHandlerClass
);
569 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
575 } else if (target
== Py_None
) {
579 if (!PyTuple_Check(target
)) {
581 target
= PyTuple_New(1);
582 PyTuple_SetItem(target
, 0, o2
);
585 PyTuple_SetItem(o3
, 0, o
);
588 target
= PySequence_Concat(o2
, o3
);
595 // here's the C++ version
596 class wxPyHtmlFilter
: public wxHtmlFilter
{
597 DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter
);
599 wxPyHtmlFilter() : wxHtmlFilter() {}
601 // returns True if this filter is able to open&read given file
602 virtual bool CanRead(const wxFSFile
& file
) const {
605 wxPyBeginBlockThreads();
606 if ((found
= wxPyCBH_findCallback(m_myInst
, "CanRead"))) {
607 PyObject
* obj
= wxPyMake_wxObject((wxFSFile
*)&file
); // cast away const
608 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
611 wxPyEndBlockThreads();
616 // Reads given file and returns HTML document.
617 // Returns empty string if opening failed
618 virtual wxString
ReadFile(const wxFSFile
& file
) const {
621 wxPyBeginBlockThreads();
622 if ((found
= wxPyCBH_findCallback(m_myInst
, "ReadFile"))) {
623 PyObject
* obj
= wxPyMake_wxObject((wxFSFile
*)&file
); // cast away const
625 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(O)", obj
));
628 rval
= Py2wxString(ro
);
632 wxPyEndBlockThreads();
639 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter
, wxHtmlFilter
);
642 class wxPyHtmlWindow
: public wxHtmlWindow
{
643 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow
);
645 wxPyHtmlWindow(wxWindow
*parent
, wxWindowID id
= -1,
646 const wxPoint
& pos
= wxDefaultPosition
,
647 const wxSize
& size
= wxDefaultSize
,
648 long style
= wxHW_DEFAULT_STYLE
,
649 const wxString
& name
= wxPyHtmlWindowNameStr
)
650 : wxHtmlWindow(parent
, id
, pos
, size
, style
, name
) {};
651 wxPyHtmlWindow() : wxHtmlWindow() {};
653 bool ScrollToAnchor(const wxString
& anchor
) {
654 return wxHtmlWindow::ScrollToAnchor(anchor
);
657 bool HasAnchor(const wxString
& anchor
) {
658 const wxHtmlCell
*c
= m_Cell
->Find(wxHTML_COND_ISANCHOR
, &anchor
);
662 void OnLinkClicked(const wxHtmlLinkInfo
& link
);
663 void base_OnLinkClicked(const wxHtmlLinkInfo
& link
);
665 wxHtmlOpeningStatus
OnOpeningURL(wxHtmlURLType type
,
667 wxString
*redirect
) const;
669 DEC_PYCALLBACK__STRING(OnSetTitle
);
670 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover
);
671 DEC_PYCALLBACK__CELLINTINTME(OnCellClicked
);
675 IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow
, wxHtmlWindow
);
676 IMP_PYCALLBACK__STRING(wxPyHtmlWindow
, wxHtmlWindow
, OnSetTitle
);
677 IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow
, wxHtmlWindow
, OnCellMouseHover
);
678 IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow
, wxHtmlWindow
, OnCellClicked
);
681 void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo
& link
) {
683 wxPyBeginBlockThreads();
684 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
685 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
686 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
689 wxPyEndBlockThreads();
691 wxHtmlWindow::OnLinkClicked(link
);
693 void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo
& link
) {
694 wxHtmlWindow::OnLinkClicked(link
);
698 wxHtmlOpeningStatus
wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type
,
700 wxString
*redirect
) const {
702 wxHtmlOpeningStatus rval
;
703 wxPyBeginBlockThreads();
704 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnOpeningURL"))) {
706 PyObject
* s
= wx2PyString(url
);
707 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(iO)", type
, s
));
709 if (PyString_Check(ro
)
710 #if PYTHON_API_VERSION >= 1009
711 || PyUnicode_Check(ro
)
714 *redirect
= Py2wxString(ro
);
715 rval
= wxHTML_REDIRECT
;
718 PyObject
* num
= PyNumber_Int(ro
);
719 rval
= (wxHtmlOpeningStatus
)PyInt_AsLong(num
);
724 wxPyEndBlockThreads();
726 rval
= wxHtmlWindow::OnOpeningURL(type
, url
, redirect
);
732 void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
){
734 if (sizes
) temp
= int_LIST_helper(sizes
);
735 self
->SetFonts(normal_face
, fixed_face
, temp
);
739 void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
){
741 if (sizes
) temp
= int_LIST_helper(sizes
);
742 self
->SetFonts(normal_face
, fixed_face
, temp
);
746 void wxHtmlPrintout_SetFonts(wxHtmlPrintout
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
){
748 if (sizes
) temp
= int_LIST_helper(sizes
);
749 self
->SetFonts(normal_face
, fixed_face
, temp
);
753 void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
){
755 if (sizes
) temp
= int_LIST_helper(sizes
);
756 self
->SetFonts(normal_face
, fixed_face
, temp
);
760 int wxHtmlContentsItem_GetLevel(wxHtmlContentsItem
*self
){ return self
->m_Level
; }
761 int wxHtmlContentsItem_GetID(wxHtmlContentsItem
*self
){ return self
->m_ID
; }
762 wxString
wxHtmlContentsItem_GetName(wxHtmlContentsItem
*self
){ return self
->m_Name
; }
763 wxString
wxHtmlContentsItem_GetPage(wxHtmlContentsItem
*self
){ return self
->m_Page
; }
764 wxHtmlBookRecord
*wxHtmlContentsItem_GetBook(wxHtmlContentsItem
*self
){ return self
->m_Book
; }
768 static int _wrap_HtmlWindowNameStr_set(PyObject
*_val
) {
769 PyErr_SetString(PyExc_TypeError
,"Variable HtmlWindowNameStr is read-only.");
774 static PyObject
*_wrap_HtmlWindowNameStr_get() {
779 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr
)->c_str(), (&wxPyHtmlWindowNameStr
)->Len());
781 pyobj
= PyString_FromStringAndSize((&wxPyHtmlWindowNameStr
)->c_str(), (&wxPyHtmlWindowNameStr
)->Len());
788 static int _wrap_HtmlPrintoutTitleStr_set(PyObject
*_val
) {
789 PyErr_SetString(PyExc_TypeError
,"Variable HtmlPrintoutTitleStr is read-only.");
794 static PyObject
*_wrap_HtmlPrintoutTitleStr_get() {
799 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr
)->c_str(), (&wxPyHtmlPrintoutTitleStr
)->Len());
801 pyobj
= PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr
)->c_str(), (&wxPyHtmlPrintoutTitleStr
)->Len());
808 static int _wrap_HtmlPrintingTitleStr_set(PyObject
*_val
) {
809 PyErr_SetString(PyExc_TypeError
,"Variable HtmlPrintingTitleStr is read-only.");
814 static PyObject
*_wrap_HtmlPrintingTitleStr_get() {
819 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr
)->c_str(), (&wxPyHtmlPrintingTitleStr
)->Len());
821 pyobj
= PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr
)->c_str(), (&wxPyHtmlPrintingTitleStr
)->Len());
828 static PyObject
*_wrap_new_HtmlLinkInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
831 wxString
const &arg2_defvalue
= wxPyEmptyString
;
832 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
833 wxHtmlLinkInfo
*result
;
836 PyObject
* obj0
= 0 ;
837 PyObject
* obj1
= 0 ;
839 (char *) "href",(char *) "target", NULL
842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlLinkInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
844 arg1
= wxString_in_helper(obj0
);
845 if (arg1
== NULL
) SWIG_fail
;
850 arg2
= wxString_in_helper(obj1
);
851 if (arg2
== NULL
) SWIG_fail
;
856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
857 result
= (wxHtmlLinkInfo
*)new wxHtmlLinkInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
);
859 wxPyEndAllowThreads(__tstate
);
860 if (PyErr_Occurred()) SWIG_fail
;
862 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlLinkInfo
, 1);
885 static PyObject
*_wrap_HtmlLinkInfo_GetHref(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
887 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
889 PyObject
* obj0
= 0 ;
891 (char *) "self", NULL
894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlLinkInfo_GetHref",kwnames
,&obj0
)) goto fail
;
895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlLinkInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
898 result
= (arg1
)->GetHref();
900 wxPyEndAllowThreads(__tstate
);
901 if (PyErr_Occurred()) SWIG_fail
;
905 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
907 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
916 static PyObject
*_wrap_HtmlLinkInfo_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
918 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
920 PyObject
* obj0
= 0 ;
922 (char *) "self", NULL
925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlLinkInfo_GetTarget",kwnames
,&obj0
)) goto fail
;
926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlLinkInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
929 result
= (arg1
)->GetTarget();
931 wxPyEndAllowThreads(__tstate
);
932 if (PyErr_Occurred()) SWIG_fail
;
936 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
938 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
947 static PyObject
*_wrap_HtmlLinkInfo_GetEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
949 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
950 wxMouseEvent
*result
;
951 PyObject
* obj0
= 0 ;
953 (char *) "self", NULL
956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlLinkInfo_GetEvent",kwnames
,&obj0
)) goto fail
;
957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlLinkInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
960 result
= (wxMouseEvent
*)(arg1
)->GetEvent();
962 wxPyEndAllowThreads(__tstate
);
963 if (PyErr_Occurred()) SWIG_fail
;
966 resultobj
= wxPyMake_wxObject(result
);
974 static PyObject
*_wrap_HtmlLinkInfo_GetHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
976 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
978 PyObject
* obj0
= 0 ;
980 (char *) "self", NULL
983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlLinkInfo_GetHtmlCell",kwnames
,&obj0
)) goto fail
;
984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlLinkInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
987 result
= (wxHtmlCell
*)(arg1
)->GetHtmlCell();
989 wxPyEndAllowThreads(__tstate
);
990 if (PyErr_Occurred()) SWIG_fail
;
992 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlCell
, 0);
999 static PyObject
*_wrap_HtmlLinkInfo_SetEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1000 PyObject
*resultobj
;
1001 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
1002 wxMouseEvent
*arg2
= (wxMouseEvent
*) 0 ;
1003 PyObject
* obj0
= 0 ;
1004 PyObject
* obj1
= 0 ;
1006 (char *) "self",(char *) "e", NULL
1009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
1010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlLinkInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1011 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1014 (arg1
)->SetEvent((wxMouseEvent
const *)arg2
);
1016 wxPyEndAllowThreads(__tstate
);
1017 if (PyErr_Occurred()) SWIG_fail
;
1019 Py_INCREF(Py_None
); resultobj
= Py_None
;
1026 static PyObject
*_wrap_HtmlLinkInfo_SetHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1027 PyObject
*resultobj
;
1028 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
1029 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
1030 PyObject
* obj0
= 0 ;
1031 PyObject
* obj1
= 0 ;
1033 (char *) "self",(char *) "e", NULL
1036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames
,&obj0
,&obj1
)) goto fail
;
1037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlLinkInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1038 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1041 (arg1
)->SetHtmlCell((wxHtmlCell
const *)arg2
);
1043 wxPyEndAllowThreads(__tstate
);
1044 if (PyErr_Occurred()) SWIG_fail
;
1046 Py_INCREF(Py_None
); resultobj
= Py_None
;
1053 static PyObject
* HtmlLinkInfo_swigregister(PyObject
*self
, PyObject
*args
) {
1055 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1056 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlLinkInfo
, obj
);
1058 return Py_BuildValue((char *)"");
1060 static PyObject
*_wrap_HtmlTag_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1061 PyObject
*resultobj
;
1062 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
1064 PyObject
* obj0
= 0 ;
1066 (char *) "self", NULL
1069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_GetName",kwnames
,&obj0
)) goto fail
;
1070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlTag
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1073 result
= (arg1
)->GetName();
1075 wxPyEndAllowThreads(__tstate
);
1076 if (PyErr_Occurred()) SWIG_fail
;
1080 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1082 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1091 static PyObject
*_wrap_HtmlTag_HasParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1092 PyObject
*resultobj
;
1093 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
1094 wxString
*arg2
= 0 ;
1096 bool temp2
= False
;
1097 PyObject
* obj0
= 0 ;
1098 PyObject
* obj1
= 0 ;
1100 (char *) "self",(char *) "par", NULL
1103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTag_HasParam",kwnames
,&obj0
,&obj1
)) goto fail
;
1104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlTag
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1106 arg2
= wxString_in_helper(obj1
);
1107 if (arg2
== NULL
) SWIG_fail
;
1111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1112 result
= (bool)(arg1
)->HasParam((wxString
const &)*arg2
);
1114 wxPyEndAllowThreads(__tstate
);
1115 if (PyErr_Occurred()) SWIG_fail
;
1117 resultobj
= PyInt_FromLong((long)result
);
1132 static PyObject
*_wrap_HtmlTag_GetParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1133 PyObject
*resultobj
;
1134 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
1135 wxString
*arg2
= 0 ;
1136 int arg3
= (int) False
;
1138 bool temp2
= False
;
1139 PyObject
* obj0
= 0 ;
1140 PyObject
* obj1
= 0 ;
1142 (char *) "self",(char *) "par",(char *) "with_commas", NULL
1145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:HtmlTag_GetParam",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
1146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlTag
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1148 arg2
= wxString_in_helper(obj1
);
1149 if (arg2
== NULL
) SWIG_fail
;
1153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1154 result
= (arg1
)->GetParam((wxString
const &)*arg2
,arg3
);
1156 wxPyEndAllowThreads(__tstate
);
1157 if (PyErr_Occurred()) SWIG_fail
;
1161 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1163 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1180 static PyObject
*_wrap_HtmlTag_GetAllParams(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1181 PyObject
*resultobj
;
1182 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
1184 PyObject
* obj0
= 0 ;
1186 (char *) "self", NULL
1189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_GetAllParams",kwnames
,&obj0
)) goto fail
;
1190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlTag
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1193 result
= (arg1
)->GetAllParams();
1195 wxPyEndAllowThreads(__tstate
);
1196 if (PyErr_Occurred()) SWIG_fail
;
1200 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1202 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1211 static PyObject
*_wrap_HtmlTag_HasEnding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1212 PyObject
*resultobj
;
1213 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
1215 PyObject
* obj0
= 0 ;
1217 (char *) "self", NULL
1220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_HasEnding",kwnames
,&obj0
)) goto fail
;
1221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlTag
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1224 result
= (bool)(arg1
)->HasEnding();
1226 wxPyEndAllowThreads(__tstate
);
1227 if (PyErr_Occurred()) SWIG_fail
;
1229 resultobj
= PyInt_FromLong((long)result
);
1236 static PyObject
*_wrap_HtmlTag_GetBeginPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1237 PyObject
*resultobj
;
1238 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
1240 PyObject
* obj0
= 0 ;
1242 (char *) "self", NULL
1245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_GetBeginPos",kwnames
,&obj0
)) goto fail
;
1246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlTag
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1249 result
= (int)(arg1
)->GetBeginPos();
1251 wxPyEndAllowThreads(__tstate
);
1252 if (PyErr_Occurred()) SWIG_fail
;
1254 resultobj
= PyInt_FromLong((long)result
);
1261 static PyObject
*_wrap_HtmlTag_GetEndPos1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1262 PyObject
*resultobj
;
1263 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
1265 PyObject
* obj0
= 0 ;
1267 (char *) "self", NULL
1270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_GetEndPos1",kwnames
,&obj0
)) goto fail
;
1271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlTag
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1274 result
= (int)(arg1
)->GetEndPos1();
1276 wxPyEndAllowThreads(__tstate
);
1277 if (PyErr_Occurred()) SWIG_fail
;
1279 resultobj
= PyInt_FromLong((long)result
);
1286 static PyObject
*_wrap_HtmlTag_GetEndPos2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1287 PyObject
*resultobj
;
1288 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
1290 PyObject
* obj0
= 0 ;
1292 (char *) "self", NULL
1295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_GetEndPos2",kwnames
,&obj0
)) goto fail
;
1296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlTag
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1299 result
= (int)(arg1
)->GetEndPos2();
1301 wxPyEndAllowThreads(__tstate
);
1302 if (PyErr_Occurred()) SWIG_fail
;
1304 resultobj
= PyInt_FromLong((long)result
);
1311 static PyObject
* HtmlTag_swigregister(PyObject
*self
, PyObject
*args
) {
1313 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1314 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlTag
, obj
);
1316 return Py_BuildValue((char *)"");
1318 static PyObject
*_wrap_HtmlParser_SetFS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1319 PyObject
*resultobj
;
1320 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1321 wxFileSystem
*arg2
= (wxFileSystem
*) 0 ;
1322 PyObject
* obj0
= 0 ;
1323 PyObject
* obj1
= 0 ;
1325 (char *) "self",(char *) "fs", NULL
1328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_SetFS",kwnames
,&obj0
,&obj1
)) goto fail
;
1329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1330 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1333 (arg1
)->SetFS(arg2
);
1335 wxPyEndAllowThreads(__tstate
);
1336 if (PyErr_Occurred()) SWIG_fail
;
1338 Py_INCREF(Py_None
); resultobj
= Py_None
;
1345 static PyObject
*_wrap_HtmlParser_GetFS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1346 PyObject
*resultobj
;
1347 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1348 wxFileSystem
*result
;
1349 PyObject
* obj0
= 0 ;
1351 (char *) "self", NULL
1354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlParser_GetFS",kwnames
,&obj0
)) goto fail
;
1355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1358 result
= (wxFileSystem
*)(arg1
)->GetFS();
1360 wxPyEndAllowThreads(__tstate
);
1361 if (PyErr_Occurred()) SWIG_fail
;
1364 resultobj
= wxPyMake_wxObject(result
);
1372 static PyObject
*_wrap_HtmlParser_Parse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1373 PyObject
*resultobj
;
1374 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1375 wxString
*arg2
= 0 ;
1377 bool temp2
= False
;
1378 PyObject
* obj0
= 0 ;
1379 PyObject
* obj1
= 0 ;
1381 (char *) "self",(char *) "source", NULL
1384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_Parse",kwnames
,&obj0
,&obj1
)) goto fail
;
1385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1387 arg2
= wxString_in_helper(obj1
);
1388 if (arg2
== NULL
) SWIG_fail
;
1392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1393 result
= (wxObject
*)(arg1
)->Parse((wxString
const &)*arg2
);
1395 wxPyEndAllowThreads(__tstate
);
1396 if (PyErr_Occurred()) SWIG_fail
;
1399 resultobj
= wxPyMake_wxObject(result
);
1415 static PyObject
*_wrap_HtmlParser_InitParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1416 PyObject
*resultobj
;
1417 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1418 wxString
*arg2
= 0 ;
1419 bool temp2
= False
;
1420 PyObject
* obj0
= 0 ;
1421 PyObject
* obj1
= 0 ;
1423 (char *) "self",(char *) "source", NULL
1426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_InitParser",kwnames
,&obj0
,&obj1
)) goto fail
;
1427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1429 arg2
= wxString_in_helper(obj1
);
1430 if (arg2
== NULL
) SWIG_fail
;
1434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1435 (arg1
)->InitParser((wxString
const &)*arg2
);
1437 wxPyEndAllowThreads(__tstate
);
1438 if (PyErr_Occurred()) SWIG_fail
;
1440 Py_INCREF(Py_None
); resultobj
= Py_None
;
1455 static PyObject
*_wrap_HtmlParser_DoneParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1456 PyObject
*resultobj
;
1457 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1458 PyObject
* obj0
= 0 ;
1460 (char *) "self", NULL
1463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlParser_DoneParser",kwnames
,&obj0
)) goto fail
;
1464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1467 (arg1
)->DoneParser();
1469 wxPyEndAllowThreads(__tstate
);
1470 if (PyErr_Occurred()) SWIG_fail
;
1472 Py_INCREF(Py_None
); resultobj
= Py_None
;
1479 static PyObject
*_wrap_HtmlParser_DoParsing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1480 PyObject
*resultobj
;
1481 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1484 PyObject
* obj0
= 0 ;
1486 (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
1489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:HtmlParser_DoParsing",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1493 (arg1
)->DoParsing(arg2
,arg3
);
1495 wxPyEndAllowThreads(__tstate
);
1496 if (PyErr_Occurred()) SWIG_fail
;
1498 Py_INCREF(Py_None
); resultobj
= Py_None
;
1505 static PyObject
*_wrap_HtmlParser_StopParsing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1506 PyObject
*resultobj
;
1507 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1508 PyObject
* obj0
= 0 ;
1510 (char *) "self", NULL
1513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlParser_StopParsing",kwnames
,&obj0
)) goto fail
;
1514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1517 (arg1
)->StopParsing();
1519 wxPyEndAllowThreads(__tstate
);
1520 if (PyErr_Occurred()) SWIG_fail
;
1522 Py_INCREF(Py_None
); resultobj
= Py_None
;
1529 static PyObject
*_wrap_HtmlParser_AddTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1530 PyObject
*resultobj
;
1531 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1532 wxHtmlTagHandler
*arg2
= (wxHtmlTagHandler
*) 0 ;
1533 PyObject
* obj0
= 0 ;
1534 PyObject
* obj1
= 0 ;
1536 (char *) "self",(char *) "handler", NULL
1539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_AddTagHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
1540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1541 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxHtmlTagHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1544 (arg1
)->AddTagHandler(arg2
);
1546 wxPyEndAllowThreads(__tstate
);
1547 if (PyErr_Occurred()) SWIG_fail
;
1549 Py_INCREF(Py_None
); resultobj
= Py_None
;
1556 static PyObject
*_wrap_HtmlParser_GetSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1557 PyObject
*resultobj
;
1558 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1560 PyObject
* obj0
= 0 ;
1562 (char *) "self", NULL
1565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlParser_GetSource",kwnames
,&obj0
)) goto fail
;
1566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1569 result
= (wxString
*)(arg1
)->GetSource();
1571 wxPyEndAllowThreads(__tstate
);
1572 if (PyErr_Occurred()) SWIG_fail
;
1576 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
1578 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
1587 static PyObject
*_wrap_HtmlParser_PushTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1588 PyObject
*resultobj
;
1589 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1590 wxHtmlTagHandler
*arg2
= (wxHtmlTagHandler
*) 0 ;
1592 PyObject
* obj0
= 0 ;
1593 PyObject
* obj1
= 0 ;
1594 PyObject
* obj2
= 0 ;
1596 (char *) "self",(char *) "handler",(char *) "tags", NULL
1599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlParser_PushTagHandler",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1601 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxHtmlTagHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1603 wxString
* sptr
= wxString_in_helper(obj2
);
1604 if (sptr
== NULL
) SWIG_fail
;
1609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1610 (arg1
)->PushTagHandler(arg2
,arg3
);
1612 wxPyEndAllowThreads(__tstate
);
1613 if (PyErr_Occurred()) SWIG_fail
;
1615 Py_INCREF(Py_None
); resultobj
= Py_None
;
1622 static PyObject
*_wrap_HtmlParser_PopTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1623 PyObject
*resultobj
;
1624 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1625 PyObject
* obj0
= 0 ;
1627 (char *) "self", NULL
1630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlParser_PopTagHandler",kwnames
,&obj0
)) goto fail
;
1631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1634 (arg1
)->PopTagHandler();
1636 wxPyEndAllowThreads(__tstate
);
1637 if (PyErr_Occurred()) SWIG_fail
;
1639 Py_INCREF(Py_None
); resultobj
= Py_None
;
1646 static PyObject
* HtmlParser_swigregister(PyObject
*self
, PyObject
*args
) {
1648 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1649 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlParser
, obj
);
1651 return Py_BuildValue((char *)"");
1653 static PyObject
*_wrap_new_HtmlWinParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1654 PyObject
*resultobj
;
1655 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) NULL
;
1656 wxHtmlWinParser
*result
;
1657 PyObject
* obj0
= 0 ;
1659 (char *) "wnd", NULL
1662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_HtmlWinParser",kwnames
,&obj0
)) goto fail
;
1664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1668 result
= (wxHtmlWinParser
*)new wxHtmlWinParser(arg1
);
1670 wxPyEndAllowThreads(__tstate
);
1671 if (PyErr_Occurred()) SWIG_fail
;
1673 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlWinParser
, 1);
1680 static PyObject
*_wrap_HtmlWinParser_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1681 PyObject
*resultobj
;
1682 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
1683 wxDC
*arg2
= (wxDC
*) 0 ;
1684 PyObject
* obj0
= 0 ;
1685 PyObject
* obj1
= 0 ;
1687 (char *) "self",(char *) "dc", NULL
1690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
1691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1692 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1695 (arg1
)->SetDC(arg2
);
1697 wxPyEndAllowThreads(__tstate
);
1698 if (PyErr_Occurred()) SWIG_fail
;
1700 Py_INCREF(Py_None
); resultobj
= Py_None
;
1707 static PyObject
*_wrap_HtmlWinParser_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1708 PyObject
*resultobj
;
1709 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
1711 PyObject
* obj0
= 0 ;
1713 (char *) "self", NULL
1716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetDC",kwnames
,&obj0
)) goto fail
;
1717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1720 result
= (wxDC
*)(arg1
)->GetDC();
1722 wxPyEndAllowThreads(__tstate
);
1723 if (PyErr_Occurred()) SWIG_fail
;
1726 resultobj
= wxPyMake_wxObject(result
);
1734 static PyObject
*_wrap_HtmlWinParser_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1735 PyObject
*resultobj
;
1736 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
1738 PyObject
* obj0
= 0 ;
1740 (char *) "self", NULL
1743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetCharHeight",kwnames
,&obj0
)) goto fail
;
1744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1747 result
= (int)(arg1
)->GetCharHeight();
1749 wxPyEndAllowThreads(__tstate
);
1750 if (PyErr_Occurred()) SWIG_fail
;
1752 resultobj
= PyInt_FromLong((long)result
);
1759 static PyObject
*_wrap_HtmlWinParser_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1760 PyObject
*resultobj
;
1761 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
1763 PyObject
* obj0
= 0 ;
1765 (char *) "self", NULL
1768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetCharWidth",kwnames
,&obj0
)) goto fail
;
1769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1772 result
= (int)(arg1
)->GetCharWidth();
1774 wxPyEndAllowThreads(__tstate
);
1775 if (PyErr_Occurred()) SWIG_fail
;
1777 resultobj
= PyInt_FromLong((long)result
);
1784 static PyObject
*_wrap_HtmlWinParser_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1785 PyObject
*resultobj
;
1786 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
1787 wxPyHtmlWindow
*result
;
1788 PyObject
* obj0
= 0 ;
1790 (char *) "self", NULL
1793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetWindow",kwnames
,&obj0
)) goto fail
;
1794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1797 result
= (wxPyHtmlWindow
*)(arg1
)->GetWindow();
1799 wxPyEndAllowThreads(__tstate
);
1800 if (PyErr_Occurred()) SWIG_fail
;
1803 resultobj
= wxPyMake_wxObject(result
);
1811 static PyObject
*_wrap_HtmlWinParser_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1812 PyObject
*resultobj
;
1813 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
1816 PyObject
*arg4
= (PyObject
*) NULL
;
1817 PyObject
* obj0
= 0 ;
1818 PyObject
* obj1
= 0 ;
1819 PyObject
* obj2
= 0 ;
1820 PyObject
* obj3
= 0 ;
1822 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
1825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1828 wxString
* sptr
= wxString_in_helper(obj1
);
1829 if (sptr
== NULL
) SWIG_fail
;
1834 wxString
* sptr
= wxString_in_helper(obj2
);
1835 if (sptr
== NULL
) SWIG_fail
;
1843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1844 wxHtmlWinParser_SetFonts(arg1
,arg2
,arg3
,arg4
);
1846 wxPyEndAllowThreads(__tstate
);
1847 if (PyErr_Occurred()) SWIG_fail
;
1849 Py_INCREF(Py_None
); resultobj
= Py_None
;
1856 static PyObject
*_wrap_HtmlWinParser_GetContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1857 PyObject
*resultobj
;
1858 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
1859 wxHtmlContainerCell
*result
;
1860 PyObject
* obj0
= 0 ;
1862 (char *) "self", NULL
1865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetContainer",kwnames
,&obj0
)) goto fail
;
1866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1869 result
= (wxHtmlContainerCell
*)(arg1
)->GetContainer();
1871 wxPyEndAllowThreads(__tstate
);
1872 if (PyErr_Occurred()) SWIG_fail
;
1874 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlContainerCell
, 0);
1881 static PyObject
*_wrap_HtmlWinParser_OpenContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1882 PyObject
*resultobj
;
1883 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
1884 wxHtmlContainerCell
*result
;
1885 PyObject
* obj0
= 0 ;
1887 (char *) "self", NULL
1890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_OpenContainer",kwnames
,&obj0
)) goto fail
;
1891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1894 result
= (wxHtmlContainerCell
*)(arg1
)->OpenContainer();
1896 wxPyEndAllowThreads(__tstate
);
1897 if (PyErr_Occurred()) SWIG_fail
;
1899 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlContainerCell
, 0);
1906 static PyObject
*_wrap_HtmlWinParser_SetContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1907 PyObject
*resultobj
;
1908 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
1909 wxHtmlContainerCell
*arg2
= (wxHtmlContainerCell
*) 0 ;
1910 wxHtmlContainerCell
*result
;
1911 PyObject
* obj0
= 0 ;
1912 PyObject
* obj1
= 0 ;
1914 (char *) "self",(char *) "c", NULL
1917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetContainer",kwnames
,&obj0
,&obj1
)) goto fail
;
1918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1919 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxHtmlContainerCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1922 result
= (wxHtmlContainerCell
*)(arg1
)->SetContainer(arg2
);
1924 wxPyEndAllowThreads(__tstate
);
1925 if (PyErr_Occurred()) SWIG_fail
;
1927 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlContainerCell
, 0);
1934 static PyObject
*_wrap_HtmlWinParser_CloseContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1935 PyObject
*resultobj
;
1936 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
1937 wxHtmlContainerCell
*result
;
1938 PyObject
* obj0
= 0 ;
1940 (char *) "self", NULL
1943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_CloseContainer",kwnames
,&obj0
)) goto fail
;
1944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1947 result
= (wxHtmlContainerCell
*)(arg1
)->CloseContainer();
1949 wxPyEndAllowThreads(__tstate
);
1950 if (PyErr_Occurred()) SWIG_fail
;
1952 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlContainerCell
, 0);
1959 static PyObject
*_wrap_HtmlWinParser_GetFontSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1960 PyObject
*resultobj
;
1961 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
1963 PyObject
* obj0
= 0 ;
1965 (char *) "self", NULL
1968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetFontSize",kwnames
,&obj0
)) goto fail
;
1969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1972 result
= (int)(arg1
)->GetFontSize();
1974 wxPyEndAllowThreads(__tstate
);
1975 if (PyErr_Occurred()) SWIG_fail
;
1977 resultobj
= PyInt_FromLong((long)result
);
1984 static PyObject
*_wrap_HtmlWinParser_SetFontSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1985 PyObject
*resultobj
;
1986 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
1988 PyObject
* obj0
= 0 ;
1990 (char *) "self",(char *) "s", NULL
1993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:HtmlWinParser_SetFontSize",kwnames
,&obj0
,&arg2
)) goto fail
;
1994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1997 (arg1
)->SetFontSize(arg2
);
1999 wxPyEndAllowThreads(__tstate
);
2000 if (PyErr_Occurred()) SWIG_fail
;
2002 Py_INCREF(Py_None
); resultobj
= Py_None
;
2009 static PyObject
*_wrap_HtmlWinParser_GetFontBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2010 PyObject
*resultobj
;
2011 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2013 PyObject
* obj0
= 0 ;
2015 (char *) "self", NULL
2018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetFontBold",kwnames
,&obj0
)) goto fail
;
2019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2022 result
= (int)(arg1
)->GetFontBold();
2024 wxPyEndAllowThreads(__tstate
);
2025 if (PyErr_Occurred()) SWIG_fail
;
2027 resultobj
= PyInt_FromLong((long)result
);
2034 static PyObject
*_wrap_HtmlWinParser_SetFontBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2035 PyObject
*resultobj
;
2036 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2038 PyObject
* obj0
= 0 ;
2040 (char *) "self",(char *) "x", NULL
2043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:HtmlWinParser_SetFontBold",kwnames
,&obj0
,&arg2
)) goto fail
;
2044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2047 (arg1
)->SetFontBold(arg2
);
2049 wxPyEndAllowThreads(__tstate
);
2050 if (PyErr_Occurred()) SWIG_fail
;
2052 Py_INCREF(Py_None
); resultobj
= Py_None
;
2059 static PyObject
*_wrap_HtmlWinParser_GetFontItalic(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2060 PyObject
*resultobj
;
2061 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2063 PyObject
* obj0
= 0 ;
2065 (char *) "self", NULL
2068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetFontItalic",kwnames
,&obj0
)) goto fail
;
2069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2072 result
= (int)(arg1
)->GetFontItalic();
2074 wxPyEndAllowThreads(__tstate
);
2075 if (PyErr_Occurred()) SWIG_fail
;
2077 resultobj
= PyInt_FromLong((long)result
);
2084 static PyObject
*_wrap_HtmlWinParser_SetFontItalic(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2085 PyObject
*resultobj
;
2086 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2088 PyObject
* obj0
= 0 ;
2090 (char *) "self",(char *) "x", NULL
2093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:HtmlWinParser_SetFontItalic",kwnames
,&obj0
,&arg2
)) goto fail
;
2094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2097 (arg1
)->SetFontItalic(arg2
);
2099 wxPyEndAllowThreads(__tstate
);
2100 if (PyErr_Occurred()) SWIG_fail
;
2102 Py_INCREF(Py_None
); resultobj
= Py_None
;
2109 static PyObject
*_wrap_HtmlWinParser_GetFontUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2110 PyObject
*resultobj
;
2111 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2113 PyObject
* obj0
= 0 ;
2115 (char *) "self", NULL
2118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetFontUnderlined",kwnames
,&obj0
)) goto fail
;
2119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2122 result
= (int)(arg1
)->GetFontUnderlined();
2124 wxPyEndAllowThreads(__tstate
);
2125 if (PyErr_Occurred()) SWIG_fail
;
2127 resultobj
= PyInt_FromLong((long)result
);
2134 static PyObject
*_wrap_HtmlWinParser_SetFontUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2135 PyObject
*resultobj
;
2136 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2138 PyObject
* obj0
= 0 ;
2140 (char *) "self",(char *) "x", NULL
2143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:HtmlWinParser_SetFontUnderlined",kwnames
,&obj0
,&arg2
)) goto fail
;
2144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2147 (arg1
)->SetFontUnderlined(arg2
);
2149 wxPyEndAllowThreads(__tstate
);
2150 if (PyErr_Occurred()) SWIG_fail
;
2152 Py_INCREF(Py_None
); resultobj
= Py_None
;
2159 static PyObject
*_wrap_HtmlWinParser_GetFontFixed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2160 PyObject
*resultobj
;
2161 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2163 PyObject
* obj0
= 0 ;
2165 (char *) "self", NULL
2168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetFontFixed",kwnames
,&obj0
)) goto fail
;
2169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2172 result
= (int)(arg1
)->GetFontFixed();
2174 wxPyEndAllowThreads(__tstate
);
2175 if (PyErr_Occurred()) SWIG_fail
;
2177 resultobj
= PyInt_FromLong((long)result
);
2184 static PyObject
*_wrap_HtmlWinParser_SetFontFixed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2185 PyObject
*resultobj
;
2186 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2188 PyObject
* obj0
= 0 ;
2190 (char *) "self",(char *) "x", NULL
2193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:HtmlWinParser_SetFontFixed",kwnames
,&obj0
,&arg2
)) goto fail
;
2194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2197 (arg1
)->SetFontFixed(arg2
);
2199 wxPyEndAllowThreads(__tstate
);
2200 if (PyErr_Occurred()) SWIG_fail
;
2202 Py_INCREF(Py_None
); resultobj
= Py_None
;
2209 static PyObject
*_wrap_HtmlWinParser_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2210 PyObject
*resultobj
;
2211 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2213 PyObject
* obj0
= 0 ;
2215 (char *) "self", NULL
2218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetAlign",kwnames
,&obj0
)) goto fail
;
2219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2222 result
= (int)(arg1
)->GetAlign();
2224 wxPyEndAllowThreads(__tstate
);
2225 if (PyErr_Occurred()) SWIG_fail
;
2227 resultobj
= PyInt_FromLong((long)result
);
2234 static PyObject
*_wrap_HtmlWinParser_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2235 PyObject
*resultobj
;
2236 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2238 PyObject
* obj0
= 0 ;
2240 (char *) "self",(char *) "a", NULL
2243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:HtmlWinParser_SetAlign",kwnames
,&obj0
,&arg2
)) goto fail
;
2244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2247 (arg1
)->SetAlign(arg2
);
2249 wxPyEndAllowThreads(__tstate
);
2250 if (PyErr_Occurred()) SWIG_fail
;
2252 Py_INCREF(Py_None
); resultobj
= Py_None
;
2259 static PyObject
*_wrap_HtmlWinParser_GetLinkColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2260 PyObject
*resultobj
;
2261 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2263 PyObject
* obj0
= 0 ;
2265 (char *) "self", NULL
2268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetLinkColor",kwnames
,&obj0
)) goto fail
;
2269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2272 result
= (arg1
)->GetLinkColor();
2274 wxPyEndAllowThreads(__tstate
);
2275 if (PyErr_Occurred()) SWIG_fail
;
2278 wxColour
* resultptr
;
2279 resultptr
= new wxColour((wxColour
&) result
);
2280 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
2288 static PyObject
*_wrap_HtmlWinParser_SetLinkColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2289 PyObject
*resultobj
;
2290 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2291 wxColour
*arg2
= 0 ;
2293 PyObject
* obj0
= 0 ;
2294 PyObject
* obj1
= 0 ;
2296 (char *) "self",(char *) "clr", NULL
2299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames
,&obj0
,&obj1
)) goto fail
;
2300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2303 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2307 (arg1
)->SetLinkColor((wxColour
const &)*arg2
);
2309 wxPyEndAllowThreads(__tstate
);
2310 if (PyErr_Occurred()) SWIG_fail
;
2312 Py_INCREF(Py_None
); resultobj
= Py_None
;
2319 static PyObject
*_wrap_HtmlWinParser_GetActualColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2320 PyObject
*resultobj
;
2321 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2323 PyObject
* obj0
= 0 ;
2325 (char *) "self", NULL
2328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetActualColor",kwnames
,&obj0
)) goto fail
;
2329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2332 result
= (arg1
)->GetActualColor();
2334 wxPyEndAllowThreads(__tstate
);
2335 if (PyErr_Occurred()) SWIG_fail
;
2338 wxColour
* resultptr
;
2339 resultptr
= new wxColour((wxColour
&) result
);
2340 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
2348 static PyObject
*_wrap_HtmlWinParser_SetActualColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2349 PyObject
*resultobj
;
2350 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2351 wxColour
*arg2
= 0 ;
2353 PyObject
* obj0
= 0 ;
2354 PyObject
* obj1
= 0 ;
2356 (char *) "self",(char *) "clr", NULL
2359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetActualColor",kwnames
,&obj0
,&obj1
)) goto fail
;
2360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2363 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2367 (arg1
)->SetActualColor((wxColour
const &)*arg2
);
2369 wxPyEndAllowThreads(__tstate
);
2370 if (PyErr_Occurred()) SWIG_fail
;
2372 Py_INCREF(Py_None
); resultobj
= Py_None
;
2379 static PyObject
*_wrap_HtmlWinParser_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2380 PyObject
*resultobj
;
2381 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2382 wxString
*arg2
= 0 ;
2383 bool temp2
= False
;
2384 PyObject
* obj0
= 0 ;
2385 PyObject
* obj1
= 0 ;
2387 (char *) "self",(char *) "link", NULL
2390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
2391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2393 arg2
= wxString_in_helper(obj1
);
2394 if (arg2
== NULL
) SWIG_fail
;
2398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2399 (arg1
)->SetLink((wxString
const &)*arg2
);
2401 wxPyEndAllowThreads(__tstate
);
2402 if (PyErr_Occurred()) SWIG_fail
;
2404 Py_INCREF(Py_None
); resultobj
= Py_None
;
2419 static PyObject
*_wrap_HtmlWinParser_CreateCurrentFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2420 PyObject
*resultobj
;
2421 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2423 PyObject
* obj0
= 0 ;
2425 (char *) "self", NULL
2428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_CreateCurrentFont",kwnames
,&obj0
)) goto fail
;
2429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2432 result
= (wxFont
*)(arg1
)->CreateCurrentFont();
2434 wxPyEndAllowThreads(__tstate
);
2435 if (PyErr_Occurred()) SWIG_fail
;
2437 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
2444 static PyObject
*_wrap_HtmlWinParser_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2445 PyObject
*resultobj
;
2446 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2447 SwigValueWrapper
< wxHtmlLinkInfo
> result
;
2448 PyObject
* obj0
= 0 ;
2450 (char *) "self", NULL
2453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetLink",kwnames
,&obj0
)) goto fail
;
2454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2457 result
= (arg1
)->GetLink();
2459 wxPyEndAllowThreads(__tstate
);
2460 if (PyErr_Occurred()) SWIG_fail
;
2463 wxHtmlLinkInfo
* resultptr
;
2464 resultptr
= new wxHtmlLinkInfo((wxHtmlLinkInfo
&) result
);
2465 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxHtmlLinkInfo
, 1);
2473 static PyObject
* HtmlWinParser_swigregister(PyObject
*self
, PyObject
*args
) {
2475 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2476 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWinParser
, obj
);
2478 return Py_BuildValue((char *)"");
2480 static PyObject
*_wrap_new_HtmlTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2481 PyObject
*resultobj
;
2482 wxPyHtmlTagHandler
*result
;
2487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlTagHandler",kwnames
)) goto fail
;
2489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2490 result
= (wxPyHtmlTagHandler
*)new wxPyHtmlTagHandler();
2492 wxPyEndAllowThreads(__tstate
);
2493 if (PyErr_Occurred()) SWIG_fail
;
2495 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyHtmlTagHandler
, 1);
2502 static PyObject
*_wrap_HtmlTagHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2503 PyObject
*resultobj
;
2504 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
2505 PyObject
*arg2
= (PyObject
*) 0 ;
2506 PyObject
*arg3
= (PyObject
*) 0 ;
2507 PyObject
* obj0
= 0 ;
2508 PyObject
* obj1
= 0 ;
2509 PyObject
* obj2
= 0 ;
2511 (char *) "self",(char *) "self",(char *) "_class", NULL
2514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlTagHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2520 (arg1
)->_setCallbackInfo(arg2
,arg3
);
2522 wxPyEndAllowThreads(__tstate
);
2523 if (PyErr_Occurred()) SWIG_fail
;
2525 Py_INCREF(Py_None
); resultobj
= Py_None
;
2532 static PyObject
*_wrap_HtmlTagHandler_SetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2533 PyObject
*resultobj
;
2534 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
2535 wxHtmlParser
*arg2
= (wxHtmlParser
*) 0 ;
2536 PyObject
* obj0
= 0 ;
2537 PyObject
* obj1
= 0 ;
2539 (char *) "self",(char *) "parser", NULL
2542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTagHandler_SetParser",kwnames
,&obj0
,&obj1
)) goto fail
;
2543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlTagHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2544 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxHtmlParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2547 (arg1
)->SetParser(arg2
);
2549 wxPyEndAllowThreads(__tstate
);
2550 if (PyErr_Occurred()) SWIG_fail
;
2552 Py_INCREF(Py_None
); resultobj
= Py_None
;
2559 static PyObject
*_wrap_HtmlTagHandler_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2560 PyObject
*resultobj
;
2561 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
2562 wxHtmlParser
*result
;
2563 PyObject
* obj0
= 0 ;
2565 (char *) "self", NULL
2568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTagHandler_GetParser",kwnames
,&obj0
)) goto fail
;
2569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlTagHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2572 result
= (wxHtmlParser
*)(arg1
)->GetParser();
2574 wxPyEndAllowThreads(__tstate
);
2575 if (PyErr_Occurred()) SWIG_fail
;
2577 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlParser
, 0);
2584 static PyObject
*_wrap_HtmlTagHandler_ParseInner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2585 PyObject
*resultobj
;
2586 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
2587 wxHtmlTag
*arg2
= 0 ;
2588 PyObject
* obj0
= 0 ;
2589 PyObject
* obj1
= 0 ;
2591 (char *) "self",(char *) "tag", NULL
2594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTagHandler_ParseInner",kwnames
,&obj0
,&obj1
)) goto fail
;
2595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlTagHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2596 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxHtmlTag
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2598 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2602 (arg1
)->ParseInner((wxHtmlTag
const &)*arg2
);
2604 wxPyEndAllowThreads(__tstate
);
2605 if (PyErr_Occurred()) SWIG_fail
;
2607 Py_INCREF(Py_None
); resultobj
= Py_None
;
2614 static PyObject
* HtmlTagHandler_swigregister(PyObject
*self
, PyObject
*args
) {
2616 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2617 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlTagHandler
, obj
);
2619 return Py_BuildValue((char *)"");
2621 static PyObject
*_wrap_new_HtmlWinTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2622 PyObject
*resultobj
;
2623 wxPyHtmlWinTagHandler
*result
;
2628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlWinTagHandler",kwnames
)) goto fail
;
2630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2631 result
= (wxPyHtmlWinTagHandler
*)new wxPyHtmlWinTagHandler();
2633 wxPyEndAllowThreads(__tstate
);
2634 if (PyErr_Occurred()) SWIG_fail
;
2636 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyHtmlWinTagHandler
, 1);
2643 static PyObject
*_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2644 PyObject
*resultobj
;
2645 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
2646 PyObject
*arg2
= (PyObject
*) 0 ;
2647 PyObject
*arg3
= (PyObject
*) 0 ;
2648 PyObject
* obj0
= 0 ;
2649 PyObject
* obj1
= 0 ;
2650 PyObject
* obj2
= 0 ;
2652 (char *) "self",(char *) "self",(char *) "_class", NULL
2655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWinTagHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2661 (arg1
)->_setCallbackInfo(arg2
,arg3
);
2663 wxPyEndAllowThreads(__tstate
);
2664 if (PyErr_Occurred()) SWIG_fail
;
2666 Py_INCREF(Py_None
); resultobj
= Py_None
;
2673 static PyObject
*_wrap_HtmlWinTagHandler_SetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2674 PyObject
*resultobj
;
2675 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
2676 wxHtmlParser
*arg2
= (wxHtmlParser
*) 0 ;
2677 PyObject
* obj0
= 0 ;
2678 PyObject
* obj1
= 0 ;
2680 (char *) "self",(char *) "parser", NULL
2683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames
,&obj0
,&obj1
)) goto fail
;
2684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWinTagHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2685 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxHtmlParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2688 (arg1
)->SetParser(arg2
);
2690 wxPyEndAllowThreads(__tstate
);
2691 if (PyErr_Occurred()) SWIG_fail
;
2693 Py_INCREF(Py_None
); resultobj
= Py_None
;
2700 static PyObject
*_wrap_HtmlWinTagHandler_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2701 PyObject
*resultobj
;
2702 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
2703 wxHtmlWinParser
*result
;
2704 PyObject
* obj0
= 0 ;
2706 (char *) "self", NULL
2709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinTagHandler_GetParser",kwnames
,&obj0
)) goto fail
;
2710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWinTagHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2713 result
= (wxHtmlWinParser
*)(arg1
)->GetParser();
2715 wxPyEndAllowThreads(__tstate
);
2716 if (PyErr_Occurred()) SWIG_fail
;
2718 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlWinParser
, 0);
2725 static PyObject
*_wrap_HtmlWinTagHandler_ParseInner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2726 PyObject
*resultobj
;
2727 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
2728 wxHtmlTag
*arg2
= 0 ;
2729 PyObject
* obj0
= 0 ;
2730 PyObject
* obj1
= 0 ;
2732 (char *) "self",(char *) "tag", NULL
2735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames
,&obj0
,&obj1
)) goto fail
;
2736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWinTagHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2737 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxHtmlTag
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2739 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2743 (arg1
)->ParseInner((wxHtmlTag
const &)*arg2
);
2745 wxPyEndAllowThreads(__tstate
);
2746 if (PyErr_Occurred()) SWIG_fail
;
2748 Py_INCREF(Py_None
); resultobj
= Py_None
;
2755 static PyObject
* HtmlWinTagHandler_swigregister(PyObject
*self
, PyObject
*args
) {
2757 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2758 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler
, obj
);
2760 return Py_BuildValue((char *)"");
2762 static PyObject
*_wrap_HtmlWinParser_AddTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2763 PyObject
*resultobj
;
2764 PyObject
*arg1
= (PyObject
*) 0 ;
2765 PyObject
* obj0
= 0 ;
2767 (char *) "tagHandlerClass", NULL
2770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_AddTagHandler",kwnames
,&obj0
)) goto fail
;
2773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2774 wxHtmlWinParser_AddTagHandler(arg1
);
2776 wxPyEndAllowThreads(__tstate
);
2777 if (PyErr_Occurred()) SWIG_fail
;
2779 Py_INCREF(Py_None
); resultobj
= Py_None
;
2786 static PyObject
*_wrap_new_HtmlSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2787 PyObject
*resultobj
;
2788 wxHtmlSelection
*result
;
2793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlSelection",kwnames
)) goto fail
;
2795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2796 result
= (wxHtmlSelection
*)new wxHtmlSelection();
2798 wxPyEndAllowThreads(__tstate
);
2799 if (PyErr_Occurred()) SWIG_fail
;
2801 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlSelection
, 1);
2808 static PyObject
*_wrap_delete_HtmlSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2809 PyObject
*resultobj
;
2810 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
2811 PyObject
* obj0
= 0 ;
2813 (char *) "self", NULL
2816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlSelection",kwnames
,&obj0
)) goto fail
;
2817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlSelection
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2822 wxPyEndAllowThreads(__tstate
);
2823 if (PyErr_Occurred()) SWIG_fail
;
2825 Py_INCREF(Py_None
); resultobj
= Py_None
;
2832 static PyObject
*_wrap_HtmlSelection_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2833 PyObject
*resultobj
;
2834 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
2836 wxHtmlCell
*arg3
= (wxHtmlCell
*) 0 ;
2838 wxHtmlCell
*arg5
= (wxHtmlCell
*) 0 ;
2841 PyObject
* obj0
= 0 ;
2842 PyObject
* obj1
= 0 ;
2843 PyObject
* obj2
= 0 ;
2844 PyObject
* obj3
= 0 ;
2845 PyObject
* obj4
= 0 ;
2847 (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
2850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlSelection_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlSelection
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2854 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2856 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2859 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2861 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2864 (arg1
)->Set((wxPoint
const &)*arg2
,(wxHtmlCell
const *)arg3
,(wxPoint
const &)*arg4
,(wxHtmlCell
const *)arg5
);
2866 wxPyEndAllowThreads(__tstate
);
2867 if (PyErr_Occurred()) SWIG_fail
;
2869 Py_INCREF(Py_None
); resultobj
= Py_None
;
2876 static PyObject
*_wrap_HtmlSelection_SetCells(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2877 PyObject
*resultobj
;
2878 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
2879 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
2880 wxHtmlCell
*arg3
= (wxHtmlCell
*) 0 ;
2881 PyObject
* obj0
= 0 ;
2882 PyObject
* obj1
= 0 ;
2883 PyObject
* obj2
= 0 ;
2885 (char *) "self",(char *) "fromCell",(char *) "toCell", NULL
2888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlSelection_SetCells",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlSelection
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2890 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2891 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2894 (arg1
)->Set((wxHtmlCell
const *)arg2
,(wxHtmlCell
const *)arg3
);
2896 wxPyEndAllowThreads(__tstate
);
2897 if (PyErr_Occurred()) SWIG_fail
;
2899 Py_INCREF(Py_None
); resultobj
= Py_None
;
2906 static PyObject
*_wrap_HtmlSelection_GetFromCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2907 PyObject
*resultobj
;
2908 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
2910 PyObject
* obj0
= 0 ;
2912 (char *) "self", NULL
2915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetFromCell",kwnames
,&obj0
)) goto fail
;
2916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlSelection
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2919 result
= (wxHtmlCell
*)((wxHtmlSelection
const *)arg1
)->GetFromCell();
2921 wxPyEndAllowThreads(__tstate
);
2922 if (PyErr_Occurred()) SWIG_fail
;
2924 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlCell
, 0);
2931 static PyObject
*_wrap_HtmlSelection_GetToCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2932 PyObject
*resultobj
;
2933 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
2935 PyObject
* obj0
= 0 ;
2937 (char *) "self", NULL
2940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetToCell",kwnames
,&obj0
)) goto fail
;
2941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlSelection
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2944 result
= (wxHtmlCell
*)((wxHtmlSelection
const *)arg1
)->GetToCell();
2946 wxPyEndAllowThreads(__tstate
);
2947 if (PyErr_Occurred()) SWIG_fail
;
2949 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlCell
, 0);
2956 static PyObject
*_wrap_HtmlSelection_GetFromPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2957 PyObject
*resultobj
;
2958 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
2960 PyObject
* obj0
= 0 ;
2962 (char *) "self", NULL
2965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetFromPos",kwnames
,&obj0
)) goto fail
;
2966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlSelection
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2970 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetFromPos();
2971 result
= (wxPoint
*) &_result_ref
;
2974 wxPyEndAllowThreads(__tstate
);
2975 if (PyErr_Occurred()) SWIG_fail
;
2977 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
2984 static PyObject
*_wrap_HtmlSelection_GetToPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2985 PyObject
*resultobj
;
2986 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
2988 PyObject
* obj0
= 0 ;
2990 (char *) "self", NULL
2993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetToPos",kwnames
,&obj0
)) goto fail
;
2994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlSelection
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2998 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetToPos();
2999 result
= (wxPoint
*) &_result_ref
;
3002 wxPyEndAllowThreads(__tstate
);
3003 if (PyErr_Occurred()) SWIG_fail
;
3005 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
3012 static PyObject
*_wrap_HtmlSelection_GetFromPrivPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3013 PyObject
*resultobj
;
3014 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3016 PyObject
* obj0
= 0 ;
3018 (char *) "self", NULL
3021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetFromPrivPos",kwnames
,&obj0
)) goto fail
;
3022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlSelection
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3026 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetFromPrivPos();
3027 result
= (wxPoint
*) &_result_ref
;
3030 wxPyEndAllowThreads(__tstate
);
3031 if (PyErr_Occurred()) SWIG_fail
;
3033 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
3040 static PyObject
*_wrap_HtmlSelection_GetToPrivPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3041 PyObject
*resultobj
;
3042 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3044 PyObject
* obj0
= 0 ;
3046 (char *) "self", NULL
3049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetToPrivPos",kwnames
,&obj0
)) goto fail
;
3050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlSelection
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3054 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetToPrivPos();
3055 result
= (wxPoint
*) &_result_ref
;
3058 wxPyEndAllowThreads(__tstate
);
3059 if (PyErr_Occurred()) SWIG_fail
;
3061 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
3068 static PyObject
*_wrap_HtmlSelection_SetFromPrivPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3069 PyObject
*resultobj
;
3070 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3073 PyObject
* obj0
= 0 ;
3074 PyObject
* obj1
= 0 ;
3076 (char *) "self",(char *) "pos", NULL
3079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames
,&obj0
,&obj1
)) goto fail
;
3080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlSelection
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3083 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3087 (arg1
)->SetFromPrivPos((wxPoint
const &)*arg2
);
3089 wxPyEndAllowThreads(__tstate
);
3090 if (PyErr_Occurred()) SWIG_fail
;
3092 Py_INCREF(Py_None
); resultobj
= Py_None
;
3099 static PyObject
*_wrap_HtmlSelection_SetToPrivPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3100 PyObject
*resultobj
;
3101 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3104 PyObject
* obj0
= 0 ;
3105 PyObject
* obj1
= 0 ;
3107 (char *) "self",(char *) "pos", NULL
3110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames
,&obj0
,&obj1
)) goto fail
;
3111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlSelection
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3114 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3118 (arg1
)->SetToPrivPos((wxPoint
const &)*arg2
);
3120 wxPyEndAllowThreads(__tstate
);
3121 if (PyErr_Occurred()) SWIG_fail
;
3123 Py_INCREF(Py_None
); resultobj
= Py_None
;
3130 static PyObject
*_wrap_HtmlSelection_ClearPrivPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3131 PyObject
*resultobj
;
3132 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3133 PyObject
* obj0
= 0 ;
3135 (char *) "self", NULL
3138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_ClearPrivPos",kwnames
,&obj0
)) goto fail
;
3139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlSelection
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3142 (arg1
)->ClearPrivPos();
3144 wxPyEndAllowThreads(__tstate
);
3145 if (PyErr_Occurred()) SWIG_fail
;
3147 Py_INCREF(Py_None
); resultobj
= Py_None
;
3154 static PyObject
*_wrap_HtmlSelection_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3155 PyObject
*resultobj
;
3156 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3158 PyObject
* obj0
= 0 ;
3160 (char *) "self", NULL
3163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_IsEmpty",kwnames
,&obj0
)) goto fail
;
3164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlSelection
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3167 result
= (bool)((wxHtmlSelection
const *)arg1
)->IsEmpty();
3169 wxPyEndAllowThreads(__tstate
);
3170 if (PyErr_Occurred()) SWIG_fail
;
3172 resultobj
= PyInt_FromLong((long)result
);
3179 static PyObject
* HtmlSelection_swigregister(PyObject
*self
, PyObject
*args
) {
3181 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3182 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSelection
, obj
);
3184 return Py_BuildValue((char *)"");
3186 static PyObject
*_wrap_new_HtmlRenderingState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3187 PyObject
*resultobj
;
3188 wxHtmlRenderingState
*result
;
3193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlRenderingState",kwnames
)) goto fail
;
3195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3196 result
= (wxHtmlRenderingState
*)new wxHtmlRenderingState();
3198 wxPyEndAllowThreads(__tstate
);
3199 if (PyErr_Occurred()) SWIG_fail
;
3201 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlRenderingState
, 1);
3208 static PyObject
*_wrap_delete_HtmlRenderingState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3209 PyObject
*resultobj
;
3210 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
3211 PyObject
* obj0
= 0 ;
3213 (char *) "self", NULL
3216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlRenderingState",kwnames
,&obj0
)) goto fail
;
3217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlRenderingState
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3222 wxPyEndAllowThreads(__tstate
);
3223 if (PyErr_Occurred()) SWIG_fail
;
3225 Py_INCREF(Py_None
); resultobj
= Py_None
;
3232 static PyObject
*_wrap_HtmlRenderingState_SetSelectionState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3233 PyObject
*resultobj
;
3234 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
3236 PyObject
* obj0
= 0 ;
3238 (char *) "self",(char *) "s", NULL
3241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:HtmlRenderingState_SetSelectionState",kwnames
,&obj0
,&arg2
)) goto fail
;
3242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlRenderingState
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3245 (arg1
)->SetSelectionState((wxHtmlSelectionState
)arg2
);
3247 wxPyEndAllowThreads(__tstate
);
3248 if (PyErr_Occurred()) SWIG_fail
;
3250 Py_INCREF(Py_None
); resultobj
= Py_None
;
3257 static PyObject
*_wrap_HtmlRenderingState_GetSelectionState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3258 PyObject
*resultobj
;
3259 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
3261 PyObject
* obj0
= 0 ;
3263 (char *) "self", NULL
3266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingState_GetSelectionState",kwnames
,&obj0
)) goto fail
;
3267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlRenderingState
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3270 result
= (int)((wxHtmlRenderingState
const *)arg1
)->GetSelectionState();
3272 wxPyEndAllowThreads(__tstate
);
3273 if (PyErr_Occurred()) SWIG_fail
;
3275 resultobj
= PyInt_FromLong((long)result
);
3282 static PyObject
*_wrap_HtmlRenderingState_SetFgColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3283 PyObject
*resultobj
;
3284 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
3285 wxColour
*arg2
= 0 ;
3287 PyObject
* obj0
= 0 ;
3288 PyObject
* obj1
= 0 ;
3290 (char *) "self",(char *) "c", NULL
3293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlRenderingState
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3297 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3301 (arg1
)->SetFgColour((wxColour
const &)*arg2
);
3303 wxPyEndAllowThreads(__tstate
);
3304 if (PyErr_Occurred()) SWIG_fail
;
3306 Py_INCREF(Py_None
); resultobj
= Py_None
;
3313 static PyObject
*_wrap_HtmlRenderingState_GetFgColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3314 PyObject
*resultobj
;
3315 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
3317 PyObject
* obj0
= 0 ;
3319 (char *) "self", NULL
3322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingState_GetFgColour",kwnames
,&obj0
)) goto fail
;
3323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlRenderingState
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3327 wxColour
const &_result_ref
= ((wxHtmlRenderingState
const *)arg1
)->GetFgColour();
3328 result
= (wxColour
*) &_result_ref
;
3331 wxPyEndAllowThreads(__tstate
);
3332 if (PyErr_Occurred()) SWIG_fail
;
3334 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
3341 static PyObject
*_wrap_HtmlRenderingState_SetBgColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3342 PyObject
*resultobj
;
3343 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
3344 wxColour
*arg2
= 0 ;
3346 PyObject
* obj0
= 0 ;
3347 PyObject
* obj1
= 0 ;
3349 (char *) "self",(char *) "c", NULL
3352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlRenderingState
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3356 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3360 (arg1
)->SetBgColour((wxColour
const &)*arg2
);
3362 wxPyEndAllowThreads(__tstate
);
3363 if (PyErr_Occurred()) SWIG_fail
;
3365 Py_INCREF(Py_None
); resultobj
= Py_None
;
3372 static PyObject
*_wrap_HtmlRenderingState_GetBgColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3373 PyObject
*resultobj
;
3374 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
3376 PyObject
* obj0
= 0 ;
3378 (char *) "self", NULL
3381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingState_GetBgColour",kwnames
,&obj0
)) goto fail
;
3382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlRenderingState
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3386 wxColour
const &_result_ref
= ((wxHtmlRenderingState
const *)arg1
)->GetBgColour();
3387 result
= (wxColour
*) &_result_ref
;
3390 wxPyEndAllowThreads(__tstate
);
3391 if (PyErr_Occurred()) SWIG_fail
;
3393 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
3400 static PyObject
* HtmlRenderingState_swigregister(PyObject
*self
, PyObject
*args
) {
3402 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3403 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingState
, obj
);
3405 return Py_BuildValue((char *)"");
3407 static PyObject
*_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3408 PyObject
*resultobj
;
3409 wxHtmlRenderingStyle
*arg1
= (wxHtmlRenderingStyle
*) 0 ;
3410 wxColour
*arg2
= 0 ;
3413 PyObject
* obj0
= 0 ;
3414 PyObject
* obj1
= 0 ;
3416 (char *) "self",(char *) "clr", NULL
3419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlRenderingStyle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3423 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3427 result
= (arg1
)->GetSelectedTextColour((wxColour
const &)*arg2
);
3429 wxPyEndAllowThreads(__tstate
);
3430 if (PyErr_Occurred()) SWIG_fail
;
3433 wxColour
* resultptr
;
3434 resultptr
= new wxColour((wxColour
&) result
);
3435 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
3443 static PyObject
*_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3444 PyObject
*resultobj
;
3445 wxHtmlRenderingStyle
*arg1
= (wxHtmlRenderingStyle
*) 0 ;
3446 wxColour
*arg2
= 0 ;
3449 PyObject
* obj0
= 0 ;
3450 PyObject
* obj1
= 0 ;
3452 (char *) "self",(char *) "clr", NULL
3455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlRenderingStyle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3459 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3463 result
= (arg1
)->GetSelectedTextBgColour((wxColour
const &)*arg2
);
3465 wxPyEndAllowThreads(__tstate
);
3466 if (PyErr_Occurred()) SWIG_fail
;
3469 wxColour
* resultptr
;
3470 resultptr
= new wxColour((wxColour
&) result
);
3471 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
3479 static PyObject
* HtmlRenderingStyle_swigregister(PyObject
*self
, PyObject
*args
) {
3481 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3482 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingStyle
, obj
);
3484 return Py_BuildValue((char *)"");
3486 static PyObject
*_wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3487 PyObject
*resultobj
;
3488 wxDefaultHtmlRenderingStyle
*arg1
= (wxDefaultHtmlRenderingStyle
*) 0 ;
3489 wxColour
*arg2
= 0 ;
3492 PyObject
* obj0
= 0 ;
3493 PyObject
* obj1
= 0 ;
3495 (char *) "self",(char *) "clr", NULL
3498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDefaultHtmlRenderingStyle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3502 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3506 result
= (arg1
)->GetSelectedTextColour((wxColour
const &)*arg2
);
3508 wxPyEndAllowThreads(__tstate
);
3509 if (PyErr_Occurred()) SWIG_fail
;
3512 wxColour
* resultptr
;
3513 resultptr
= new wxColour((wxColour
&) result
);
3514 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
3522 static PyObject
*_wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3523 PyObject
*resultobj
;
3524 wxDefaultHtmlRenderingStyle
*arg1
= (wxDefaultHtmlRenderingStyle
*) 0 ;
3525 wxColour
*arg2
= 0 ;
3528 PyObject
* obj0
= 0 ;
3529 PyObject
* obj1
= 0 ;
3531 (char *) "self",(char *) "clr", NULL
3534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextBgColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDefaultHtmlRenderingStyle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3538 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3542 result
= (arg1
)->GetSelectedTextBgColour((wxColour
const &)*arg2
);
3544 wxPyEndAllowThreads(__tstate
);
3545 if (PyErr_Occurred()) SWIG_fail
;
3548 wxColour
* resultptr
;
3549 resultptr
= new wxColour((wxColour
&) result
);
3550 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
3558 static PyObject
* DefaultHtmlRenderingStyle_swigregister(PyObject
*self
, PyObject
*args
) {
3560 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3561 SWIG_TypeClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle
, obj
);
3563 return Py_BuildValue((char *)"");
3565 static PyObject
*_wrap_new_HtmlRenderingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3566 PyObject
*resultobj
;
3567 wxHtmlRenderingInfo
*result
;
3572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlRenderingInfo",kwnames
)) goto fail
;
3574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3575 result
= (wxHtmlRenderingInfo
*)new wxHtmlRenderingInfo();
3577 wxPyEndAllowThreads(__tstate
);
3578 if (PyErr_Occurred()) SWIG_fail
;
3580 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlRenderingInfo
, 1);
3587 static PyObject
*_wrap_delete_HtmlRenderingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3588 PyObject
*resultobj
;
3589 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
3590 PyObject
* obj0
= 0 ;
3592 (char *) "self", NULL
3595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlRenderingInfo",kwnames
,&obj0
)) goto fail
;
3596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlRenderingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3601 wxPyEndAllowThreads(__tstate
);
3602 if (PyErr_Occurred()) SWIG_fail
;
3604 Py_INCREF(Py_None
); resultobj
= Py_None
;
3611 static PyObject
*_wrap_HtmlRenderingInfo_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3612 PyObject
*resultobj
;
3613 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
3614 wxHtmlSelection
*arg2
= (wxHtmlSelection
*) 0 ;
3615 PyObject
* obj0
= 0 ;
3616 PyObject
* obj1
= 0 ;
3618 (char *) "self",(char *) "s", NULL
3621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlRenderingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3623 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxHtmlSelection
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3626 (arg1
)->SetSelection(arg2
);
3628 wxPyEndAllowThreads(__tstate
);
3629 if (PyErr_Occurred()) SWIG_fail
;
3631 Py_INCREF(Py_None
); resultobj
= Py_None
;
3638 static PyObject
*_wrap_HtmlRenderingInfo_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3639 PyObject
*resultobj
;
3640 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
3641 wxHtmlSelection
*result
;
3642 PyObject
* obj0
= 0 ;
3644 (char *) "self", NULL
3647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingInfo_GetSelection",kwnames
,&obj0
)) goto fail
;
3648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlRenderingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3651 result
= (wxHtmlSelection
*)((wxHtmlRenderingInfo
const *)arg1
)->GetSelection();
3653 wxPyEndAllowThreads(__tstate
);
3654 if (PyErr_Occurred()) SWIG_fail
;
3656 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlSelection
, 0);
3663 static PyObject
*_wrap_HtmlRenderingInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3664 PyObject
*resultobj
;
3665 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
3666 wxHtmlRenderingStyle
*arg2
= (wxHtmlRenderingStyle
*) 0 ;
3667 PyObject
* obj0
= 0 ;
3668 PyObject
* obj1
= 0 ;
3670 (char *) "self",(char *) "style", NULL
3673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
3674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlRenderingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3675 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxHtmlRenderingStyle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3678 (arg1
)->SetStyle(arg2
);
3680 wxPyEndAllowThreads(__tstate
);
3681 if (PyErr_Occurred()) SWIG_fail
;
3683 Py_INCREF(Py_None
); resultobj
= Py_None
;
3690 static PyObject
*_wrap_HtmlRenderingInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3691 PyObject
*resultobj
;
3692 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
3693 wxHtmlRenderingStyle
*result
;
3694 PyObject
* obj0
= 0 ;
3696 (char *) "self", NULL
3699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
3700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlRenderingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3704 wxHtmlRenderingStyle
&_result_ref
= (arg1
)->GetStyle();
3705 result
= (wxHtmlRenderingStyle
*) &_result_ref
;
3708 wxPyEndAllowThreads(__tstate
);
3709 if (PyErr_Occurred()) SWIG_fail
;
3711 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlRenderingStyle
, 0);
3718 static PyObject
*_wrap_HtmlRenderingInfo_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3719 PyObject
*resultobj
;
3720 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
3721 wxHtmlRenderingState
*result
;
3722 PyObject
* obj0
= 0 ;
3724 (char *) "self", NULL
3727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingInfo_GetState",kwnames
,&obj0
)) goto fail
;
3728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlRenderingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3732 wxHtmlRenderingState
&_result_ref
= (arg1
)->GetState();
3733 result
= (wxHtmlRenderingState
*) &_result_ref
;
3736 wxPyEndAllowThreads(__tstate
);
3737 if (PyErr_Occurred()) SWIG_fail
;
3739 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlRenderingState
, 0);
3746 static PyObject
* HtmlRenderingInfo_swigregister(PyObject
*self
, PyObject
*args
) {
3748 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3749 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingInfo
, obj
);
3751 return Py_BuildValue((char *)"");
3753 static PyObject
*_wrap_new_HtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3754 PyObject
*resultobj
;
3760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlCell",kwnames
)) goto fail
;
3762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3763 result
= (wxHtmlCell
*)new wxHtmlCell();
3765 wxPyEndAllowThreads(__tstate
);
3766 if (PyErr_Occurred()) SWIG_fail
;
3768 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlCell
, 1);
3775 static PyObject
*_wrap_HtmlCell_GetPosX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3776 PyObject
*resultobj
;
3777 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
3779 PyObject
* obj0
= 0 ;
3781 (char *) "self", NULL
3784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetPosX",kwnames
,&obj0
)) goto fail
;
3785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3788 result
= (int)(arg1
)->GetPosX();
3790 wxPyEndAllowThreads(__tstate
);
3791 if (PyErr_Occurred()) SWIG_fail
;
3793 resultobj
= PyInt_FromLong((long)result
);
3800 static PyObject
*_wrap_HtmlCell_GetPosY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3801 PyObject
*resultobj
;
3802 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
3804 PyObject
* obj0
= 0 ;
3806 (char *) "self", NULL
3809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetPosY",kwnames
,&obj0
)) goto fail
;
3810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3813 result
= (int)(arg1
)->GetPosY();
3815 wxPyEndAllowThreads(__tstate
);
3816 if (PyErr_Occurred()) SWIG_fail
;
3818 resultobj
= PyInt_FromLong((long)result
);
3825 static PyObject
*_wrap_HtmlCell_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3826 PyObject
*resultobj
;
3827 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
3829 PyObject
* obj0
= 0 ;
3831 (char *) "self", NULL
3834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetWidth",kwnames
,&obj0
)) goto fail
;
3835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3838 result
= (int)(arg1
)->GetWidth();
3840 wxPyEndAllowThreads(__tstate
);
3841 if (PyErr_Occurred()) SWIG_fail
;
3843 resultobj
= PyInt_FromLong((long)result
);
3850 static PyObject
*_wrap_HtmlCell_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3851 PyObject
*resultobj
;
3852 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
3854 PyObject
* obj0
= 0 ;
3856 (char *) "self", NULL
3859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetHeight",kwnames
,&obj0
)) goto fail
;
3860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3863 result
= (int)(arg1
)->GetHeight();
3865 wxPyEndAllowThreads(__tstate
);
3866 if (PyErr_Occurred()) SWIG_fail
;
3868 resultobj
= PyInt_FromLong((long)result
);
3875 static PyObject
*_wrap_HtmlCell_GetDescent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3876 PyObject
*resultobj
;
3877 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
3879 PyObject
* obj0
= 0 ;
3881 (char *) "self", NULL
3884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetDescent",kwnames
,&obj0
)) goto fail
;
3885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3888 result
= (int)(arg1
)->GetDescent();
3890 wxPyEndAllowThreads(__tstate
);
3891 if (PyErr_Occurred()) SWIG_fail
;
3893 resultobj
= PyInt_FromLong((long)result
);
3900 static PyObject
*_wrap_HtmlCell_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3901 PyObject
*resultobj
;
3902 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
3904 PyObject
* obj0
= 0 ;
3906 (char *) "self", NULL
3909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetId",kwnames
,&obj0
)) goto fail
;
3910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3914 wxString
const &_result_ref
= ((wxHtmlCell
const *)arg1
)->GetId();
3915 result
= (wxString
*) &_result_ref
;
3918 wxPyEndAllowThreads(__tstate
);
3919 if (PyErr_Occurred()) SWIG_fail
;
3923 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
3925 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
3934 static PyObject
*_wrap_HtmlCell_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3935 PyObject
*resultobj
;
3936 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
3937 wxString
*arg2
= 0 ;
3938 bool temp2
= False
;
3939 PyObject
* obj0
= 0 ;
3940 PyObject
* obj1
= 0 ;
3942 (char *) "self",(char *) "id", NULL
3945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
3946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3948 arg2
= wxString_in_helper(obj1
);
3949 if (arg2
== NULL
) SWIG_fail
;
3953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3954 (arg1
)->SetId((wxString
const &)*arg2
);
3956 wxPyEndAllowThreads(__tstate
);
3957 if (PyErr_Occurred()) SWIG_fail
;
3959 Py_INCREF(Py_None
); resultobj
= Py_None
;
3974 static PyObject
*_wrap_HtmlCell_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3975 PyObject
*resultobj
;
3976 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
3977 int arg2
= (int) 0 ;
3978 int arg3
= (int) 0 ;
3979 wxHtmlLinkInfo
*result
;
3980 PyObject
* obj0
= 0 ;
3982 (char *) "self",(char *) "x",(char *) "y", NULL
3985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:HtmlCell_GetLink",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3989 result
= (wxHtmlLinkInfo
*)(arg1
)->GetLink(arg2
,arg3
);
3991 wxPyEndAllowThreads(__tstate
);
3992 if (PyErr_Occurred()) SWIG_fail
;
3994 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlLinkInfo
, 0);
4001 static PyObject
*_wrap_HtmlCell_GetNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4002 PyObject
*resultobj
;
4003 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4005 PyObject
* obj0
= 0 ;
4007 (char *) "self", NULL
4010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetNext",kwnames
,&obj0
)) goto fail
;
4011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4014 result
= (wxHtmlCell
*)(arg1
)->GetNext();
4016 wxPyEndAllowThreads(__tstate
);
4017 if (PyErr_Occurred()) SWIG_fail
;
4019 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlCell
, 0);
4026 static PyObject
*_wrap_HtmlCell_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4027 PyObject
*resultobj
;
4028 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4029 wxHtmlContainerCell
*result
;
4030 PyObject
* obj0
= 0 ;
4032 (char *) "self", NULL
4035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetParent",kwnames
,&obj0
)) goto fail
;
4036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4039 result
= (wxHtmlContainerCell
*)(arg1
)->GetParent();
4041 wxPyEndAllowThreads(__tstate
);
4042 if (PyErr_Occurred()) SWIG_fail
;
4044 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlContainerCell
, 0);
4051 static PyObject
*_wrap_HtmlCell_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4052 PyObject
*resultobj
;
4053 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4055 PyObject
* obj0
= 0 ;
4057 (char *) "self", NULL
4060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetFirstChild",kwnames
,&obj0
)) goto fail
;
4061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4064 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetFirstChild();
4066 wxPyEndAllowThreads(__tstate
);
4067 if (PyErr_Occurred()) SWIG_fail
;
4069 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlCell
, 0);
4076 static PyObject
*_wrap_HtmlCell_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4077 PyObject
*resultobj
;
4078 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4080 PyObject
* obj0
= 0 ;
4082 (char *) "self", NULL
4085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetCursor",kwnames
,&obj0
)) goto fail
;
4086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4089 result
= ((wxHtmlCell
const *)arg1
)->GetCursor();
4091 wxPyEndAllowThreads(__tstate
);
4092 if (PyErr_Occurred()) SWIG_fail
;
4095 wxCursor
* resultptr
;
4096 resultptr
= new wxCursor((wxCursor
&) result
);
4097 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxCursor
, 1);
4105 static PyObject
*_wrap_HtmlCell_IsFormattingCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4106 PyObject
*resultobj
;
4107 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4109 PyObject
* obj0
= 0 ;
4111 (char *) "self", NULL
4114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_IsFormattingCell",kwnames
,&obj0
)) goto fail
;
4115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4118 result
= (bool)((wxHtmlCell
const *)arg1
)->IsFormattingCell();
4120 wxPyEndAllowThreads(__tstate
);
4121 if (PyErr_Occurred()) SWIG_fail
;
4123 resultobj
= PyInt_FromLong((long)result
);
4130 static PyObject
*_wrap_HtmlCell_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4131 PyObject
*resultobj
;
4132 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4133 wxHtmlLinkInfo
*arg2
= 0 ;
4134 PyObject
* obj0
= 0 ;
4135 PyObject
* obj1
= 0 ;
4137 (char *) "self",(char *) "link", NULL
4140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
4141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4142 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxHtmlLinkInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4144 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4148 (arg1
)->SetLink((wxHtmlLinkInfo
const &)*arg2
);
4150 wxPyEndAllowThreads(__tstate
);
4151 if (PyErr_Occurred()) SWIG_fail
;
4153 Py_INCREF(Py_None
); resultobj
= Py_None
;
4160 static PyObject
*_wrap_HtmlCell_SetNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4161 PyObject
*resultobj
;
4162 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4163 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
4164 PyObject
* obj0
= 0 ;
4165 PyObject
* obj1
= 0 ;
4167 (char *) "self",(char *) "cell", NULL
4170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetNext",kwnames
,&obj0
,&obj1
)) goto fail
;
4171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4172 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4175 (arg1
)->SetNext(arg2
);
4177 wxPyEndAllowThreads(__tstate
);
4178 if (PyErr_Occurred()) SWIG_fail
;
4180 Py_INCREF(Py_None
); resultobj
= Py_None
;
4187 static PyObject
*_wrap_HtmlCell_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4188 PyObject
*resultobj
;
4189 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4190 wxHtmlContainerCell
*arg2
= (wxHtmlContainerCell
*) 0 ;
4191 PyObject
* obj0
= 0 ;
4192 PyObject
* obj1
= 0 ;
4194 (char *) "self",(char *) "p", NULL
4197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
4198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4199 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxHtmlContainerCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4202 (arg1
)->SetParent(arg2
);
4204 wxPyEndAllowThreads(__tstate
);
4205 if (PyErr_Occurred()) SWIG_fail
;
4207 Py_INCREF(Py_None
); resultobj
= Py_None
;
4214 static PyObject
*_wrap_HtmlCell_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4215 PyObject
*resultobj
;
4216 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4219 PyObject
* obj0
= 0 ;
4221 (char *) "self",(char *) "x",(char *) "y", NULL
4224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:HtmlCell_SetPos",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4228 (arg1
)->SetPos(arg2
,arg3
);
4230 wxPyEndAllowThreads(__tstate
);
4231 if (PyErr_Occurred()) SWIG_fail
;
4233 Py_INCREF(Py_None
); resultobj
= Py_None
;
4240 static PyObject
*_wrap_HtmlCell_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4241 PyObject
*resultobj
;
4242 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4244 PyObject
* obj0
= 0 ;
4246 (char *) "self",(char *) "w", NULL
4249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:HtmlCell_Layout",kwnames
,&obj0
,&arg2
)) goto fail
;
4250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4253 (arg1
)->Layout(arg2
);
4255 wxPyEndAllowThreads(__tstate
);
4256 if (PyErr_Occurred()) SWIG_fail
;
4258 Py_INCREF(Py_None
); resultobj
= Py_None
;
4265 static PyObject
*_wrap_HtmlCell_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4266 PyObject
*resultobj
;
4267 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4273 wxHtmlRenderingInfo
*arg7
= 0 ;
4274 PyObject
* obj0
= 0 ;
4275 PyObject
* obj1
= 0 ;
4276 PyObject
* obj6
= 0 ;
4278 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
4281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiiiiO:HtmlCell_Draw",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
4282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4283 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4285 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4287 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxHtmlRenderingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4289 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4293 (arg1
)->Draw(*arg2
,arg3
,arg4
,arg5
,arg6
,*arg7
);
4295 wxPyEndAllowThreads(__tstate
);
4296 if (PyErr_Occurred()) SWIG_fail
;
4298 Py_INCREF(Py_None
); resultobj
= Py_None
;
4305 static PyObject
*_wrap_HtmlCell_DrawInvisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4306 PyObject
*resultobj
;
4307 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4311 wxHtmlRenderingInfo
*arg5
= 0 ;
4312 PyObject
* obj0
= 0 ;
4313 PyObject
* obj1
= 0 ;
4314 PyObject
* obj4
= 0 ;
4316 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
4319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiiO:HtmlCell_DrawInvisible",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
4320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4321 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4323 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4325 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxHtmlRenderingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4327 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4331 (arg1
)->DrawInvisible(*arg2
,arg3
,arg4
,*arg5
);
4333 wxPyEndAllowThreads(__tstate
);
4334 if (PyErr_Occurred()) SWIG_fail
;
4336 Py_INCREF(Py_None
); resultobj
= Py_None
;
4343 static PyObject
*_wrap_HtmlCell_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4344 PyObject
*resultobj
;
4345 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4347 void *arg3
= (void *) 0 ;
4349 PyObject
* obj0
= 0 ;
4350 PyObject
* obj2
= 0 ;
4352 (char *) "self",(char *) "condition",(char *) "param", NULL
4355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:HtmlCell_Find",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
4356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4357 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4360 result
= (wxHtmlCell
*)(arg1
)->Find(arg2
,(void const *)arg3
);
4362 wxPyEndAllowThreads(__tstate
);
4363 if (PyErr_Occurred()) SWIG_fail
;
4365 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlCell
, 0);
4372 static PyObject
*_wrap_HtmlCell_AdjustPagebreak(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4373 PyObject
*resultobj
;
4374 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4375 int *arg2
= (int *) 0 ;
4378 PyObject
* obj0
= 0 ;
4379 PyObject
* obj1
= 0 ;
4381 (char *) "self",(char *) "INOUT", NULL
4384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_AdjustPagebreak",kwnames
,&obj0
,&obj1
)) goto fail
;
4385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4387 temp2
= PyInt_AsLong(obj1
);
4388 if (PyErr_Occurred()) SWIG_fail
;
4392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4393 result
= (bool)(arg1
)->AdjustPagebreak(arg2
);
4395 wxPyEndAllowThreads(__tstate
);
4396 if (PyErr_Occurred()) SWIG_fail
;
4398 resultobj
= PyInt_FromLong((long)result
);
4400 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4401 resultobj
= t_output_helper(resultobj
,o
);
4409 static PyObject
*_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4410 PyObject
*resultobj
;
4411 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4413 PyObject
* obj0
= 0 ;
4414 PyObject
* obj1
= 0 ;
4416 (char *) "self",(char *) "can", NULL
4419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames
,&obj0
,&obj1
)) goto fail
;
4420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4422 arg2
= (bool) SPyObj_AsBool(obj1
);
4423 if (PyErr_Occurred()) SWIG_fail
;
4426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4427 (arg1
)->SetCanLiveOnPagebreak(arg2
);
4429 wxPyEndAllowThreads(__tstate
);
4430 if (PyErr_Occurred()) SWIG_fail
;
4432 Py_INCREF(Py_None
); resultobj
= Py_None
;
4439 static PyObject
*_wrap_HtmlCell_IsLinebreakAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4440 PyObject
*resultobj
;
4441 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4443 PyObject
* obj0
= 0 ;
4445 (char *) "self", NULL
4448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_IsLinebreakAllowed",kwnames
,&obj0
)) goto fail
;
4449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4452 result
= (bool)((wxHtmlCell
const *)arg1
)->IsLinebreakAllowed();
4454 wxPyEndAllowThreads(__tstate
);
4455 if (PyErr_Occurred()) SWIG_fail
;
4457 resultobj
= PyInt_FromLong((long)result
);
4464 static PyObject
*_wrap_HtmlCell_IsTerminalCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4465 PyObject
*resultobj
;
4466 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4468 PyObject
* obj0
= 0 ;
4470 (char *) "self", NULL
4473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_IsTerminalCell",kwnames
,&obj0
)) goto fail
;
4474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4477 result
= (bool)((wxHtmlCell
const *)arg1
)->IsTerminalCell();
4479 wxPyEndAllowThreads(__tstate
);
4480 if (PyErr_Occurred()) SWIG_fail
;
4482 resultobj
= PyInt_FromLong((long)result
);
4489 static PyObject
*_wrap_HtmlCell_FindCellByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4490 PyObject
*resultobj
;
4491 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4494 unsigned int arg4
= (unsigned int) wxHTML_FIND_EXACT
;
4496 PyObject
* obj0
= 0 ;
4497 PyObject
* obj3
= 0 ;
4499 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
4502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|O:HtmlCell_FindCellByPos",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
4503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4506 arg4
= (unsigned int) SPyObj_AsUnsignedInt(obj3
);
4507 if (PyErr_Occurred()) SWIG_fail
;
4511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4512 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->FindCellByPos(arg2
,arg3
,arg4
);
4514 wxPyEndAllowThreads(__tstate
);
4515 if (PyErr_Occurred()) SWIG_fail
;
4517 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlCell
, 0);
4524 static PyObject
*_wrap_HtmlCell_GetAbsPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4525 PyObject
*resultobj
;
4526 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4528 PyObject
* obj0
= 0 ;
4530 (char *) "self", NULL
4533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetAbsPos",kwnames
,&obj0
)) goto fail
;
4534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4537 result
= ((wxHtmlCell
const *)arg1
)->GetAbsPos();
4539 wxPyEndAllowThreads(__tstate
);
4540 if (PyErr_Occurred()) SWIG_fail
;
4543 wxPoint
* resultptr
;
4544 resultptr
= new wxPoint((wxPoint
&) result
);
4545 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
4553 static PyObject
*_wrap_HtmlCell_GetFirstTerminal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4554 PyObject
*resultobj
;
4555 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4557 PyObject
* obj0
= 0 ;
4559 (char *) "self", NULL
4562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetFirstTerminal",kwnames
,&obj0
)) goto fail
;
4563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4566 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetFirstTerminal();
4568 wxPyEndAllowThreads(__tstate
);
4569 if (PyErr_Occurred()) SWIG_fail
;
4571 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlCell
, 0);
4578 static PyObject
*_wrap_HtmlCell_GetLastTerminal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4579 PyObject
*resultobj
;
4580 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4582 PyObject
* obj0
= 0 ;
4584 (char *) "self", NULL
4587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetLastTerminal",kwnames
,&obj0
)) goto fail
;
4588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4591 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetLastTerminal();
4593 wxPyEndAllowThreads(__tstate
);
4594 if (PyErr_Occurred()) SWIG_fail
;
4596 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlCell
, 0);
4603 static PyObject
*_wrap_HtmlCell_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4604 PyObject
*resultobj
;
4605 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4606 unsigned int result
;
4607 PyObject
* obj0
= 0 ;
4609 (char *) "self", NULL
4612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetDepth",kwnames
,&obj0
)) goto fail
;
4613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4616 result
= (unsigned int)((wxHtmlCell
const *)arg1
)->GetDepth();
4618 wxPyEndAllowThreads(__tstate
);
4619 if (PyErr_Occurred()) SWIG_fail
;
4621 resultobj
= SPyObj_FromUnsignedLong((unsigned long)result
);
4628 static PyObject
*_wrap_HtmlCell_IsBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4629 PyObject
*resultobj
;
4630 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4631 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
4633 PyObject
* obj0
= 0 ;
4634 PyObject
* obj1
= 0 ;
4636 (char *) "self",(char *) "cell", NULL
4639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_IsBefore",kwnames
,&obj0
,&obj1
)) goto fail
;
4640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4641 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4644 result
= (bool)((wxHtmlCell
const *)arg1
)->IsBefore(arg2
);
4646 wxPyEndAllowThreads(__tstate
);
4647 if (PyErr_Occurred()) SWIG_fail
;
4649 resultobj
= PyInt_FromLong((long)result
);
4656 static PyObject
*_wrap_HtmlCell_ConvertToText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4657 PyObject
*resultobj
;
4658 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4659 wxHtmlSelection
*arg2
= (wxHtmlSelection
*) 0 ;
4661 PyObject
* obj0
= 0 ;
4662 PyObject
* obj1
= 0 ;
4664 (char *) "self",(char *) "sel", NULL
4667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_ConvertToText",kwnames
,&obj0
,&obj1
)) goto fail
;
4668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4669 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxHtmlSelection
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4672 result
= ((wxHtmlCell
const *)arg1
)->ConvertToText(arg2
);
4674 wxPyEndAllowThreads(__tstate
);
4675 if (PyErr_Occurred()) SWIG_fail
;
4679 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4681 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4690 static PyObject
* HtmlCell_swigregister(PyObject
*self
, PyObject
*args
) {
4692 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4693 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlCell
, obj
);
4695 return Py_BuildValue((char *)"");
4697 static PyObject
*_wrap_new_HtmlWordCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4698 PyObject
*resultobj
;
4699 wxString
*arg1
= 0 ;
4701 wxHtmlWordCell
*result
;
4702 bool temp1
= False
;
4703 PyObject
* obj0
= 0 ;
4704 PyObject
* obj1
= 0 ;
4706 (char *) "word",(char *) "dc", NULL
4709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_HtmlWordCell",kwnames
,&obj0
,&obj1
)) goto fail
;
4711 arg1
= wxString_in_helper(obj0
);
4712 if (arg1
== NULL
) SWIG_fail
;
4715 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4717 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4721 result
= (wxHtmlWordCell
*)new wxHtmlWordCell((wxString
const &)*arg1
,*arg2
);
4723 wxPyEndAllowThreads(__tstate
);
4724 if (PyErr_Occurred()) SWIG_fail
;
4726 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlWordCell
, 1);
4741 static PyObject
* HtmlWordCell_swigregister(PyObject
*self
, PyObject
*args
) {
4743 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4744 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWordCell
, obj
);
4746 return Py_BuildValue((char *)"");
4748 static PyObject
*_wrap_new_HtmlContainerCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4749 PyObject
*resultobj
;
4750 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
4751 wxHtmlContainerCell
*result
;
4752 PyObject
* obj0
= 0 ;
4754 (char *) "parent", NULL
4757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_HtmlContainerCell",kwnames
,&obj0
)) goto fail
;
4758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlContainerCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4761 result
= (wxHtmlContainerCell
*)new wxHtmlContainerCell(arg1
);
4763 wxPyEndAllowThreads(__tstate
);
4764 if (PyErr_Occurred()) SWIG_fail
;
4766 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlContainerCell
, 1);
4773 static PyObject
*_wrap_HtmlContainerCell_InsertCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4774 PyObject
*resultobj
;
4775 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
4776 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
4777 PyObject
* obj0
= 0 ;
4778 PyObject
* obj1
= 0 ;
4780 (char *) "self",(char *) "cell", NULL
4783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_InsertCell",kwnames
,&obj0
,&obj1
)) goto fail
;
4784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlContainerCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4785 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4788 (arg1
)->InsertCell(arg2
);
4790 wxPyEndAllowThreads(__tstate
);
4791 if (PyErr_Occurred()) SWIG_fail
;
4793 Py_INCREF(Py_None
); resultobj
= Py_None
;
4800 static PyObject
*_wrap_HtmlContainerCell_SetAlignHor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4801 PyObject
*resultobj
;
4802 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
4804 PyObject
* obj0
= 0 ;
4806 (char *) "self",(char *) "al", NULL
4809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:HtmlContainerCell_SetAlignHor",kwnames
,&obj0
,&arg2
)) goto fail
;
4810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlContainerCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4813 (arg1
)->SetAlignHor(arg2
);
4815 wxPyEndAllowThreads(__tstate
);
4816 if (PyErr_Occurred()) SWIG_fail
;
4818 Py_INCREF(Py_None
); resultobj
= Py_None
;
4825 static PyObject
*_wrap_HtmlContainerCell_GetAlignHor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4826 PyObject
*resultobj
;
4827 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
4829 PyObject
* obj0
= 0 ;
4831 (char *) "self", NULL
4834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContainerCell_GetAlignHor",kwnames
,&obj0
)) goto fail
;
4835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlContainerCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4838 result
= (int)(arg1
)->GetAlignHor();
4840 wxPyEndAllowThreads(__tstate
);
4841 if (PyErr_Occurred()) SWIG_fail
;
4843 resultobj
= PyInt_FromLong((long)result
);
4850 static PyObject
*_wrap_HtmlContainerCell_SetAlignVer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4851 PyObject
*resultobj
;
4852 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
4854 PyObject
* obj0
= 0 ;
4856 (char *) "self",(char *) "al", NULL
4859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:HtmlContainerCell_SetAlignVer",kwnames
,&obj0
,&arg2
)) goto fail
;
4860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlContainerCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4863 (arg1
)->SetAlignVer(arg2
);
4865 wxPyEndAllowThreads(__tstate
);
4866 if (PyErr_Occurred()) SWIG_fail
;
4868 Py_INCREF(Py_None
); resultobj
= Py_None
;
4875 static PyObject
*_wrap_HtmlContainerCell_GetAlignVer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4876 PyObject
*resultobj
;
4877 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
4879 PyObject
* obj0
= 0 ;
4881 (char *) "self", NULL
4884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContainerCell_GetAlignVer",kwnames
,&obj0
)) goto fail
;
4885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlContainerCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4888 result
= (int)(arg1
)->GetAlignVer();
4890 wxPyEndAllowThreads(__tstate
);
4891 if (PyErr_Occurred()) SWIG_fail
;
4893 resultobj
= PyInt_FromLong((long)result
);
4900 static PyObject
*_wrap_HtmlContainerCell_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4901 PyObject
*resultobj
;
4902 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
4905 int arg4
= (int) wxHTML_UNITS_PIXELS
;
4906 PyObject
* obj0
= 0 ;
4908 (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
4911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:HtmlContainerCell_SetIndent",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
4912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlContainerCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4915 (arg1
)->SetIndent(arg2
,arg3
,arg4
);
4917 wxPyEndAllowThreads(__tstate
);
4918 if (PyErr_Occurred()) SWIG_fail
;
4920 Py_INCREF(Py_None
); resultobj
= Py_None
;
4927 static PyObject
*_wrap_HtmlContainerCell_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4928 PyObject
*resultobj
;
4929 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
4932 PyObject
* obj0
= 0 ;
4934 (char *) "self",(char *) "ind", NULL
4937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:HtmlContainerCell_GetIndent",kwnames
,&obj0
,&arg2
)) goto fail
;
4938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlContainerCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4941 result
= (int)(arg1
)->GetIndent(arg2
);
4943 wxPyEndAllowThreads(__tstate
);
4944 if (PyErr_Occurred()) SWIG_fail
;
4946 resultobj
= PyInt_FromLong((long)result
);
4953 static PyObject
*_wrap_HtmlContainerCell_GetIndentUnits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4954 PyObject
*resultobj
;
4955 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
4958 PyObject
* obj0
= 0 ;
4960 (char *) "self",(char *) "ind", NULL
4963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:HtmlContainerCell_GetIndentUnits",kwnames
,&obj0
,&arg2
)) goto fail
;
4964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlContainerCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4967 result
= (int)(arg1
)->GetIndentUnits(arg2
);
4969 wxPyEndAllowThreads(__tstate
);
4970 if (PyErr_Occurred()) SWIG_fail
;
4972 resultobj
= PyInt_FromLong((long)result
);
4979 static PyObject
*_wrap_HtmlContainerCell_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4980 PyObject
*resultobj
;
4981 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
4982 wxHtmlTag
*arg2
= 0 ;
4983 PyObject
* obj0
= 0 ;
4984 PyObject
* obj1
= 0 ;
4986 (char *) "self",(char *) "tag", NULL
4989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
4990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlContainerCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4991 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxHtmlTag
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4993 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4997 (arg1
)->SetAlign((wxHtmlTag
const &)*arg2
);
4999 wxPyEndAllowThreads(__tstate
);
5000 if (PyErr_Occurred()) SWIG_fail
;
5002 Py_INCREF(Py_None
); resultobj
= Py_None
;
5009 static PyObject
*_wrap_HtmlContainerCell_SetWidthFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5010 PyObject
*resultobj
;
5011 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5014 PyObject
* obj0
= 0 ;
5016 (char *) "self",(char *) "w",(char *) "units", NULL
5019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:HtmlContainerCell_SetWidthFloat",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlContainerCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5023 (arg1
)->SetWidthFloat(arg2
,arg3
);
5025 wxPyEndAllowThreads(__tstate
);
5026 if (PyErr_Occurred()) SWIG_fail
;
5028 Py_INCREF(Py_None
); resultobj
= Py_None
;
5035 static PyObject
*_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5036 PyObject
*resultobj
;
5037 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5038 wxHtmlTag
*arg2
= 0 ;
5039 PyObject
* obj0
= 0 ;
5040 PyObject
* obj1
= 0 ;
5042 (char *) "self",(char *) "tag", NULL
5045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames
,&obj0
,&obj1
)) goto fail
;
5046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlContainerCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5047 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxHtmlTag
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5049 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5053 (arg1
)->SetWidthFloat((wxHtmlTag
const &)*arg2
);
5055 wxPyEndAllowThreads(__tstate
);
5056 if (PyErr_Occurred()) SWIG_fail
;
5058 Py_INCREF(Py_None
); resultobj
= Py_None
;
5065 static PyObject
*_wrap_HtmlContainerCell_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5066 PyObject
*resultobj
;
5067 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5069 int arg3
= (int) wxHTML_ALIGN_TOP
;
5070 PyObject
* obj0
= 0 ;
5072 (char *) "self",(char *) "h",(char *) "align", NULL
5075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|i:HtmlContainerCell_SetMinHeight",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlContainerCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5079 (arg1
)->SetMinHeight(arg2
,arg3
);
5081 wxPyEndAllowThreads(__tstate
);
5082 if (PyErr_Occurred()) SWIG_fail
;
5084 Py_INCREF(Py_None
); resultobj
= Py_None
;
5091 static PyObject
*_wrap_HtmlContainerCell_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5092 PyObject
*resultobj
;
5093 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5094 wxColour
*arg2
= 0 ;
5096 PyObject
* obj0
= 0 ;
5097 PyObject
* obj1
= 0 ;
5099 (char *) "self",(char *) "clr", NULL
5102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlContainerCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5106 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5110 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
5112 wxPyEndAllowThreads(__tstate
);
5113 if (PyErr_Occurred()) SWIG_fail
;
5115 Py_INCREF(Py_None
); resultobj
= Py_None
;
5122 static PyObject
*_wrap_HtmlContainerCell_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5123 PyObject
*resultobj
;
5124 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5126 PyObject
* obj0
= 0 ;
5128 (char *) "self", NULL
5131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContainerCell_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
5132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlContainerCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5135 result
= (arg1
)->GetBackgroundColour();
5137 wxPyEndAllowThreads(__tstate
);
5138 if (PyErr_Occurred()) SWIG_fail
;
5141 wxColour
* resultptr
;
5142 resultptr
= new wxColour((wxColour
&) result
);
5143 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
5151 static PyObject
*_wrap_HtmlContainerCell_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5152 PyObject
*resultobj
;
5153 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5154 wxColour
*arg2
= 0 ;
5155 wxColour
*arg3
= 0 ;
5158 PyObject
* obj0
= 0 ;
5159 PyObject
* obj1
= 0 ;
5160 PyObject
* obj2
= 0 ;
5162 (char *) "self",(char *) "clr1",(char *) "clr2", NULL
5165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlContainerCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5169 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5173 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5177 (arg1
)->SetBorder((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
5179 wxPyEndAllowThreads(__tstate
);
5180 if (PyErr_Occurred()) SWIG_fail
;
5182 Py_INCREF(Py_None
); resultobj
= Py_None
;
5189 static PyObject
*_wrap_HtmlContainerCell_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5190 PyObject
*resultobj
;
5191 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5193 PyObject
* obj0
= 0 ;
5195 (char *) "self", NULL
5198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContainerCell_GetFirstChild",kwnames
,&obj0
)) goto fail
;
5199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlContainerCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5202 result
= (wxHtmlCell
*)(arg1
)->GetFirstChild();
5204 wxPyEndAllowThreads(__tstate
);
5205 if (PyErr_Occurred()) SWIG_fail
;
5207 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlCell
, 0);
5214 static PyObject
* HtmlContainerCell_swigregister(PyObject
*self
, PyObject
*args
) {
5216 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5217 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContainerCell
, obj
);
5219 return Py_BuildValue((char *)"");
5221 static PyObject
*_wrap_new_HtmlColourCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5222 PyObject
*resultobj
;
5224 int arg2
= (int) wxHTML_CLR_FOREGROUND
;
5225 wxHtmlColourCell
*result
;
5227 PyObject
* obj0
= 0 ;
5229 (char *) "clr",(char *) "flags", NULL
5232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_HtmlColourCell",kwnames
,&obj0
,&arg2
)) goto fail
;
5233 if ((SWIG_ConvertPtr(obj0
,(void **) &argp1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
5236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5237 result
= (wxHtmlColourCell
*)new wxHtmlColourCell(arg1
,arg2
);
5239 wxPyEndAllowThreads(__tstate
);
5240 if (PyErr_Occurred()) SWIG_fail
;
5242 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlColourCell
, 1);
5249 static PyObject
* HtmlColourCell_swigregister(PyObject
*self
, PyObject
*args
) {
5251 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5252 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlColourCell
, obj
);
5254 return Py_BuildValue((char *)"");
5256 static PyObject
*_wrap_new_HtmlFontCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5257 PyObject
*resultobj
;
5258 wxFont
*arg1
= (wxFont
*) 0 ;
5259 wxHtmlFontCell
*result
;
5260 PyObject
* obj0
= 0 ;
5262 (char *) "font", NULL
5265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_HtmlFontCell",kwnames
,&obj0
)) goto fail
;
5266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5269 result
= (wxHtmlFontCell
*)new wxHtmlFontCell(arg1
);
5271 wxPyEndAllowThreads(__tstate
);
5272 if (PyErr_Occurred()) SWIG_fail
;
5274 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlFontCell
, 1);
5281 static PyObject
* HtmlFontCell_swigregister(PyObject
*self
, PyObject
*args
) {
5283 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5284 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlFontCell
, obj
);
5286 return Py_BuildValue((char *)"");
5288 static PyObject
*_wrap_new_HtmlWidgetCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5289 PyObject
*resultobj
;
5290 wxWindow
*arg1
= (wxWindow
*) 0 ;
5291 int arg2
= (int) 0 ;
5292 wxHtmlWidgetCell
*result
;
5293 PyObject
* obj0
= 0 ;
5295 (char *) "wnd",(char *) "w", NULL
5298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_HtmlWidgetCell",kwnames
,&obj0
,&arg2
)) goto fail
;
5299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5302 result
= (wxHtmlWidgetCell
*)new wxHtmlWidgetCell(arg1
,arg2
);
5304 wxPyEndAllowThreads(__tstate
);
5305 if (PyErr_Occurred()) SWIG_fail
;
5307 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlWidgetCell
, 1);
5314 static PyObject
* HtmlWidgetCell_swigregister(PyObject
*self
, PyObject
*args
) {
5316 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5317 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWidgetCell
, obj
);
5319 return Py_BuildValue((char *)"");
5321 static PyObject
*_wrap_new_HtmlFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5322 PyObject
*resultobj
;
5323 wxPyHtmlFilter
*result
;
5328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlFilter",kwnames
)) goto fail
;
5330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5331 result
= (wxPyHtmlFilter
*)new wxPyHtmlFilter();
5333 wxPyEndAllowThreads(__tstate
);
5334 if (PyErr_Occurred()) SWIG_fail
;
5336 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyHtmlFilter
, 1);
5343 static PyObject
*_wrap_HtmlFilter__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5344 PyObject
*resultobj
;
5345 wxPyHtmlFilter
*arg1
= (wxPyHtmlFilter
*) 0 ;
5346 PyObject
*arg2
= (PyObject
*) 0 ;
5347 PyObject
*arg3
= (PyObject
*) 0 ;
5348 PyObject
* obj0
= 0 ;
5349 PyObject
* obj1
= 0 ;
5350 PyObject
* obj2
= 0 ;
5352 (char *) "self",(char *) "self",(char *) "_class", NULL
5355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlFilter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5361 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5363 wxPyEndAllowThreads(__tstate
);
5364 if (PyErr_Occurred()) SWIG_fail
;
5366 Py_INCREF(Py_None
); resultobj
= Py_None
;
5373 static PyObject
* HtmlFilter_swigregister(PyObject
*self
, PyObject
*args
) {
5375 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5376 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlFilter
, obj
);
5378 return Py_BuildValue((char *)"");
5380 static PyObject
*_wrap_new_HtmlWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5381 PyObject
*resultobj
;
5382 wxWindow
*arg1
= (wxWindow
*) 0 ;
5383 int arg2
= (int) -1 ;
5384 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5385 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5386 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5387 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5388 int arg5
= (int) wxHW_DEFAULT_STYLE
;
5389 wxString
const &arg6_defvalue
= wxPyHtmlWindowNameStr
;
5390 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5391 wxPyHtmlWindow
*result
;
5394 bool temp6
= False
;
5395 PyObject
* obj0
= 0 ;
5396 PyObject
* obj2
= 0 ;
5397 PyObject
* obj3
= 0 ;
5398 PyObject
* obj5
= 0 ;
5400 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOiO:new_HtmlWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
5404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5408 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5414 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5419 arg6
= wxString_in_helper(obj5
);
5420 if (arg6
== NULL
) SWIG_fail
;
5425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5426 result
= (wxPyHtmlWindow
*)new wxPyHtmlWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5428 wxPyEndAllowThreads(__tstate
);
5429 if (PyErr_Occurred()) SWIG_fail
;
5432 resultobj
= wxPyMake_wxObject(result
);
5448 static PyObject
*_wrap_new_PreHtmlWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5449 PyObject
*resultobj
;
5450 wxPyHtmlWindow
*result
;
5455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlWindow",kwnames
)) goto fail
;
5457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5458 result
= (wxPyHtmlWindow
*)new wxPyHtmlWindow();
5460 wxPyEndAllowThreads(__tstate
);
5461 if (PyErr_Occurred()) SWIG_fail
;
5464 resultobj
= wxPyMake_wxObject(result
);
5472 static PyObject
*_wrap_HtmlWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5473 PyObject
*resultobj
;
5474 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
5475 wxWindow
*arg2
= (wxWindow
*) 0 ;
5476 int arg3
= (int) -1 ;
5477 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5478 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5479 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5480 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5481 int arg6
= (int) wxHW_SCROLLBAR_AUTO
;
5482 wxString
const &arg7_defvalue
= wxPyHtmlWindowNameStr
;
5483 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5487 bool temp7
= False
;
5488 PyObject
* obj0
= 0 ;
5489 PyObject
* obj1
= 0 ;
5490 PyObject
* obj3
= 0 ;
5491 PyObject
* obj4
= 0 ;
5492 PyObject
* obj6
= 0 ;
5494 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOiO:HtmlWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
5498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5499 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5503 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5509 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5514 arg7
= wxString_in_helper(obj6
);
5515 if (arg7
== NULL
) SWIG_fail
;
5520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5521 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5523 wxPyEndAllowThreads(__tstate
);
5524 if (PyErr_Occurred()) SWIG_fail
;
5526 resultobj
= PyInt_FromLong((long)result
);
5541 static PyObject
*_wrap_HtmlWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5542 PyObject
*resultobj
;
5543 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
5544 PyObject
*arg2
= (PyObject
*) 0 ;
5545 PyObject
*arg3
= (PyObject
*) 0 ;
5546 PyObject
* obj0
= 0 ;
5547 PyObject
* obj1
= 0 ;
5548 PyObject
* obj2
= 0 ;
5550 (char *) "self",(char *) "self",(char *) "_class", NULL
5553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5559 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5561 wxPyEndAllowThreads(__tstate
);
5562 if (PyErr_Occurred()) SWIG_fail
;
5564 Py_INCREF(Py_None
); resultobj
= Py_None
;
5571 static PyObject
*_wrap_HtmlWindow_SetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5572 PyObject
*resultobj
;
5573 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
5574 wxString
*arg2
= 0 ;
5576 bool temp2
= False
;
5577 PyObject
* obj0
= 0 ;
5578 PyObject
* obj1
= 0 ;
5580 (char *) "self",(char *) "source", NULL
5583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
5584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5586 arg2
= wxString_in_helper(obj1
);
5587 if (arg2
== NULL
) SWIG_fail
;
5591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5592 result
= (bool)(arg1
)->SetPage((wxString
const &)*arg2
);
5594 wxPyEndAllowThreads(__tstate
);
5595 if (PyErr_Occurred()) SWIG_fail
;
5597 resultobj
= PyInt_FromLong((long)result
);
5612 static PyObject
*_wrap_HtmlWindow_LoadPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5613 PyObject
*resultobj
;
5614 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
5615 wxString
*arg2
= 0 ;
5617 bool temp2
= False
;
5618 PyObject
* obj0
= 0 ;
5619 PyObject
* obj1
= 0 ;
5621 (char *) "self",(char *) "location", NULL
5624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_LoadPage",kwnames
,&obj0
,&obj1
)) goto fail
;
5625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5627 arg2
= wxString_in_helper(obj1
);
5628 if (arg2
== NULL
) SWIG_fail
;
5632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5633 result
= (bool)(arg1
)->LoadPage((wxString
const &)*arg2
);
5635 wxPyEndAllowThreads(__tstate
);
5636 if (PyErr_Occurred()) SWIG_fail
;
5638 resultobj
= PyInt_FromLong((long)result
);
5653 static PyObject
*_wrap_HtmlWindow_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5654 PyObject
*resultobj
;
5655 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
5656 wxString
*arg2
= 0 ;
5658 bool temp2
= False
;
5659 PyObject
* obj0
= 0 ;
5660 PyObject
* obj1
= 0 ;
5662 (char *) "self",(char *) "filename", NULL
5665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5668 arg2
= wxString_in_helper(obj1
);
5669 if (arg2
== NULL
) SWIG_fail
;
5673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5674 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
5676 wxPyEndAllowThreads(__tstate
);
5677 if (PyErr_Occurred()) SWIG_fail
;
5679 resultobj
= PyInt_FromLong((long)result
);
5694 static PyObject
*_wrap_HtmlWindow_AppendToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5695 PyObject
*resultobj
;
5696 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
5697 wxString
*arg2
= 0 ;
5699 bool temp2
= False
;
5700 PyObject
* obj0
= 0 ;
5701 PyObject
* obj1
= 0 ;
5703 (char *) "self",(char *) "source", NULL
5706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_AppendToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
5707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5709 arg2
= wxString_in_helper(obj1
);
5710 if (arg2
== NULL
) SWIG_fail
;
5714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5715 result
= (bool)(arg1
)->AppendToPage((wxString
const &)*arg2
);
5717 wxPyEndAllowThreads(__tstate
);
5718 if (PyErr_Occurred()) SWIG_fail
;
5720 resultobj
= PyInt_FromLong((long)result
);
5735 static PyObject
*_wrap_HtmlWindow_GetOpenedPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5736 PyObject
*resultobj
;
5737 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
5739 PyObject
* obj0
= 0 ;
5741 (char *) "self", NULL
5744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetOpenedPage",kwnames
,&obj0
)) goto fail
;
5745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5748 result
= (arg1
)->GetOpenedPage();
5750 wxPyEndAllowThreads(__tstate
);
5751 if (PyErr_Occurred()) SWIG_fail
;
5755 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5757 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5766 static PyObject
*_wrap_HtmlWindow_GetOpenedAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5767 PyObject
*resultobj
;
5768 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
5770 PyObject
* obj0
= 0 ;
5772 (char *) "self", NULL
5775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetOpenedAnchor",kwnames
,&obj0
)) goto fail
;
5776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5779 result
= (arg1
)->GetOpenedAnchor();
5781 wxPyEndAllowThreads(__tstate
);
5782 if (PyErr_Occurred()) SWIG_fail
;
5786 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5788 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5797 static PyObject
*_wrap_HtmlWindow_GetOpenedPageTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5798 PyObject
*resultobj
;
5799 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
5801 PyObject
* obj0
= 0 ;
5803 (char *) "self", NULL
5806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetOpenedPageTitle",kwnames
,&obj0
)) goto fail
;
5807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5810 result
= (arg1
)->GetOpenedPageTitle();
5812 wxPyEndAllowThreads(__tstate
);
5813 if (PyErr_Occurred()) SWIG_fail
;
5817 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5819 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5828 static PyObject
*_wrap_HtmlWindow_SetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5829 PyObject
*resultobj
;
5830 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
5831 wxFrame
*arg2
= (wxFrame
*) 0 ;
5832 wxString
*arg3
= 0 ;
5833 bool temp3
= False
;
5834 PyObject
* obj0
= 0 ;
5835 PyObject
* obj1
= 0 ;
5836 PyObject
* obj2
= 0 ;
5838 (char *) "self",(char *) "frame",(char *) "format", NULL
5841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5843 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5845 arg3
= wxString_in_helper(obj2
);
5846 if (arg3
== NULL
) SWIG_fail
;
5850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5851 (arg1
)->SetRelatedFrame(arg2
,(wxString
const &)*arg3
);
5853 wxPyEndAllowThreads(__tstate
);
5854 if (PyErr_Occurred()) SWIG_fail
;
5856 Py_INCREF(Py_None
); resultobj
= Py_None
;
5871 static PyObject
*_wrap_HtmlWindow_GetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5872 PyObject
*resultobj
;
5873 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
5875 PyObject
* obj0
= 0 ;
5877 (char *) "self", NULL
5880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetRelatedFrame",kwnames
,&obj0
)) goto fail
;
5881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5884 result
= (wxFrame
*)(arg1
)->GetRelatedFrame();
5886 wxPyEndAllowThreads(__tstate
);
5887 if (PyErr_Occurred()) SWIG_fail
;
5890 resultobj
= wxPyMake_wxObject(result
);
5898 static PyObject
*_wrap_HtmlWindow_SetRelatedStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5899 PyObject
*resultobj
;
5900 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
5902 PyObject
* obj0
= 0 ;
5904 (char *) "self",(char *) "bar", NULL
5907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:HtmlWindow_SetRelatedStatusBar",kwnames
,&obj0
,&arg2
)) goto fail
;
5908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5911 (arg1
)->SetRelatedStatusBar(arg2
);
5913 wxPyEndAllowThreads(__tstate
);
5914 if (PyErr_Occurred()) SWIG_fail
;
5916 Py_INCREF(Py_None
); resultobj
= Py_None
;
5923 static PyObject
*_wrap_HtmlWindow_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5924 PyObject
*resultobj
;
5925 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
5928 PyObject
*arg4
= (PyObject
*) NULL
;
5929 PyObject
* obj0
= 0 ;
5930 PyObject
* obj1
= 0 ;
5931 PyObject
* obj2
= 0 ;
5932 PyObject
* obj3
= 0 ;
5934 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
5937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5940 wxString
* sptr
= wxString_in_helper(obj1
);
5941 if (sptr
== NULL
) SWIG_fail
;
5946 wxString
* sptr
= wxString_in_helper(obj2
);
5947 if (sptr
== NULL
) SWIG_fail
;
5955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5956 wxPyHtmlWindow_SetFonts(arg1
,arg2
,arg3
,arg4
);
5958 wxPyEndAllowThreads(__tstate
);
5959 if (PyErr_Occurred()) SWIG_fail
;
5961 Py_INCREF(Py_None
); resultobj
= Py_None
;
5968 static PyObject
*_wrap_HtmlWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5969 PyObject
*resultobj
;
5970 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
5971 wxString
*arg2
= 0 ;
5972 bool temp2
= False
;
5973 PyObject
* obj0
= 0 ;
5974 PyObject
* obj1
= 0 ;
5976 (char *) "self",(char *) "title", NULL
5979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
5980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5982 arg2
= wxString_in_helper(obj1
);
5983 if (arg2
== NULL
) SWIG_fail
;
5987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5988 (arg1
)->SetTitle((wxString
const &)*arg2
);
5990 wxPyEndAllowThreads(__tstate
);
5991 if (PyErr_Occurred()) SWIG_fail
;
5993 Py_INCREF(Py_None
); resultobj
= Py_None
;
6008 static PyObject
*_wrap_HtmlWindow_SetBorders(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6009 PyObject
*resultobj
;
6010 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6012 PyObject
* obj0
= 0 ;
6014 (char *) "self",(char *) "b", NULL
6017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:HtmlWindow_SetBorders",kwnames
,&obj0
,&arg2
)) goto fail
;
6018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6021 (arg1
)->SetBorders(arg2
);
6023 wxPyEndAllowThreads(__tstate
);
6024 if (PyErr_Occurred()) SWIG_fail
;
6026 Py_INCREF(Py_None
); resultobj
= Py_None
;
6033 static PyObject
*_wrap_HtmlWindow_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6034 PyObject
*resultobj
;
6035 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6036 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
6037 wxString arg3
= (wxString
) wxPyEmptyString
;
6038 PyObject
* obj0
= 0 ;
6039 PyObject
* obj1
= 0 ;
6040 PyObject
* obj2
= 0 ;
6042 (char *) "self",(char *) "cfg",(char *) "path", NULL
6045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6047 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6050 wxString
* sptr
= wxString_in_helper(obj2
);
6051 if (sptr
== NULL
) SWIG_fail
;
6057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6058 (arg1
)->ReadCustomization(arg2
,arg3
);
6060 wxPyEndAllowThreads(__tstate
);
6061 if (PyErr_Occurred()) SWIG_fail
;
6063 Py_INCREF(Py_None
); resultobj
= Py_None
;
6070 static PyObject
*_wrap_HtmlWindow_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6071 PyObject
*resultobj
;
6072 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6073 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
6074 wxString arg3
= (wxString
) wxPyEmptyString
;
6075 PyObject
* obj0
= 0 ;
6076 PyObject
* obj1
= 0 ;
6077 PyObject
* obj2
= 0 ;
6079 (char *) "self",(char *) "cfg",(char *) "path", NULL
6082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6084 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6087 wxString
* sptr
= wxString_in_helper(obj2
);
6088 if (sptr
== NULL
) SWIG_fail
;
6094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6095 (arg1
)->WriteCustomization(arg2
,arg3
);
6097 wxPyEndAllowThreads(__tstate
);
6098 if (PyErr_Occurred()) SWIG_fail
;
6100 Py_INCREF(Py_None
); resultobj
= Py_None
;
6107 static PyObject
*_wrap_HtmlWindow_HistoryBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6108 PyObject
*resultobj
;
6109 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6111 PyObject
* obj0
= 0 ;
6113 (char *) "self", NULL
6116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_HistoryBack",kwnames
,&obj0
)) goto fail
;
6117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6120 result
= (bool)(arg1
)->HistoryBack();
6122 wxPyEndAllowThreads(__tstate
);
6123 if (PyErr_Occurred()) SWIG_fail
;
6125 resultobj
= PyInt_FromLong((long)result
);
6132 static PyObject
*_wrap_HtmlWindow_HistoryForward(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6133 PyObject
*resultobj
;
6134 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6136 PyObject
* obj0
= 0 ;
6138 (char *) "self", NULL
6141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_HistoryForward",kwnames
,&obj0
)) goto fail
;
6142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6145 result
= (bool)(arg1
)->HistoryForward();
6147 wxPyEndAllowThreads(__tstate
);
6148 if (PyErr_Occurred()) SWIG_fail
;
6150 resultobj
= PyInt_FromLong((long)result
);
6157 static PyObject
*_wrap_HtmlWindow_HistoryCanBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6158 PyObject
*resultobj
;
6159 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6161 PyObject
* obj0
= 0 ;
6163 (char *) "self", NULL
6166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_HistoryCanBack",kwnames
,&obj0
)) goto fail
;
6167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6170 result
= (bool)(arg1
)->HistoryCanBack();
6172 wxPyEndAllowThreads(__tstate
);
6173 if (PyErr_Occurred()) SWIG_fail
;
6175 resultobj
= PyInt_FromLong((long)result
);
6182 static PyObject
*_wrap_HtmlWindow_HistoryCanForward(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6183 PyObject
*resultobj
;
6184 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6186 PyObject
* obj0
= 0 ;
6188 (char *) "self", NULL
6191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_HistoryCanForward",kwnames
,&obj0
)) goto fail
;
6192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6195 result
= (bool)(arg1
)->HistoryCanForward();
6197 wxPyEndAllowThreads(__tstate
);
6198 if (PyErr_Occurred()) SWIG_fail
;
6200 resultobj
= PyInt_FromLong((long)result
);
6207 static PyObject
*_wrap_HtmlWindow_HistoryClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6208 PyObject
*resultobj
;
6209 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6210 PyObject
* obj0
= 0 ;
6212 (char *) "self", NULL
6215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_HistoryClear",kwnames
,&obj0
)) goto fail
;
6216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6219 (arg1
)->HistoryClear();
6221 wxPyEndAllowThreads(__tstate
);
6222 if (PyErr_Occurred()) SWIG_fail
;
6224 Py_INCREF(Py_None
); resultobj
= Py_None
;
6231 static PyObject
*_wrap_HtmlWindow_GetInternalRepresentation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6232 PyObject
*resultobj
;
6233 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6234 wxHtmlContainerCell
*result
;
6235 PyObject
* obj0
= 0 ;
6237 (char *) "self", NULL
6240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetInternalRepresentation",kwnames
,&obj0
)) goto fail
;
6241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6244 result
= (wxHtmlContainerCell
*)(arg1
)->GetInternalRepresentation();
6246 wxPyEndAllowThreads(__tstate
);
6247 if (PyErr_Occurred()) SWIG_fail
;
6249 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlContainerCell
, 0);
6256 static PyObject
*_wrap_HtmlWindow_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6257 PyObject
*resultobj
;
6258 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6259 wxHtmlWinParser
*result
;
6260 PyObject
* obj0
= 0 ;
6262 (char *) "self", NULL
6265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetParser",kwnames
,&obj0
)) goto fail
;
6266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6269 result
= (wxHtmlWinParser
*)(arg1
)->GetParser();
6271 wxPyEndAllowThreads(__tstate
);
6272 if (PyErr_Occurred()) SWIG_fail
;
6274 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlWinParser
, 0);
6281 static PyObject
*_wrap_HtmlWindow_ScrollToAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6282 PyObject
*resultobj
;
6283 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6284 wxString
*arg2
= 0 ;
6286 bool temp2
= False
;
6287 PyObject
* obj0
= 0 ;
6288 PyObject
* obj1
= 0 ;
6290 (char *) "self",(char *) "anchor", NULL
6293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
6294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6296 arg2
= wxString_in_helper(obj1
);
6297 if (arg2
== NULL
) SWIG_fail
;
6301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6302 result
= (bool)(arg1
)->ScrollToAnchor((wxString
const &)*arg2
);
6304 wxPyEndAllowThreads(__tstate
);
6305 if (PyErr_Occurred()) SWIG_fail
;
6307 resultobj
= PyInt_FromLong((long)result
);
6322 static PyObject
*_wrap_HtmlWindow_HasAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6323 PyObject
*resultobj
;
6324 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6325 wxString
*arg2
= 0 ;
6327 bool temp2
= False
;
6328 PyObject
* obj0
= 0 ;
6329 PyObject
* obj1
= 0 ;
6331 (char *) "self",(char *) "anchor", NULL
6334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_HasAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
6335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6337 arg2
= wxString_in_helper(obj1
);
6338 if (arg2
== NULL
) SWIG_fail
;
6342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6343 result
= (bool)(arg1
)->HasAnchor((wxString
const &)*arg2
);
6345 wxPyEndAllowThreads(__tstate
);
6346 if (PyErr_Occurred()) SWIG_fail
;
6348 resultobj
= PyInt_FromLong((long)result
);
6363 static PyObject
*_wrap_HtmlWindow_AddFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6364 PyObject
*resultobj
;
6365 wxPyHtmlFilter
*arg1
= (wxPyHtmlFilter
*) 0 ;
6366 PyObject
* obj0
= 0 ;
6368 (char *) "filter", NULL
6371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_AddFilter",kwnames
,&obj0
)) goto fail
;
6372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlFilter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6375 wxPyHtmlWindow::AddFilter(arg1
);
6377 wxPyEndAllowThreads(__tstate
);
6378 if (PyErr_Occurred()) SWIG_fail
;
6380 Py_INCREF(Py_None
); resultobj
= Py_None
;
6387 static PyObject
*_wrap_HtmlWindow_base_OnLinkClicked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6388 PyObject
*resultobj
;
6389 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6390 wxHtmlLinkInfo
*arg2
= 0 ;
6391 PyObject
* obj0
= 0 ;
6392 PyObject
* obj1
= 0 ;
6394 (char *) "self",(char *) "link", NULL
6397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_base_OnLinkClicked",kwnames
,&obj0
,&obj1
)) goto fail
;
6398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6399 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxHtmlLinkInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6401 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6405 (arg1
)->base_OnLinkClicked((wxHtmlLinkInfo
const &)*arg2
);
6407 wxPyEndAllowThreads(__tstate
);
6408 if (PyErr_Occurred()) SWIG_fail
;
6410 Py_INCREF(Py_None
); resultobj
= Py_None
;
6417 static PyObject
*_wrap_HtmlWindow_base_OnSetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6418 PyObject
*resultobj
;
6419 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6420 wxString
*arg2
= 0 ;
6421 bool temp2
= False
;
6422 PyObject
* obj0
= 0 ;
6423 PyObject
* obj1
= 0 ;
6425 (char *) "self",(char *) "title", NULL
6428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_base_OnSetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
6429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6431 arg2
= wxString_in_helper(obj1
);
6432 if (arg2
== NULL
) SWIG_fail
;
6436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6437 (arg1
)->base_OnSetTitle((wxString
const &)*arg2
);
6439 wxPyEndAllowThreads(__tstate
);
6440 if (PyErr_Occurred()) SWIG_fail
;
6442 Py_INCREF(Py_None
); resultobj
= Py_None
;
6457 static PyObject
*_wrap_HtmlWindow_base_OnCellMouseHover(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6458 PyObject
*resultobj
;
6459 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6460 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
6463 PyObject
* obj0
= 0 ;
6464 PyObject
* obj1
= 0 ;
6466 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
6469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:HtmlWindow_base_OnCellMouseHover",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
6470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6471 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6474 (arg1
)->base_OnCellMouseHover(arg2
,arg3
,arg4
);
6476 wxPyEndAllowThreads(__tstate
);
6477 if (PyErr_Occurred()) SWIG_fail
;
6479 Py_INCREF(Py_None
); resultobj
= Py_None
;
6486 static PyObject
*_wrap_HtmlWindow_base_OnCellClicked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6487 PyObject
*resultobj
;
6488 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6489 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
6492 wxMouseEvent
*arg5
= 0 ;
6493 PyObject
* obj0
= 0 ;
6494 PyObject
* obj1
= 0 ;
6495 PyObject
* obj4
= 0 ;
6497 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
6500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiiO:HtmlWindow_base_OnCellClicked",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
6501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6502 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6503 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6505 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6509 (arg1
)->base_OnCellClicked(arg2
,arg3
,arg4
,(wxMouseEvent
const &)*arg5
);
6511 wxPyEndAllowThreads(__tstate
);
6512 if (PyErr_Occurred()) SWIG_fail
;
6514 Py_INCREF(Py_None
); resultobj
= Py_None
;
6521 static PyObject
* HtmlWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6523 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6524 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWindow
, obj
);
6526 return Py_BuildValue((char *)"");
6528 static PyObject
*_wrap_new_HtmlDCRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6529 PyObject
*resultobj
;
6530 wxHtmlDCRenderer
*result
;
6535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlDCRenderer",kwnames
)) goto fail
;
6537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6538 result
= (wxHtmlDCRenderer
*)new wxHtmlDCRenderer();
6540 wxPyEndAllowThreads(__tstate
);
6541 if (PyErr_Occurred()) SWIG_fail
;
6543 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlDCRenderer
, 1);
6550 static PyObject
*_wrap_delete_HtmlDCRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6551 PyObject
*resultobj
;
6552 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
6553 PyObject
* obj0
= 0 ;
6555 (char *) "self", NULL
6558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlDCRenderer",kwnames
,&obj0
)) goto fail
;
6559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlDCRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6564 wxPyEndAllowThreads(__tstate
);
6565 if (PyErr_Occurred()) SWIG_fail
;
6567 Py_INCREF(Py_None
); resultobj
= Py_None
;
6574 static PyObject
*_wrap_HtmlDCRenderer_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6575 PyObject
*resultobj
;
6576 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
6577 wxDC
*arg2
= (wxDC
*) 0 ;
6579 PyObject
* obj0
= 0 ;
6580 PyObject
* obj1
= 0 ;
6582 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
6585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:HtmlDCRenderer_SetDC",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlDCRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6587 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6590 (arg1
)->SetDC(arg2
,arg3
);
6592 wxPyEndAllowThreads(__tstate
);
6593 if (PyErr_Occurred()) SWIG_fail
;
6595 Py_INCREF(Py_None
); resultobj
= Py_None
;
6602 static PyObject
*_wrap_HtmlDCRenderer_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6603 PyObject
*resultobj
;
6604 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
6607 PyObject
* obj0
= 0 ;
6609 (char *) "self",(char *) "width",(char *) "height", NULL
6612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:HtmlDCRenderer_SetSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
6613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlDCRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6616 (arg1
)->SetSize(arg2
,arg3
);
6618 wxPyEndAllowThreads(__tstate
);
6619 if (PyErr_Occurred()) SWIG_fail
;
6621 Py_INCREF(Py_None
); resultobj
= Py_None
;
6628 static PyObject
*_wrap_HtmlDCRenderer_SetHtmlText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6629 PyObject
*resultobj
;
6630 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
6631 wxString
*arg2
= 0 ;
6632 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6633 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6634 bool arg4
= (bool) True
;
6635 bool temp2
= False
;
6636 bool temp3
= False
;
6637 PyObject
* obj0
= 0 ;
6638 PyObject
* obj1
= 0 ;
6639 PyObject
* obj2
= 0 ;
6640 PyObject
* obj3
= 0 ;
6642 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
6645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlDCRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6648 arg2
= wxString_in_helper(obj1
);
6649 if (arg2
== NULL
) SWIG_fail
;
6654 arg3
= wxString_in_helper(obj2
);
6655 if (arg3
== NULL
) SWIG_fail
;
6661 arg4
= (bool) SPyObj_AsBool(obj3
);
6662 if (PyErr_Occurred()) SWIG_fail
;
6666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6667 (arg1
)->SetHtmlText((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
6669 wxPyEndAllowThreads(__tstate
);
6670 if (PyErr_Occurred()) SWIG_fail
;
6672 Py_INCREF(Py_None
); resultobj
= Py_None
;
6695 static PyObject
*_wrap_HtmlDCRenderer_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6696 PyObject
*resultobj
;
6697 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
6700 PyObject
*arg4
= (PyObject
*) NULL
;
6701 PyObject
* obj0
= 0 ;
6702 PyObject
* obj1
= 0 ;
6703 PyObject
* obj2
= 0 ;
6704 PyObject
* obj3
= 0 ;
6706 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
6709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlDCRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6712 wxString
* sptr
= wxString_in_helper(obj1
);
6713 if (sptr
== NULL
) SWIG_fail
;
6718 wxString
* sptr
= wxString_in_helper(obj2
);
6719 if (sptr
== NULL
) SWIG_fail
;
6727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6728 wxHtmlDCRenderer_SetFonts(arg1
,arg2
,arg3
,arg4
);
6730 wxPyEndAllowThreads(__tstate
);
6731 if (PyErr_Occurred()) SWIG_fail
;
6733 Py_INCREF(Py_None
); resultobj
= Py_None
;
6740 static PyObject
*_wrap_HtmlDCRenderer_Render(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6741 PyObject
*resultobj
;
6742 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
6745 int arg4
= (int) 0 ;
6746 int arg5
= (int) False
;
6747 int arg6
= (int) INT_MAX
;
6748 int *arg7
= (int *) NULL
;
6749 int arg8
= (int) 0 ;
6751 PyObject
* obj0
= 0 ;
6752 PyObject
* obj6
= 0 ;
6754 (char *) "self",(char *) "x",(char *) "y",(char *) "from",(char *) "dont_render",(char *) "to",(char *) "choices",(char *) "LCOUNT", NULL
6757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|iiiOi:HtmlDCRenderer_Render",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
,&arg8
)) goto fail
;
6758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlDCRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6760 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6764 result
= (int)(arg1
)->Render(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
6766 wxPyEndAllowThreads(__tstate
);
6767 if (PyErr_Occurred()) SWIG_fail
;
6769 resultobj
= PyInt_FromLong((long)result
);
6776 static PyObject
*_wrap_HtmlDCRenderer_GetTotalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6777 PyObject
*resultobj
;
6778 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
6780 PyObject
* obj0
= 0 ;
6782 (char *) "self", NULL
6785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlDCRenderer_GetTotalHeight",kwnames
,&obj0
)) goto fail
;
6786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlDCRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6789 result
= (int)(arg1
)->GetTotalHeight();
6791 wxPyEndAllowThreads(__tstate
);
6792 if (PyErr_Occurred()) SWIG_fail
;
6794 resultobj
= PyInt_FromLong((long)result
);
6801 static PyObject
* HtmlDCRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
6803 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6804 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlDCRenderer
, obj
);
6806 return Py_BuildValue((char *)"");
6808 static PyObject
*_wrap_new_HtmlPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6809 PyObject
*resultobj
;
6810 wxString
const &arg1_defvalue
= wxPyHtmlPrintoutTitleStr
;
6811 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
6812 wxHtmlPrintout
*result
;
6813 bool temp1
= False
;
6814 PyObject
* obj0
= 0 ;
6816 (char *) "title", NULL
6819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_HtmlPrintout",kwnames
,&obj0
)) goto fail
;
6822 arg1
= wxString_in_helper(obj0
);
6823 if (arg1
== NULL
) SWIG_fail
;
6828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6829 result
= (wxHtmlPrintout
*)new wxHtmlPrintout((wxString
const &)*arg1
);
6831 wxPyEndAllowThreads(__tstate
);
6832 if (PyErr_Occurred()) SWIG_fail
;
6834 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlPrintout
, 1);
6849 static PyObject
*_wrap_HtmlPrintout_SetHtmlText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6850 PyObject
*resultobj
;
6851 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
6852 wxString
*arg2
= 0 ;
6853 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6854 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6855 bool arg4
= (bool) True
;
6856 bool temp2
= False
;
6857 bool temp3
= False
;
6858 PyObject
* obj0
= 0 ;
6859 PyObject
* obj1
= 0 ;
6860 PyObject
* obj2
= 0 ;
6861 PyObject
* obj3
= 0 ;
6863 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
6866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6869 arg2
= wxString_in_helper(obj1
);
6870 if (arg2
== NULL
) SWIG_fail
;
6875 arg3
= wxString_in_helper(obj2
);
6876 if (arg3
== NULL
) SWIG_fail
;
6882 arg4
= (bool) SPyObj_AsBool(obj3
);
6883 if (PyErr_Occurred()) SWIG_fail
;
6887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6888 (arg1
)->SetHtmlText((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
6890 wxPyEndAllowThreads(__tstate
);
6891 if (PyErr_Occurred()) SWIG_fail
;
6893 Py_INCREF(Py_None
); resultobj
= Py_None
;
6916 static PyObject
*_wrap_HtmlPrintout_SetHtmlFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6917 PyObject
*resultobj
;
6918 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
6919 wxString
*arg2
= 0 ;
6920 bool temp2
= False
;
6921 PyObject
* obj0
= 0 ;
6922 PyObject
* obj1
= 0 ;
6924 (char *) "self",(char *) "htmlfile", NULL
6927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6930 arg2
= wxString_in_helper(obj1
);
6931 if (arg2
== NULL
) SWIG_fail
;
6935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6936 (arg1
)->SetHtmlFile((wxString
const &)*arg2
);
6938 wxPyEndAllowThreads(__tstate
);
6939 if (PyErr_Occurred()) SWIG_fail
;
6941 Py_INCREF(Py_None
); resultobj
= Py_None
;
6956 static PyObject
*_wrap_HtmlPrintout_SetHeader(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6957 PyObject
*resultobj
;
6958 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
6959 wxString
*arg2
= 0 ;
6960 int arg3
= (int) wxPAGE_ALL
;
6961 bool temp2
= False
;
6962 PyObject
* obj0
= 0 ;
6963 PyObject
* obj1
= 0 ;
6965 (char *) "self",(char *) "header",(char *) "pg", NULL
6968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:HtmlPrintout_SetHeader",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6971 arg2
= wxString_in_helper(obj1
);
6972 if (arg2
== NULL
) SWIG_fail
;
6976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6977 (arg1
)->SetHeader((wxString
const &)*arg2
,arg3
);
6979 wxPyEndAllowThreads(__tstate
);
6980 if (PyErr_Occurred()) SWIG_fail
;
6982 Py_INCREF(Py_None
); resultobj
= Py_None
;
6997 static PyObject
*_wrap_HtmlPrintout_SetFooter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6998 PyObject
*resultobj
;
6999 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
7000 wxString
*arg2
= 0 ;
7001 int arg3
= (int) wxPAGE_ALL
;
7002 bool temp2
= False
;
7003 PyObject
* obj0
= 0 ;
7004 PyObject
* obj1
= 0 ;
7006 (char *) "self",(char *) "footer",(char *) "pg", NULL
7009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:HtmlPrintout_SetFooter",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
7010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7012 arg2
= wxString_in_helper(obj1
);
7013 if (arg2
== NULL
) SWIG_fail
;
7017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7018 (arg1
)->SetFooter((wxString
const &)*arg2
,arg3
);
7020 wxPyEndAllowThreads(__tstate
);
7021 if (PyErr_Occurred()) SWIG_fail
;
7023 Py_INCREF(Py_None
); resultobj
= Py_None
;
7038 static PyObject
*_wrap_HtmlPrintout_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7039 PyObject
*resultobj
;
7040 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
7043 PyObject
*arg4
= (PyObject
*) NULL
;
7044 PyObject
* obj0
= 0 ;
7045 PyObject
* obj1
= 0 ;
7046 PyObject
* obj2
= 0 ;
7047 PyObject
* obj3
= 0 ;
7049 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
7052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7055 wxString
* sptr
= wxString_in_helper(obj1
);
7056 if (sptr
== NULL
) SWIG_fail
;
7061 wxString
* sptr
= wxString_in_helper(obj2
);
7062 if (sptr
== NULL
) SWIG_fail
;
7070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7071 wxHtmlPrintout_SetFonts(arg1
,arg2
,arg3
,arg4
);
7073 wxPyEndAllowThreads(__tstate
);
7074 if (PyErr_Occurred()) SWIG_fail
;
7076 Py_INCREF(Py_None
); resultobj
= Py_None
;
7083 static PyObject
*_wrap_HtmlPrintout_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7084 PyObject
*resultobj
;
7085 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
7086 float arg2
= (float) 25.2 ;
7087 float arg3
= (float) 25.2 ;
7088 float arg4
= (float) 25.2 ;
7089 float arg5
= (float) 25.2 ;
7090 float arg6
= (float) 5 ;
7091 PyObject
* obj0
= 0 ;
7093 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
7096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|fffff:HtmlPrintout_SetMargins",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
7097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7100 (arg1
)->SetMargins(arg2
,arg3
,arg4
,arg5
,arg6
);
7102 wxPyEndAllowThreads(__tstate
);
7103 if (PyErr_Occurred()) SWIG_fail
;
7105 Py_INCREF(Py_None
); resultobj
= Py_None
;
7112 static PyObject
*_wrap_HtmlPrintout_AddFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7113 PyObject
*resultobj
;
7114 wxHtmlFilter
*arg1
= (wxHtmlFilter
*) 0 ;
7115 PyObject
* obj0
= 0 ;
7117 (char *) "filter", NULL
7120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlPrintout_AddFilter",kwnames
,&obj0
)) goto fail
;
7121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlFilter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7124 wxHtmlPrintout::AddFilter(arg1
);
7126 wxPyEndAllowThreads(__tstate
);
7127 if (PyErr_Occurred()) SWIG_fail
;
7129 Py_INCREF(Py_None
); resultobj
= Py_None
;
7136 static PyObject
*_wrap_HtmlPrintout_CleanUpStatics(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7137 PyObject
*resultobj
;
7142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HtmlPrintout_CleanUpStatics",kwnames
)) goto fail
;
7144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7145 wxHtmlPrintout::CleanUpStatics();
7147 wxPyEndAllowThreads(__tstate
);
7148 if (PyErr_Occurred()) SWIG_fail
;
7150 Py_INCREF(Py_None
); resultobj
= Py_None
;
7157 static PyObject
* HtmlPrintout_swigregister(PyObject
*self
, PyObject
*args
) {
7159 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7160 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlPrintout
, obj
);
7162 return Py_BuildValue((char *)"");
7164 static PyObject
*_wrap_new_HtmlEasyPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7165 PyObject
*resultobj
;
7166 wxString
const &arg1_defvalue
= wxPyHtmlPrintingTitleStr
;
7167 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
7168 wxWindow
*arg2
= (wxWindow
*) NULL
;
7169 wxHtmlEasyPrinting
*result
;
7170 bool temp1
= False
;
7171 PyObject
* obj0
= 0 ;
7172 PyObject
* obj1
= 0 ;
7174 (char *) "name",(char *) "parentWindow", NULL
7177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_HtmlEasyPrinting",kwnames
,&obj0
,&obj1
)) goto fail
;
7180 arg1
= wxString_in_helper(obj0
);
7181 if (arg1
== NULL
) SWIG_fail
;
7186 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7190 result
= (wxHtmlEasyPrinting
*)new wxHtmlEasyPrinting((wxString
const &)*arg1
,arg2
);
7192 wxPyEndAllowThreads(__tstate
);
7193 if (PyErr_Occurred()) SWIG_fail
;
7195 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlEasyPrinting
, 1);
7210 static PyObject
*_wrap_delete_HtmlEasyPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7211 PyObject
*resultobj
;
7212 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
7213 PyObject
* obj0
= 0 ;
7215 (char *) "self", NULL
7218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlEasyPrinting",kwnames
,&obj0
)) goto fail
;
7219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7224 wxPyEndAllowThreads(__tstate
);
7225 if (PyErr_Occurred()) SWIG_fail
;
7227 Py_INCREF(Py_None
); resultobj
= Py_None
;
7234 static PyObject
*_wrap_HtmlEasyPrinting_PreviewFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7235 PyObject
*resultobj
;
7236 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
7237 wxString
*arg2
= 0 ;
7238 bool temp2
= False
;
7239 PyObject
* obj0
= 0 ;
7240 PyObject
* obj1
= 0 ;
7242 (char *) "self",(char *) "htmlfile", NULL
7245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7248 arg2
= wxString_in_helper(obj1
);
7249 if (arg2
== NULL
) SWIG_fail
;
7253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7254 (arg1
)->PreviewFile((wxString
const &)*arg2
);
7256 wxPyEndAllowThreads(__tstate
);
7257 if (PyErr_Occurred()) SWIG_fail
;
7259 Py_INCREF(Py_None
); resultobj
= Py_None
;
7274 static PyObject
*_wrap_HtmlEasyPrinting_PreviewText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7275 PyObject
*resultobj
;
7276 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
7277 wxString
*arg2
= 0 ;
7278 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7279 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7280 bool temp2
= False
;
7281 bool temp3
= False
;
7282 PyObject
* obj0
= 0 ;
7283 PyObject
* obj1
= 0 ;
7284 PyObject
* obj2
= 0 ;
7286 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
7289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7292 arg2
= wxString_in_helper(obj1
);
7293 if (arg2
== NULL
) SWIG_fail
;
7298 arg3
= wxString_in_helper(obj2
);
7299 if (arg3
== NULL
) SWIG_fail
;
7304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7305 (arg1
)->PreviewText((wxString
const &)*arg2
,(wxString
const &)*arg3
);
7307 wxPyEndAllowThreads(__tstate
);
7308 if (PyErr_Occurred()) SWIG_fail
;
7310 Py_INCREF(Py_None
); resultobj
= Py_None
;
7333 static PyObject
*_wrap_HtmlEasyPrinting_PrintFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7334 PyObject
*resultobj
;
7335 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
7336 wxString
*arg2
= 0 ;
7337 bool temp2
= False
;
7338 PyObject
* obj0
= 0 ;
7339 PyObject
* obj1
= 0 ;
7341 (char *) "self",(char *) "htmlfile", NULL
7344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7347 arg2
= wxString_in_helper(obj1
);
7348 if (arg2
== NULL
) SWIG_fail
;
7352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7353 (arg1
)->PrintFile((wxString
const &)*arg2
);
7355 wxPyEndAllowThreads(__tstate
);
7356 if (PyErr_Occurred()) SWIG_fail
;
7358 Py_INCREF(Py_None
); resultobj
= Py_None
;
7373 static PyObject
*_wrap_HtmlEasyPrinting_PrintText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7374 PyObject
*resultobj
;
7375 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
7376 wxString
*arg2
= 0 ;
7377 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7378 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7379 bool temp2
= False
;
7380 bool temp3
= False
;
7381 PyObject
* obj0
= 0 ;
7382 PyObject
* obj1
= 0 ;
7383 PyObject
* obj2
= 0 ;
7385 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
7388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7391 arg2
= wxString_in_helper(obj1
);
7392 if (arg2
== NULL
) SWIG_fail
;
7397 arg3
= wxString_in_helper(obj2
);
7398 if (arg3
== NULL
) SWIG_fail
;
7403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7404 (arg1
)->PrintText((wxString
const &)*arg2
,(wxString
const &)*arg3
);
7406 wxPyEndAllowThreads(__tstate
);
7407 if (PyErr_Occurred()) SWIG_fail
;
7409 Py_INCREF(Py_None
); resultobj
= Py_None
;
7432 static PyObject
*_wrap_HtmlEasyPrinting_PrinterSetup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7433 PyObject
*resultobj
;
7434 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
7435 PyObject
* obj0
= 0 ;
7437 (char *) "self", NULL
7440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlEasyPrinting_PrinterSetup",kwnames
,&obj0
)) goto fail
;
7441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7444 (arg1
)->PrinterSetup();
7446 wxPyEndAllowThreads(__tstate
);
7447 if (PyErr_Occurred()) SWIG_fail
;
7449 Py_INCREF(Py_None
); resultobj
= Py_None
;
7456 static PyObject
*_wrap_HtmlEasyPrinting_PageSetup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7457 PyObject
*resultobj
;
7458 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
7459 PyObject
* obj0
= 0 ;
7461 (char *) "self", NULL
7464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlEasyPrinting_PageSetup",kwnames
,&obj0
)) goto fail
;
7465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7468 (arg1
)->PageSetup();
7470 wxPyEndAllowThreads(__tstate
);
7471 if (PyErr_Occurred()) SWIG_fail
;
7473 Py_INCREF(Py_None
); resultobj
= Py_None
;
7480 static PyObject
*_wrap_HtmlEasyPrinting_SetHeader(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7481 PyObject
*resultobj
;
7482 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
7483 wxString
*arg2
= 0 ;
7484 int arg3
= (int) wxPAGE_ALL
;
7485 bool temp2
= False
;
7486 PyObject
* obj0
= 0 ;
7487 PyObject
* obj1
= 0 ;
7489 (char *) "self",(char *) "header",(char *) "pg", NULL
7492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:HtmlEasyPrinting_SetHeader",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
7493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7495 arg2
= wxString_in_helper(obj1
);
7496 if (arg2
== NULL
) SWIG_fail
;
7500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7501 (arg1
)->SetHeader((wxString
const &)*arg2
,arg3
);
7503 wxPyEndAllowThreads(__tstate
);
7504 if (PyErr_Occurred()) SWIG_fail
;
7506 Py_INCREF(Py_None
); resultobj
= Py_None
;
7521 static PyObject
*_wrap_HtmlEasyPrinting_SetFooter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7522 PyObject
*resultobj
;
7523 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
7524 wxString
*arg2
= 0 ;
7525 int arg3
= (int) wxPAGE_ALL
;
7526 bool temp2
= False
;
7527 PyObject
* obj0
= 0 ;
7528 PyObject
* obj1
= 0 ;
7530 (char *) "self",(char *) "footer",(char *) "pg", NULL
7533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:HtmlEasyPrinting_SetFooter",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
7534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7536 arg2
= wxString_in_helper(obj1
);
7537 if (arg2
== NULL
) SWIG_fail
;
7541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7542 (arg1
)->SetFooter((wxString
const &)*arg2
,arg3
);
7544 wxPyEndAllowThreads(__tstate
);
7545 if (PyErr_Occurred()) SWIG_fail
;
7547 Py_INCREF(Py_None
); resultobj
= Py_None
;
7562 static PyObject
*_wrap_HtmlEasyPrinting_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7563 PyObject
*resultobj
;
7564 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
7567 PyObject
*arg4
= (PyObject
*) NULL
;
7568 PyObject
* obj0
= 0 ;
7569 PyObject
* obj1
= 0 ;
7570 PyObject
* obj2
= 0 ;
7571 PyObject
* obj3
= 0 ;
7573 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
7576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7579 wxString
* sptr
= wxString_in_helper(obj1
);
7580 if (sptr
== NULL
) SWIG_fail
;
7585 wxString
* sptr
= wxString_in_helper(obj2
);
7586 if (sptr
== NULL
) SWIG_fail
;
7594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7595 wxHtmlEasyPrinting_SetFonts(arg1
,arg2
,arg3
,arg4
);
7597 wxPyEndAllowThreads(__tstate
);
7598 if (PyErr_Occurred()) SWIG_fail
;
7600 Py_INCREF(Py_None
); resultobj
= Py_None
;
7607 static PyObject
*_wrap_HtmlEasyPrinting_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7608 PyObject
*resultobj
;
7609 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
7610 wxPrintData
*result
;
7611 PyObject
* obj0
= 0 ;
7613 (char *) "self", NULL
7616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlEasyPrinting_GetPrintData",kwnames
,&obj0
)) goto fail
;
7617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7620 result
= (wxPrintData
*)(arg1
)->GetPrintData();
7622 wxPyEndAllowThreads(__tstate
);
7623 if (PyErr_Occurred()) SWIG_fail
;
7625 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
7632 static PyObject
*_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7633 PyObject
*resultobj
;
7634 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
7635 wxPageSetupDialogData
*result
;
7636 PyObject
* obj0
= 0 ;
7638 (char *) "self", NULL
7641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlEasyPrinting_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
7642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7645 result
= (wxPageSetupDialogData
*)(arg1
)->GetPageSetupData();
7647 wxPyEndAllowThreads(__tstate
);
7648 if (PyErr_Occurred()) SWIG_fail
;
7650 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialogData
, 0);
7657 static PyObject
* HtmlEasyPrinting_swigregister(PyObject
*self
, PyObject
*args
) {
7659 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7660 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlEasyPrinting
, obj
);
7662 return Py_BuildValue((char *)"");
7664 static PyObject
*_wrap_new_HtmlBookRecord(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7665 PyObject
*resultobj
;
7666 wxString
*arg1
= 0 ;
7667 wxString
*arg2
= 0 ;
7668 wxString
*arg3
= 0 ;
7669 wxString
*arg4
= 0 ;
7670 wxHtmlBookRecord
*result
;
7671 bool temp1
= False
;
7672 bool temp2
= False
;
7673 bool temp3
= False
;
7674 bool temp4
= False
;
7675 PyObject
* obj0
= 0 ;
7676 PyObject
* obj1
= 0 ;
7677 PyObject
* obj2
= 0 ;
7678 PyObject
* obj3
= 0 ;
7680 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
7683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_HtmlBookRecord",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7685 arg1
= wxString_in_helper(obj0
);
7686 if (arg1
== NULL
) SWIG_fail
;
7690 arg2
= wxString_in_helper(obj1
);
7691 if (arg2
== NULL
) SWIG_fail
;
7695 arg3
= wxString_in_helper(obj2
);
7696 if (arg3
== NULL
) SWIG_fail
;
7700 arg4
= wxString_in_helper(obj3
);
7701 if (arg4
== NULL
) SWIG_fail
;
7705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7706 result
= (wxHtmlBookRecord
*)new wxHtmlBookRecord((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
7708 wxPyEndAllowThreads(__tstate
);
7709 if (PyErr_Occurred()) SWIG_fail
;
7711 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlBookRecord
, 1);
7750 static PyObject
*_wrap_HtmlBookRecord_GetBookFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7751 PyObject
*resultobj
;
7752 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
7754 PyObject
* obj0
= 0 ;
7756 (char *) "self", NULL
7759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetBookFile",kwnames
,&obj0
)) goto fail
;
7760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlBookRecord
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7763 result
= (arg1
)->GetBookFile();
7765 wxPyEndAllowThreads(__tstate
);
7766 if (PyErr_Occurred()) SWIG_fail
;
7770 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7772 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7781 static PyObject
*_wrap_HtmlBookRecord_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7782 PyObject
*resultobj
;
7783 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
7785 PyObject
* obj0
= 0 ;
7787 (char *) "self", NULL
7790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetTitle",kwnames
,&obj0
)) goto fail
;
7791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlBookRecord
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7794 result
= (arg1
)->GetTitle();
7796 wxPyEndAllowThreads(__tstate
);
7797 if (PyErr_Occurred()) SWIG_fail
;
7801 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7803 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7812 static PyObject
*_wrap_HtmlBookRecord_GetStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7813 PyObject
*resultobj
;
7814 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
7816 PyObject
* obj0
= 0 ;
7818 (char *) "self", NULL
7821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetStart",kwnames
,&obj0
)) goto fail
;
7822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlBookRecord
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7825 result
= (arg1
)->GetStart();
7827 wxPyEndAllowThreads(__tstate
);
7828 if (PyErr_Occurred()) SWIG_fail
;
7832 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7834 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7843 static PyObject
*_wrap_HtmlBookRecord_GetBasePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7844 PyObject
*resultobj
;
7845 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
7847 PyObject
* obj0
= 0 ;
7849 (char *) "self", NULL
7852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetBasePath",kwnames
,&obj0
)) goto fail
;
7853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlBookRecord
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7856 result
= (arg1
)->GetBasePath();
7858 wxPyEndAllowThreads(__tstate
);
7859 if (PyErr_Occurred()) SWIG_fail
;
7863 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7865 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7874 static PyObject
*_wrap_HtmlBookRecord_SetContentsRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7875 PyObject
*resultobj
;
7876 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
7879 PyObject
* obj0
= 0 ;
7881 (char *) "self",(char *) "start",(char *) "end", NULL
7884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:HtmlBookRecord_SetContentsRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlBookRecord
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7888 (arg1
)->SetContentsRange(arg2
,arg3
);
7890 wxPyEndAllowThreads(__tstate
);
7891 if (PyErr_Occurred()) SWIG_fail
;
7893 Py_INCREF(Py_None
); resultobj
= Py_None
;
7900 static PyObject
*_wrap_HtmlBookRecord_GetContentsStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7901 PyObject
*resultobj
;
7902 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
7904 PyObject
* obj0
= 0 ;
7906 (char *) "self", NULL
7909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetContentsStart",kwnames
,&obj0
)) goto fail
;
7910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlBookRecord
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7913 result
= (int)(arg1
)->GetContentsStart();
7915 wxPyEndAllowThreads(__tstate
);
7916 if (PyErr_Occurred()) SWIG_fail
;
7918 resultobj
= PyInt_FromLong((long)result
);
7925 static PyObject
*_wrap_HtmlBookRecord_GetContentsEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7926 PyObject
*resultobj
;
7927 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
7929 PyObject
* obj0
= 0 ;
7931 (char *) "self", NULL
7934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetContentsEnd",kwnames
,&obj0
)) goto fail
;
7935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlBookRecord
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7938 result
= (int)(arg1
)->GetContentsEnd();
7940 wxPyEndAllowThreads(__tstate
);
7941 if (PyErr_Occurred()) SWIG_fail
;
7943 resultobj
= PyInt_FromLong((long)result
);
7950 static PyObject
*_wrap_HtmlBookRecord_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7951 PyObject
*resultobj
;
7952 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
7953 wxString
*arg2
= 0 ;
7954 bool temp2
= False
;
7955 PyObject
* obj0
= 0 ;
7956 PyObject
* obj1
= 0 ;
7958 (char *) "self",(char *) "title", NULL
7961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
7962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlBookRecord
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7964 arg2
= wxString_in_helper(obj1
);
7965 if (arg2
== NULL
) SWIG_fail
;
7969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7970 (arg1
)->SetTitle((wxString
const &)*arg2
);
7972 wxPyEndAllowThreads(__tstate
);
7973 if (PyErr_Occurred()) SWIG_fail
;
7975 Py_INCREF(Py_None
); resultobj
= Py_None
;
7990 static PyObject
*_wrap_HtmlBookRecord_SetBasePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7991 PyObject
*resultobj
;
7992 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
7993 wxString
*arg2
= 0 ;
7994 bool temp2
= False
;
7995 PyObject
* obj0
= 0 ;
7996 PyObject
* obj1
= 0 ;
7998 (char *) "self",(char *) "path", NULL
8001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames
,&obj0
,&obj1
)) goto fail
;
8002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlBookRecord
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8004 arg2
= wxString_in_helper(obj1
);
8005 if (arg2
== NULL
) SWIG_fail
;
8009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8010 (arg1
)->SetBasePath((wxString
const &)*arg2
);
8012 wxPyEndAllowThreads(__tstate
);
8013 if (PyErr_Occurred()) SWIG_fail
;
8015 Py_INCREF(Py_None
); resultobj
= Py_None
;
8030 static PyObject
*_wrap_HtmlBookRecord_SetStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8031 PyObject
*resultobj
;
8032 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
8033 wxString
*arg2
= 0 ;
8034 bool temp2
= False
;
8035 PyObject
* obj0
= 0 ;
8036 PyObject
* obj1
= 0 ;
8038 (char *) "self",(char *) "start", NULL
8041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetStart",kwnames
,&obj0
,&obj1
)) goto fail
;
8042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlBookRecord
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8044 arg2
= wxString_in_helper(obj1
);
8045 if (arg2
== NULL
) SWIG_fail
;
8049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8050 (arg1
)->SetStart((wxString
const &)*arg2
);
8052 wxPyEndAllowThreads(__tstate
);
8053 if (PyErr_Occurred()) SWIG_fail
;
8055 Py_INCREF(Py_None
); resultobj
= Py_None
;
8070 static PyObject
*_wrap_HtmlBookRecord_GetFullPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8071 PyObject
*resultobj
;
8072 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
8073 wxString
*arg2
= 0 ;
8075 bool temp2
= False
;
8076 PyObject
* obj0
= 0 ;
8077 PyObject
* obj1
= 0 ;
8079 (char *) "self",(char *) "page", NULL
8082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames
,&obj0
,&obj1
)) goto fail
;
8083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlBookRecord
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8085 arg2
= wxString_in_helper(obj1
);
8086 if (arg2
== NULL
) SWIG_fail
;
8090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8091 result
= ((wxHtmlBookRecord
const *)arg1
)->GetFullPath((wxString
const &)*arg2
);
8093 wxPyEndAllowThreads(__tstate
);
8094 if (PyErr_Occurred()) SWIG_fail
;
8098 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8100 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8117 static PyObject
* HtmlBookRecord_swigregister(PyObject
*self
, PyObject
*args
) {
8119 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8120 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlBookRecord
, obj
);
8122 return Py_BuildValue((char *)"");
8124 static PyObject
*_wrap_HtmlContentsItem_GetLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8125 PyObject
*resultobj
;
8126 wxHtmlContentsItem
*arg1
= (wxHtmlContentsItem
*) 0 ;
8128 PyObject
* obj0
= 0 ;
8130 (char *) "self", NULL
8133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContentsItem_GetLevel",kwnames
,&obj0
)) goto fail
;
8134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlContentsItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8137 result
= (int)wxHtmlContentsItem_GetLevel(arg1
);
8139 wxPyEndAllowThreads(__tstate
);
8140 if (PyErr_Occurred()) SWIG_fail
;
8142 resultobj
= PyInt_FromLong((long)result
);
8149 static PyObject
*_wrap_HtmlContentsItem_GetID(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8150 PyObject
*resultobj
;
8151 wxHtmlContentsItem
*arg1
= (wxHtmlContentsItem
*) 0 ;
8153 PyObject
* obj0
= 0 ;
8155 (char *) "self", NULL
8158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContentsItem_GetID",kwnames
,&obj0
)) goto fail
;
8159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlContentsItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8162 result
= (int)wxHtmlContentsItem_GetID(arg1
);
8164 wxPyEndAllowThreads(__tstate
);
8165 if (PyErr_Occurred()) SWIG_fail
;
8167 resultobj
= PyInt_FromLong((long)result
);
8174 static PyObject
*_wrap_HtmlContentsItem_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8175 PyObject
*resultobj
;
8176 wxHtmlContentsItem
*arg1
= (wxHtmlContentsItem
*) 0 ;
8178 PyObject
* obj0
= 0 ;
8180 (char *) "self", NULL
8183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContentsItem_GetName",kwnames
,&obj0
)) goto fail
;
8184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlContentsItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8187 result
= wxHtmlContentsItem_GetName(arg1
);
8189 wxPyEndAllowThreads(__tstate
);
8190 if (PyErr_Occurred()) SWIG_fail
;
8194 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8196 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8205 static PyObject
*_wrap_HtmlContentsItem_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8206 PyObject
*resultobj
;
8207 wxHtmlContentsItem
*arg1
= (wxHtmlContentsItem
*) 0 ;
8209 PyObject
* obj0
= 0 ;
8211 (char *) "self", NULL
8214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContentsItem_GetPage",kwnames
,&obj0
)) goto fail
;
8215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlContentsItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8218 result
= wxHtmlContentsItem_GetPage(arg1
);
8220 wxPyEndAllowThreads(__tstate
);
8221 if (PyErr_Occurred()) SWIG_fail
;
8225 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8227 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8236 static PyObject
*_wrap_HtmlContentsItem_GetBook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8237 PyObject
*resultobj
;
8238 wxHtmlContentsItem
*arg1
= (wxHtmlContentsItem
*) 0 ;
8239 wxHtmlBookRecord
*result
;
8240 PyObject
* obj0
= 0 ;
8242 (char *) "self", NULL
8245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContentsItem_GetBook",kwnames
,&obj0
)) goto fail
;
8246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlContentsItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8249 result
= (wxHtmlBookRecord
*)wxHtmlContentsItem_GetBook(arg1
);
8251 wxPyEndAllowThreads(__tstate
);
8252 if (PyErr_Occurred()) SWIG_fail
;
8254 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlBookRecord
, 0);
8261 static PyObject
* HtmlContentsItem_swigregister(PyObject
*self
, PyObject
*args
) {
8263 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8264 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContentsItem
, obj
);
8266 return Py_BuildValue((char *)"");
8268 static PyObject
*_wrap_HtmlSearchStatus_Search(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8269 PyObject
*resultobj
;
8270 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
8272 PyObject
* obj0
= 0 ;
8274 (char *) "self", NULL
8277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_Search",kwnames
,&obj0
)) goto fail
;
8278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlSearchStatus
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8281 result
= (bool)(arg1
)->Search();
8283 wxPyEndAllowThreads(__tstate
);
8284 if (PyErr_Occurred()) SWIG_fail
;
8286 resultobj
= PyInt_FromLong((long)result
);
8293 static PyObject
*_wrap_HtmlSearchStatus_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8294 PyObject
*resultobj
;
8295 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
8297 PyObject
* obj0
= 0 ;
8299 (char *) "self", NULL
8302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_IsActive",kwnames
,&obj0
)) goto fail
;
8303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlSearchStatus
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8306 result
= (bool)(arg1
)->IsActive();
8308 wxPyEndAllowThreads(__tstate
);
8309 if (PyErr_Occurred()) SWIG_fail
;
8311 resultobj
= PyInt_FromLong((long)result
);
8318 static PyObject
*_wrap_HtmlSearchStatus_GetCurIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8319 PyObject
*resultobj
;
8320 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
8322 PyObject
* obj0
= 0 ;
8324 (char *) "self", NULL
8327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_GetCurIndex",kwnames
,&obj0
)) goto fail
;
8328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlSearchStatus
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8331 result
= (int)(arg1
)->GetCurIndex();
8333 wxPyEndAllowThreads(__tstate
);
8334 if (PyErr_Occurred()) SWIG_fail
;
8336 resultobj
= PyInt_FromLong((long)result
);
8343 static PyObject
*_wrap_HtmlSearchStatus_GetMaxIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8344 PyObject
*resultobj
;
8345 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
8347 PyObject
* obj0
= 0 ;
8349 (char *) "self", NULL
8352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_GetMaxIndex",kwnames
,&obj0
)) goto fail
;
8353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlSearchStatus
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8356 result
= (int)(arg1
)->GetMaxIndex();
8358 wxPyEndAllowThreads(__tstate
);
8359 if (PyErr_Occurred()) SWIG_fail
;
8361 resultobj
= PyInt_FromLong((long)result
);
8368 static PyObject
*_wrap_HtmlSearchStatus_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8369 PyObject
*resultobj
;
8370 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
8372 PyObject
* obj0
= 0 ;
8374 (char *) "self", NULL
8377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_GetName",kwnames
,&obj0
)) goto fail
;
8378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlSearchStatus
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8382 wxString
const &_result_ref
= (arg1
)->GetName();
8383 result
= (wxString
*) &_result_ref
;
8386 wxPyEndAllowThreads(__tstate
);
8387 if (PyErr_Occurred()) SWIG_fail
;
8391 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8393 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8402 static PyObject
*_wrap_HtmlSearchStatus_GetContentsItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8403 PyObject
*resultobj
;
8404 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
8405 wxHtmlContentsItem
*result
;
8406 PyObject
* obj0
= 0 ;
8408 (char *) "self", NULL
8411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_GetContentsItem",kwnames
,&obj0
)) goto fail
;
8412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlSearchStatus
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8415 result
= (wxHtmlContentsItem
*)(arg1
)->GetContentsItem();
8417 wxPyEndAllowThreads(__tstate
);
8418 if (PyErr_Occurred()) SWIG_fail
;
8420 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlContentsItem
, 0);
8427 static PyObject
* HtmlSearchStatus_swigregister(PyObject
*self
, PyObject
*args
) {
8429 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8430 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSearchStatus
, obj
);
8432 return Py_BuildValue((char *)"");
8434 static PyObject
*_wrap_new_HtmlHelpData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8435 PyObject
*resultobj
;
8436 wxHtmlHelpData
*result
;
8441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlHelpData",kwnames
)) goto fail
;
8443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8444 result
= (wxHtmlHelpData
*)new wxHtmlHelpData();
8446 wxPyEndAllowThreads(__tstate
);
8447 if (PyErr_Occurred()) SWIG_fail
;
8449 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlHelpData
, 1);
8456 static PyObject
*_wrap_delete_HtmlHelpData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8457 PyObject
*resultobj
;
8458 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
8459 PyObject
* obj0
= 0 ;
8461 (char *) "self", NULL
8464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlHelpData",kwnames
,&obj0
)) goto fail
;
8465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8470 wxPyEndAllowThreads(__tstate
);
8471 if (PyErr_Occurred()) SWIG_fail
;
8473 Py_INCREF(Py_None
); resultobj
= Py_None
;
8480 static PyObject
*_wrap_HtmlHelpData_SetTempDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8481 PyObject
*resultobj
;
8482 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
8483 wxString
*arg2
= 0 ;
8484 bool temp2
= False
;
8485 PyObject
* obj0
= 0 ;
8486 PyObject
* obj1
= 0 ;
8488 (char *) "self",(char *) "path", NULL
8491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_SetTempDir",kwnames
,&obj0
,&obj1
)) goto fail
;
8492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8494 arg2
= wxString_in_helper(obj1
);
8495 if (arg2
== NULL
) SWIG_fail
;
8499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8500 (arg1
)->SetTempDir((wxString
const &)*arg2
);
8502 wxPyEndAllowThreads(__tstate
);
8503 if (PyErr_Occurred()) SWIG_fail
;
8505 Py_INCREF(Py_None
); resultobj
= Py_None
;
8520 static PyObject
*_wrap_HtmlHelpData_AddBook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8521 PyObject
*resultobj
;
8522 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
8523 wxString
*arg2
= 0 ;
8525 bool temp2
= False
;
8526 PyObject
* obj0
= 0 ;
8527 PyObject
* obj1
= 0 ;
8529 (char *) "self",(char *) "book", NULL
8532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_AddBook",kwnames
,&obj0
,&obj1
)) goto fail
;
8533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8535 arg2
= wxString_in_helper(obj1
);
8536 if (arg2
== NULL
) SWIG_fail
;
8540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8541 result
= (bool)(arg1
)->AddBook((wxString
const &)*arg2
);
8543 wxPyEndAllowThreads(__tstate
);
8544 if (PyErr_Occurred()) SWIG_fail
;
8546 resultobj
= PyInt_FromLong((long)result
);
8561 static PyObject
*_wrap_HtmlHelpData_FindPageByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8562 PyObject
*resultobj
;
8563 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
8564 wxString
*arg2
= 0 ;
8566 bool temp2
= False
;
8567 PyObject
* obj0
= 0 ;
8568 PyObject
* obj1
= 0 ;
8570 (char *) "self",(char *) "page", NULL
8573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_FindPageByName",kwnames
,&obj0
,&obj1
)) goto fail
;
8574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8576 arg2
= wxString_in_helper(obj1
);
8577 if (arg2
== NULL
) SWIG_fail
;
8581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8582 result
= (arg1
)->FindPageByName((wxString
const &)*arg2
);
8584 wxPyEndAllowThreads(__tstate
);
8585 if (PyErr_Occurred()) SWIG_fail
;
8589 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8591 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8608 static PyObject
*_wrap_HtmlHelpData_FindPageById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8609 PyObject
*resultobj
;
8610 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
8613 PyObject
* obj0
= 0 ;
8615 (char *) "self",(char *) "id", NULL
8618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:HtmlHelpData_FindPageById",kwnames
,&obj0
,&arg2
)) goto fail
;
8619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8622 result
= (arg1
)->FindPageById(arg2
);
8624 wxPyEndAllowThreads(__tstate
);
8625 if (PyErr_Occurred()) SWIG_fail
;
8629 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8631 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8640 static PyObject
*_wrap_HtmlHelpData_GetBookRecArray(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8641 PyObject
*resultobj
;
8642 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
8643 wxHtmlBookRecArray
*result
;
8644 PyObject
* obj0
= 0 ;
8646 (char *) "self", NULL
8649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpData_GetBookRecArray",kwnames
,&obj0
)) goto fail
;
8650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8654 wxHtmlBookRecArray
const &_result_ref
= (arg1
)->GetBookRecArray();
8655 result
= (wxHtmlBookRecArray
*) &_result_ref
;
8658 wxPyEndAllowThreads(__tstate
);
8659 if (PyErr_Occurred()) SWIG_fail
;
8661 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlBookRecArray
, 0);
8668 static PyObject
*_wrap_HtmlHelpData_GetContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8669 PyObject
*resultobj
;
8670 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
8671 wxHtmlContentsItem
*result
;
8672 PyObject
* obj0
= 0 ;
8674 (char *) "self", NULL
8677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpData_GetContents",kwnames
,&obj0
)) goto fail
;
8678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8681 result
= (wxHtmlContentsItem
*)(arg1
)->GetContents();
8683 wxPyEndAllowThreads(__tstate
);
8684 if (PyErr_Occurred()) SWIG_fail
;
8686 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlContentsItem
, 0);
8693 static PyObject
*_wrap_HtmlHelpData_GetContentsCnt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8694 PyObject
*resultobj
;
8695 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
8697 PyObject
* obj0
= 0 ;
8699 (char *) "self", NULL
8702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpData_GetContentsCnt",kwnames
,&obj0
)) goto fail
;
8703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8706 result
= (int)(arg1
)->GetContentsCnt();
8708 wxPyEndAllowThreads(__tstate
);
8709 if (PyErr_Occurred()) SWIG_fail
;
8711 resultobj
= PyInt_FromLong((long)result
);
8718 static PyObject
*_wrap_HtmlHelpData_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8719 PyObject
*resultobj
;
8720 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
8721 wxHtmlContentsItem
*result
;
8722 PyObject
* obj0
= 0 ;
8724 (char *) "self", NULL
8727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpData_GetIndex",kwnames
,&obj0
)) goto fail
;
8728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8731 result
= (wxHtmlContentsItem
*)(arg1
)->GetIndex();
8733 wxPyEndAllowThreads(__tstate
);
8734 if (PyErr_Occurred()) SWIG_fail
;
8736 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlContentsItem
, 0);
8743 static PyObject
*_wrap_HtmlHelpData_GetIndexCnt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8744 PyObject
*resultobj
;
8745 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
8747 PyObject
* obj0
= 0 ;
8749 (char *) "self", NULL
8752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpData_GetIndexCnt",kwnames
,&obj0
)) goto fail
;
8753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8756 result
= (int)(arg1
)->GetIndexCnt();
8758 wxPyEndAllowThreads(__tstate
);
8759 if (PyErr_Occurred()) SWIG_fail
;
8761 resultobj
= PyInt_FromLong((long)result
);
8768 static PyObject
* HtmlHelpData_swigregister(PyObject
*self
, PyObject
*args
) {
8770 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8771 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpData
, obj
);
8773 return Py_BuildValue((char *)"");
8775 static PyObject
*_wrap_new_HtmlHelpFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8776 PyObject
*resultobj
;
8777 wxWindow
*arg1
= (wxWindow
*) 0 ;
8779 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8780 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8781 int arg4
= (int) wxHF_DEFAULTSTYLE
;
8782 wxHtmlHelpData
*arg5
= (wxHtmlHelpData
*) NULL
;
8783 wxHtmlHelpFrame
*result
;
8784 bool temp3
= False
;
8785 PyObject
* obj0
= 0 ;
8786 PyObject
* obj2
= 0 ;
8787 PyObject
* obj4
= 0 ;
8789 (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL
8792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OiO:new_HtmlHelpFrame",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
,&obj4
)) goto fail
;
8793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8796 arg3
= wxString_in_helper(obj2
);
8797 if (arg3
== NULL
) SWIG_fail
;
8802 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxHtmlHelpData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8806 result
= (wxHtmlHelpFrame
*)new wxHtmlHelpFrame(arg1
,arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
8808 wxPyEndAllowThreads(__tstate
);
8809 if (PyErr_Occurred()) SWIG_fail
;
8811 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlHelpFrame
, 1);
8826 static PyObject
*_wrap_HtmlHelpFrame_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8827 PyObject
*resultobj
;
8828 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
8829 wxHtmlHelpData
*result
;
8830 PyObject
* obj0
= 0 ;
8832 (char *) "self", NULL
8835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpFrame_GetData",kwnames
,&obj0
)) goto fail
;
8836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8839 result
= (wxHtmlHelpData
*)(arg1
)->GetData();
8841 wxPyEndAllowThreads(__tstate
);
8842 if (PyErr_Occurred()) SWIG_fail
;
8844 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlHelpData
, 0);
8851 static PyObject
*_wrap_HtmlHelpFrame_SetTitleFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8852 PyObject
*resultobj
;
8853 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
8854 wxString
*arg2
= 0 ;
8855 bool temp2
= False
;
8856 PyObject
* obj0
= 0 ;
8857 PyObject
* obj1
= 0 ;
8859 (char *) "self",(char *) "format", NULL
8862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
8863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8865 arg2
= wxString_in_helper(obj1
);
8866 if (arg2
== NULL
) SWIG_fail
;
8870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8871 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
8873 wxPyEndAllowThreads(__tstate
);
8874 if (PyErr_Occurred()) SWIG_fail
;
8876 Py_INCREF(Py_None
); resultobj
= Py_None
;
8891 static PyObject
*_wrap_HtmlHelpFrame_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8892 PyObject
*resultobj
;
8893 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
8894 wxString
*arg2
= 0 ;
8895 bool temp2
= False
;
8896 PyObject
* obj0
= 0 ;
8897 PyObject
* obj1
= 0 ;
8899 (char *) "self",(char *) "x", NULL
8902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_Display",kwnames
,&obj0
,&obj1
)) goto fail
;
8903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8905 arg2
= wxString_in_helper(obj1
);
8906 if (arg2
== NULL
) SWIG_fail
;
8910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8911 (arg1
)->Display((wxString
const &)*arg2
);
8913 wxPyEndAllowThreads(__tstate
);
8914 if (PyErr_Occurred()) SWIG_fail
;
8916 Py_INCREF(Py_None
); resultobj
= Py_None
;
8931 static PyObject
*_wrap_HtmlHelpFrame_DisplayID(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8932 PyObject
*resultobj
;
8933 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
8935 PyObject
* obj0
= 0 ;
8937 (char *) "self",(char *) "id", NULL
8940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:HtmlHelpFrame_DisplayID",kwnames
,&obj0
,&arg2
)) goto fail
;
8941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8944 (arg1
)->Display(arg2
);
8946 wxPyEndAllowThreads(__tstate
);
8947 if (PyErr_Occurred()) SWIG_fail
;
8949 Py_INCREF(Py_None
); resultobj
= Py_None
;
8956 static PyObject
*_wrap_HtmlHelpFrame_DisplayContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8957 PyObject
*resultobj
;
8958 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
8959 PyObject
* obj0
= 0 ;
8961 (char *) "self", NULL
8964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpFrame_DisplayContents",kwnames
,&obj0
)) goto fail
;
8965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8968 (arg1
)->DisplayContents();
8970 wxPyEndAllowThreads(__tstate
);
8971 if (PyErr_Occurred()) SWIG_fail
;
8973 Py_INCREF(Py_None
); resultobj
= Py_None
;
8980 static PyObject
*_wrap_HtmlHelpFrame_DisplayIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8981 PyObject
*resultobj
;
8982 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
8983 PyObject
* obj0
= 0 ;
8985 (char *) "self", NULL
8988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpFrame_DisplayIndex",kwnames
,&obj0
)) goto fail
;
8989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8992 (arg1
)->DisplayIndex();
8994 wxPyEndAllowThreads(__tstate
);
8995 if (PyErr_Occurred()) SWIG_fail
;
8997 Py_INCREF(Py_None
); resultobj
= Py_None
;
9004 static PyObject
*_wrap_HtmlHelpFrame_KeywordSearch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9005 PyObject
*resultobj
;
9006 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
9007 wxString
*arg2
= 0 ;
9009 bool temp2
= False
;
9010 PyObject
* obj0
= 0 ;
9011 PyObject
* obj1
= 0 ;
9013 (char *) "self",(char *) "keyword", NULL
9016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_KeywordSearch",kwnames
,&obj0
,&obj1
)) goto fail
;
9017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9019 arg2
= wxString_in_helper(obj1
);
9020 if (arg2
== NULL
) SWIG_fail
;
9024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9025 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
);
9027 wxPyEndAllowThreads(__tstate
);
9028 if (PyErr_Occurred()) SWIG_fail
;
9030 resultobj
= PyInt_FromLong((long)result
);
9045 static PyObject
*_wrap_HtmlHelpFrame_UseConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9046 PyObject
*resultobj
;
9047 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
9048 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
9049 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9050 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9051 bool temp3
= False
;
9052 PyObject
* obj0
= 0 ;
9053 PyObject
* obj1
= 0 ;
9054 PyObject
* obj2
= 0 ;
9056 (char *) "self",(char *) "config",(char *) "rootpath", NULL
9059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpFrame_UseConfig",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9061 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9064 arg3
= wxString_in_helper(obj2
);
9065 if (arg3
== NULL
) SWIG_fail
;
9070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9071 (arg1
)->UseConfig(arg2
,(wxString
const &)*arg3
);
9073 wxPyEndAllowThreads(__tstate
);
9074 if (PyErr_Occurred()) SWIG_fail
;
9076 Py_INCREF(Py_None
); resultobj
= Py_None
;
9091 static PyObject
*_wrap_HtmlHelpFrame_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9092 PyObject
*resultobj
;
9093 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
9094 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
9095 wxString arg3
= (wxString
) wxPyEmptyString
;
9096 PyObject
* obj0
= 0 ;
9097 PyObject
* obj1
= 0 ;
9098 PyObject
* obj2
= 0 ;
9100 (char *) "self",(char *) "cfg",(char *) "path", NULL
9103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpFrame_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9105 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9108 wxString
* sptr
= wxString_in_helper(obj2
);
9109 if (sptr
== NULL
) SWIG_fail
;
9115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9116 (arg1
)->ReadCustomization(arg2
,arg3
);
9118 wxPyEndAllowThreads(__tstate
);
9119 if (PyErr_Occurred()) SWIG_fail
;
9121 Py_INCREF(Py_None
); resultobj
= Py_None
;
9128 static PyObject
*_wrap_HtmlHelpFrame_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9129 PyObject
*resultobj
;
9130 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
9131 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
9132 wxString arg3
= (wxString
) wxPyEmptyString
;
9133 PyObject
* obj0
= 0 ;
9134 PyObject
* obj1
= 0 ;
9135 PyObject
* obj2
= 0 ;
9137 (char *) "self",(char *) "cfg",(char *) "path", NULL
9140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpFrame_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9142 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9145 wxString
* sptr
= wxString_in_helper(obj2
);
9146 if (sptr
== NULL
) SWIG_fail
;
9152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9153 (arg1
)->WriteCustomization(arg2
,arg3
);
9155 wxPyEndAllowThreads(__tstate
);
9156 if (PyErr_Occurred()) SWIG_fail
;
9158 Py_INCREF(Py_None
); resultobj
= Py_None
;
9165 static PyObject
* HtmlHelpFrame_swigregister(PyObject
*self
, PyObject
*args
) {
9167 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9168 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpFrame
, obj
);
9170 return Py_BuildValue((char *)"");
9172 static PyObject
*_wrap_new_HtmlHelpController(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9173 PyObject
*resultobj
;
9174 int arg1
= (int) wxHF_DEFAULTSTYLE
;
9175 wxHtmlHelpController
*result
;
9177 (char *) "style", NULL
9180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_HtmlHelpController",kwnames
,&arg1
)) goto fail
;
9182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9183 result
= (wxHtmlHelpController
*)new wxHtmlHelpController(arg1
);
9185 wxPyEndAllowThreads(__tstate
);
9186 if (PyErr_Occurred()) SWIG_fail
;
9188 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlHelpController
, 1);
9195 static PyObject
*_wrap_delete_HtmlHelpController(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9196 PyObject
*resultobj
;
9197 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
9198 PyObject
* obj0
= 0 ;
9200 (char *) "self", NULL
9203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlHelpController",kwnames
,&obj0
)) goto fail
;
9204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpController
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9209 wxPyEndAllowThreads(__tstate
);
9210 if (PyErr_Occurred()) SWIG_fail
;
9212 Py_INCREF(Py_None
); resultobj
= Py_None
;
9219 static PyObject
*_wrap_HtmlHelpController_SetTitleFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9220 PyObject
*resultobj
;
9221 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
9222 wxString
*arg2
= 0 ;
9223 bool temp2
= False
;
9224 PyObject
* obj0
= 0 ;
9225 PyObject
* obj1
= 0 ;
9227 (char *) "self",(char *) "format", NULL
9230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
9231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpController
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9233 arg2
= wxString_in_helper(obj1
);
9234 if (arg2
== NULL
) SWIG_fail
;
9238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9239 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
9241 wxPyEndAllowThreads(__tstate
);
9242 if (PyErr_Occurred()) SWIG_fail
;
9244 Py_INCREF(Py_None
); resultobj
= Py_None
;
9259 static PyObject
*_wrap_HtmlHelpController_SetTempDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9260 PyObject
*resultobj
;
9261 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
9262 wxString
*arg2
= 0 ;
9263 bool temp2
= False
;
9264 PyObject
* obj0
= 0 ;
9265 PyObject
* obj1
= 0 ;
9267 (char *) "self",(char *) "path", NULL
9270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetTempDir",kwnames
,&obj0
,&obj1
)) goto fail
;
9271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpController
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9273 arg2
= wxString_in_helper(obj1
);
9274 if (arg2
== NULL
) SWIG_fail
;
9278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9279 (arg1
)->SetTempDir((wxString
const &)*arg2
);
9281 wxPyEndAllowThreads(__tstate
);
9282 if (PyErr_Occurred()) SWIG_fail
;
9284 Py_INCREF(Py_None
); resultobj
= Py_None
;
9299 static PyObject
*_wrap_HtmlHelpController_AddBook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9300 PyObject
*resultobj
;
9301 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
9302 wxString
*arg2
= 0 ;
9303 int arg3
= (int) False
;
9305 bool temp2
= False
;
9306 PyObject
* obj0
= 0 ;
9307 PyObject
* obj1
= 0 ;
9309 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
9312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:HtmlHelpController_AddBook",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
9313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpController
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9315 arg2
= wxString_in_helper(obj1
);
9316 if (arg2
== NULL
) SWIG_fail
;
9320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9321 result
= (bool)(arg1
)->AddBook((wxString
const &)*arg2
,arg3
);
9323 wxPyEndAllowThreads(__tstate
);
9324 if (PyErr_Occurred()) SWIG_fail
;
9326 resultobj
= PyInt_FromLong((long)result
);
9341 static PyObject
*_wrap_HtmlHelpController_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9342 PyObject
*resultobj
;
9343 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
9344 wxString
*arg2
= 0 ;
9345 bool temp2
= False
;
9346 PyObject
* obj0
= 0 ;
9347 PyObject
* obj1
= 0 ;
9349 (char *) "self",(char *) "x", NULL
9352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_Display",kwnames
,&obj0
,&obj1
)) goto fail
;
9353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpController
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9355 arg2
= wxString_in_helper(obj1
);
9356 if (arg2
== NULL
) SWIG_fail
;
9360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9361 (arg1
)->Display((wxString
const &)*arg2
);
9363 wxPyEndAllowThreads(__tstate
);
9364 if (PyErr_Occurred()) SWIG_fail
;
9366 Py_INCREF(Py_None
); resultobj
= Py_None
;
9381 static PyObject
*_wrap_HtmlHelpController_DisplayID(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9382 PyObject
*resultobj
;
9383 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
9385 PyObject
* obj0
= 0 ;
9387 (char *) "self",(char *) "id", NULL
9390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:HtmlHelpController_DisplayID",kwnames
,&obj0
,&arg2
)) goto fail
;
9391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpController
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9394 (arg1
)->Display(arg2
);
9396 wxPyEndAllowThreads(__tstate
);
9397 if (PyErr_Occurred()) SWIG_fail
;
9399 Py_INCREF(Py_None
); resultobj
= Py_None
;
9406 static PyObject
*_wrap_HtmlHelpController_DisplayContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9407 PyObject
*resultobj
;
9408 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
9409 PyObject
* obj0
= 0 ;
9411 (char *) "self", NULL
9414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpController_DisplayContents",kwnames
,&obj0
)) goto fail
;
9415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpController
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9418 (arg1
)->DisplayContents();
9420 wxPyEndAllowThreads(__tstate
);
9421 if (PyErr_Occurred()) SWIG_fail
;
9423 Py_INCREF(Py_None
); resultobj
= Py_None
;
9430 static PyObject
*_wrap_HtmlHelpController_DisplayIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9431 PyObject
*resultobj
;
9432 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
9433 PyObject
* obj0
= 0 ;
9435 (char *) "self", NULL
9438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpController_DisplayIndex",kwnames
,&obj0
)) goto fail
;
9439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpController
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9442 (arg1
)->DisplayIndex();
9444 wxPyEndAllowThreads(__tstate
);
9445 if (PyErr_Occurred()) SWIG_fail
;
9447 Py_INCREF(Py_None
); resultobj
= Py_None
;
9454 static PyObject
*_wrap_HtmlHelpController_KeywordSearch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9455 PyObject
*resultobj
;
9456 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
9457 wxString
*arg2
= 0 ;
9459 bool temp2
= False
;
9460 PyObject
* obj0
= 0 ;
9461 PyObject
* obj1
= 0 ;
9463 (char *) "self",(char *) "keyword", NULL
9466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames
,&obj0
,&obj1
)) goto fail
;
9467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpController
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9469 arg2
= wxString_in_helper(obj1
);
9470 if (arg2
== NULL
) SWIG_fail
;
9474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9475 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
);
9477 wxPyEndAllowThreads(__tstate
);
9478 if (PyErr_Occurred()) SWIG_fail
;
9480 resultobj
= PyInt_FromLong((long)result
);
9495 static PyObject
*_wrap_HtmlHelpController_UseConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9496 PyObject
*resultobj
;
9497 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
9498 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
9499 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9500 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9501 bool temp3
= False
;
9502 PyObject
* obj0
= 0 ;
9503 PyObject
* obj1
= 0 ;
9504 PyObject
* obj2
= 0 ;
9506 (char *) "self",(char *) "config",(char *) "rootpath", NULL
9509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpController
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9511 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9514 arg3
= wxString_in_helper(obj2
);
9515 if (arg3
== NULL
) SWIG_fail
;
9520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9521 (arg1
)->UseConfig(arg2
,(wxString
const &)*arg3
);
9523 wxPyEndAllowThreads(__tstate
);
9524 if (PyErr_Occurred()) SWIG_fail
;
9526 Py_INCREF(Py_None
); resultobj
= Py_None
;
9541 static PyObject
*_wrap_HtmlHelpController_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9542 PyObject
*resultobj
;
9543 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
9544 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
9545 wxString arg3
= (wxString
) wxPyEmptyString
;
9546 PyObject
* obj0
= 0 ;
9547 PyObject
* obj1
= 0 ;
9548 PyObject
* obj2
= 0 ;
9550 (char *) "self",(char *) "cfg",(char *) "path", NULL
9553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpController
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9555 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9558 wxString
* sptr
= wxString_in_helper(obj2
);
9559 if (sptr
== NULL
) SWIG_fail
;
9565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9566 (arg1
)->ReadCustomization(arg2
,arg3
);
9568 wxPyEndAllowThreads(__tstate
);
9569 if (PyErr_Occurred()) SWIG_fail
;
9571 Py_INCREF(Py_None
); resultobj
= Py_None
;
9578 static PyObject
*_wrap_HtmlHelpController_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9579 PyObject
*resultobj
;
9580 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
9581 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
9582 wxString arg3
= (wxString
) wxPyEmptyString
;
9583 PyObject
* obj0
= 0 ;
9584 PyObject
* obj1
= 0 ;
9585 PyObject
* obj2
= 0 ;
9587 (char *) "self",(char *) "cfg",(char *) "path", NULL
9590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpController
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9592 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9595 wxString
* sptr
= wxString_in_helper(obj2
);
9596 if (sptr
== NULL
) SWIG_fail
;
9602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9603 (arg1
)->WriteCustomization(arg2
,arg3
);
9605 wxPyEndAllowThreads(__tstate
);
9606 if (PyErr_Occurred()) SWIG_fail
;
9608 Py_INCREF(Py_None
); resultobj
= Py_None
;
9615 static PyObject
*_wrap_HtmlHelpController_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9616 PyObject
*resultobj
;
9617 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
9618 wxHtmlHelpFrame
*result
;
9619 PyObject
* obj0
= 0 ;
9621 (char *) "self", NULL
9624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpController_GetFrame",kwnames
,&obj0
)) goto fail
;
9625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpController
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9628 result
= (wxHtmlHelpFrame
*)(arg1
)->GetFrame();
9630 wxPyEndAllowThreads(__tstate
);
9631 if (PyErr_Occurred()) SWIG_fail
;
9633 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlHelpFrame
, 0);
9640 static PyObject
* HtmlHelpController_swigregister(PyObject
*self
, PyObject
*args
) {
9642 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9643 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpController
, obj
);
9645 return Py_BuildValue((char *)"");
9647 static PyMethodDef SwigMethods
[] = {
9648 { (char *)"new_HtmlLinkInfo", (PyCFunction
) _wrap_new_HtmlLinkInfo
, METH_VARARGS
| METH_KEYWORDS
},
9649 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction
) _wrap_HtmlLinkInfo_GetHref
, METH_VARARGS
| METH_KEYWORDS
},
9650 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction
) _wrap_HtmlLinkInfo_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
9651 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction
) _wrap_HtmlLinkInfo_GetEvent
, METH_VARARGS
| METH_KEYWORDS
},
9652 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction
) _wrap_HtmlLinkInfo_GetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
9653 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction
) _wrap_HtmlLinkInfo_SetEvent
, METH_VARARGS
| METH_KEYWORDS
},
9654 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction
) _wrap_HtmlLinkInfo_SetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
9655 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister
, METH_VARARGS
},
9656 { (char *)"HtmlTag_GetName", (PyCFunction
) _wrap_HtmlTag_GetName
, METH_VARARGS
| METH_KEYWORDS
},
9657 { (char *)"HtmlTag_HasParam", (PyCFunction
) _wrap_HtmlTag_HasParam
, METH_VARARGS
| METH_KEYWORDS
},
9658 { (char *)"HtmlTag_GetParam", (PyCFunction
) _wrap_HtmlTag_GetParam
, METH_VARARGS
| METH_KEYWORDS
},
9659 { (char *)"HtmlTag_GetAllParams", (PyCFunction
) _wrap_HtmlTag_GetAllParams
, METH_VARARGS
| METH_KEYWORDS
},
9660 { (char *)"HtmlTag_HasEnding", (PyCFunction
) _wrap_HtmlTag_HasEnding
, METH_VARARGS
| METH_KEYWORDS
},
9661 { (char *)"HtmlTag_GetBeginPos", (PyCFunction
) _wrap_HtmlTag_GetBeginPos
, METH_VARARGS
| METH_KEYWORDS
},
9662 { (char *)"HtmlTag_GetEndPos1", (PyCFunction
) _wrap_HtmlTag_GetEndPos1
, METH_VARARGS
| METH_KEYWORDS
},
9663 { (char *)"HtmlTag_GetEndPos2", (PyCFunction
) _wrap_HtmlTag_GetEndPos2
, METH_VARARGS
| METH_KEYWORDS
},
9664 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister
, METH_VARARGS
},
9665 { (char *)"HtmlParser_SetFS", (PyCFunction
) _wrap_HtmlParser_SetFS
, METH_VARARGS
| METH_KEYWORDS
},
9666 { (char *)"HtmlParser_GetFS", (PyCFunction
) _wrap_HtmlParser_GetFS
, METH_VARARGS
| METH_KEYWORDS
},
9667 { (char *)"HtmlParser_Parse", (PyCFunction
) _wrap_HtmlParser_Parse
, METH_VARARGS
| METH_KEYWORDS
},
9668 { (char *)"HtmlParser_InitParser", (PyCFunction
) _wrap_HtmlParser_InitParser
, METH_VARARGS
| METH_KEYWORDS
},
9669 { (char *)"HtmlParser_DoneParser", (PyCFunction
) _wrap_HtmlParser_DoneParser
, METH_VARARGS
| METH_KEYWORDS
},
9670 { (char *)"HtmlParser_DoParsing", (PyCFunction
) _wrap_HtmlParser_DoParsing
, METH_VARARGS
| METH_KEYWORDS
},
9671 { (char *)"HtmlParser_StopParsing", (PyCFunction
) _wrap_HtmlParser_StopParsing
, METH_VARARGS
| METH_KEYWORDS
},
9672 { (char *)"HtmlParser_AddTagHandler", (PyCFunction
) _wrap_HtmlParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
9673 { (char *)"HtmlParser_GetSource", (PyCFunction
) _wrap_HtmlParser_GetSource
, METH_VARARGS
| METH_KEYWORDS
},
9674 { (char *)"HtmlParser_PushTagHandler", (PyCFunction
) _wrap_HtmlParser_PushTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
9675 { (char *)"HtmlParser_PopTagHandler", (PyCFunction
) _wrap_HtmlParser_PopTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
9676 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister
, METH_VARARGS
},
9677 { (char *)"new_HtmlWinParser", (PyCFunction
) _wrap_new_HtmlWinParser
, METH_VARARGS
| METH_KEYWORDS
},
9678 { (char *)"HtmlWinParser_SetDC", (PyCFunction
) _wrap_HtmlWinParser_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
9679 { (char *)"HtmlWinParser_GetDC", (PyCFunction
) _wrap_HtmlWinParser_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
9680 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction
) _wrap_HtmlWinParser_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
9681 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction
) _wrap_HtmlWinParser_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
9682 { (char *)"HtmlWinParser_GetWindow", (PyCFunction
) _wrap_HtmlWinParser_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9683 { (char *)"HtmlWinParser_SetFonts", (PyCFunction
) _wrap_HtmlWinParser_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
9684 { (char *)"HtmlWinParser_GetContainer", (PyCFunction
) _wrap_HtmlWinParser_GetContainer
, METH_VARARGS
| METH_KEYWORDS
},
9685 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction
) _wrap_HtmlWinParser_OpenContainer
, METH_VARARGS
| METH_KEYWORDS
},
9686 { (char *)"HtmlWinParser_SetContainer", (PyCFunction
) _wrap_HtmlWinParser_SetContainer
, METH_VARARGS
| METH_KEYWORDS
},
9687 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction
) _wrap_HtmlWinParser_CloseContainer
, METH_VARARGS
| METH_KEYWORDS
},
9688 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction
) _wrap_HtmlWinParser_GetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
9689 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction
) _wrap_HtmlWinParser_SetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
9690 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction
) _wrap_HtmlWinParser_GetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
9691 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction
) _wrap_HtmlWinParser_SetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
9692 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction
) _wrap_HtmlWinParser_GetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
9693 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction
) _wrap_HtmlWinParser_SetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
9694 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction
) _wrap_HtmlWinParser_GetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
9695 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction
) _wrap_HtmlWinParser_SetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
9696 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction
) _wrap_HtmlWinParser_GetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
9697 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction
) _wrap_HtmlWinParser_SetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
9698 { (char *)"HtmlWinParser_GetAlign", (PyCFunction
) _wrap_HtmlWinParser_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
9699 { (char *)"HtmlWinParser_SetAlign", (PyCFunction
) _wrap_HtmlWinParser_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
9700 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction
) _wrap_HtmlWinParser_GetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
9701 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction
) _wrap_HtmlWinParser_SetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
9702 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction
) _wrap_HtmlWinParser_GetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
9703 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction
) _wrap_HtmlWinParser_SetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
9704 { (char *)"HtmlWinParser_SetLink", (PyCFunction
) _wrap_HtmlWinParser_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
9705 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction
) _wrap_HtmlWinParser_CreateCurrentFont
, METH_VARARGS
| METH_KEYWORDS
},
9706 { (char *)"HtmlWinParser_GetLink", (PyCFunction
) _wrap_HtmlWinParser_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
9707 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister
, METH_VARARGS
},
9708 { (char *)"new_HtmlTagHandler", (PyCFunction
) _wrap_new_HtmlTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
9709 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction
) _wrap_HtmlTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
9710 { (char *)"HtmlTagHandler_SetParser", (PyCFunction
) _wrap_HtmlTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
9711 { (char *)"HtmlTagHandler_GetParser", (PyCFunction
) _wrap_HtmlTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
9712 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction
) _wrap_HtmlTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
9713 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister
, METH_VARARGS
},
9714 { (char *)"new_HtmlWinTagHandler", (PyCFunction
) _wrap_new_HtmlWinTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
9715 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction
) _wrap_HtmlWinTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
9716 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction
) _wrap_HtmlWinTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
9717 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction
) _wrap_HtmlWinTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
9718 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction
) _wrap_HtmlWinTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
9719 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister
, METH_VARARGS
},
9720 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction
) _wrap_HtmlWinParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
9721 { (char *)"new_HtmlSelection", (PyCFunction
) _wrap_new_HtmlSelection
, METH_VARARGS
| METH_KEYWORDS
},
9722 { (char *)"delete_HtmlSelection", (PyCFunction
) _wrap_delete_HtmlSelection
, METH_VARARGS
| METH_KEYWORDS
},
9723 { (char *)"HtmlSelection_Set", (PyCFunction
) _wrap_HtmlSelection_Set
, METH_VARARGS
| METH_KEYWORDS
},
9724 { (char *)"HtmlSelection_SetCells", (PyCFunction
) _wrap_HtmlSelection_SetCells
, METH_VARARGS
| METH_KEYWORDS
},
9725 { (char *)"HtmlSelection_GetFromCell", (PyCFunction
) _wrap_HtmlSelection_GetFromCell
, METH_VARARGS
| METH_KEYWORDS
},
9726 { (char *)"HtmlSelection_GetToCell", (PyCFunction
) _wrap_HtmlSelection_GetToCell
, METH_VARARGS
| METH_KEYWORDS
},
9727 { (char *)"HtmlSelection_GetFromPos", (PyCFunction
) _wrap_HtmlSelection_GetFromPos
, METH_VARARGS
| METH_KEYWORDS
},
9728 { (char *)"HtmlSelection_GetToPos", (PyCFunction
) _wrap_HtmlSelection_GetToPos
, METH_VARARGS
| METH_KEYWORDS
},
9729 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction
) _wrap_HtmlSelection_GetFromPrivPos
, METH_VARARGS
| METH_KEYWORDS
},
9730 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction
) _wrap_HtmlSelection_GetToPrivPos
, METH_VARARGS
| METH_KEYWORDS
},
9731 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction
) _wrap_HtmlSelection_SetFromPrivPos
, METH_VARARGS
| METH_KEYWORDS
},
9732 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction
) _wrap_HtmlSelection_SetToPrivPos
, METH_VARARGS
| METH_KEYWORDS
},
9733 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction
) _wrap_HtmlSelection_ClearPrivPos
, METH_VARARGS
| METH_KEYWORDS
},
9734 { (char *)"HtmlSelection_IsEmpty", (PyCFunction
) _wrap_HtmlSelection_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
9735 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister
, METH_VARARGS
},
9736 { (char *)"new_HtmlRenderingState", (PyCFunction
) _wrap_new_HtmlRenderingState
, METH_VARARGS
| METH_KEYWORDS
},
9737 { (char *)"delete_HtmlRenderingState", (PyCFunction
) _wrap_delete_HtmlRenderingState
, METH_VARARGS
| METH_KEYWORDS
},
9738 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction
) _wrap_HtmlRenderingState_SetSelectionState
, METH_VARARGS
| METH_KEYWORDS
},
9739 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction
) _wrap_HtmlRenderingState_GetSelectionState
, METH_VARARGS
| METH_KEYWORDS
},
9740 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction
) _wrap_HtmlRenderingState_SetFgColour
, METH_VARARGS
| METH_KEYWORDS
},
9741 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction
) _wrap_HtmlRenderingState_GetFgColour
, METH_VARARGS
| METH_KEYWORDS
},
9742 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction
) _wrap_HtmlRenderingState_SetBgColour
, METH_VARARGS
| METH_KEYWORDS
},
9743 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction
) _wrap_HtmlRenderingState_GetBgColour
, METH_VARARGS
| METH_KEYWORDS
},
9744 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister
, METH_VARARGS
},
9745 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction
) _wrap_HtmlRenderingStyle_GetSelectedTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9746 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction
) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour
, METH_VARARGS
| METH_KEYWORDS
},
9747 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister
, METH_VARARGS
},
9748 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextColour", (PyCFunction
) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9749 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction
) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour
, METH_VARARGS
| METH_KEYWORDS
},
9750 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister
, METH_VARARGS
},
9751 { (char *)"new_HtmlRenderingInfo", (PyCFunction
) _wrap_new_HtmlRenderingInfo
, METH_VARARGS
| METH_KEYWORDS
},
9752 { (char *)"delete_HtmlRenderingInfo", (PyCFunction
) _wrap_delete_HtmlRenderingInfo
, METH_VARARGS
| METH_KEYWORDS
},
9753 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction
) _wrap_HtmlRenderingInfo_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
9754 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction
) _wrap_HtmlRenderingInfo_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
9755 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction
) _wrap_HtmlRenderingInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
9756 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction
) _wrap_HtmlRenderingInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
9757 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction
) _wrap_HtmlRenderingInfo_GetState
, METH_VARARGS
| METH_KEYWORDS
},
9758 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister
, METH_VARARGS
},
9759 { (char *)"new_HtmlCell", (PyCFunction
) _wrap_new_HtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
9760 { (char *)"HtmlCell_GetPosX", (PyCFunction
) _wrap_HtmlCell_GetPosX
, METH_VARARGS
| METH_KEYWORDS
},
9761 { (char *)"HtmlCell_GetPosY", (PyCFunction
) _wrap_HtmlCell_GetPosY
, METH_VARARGS
| METH_KEYWORDS
},
9762 { (char *)"HtmlCell_GetWidth", (PyCFunction
) _wrap_HtmlCell_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
9763 { (char *)"HtmlCell_GetHeight", (PyCFunction
) _wrap_HtmlCell_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
9764 { (char *)"HtmlCell_GetDescent", (PyCFunction
) _wrap_HtmlCell_GetDescent
, METH_VARARGS
| METH_KEYWORDS
},
9765 { (char *)"HtmlCell_GetId", (PyCFunction
) _wrap_HtmlCell_GetId
, METH_VARARGS
| METH_KEYWORDS
},
9766 { (char *)"HtmlCell_SetId", (PyCFunction
) _wrap_HtmlCell_SetId
, METH_VARARGS
| METH_KEYWORDS
},
9767 { (char *)"HtmlCell_GetLink", (PyCFunction
) _wrap_HtmlCell_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
9768 { (char *)"HtmlCell_GetNext", (PyCFunction
) _wrap_HtmlCell_GetNext
, METH_VARARGS
| METH_KEYWORDS
},
9769 { (char *)"HtmlCell_GetParent", (PyCFunction
) _wrap_HtmlCell_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
9770 { (char *)"HtmlCell_GetFirstChild", (PyCFunction
) _wrap_HtmlCell_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
9771 { (char *)"HtmlCell_GetCursor", (PyCFunction
) _wrap_HtmlCell_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
9772 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction
) _wrap_HtmlCell_IsFormattingCell
, METH_VARARGS
| METH_KEYWORDS
},
9773 { (char *)"HtmlCell_SetLink", (PyCFunction
) _wrap_HtmlCell_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
9774 { (char *)"HtmlCell_SetNext", (PyCFunction
) _wrap_HtmlCell_SetNext
, METH_VARARGS
| METH_KEYWORDS
},
9775 { (char *)"HtmlCell_SetParent", (PyCFunction
) _wrap_HtmlCell_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
9776 { (char *)"HtmlCell_SetPos", (PyCFunction
) _wrap_HtmlCell_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
9777 { (char *)"HtmlCell_Layout", (PyCFunction
) _wrap_HtmlCell_Layout
, METH_VARARGS
| METH_KEYWORDS
},
9778 { (char *)"HtmlCell_Draw", (PyCFunction
) _wrap_HtmlCell_Draw
, METH_VARARGS
| METH_KEYWORDS
},
9779 { (char *)"HtmlCell_DrawInvisible", (PyCFunction
) _wrap_HtmlCell_DrawInvisible
, METH_VARARGS
| METH_KEYWORDS
},
9780 { (char *)"HtmlCell_Find", (PyCFunction
) _wrap_HtmlCell_Find
, METH_VARARGS
| METH_KEYWORDS
},
9781 { (char *)"HtmlCell_AdjustPagebreak", (PyCFunction
) _wrap_HtmlCell_AdjustPagebreak
, METH_VARARGS
| METH_KEYWORDS
},
9782 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction
) _wrap_HtmlCell_SetCanLiveOnPagebreak
, METH_VARARGS
| METH_KEYWORDS
},
9783 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction
) _wrap_HtmlCell_IsLinebreakAllowed
, METH_VARARGS
| METH_KEYWORDS
},
9784 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction
) _wrap_HtmlCell_IsTerminalCell
, METH_VARARGS
| METH_KEYWORDS
},
9785 { (char *)"HtmlCell_FindCellByPos", (PyCFunction
) _wrap_HtmlCell_FindCellByPos
, METH_VARARGS
| METH_KEYWORDS
},
9786 { (char *)"HtmlCell_GetAbsPos", (PyCFunction
) _wrap_HtmlCell_GetAbsPos
, METH_VARARGS
| METH_KEYWORDS
},
9787 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction
) _wrap_HtmlCell_GetFirstTerminal
, METH_VARARGS
| METH_KEYWORDS
},
9788 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction
) _wrap_HtmlCell_GetLastTerminal
, METH_VARARGS
| METH_KEYWORDS
},
9789 { (char *)"HtmlCell_GetDepth", (PyCFunction
) _wrap_HtmlCell_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
9790 { (char *)"HtmlCell_IsBefore", (PyCFunction
) _wrap_HtmlCell_IsBefore
, METH_VARARGS
| METH_KEYWORDS
},
9791 { (char *)"HtmlCell_ConvertToText", (PyCFunction
) _wrap_HtmlCell_ConvertToText
, METH_VARARGS
| METH_KEYWORDS
},
9792 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister
, METH_VARARGS
},
9793 { (char *)"new_HtmlWordCell", (PyCFunction
) _wrap_new_HtmlWordCell
, METH_VARARGS
| METH_KEYWORDS
},
9794 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister
, METH_VARARGS
},
9795 { (char *)"new_HtmlContainerCell", (PyCFunction
) _wrap_new_HtmlContainerCell
, METH_VARARGS
| METH_KEYWORDS
},
9796 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction
) _wrap_HtmlContainerCell_InsertCell
, METH_VARARGS
| METH_KEYWORDS
},
9797 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction
) _wrap_HtmlContainerCell_SetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
9798 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction
) _wrap_HtmlContainerCell_GetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
9799 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction
) _wrap_HtmlContainerCell_SetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
9800 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction
) _wrap_HtmlContainerCell_GetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
9801 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction
) _wrap_HtmlContainerCell_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
9802 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction
) _wrap_HtmlContainerCell_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
9803 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction
) _wrap_HtmlContainerCell_GetIndentUnits
, METH_VARARGS
| METH_KEYWORDS
},
9804 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction
) _wrap_HtmlContainerCell_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
9805 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction
) _wrap_HtmlContainerCell_SetWidthFloat
, METH_VARARGS
| METH_KEYWORDS
},
9806 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction
) _wrap_HtmlContainerCell_SetWidthFloatFromTag
, METH_VARARGS
| METH_KEYWORDS
},
9807 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction
) _wrap_HtmlContainerCell_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
9808 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction
) _wrap_HtmlContainerCell_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9809 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction
) _wrap_HtmlContainerCell_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9810 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction
) _wrap_HtmlContainerCell_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
9811 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction
) _wrap_HtmlContainerCell_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
9812 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister
, METH_VARARGS
},
9813 { (char *)"new_HtmlColourCell", (PyCFunction
) _wrap_new_HtmlColourCell
, METH_VARARGS
| METH_KEYWORDS
},
9814 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister
, METH_VARARGS
},
9815 { (char *)"new_HtmlFontCell", (PyCFunction
) _wrap_new_HtmlFontCell
, METH_VARARGS
| METH_KEYWORDS
},
9816 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister
, METH_VARARGS
},
9817 { (char *)"new_HtmlWidgetCell", (PyCFunction
) _wrap_new_HtmlWidgetCell
, METH_VARARGS
| METH_KEYWORDS
},
9818 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister
, METH_VARARGS
},
9819 { (char *)"new_HtmlFilter", (PyCFunction
) _wrap_new_HtmlFilter
, METH_VARARGS
| METH_KEYWORDS
},
9820 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction
) _wrap_HtmlFilter__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
9821 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister
, METH_VARARGS
},
9822 { (char *)"new_HtmlWindow", (PyCFunction
) _wrap_new_HtmlWindow
, METH_VARARGS
| METH_KEYWORDS
},
9823 { (char *)"new_PreHtmlWindow", (PyCFunction
) _wrap_new_PreHtmlWindow
, METH_VARARGS
| METH_KEYWORDS
},
9824 { (char *)"HtmlWindow_Create", (PyCFunction
) _wrap_HtmlWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
9825 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction
) _wrap_HtmlWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
9826 { (char *)"HtmlWindow_SetPage", (PyCFunction
) _wrap_HtmlWindow_SetPage
, METH_VARARGS
| METH_KEYWORDS
},
9827 { (char *)"HtmlWindow_LoadPage", (PyCFunction
) _wrap_HtmlWindow_LoadPage
, METH_VARARGS
| METH_KEYWORDS
},
9828 { (char *)"HtmlWindow_LoadFile", (PyCFunction
) _wrap_HtmlWindow_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
9829 { (char *)"HtmlWindow_AppendToPage", (PyCFunction
) _wrap_HtmlWindow_AppendToPage
, METH_VARARGS
| METH_KEYWORDS
},
9830 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction
) _wrap_HtmlWindow_GetOpenedPage
, METH_VARARGS
| METH_KEYWORDS
},
9831 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction
) _wrap_HtmlWindow_GetOpenedAnchor
, METH_VARARGS
| METH_KEYWORDS
},
9832 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction
) _wrap_HtmlWindow_GetOpenedPageTitle
, METH_VARARGS
| METH_KEYWORDS
},
9833 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction
) _wrap_HtmlWindow_SetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
9834 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction
) _wrap_HtmlWindow_GetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
9835 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction
) _wrap_HtmlWindow_SetRelatedStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
9836 { (char *)"HtmlWindow_SetFonts", (PyCFunction
) _wrap_HtmlWindow_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
9837 { (char *)"HtmlWindow_SetTitle", (PyCFunction
) _wrap_HtmlWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9838 { (char *)"HtmlWindow_SetBorders", (PyCFunction
) _wrap_HtmlWindow_SetBorders
, METH_VARARGS
| METH_KEYWORDS
},
9839 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction
) _wrap_HtmlWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
9840 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction
) _wrap_HtmlWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
9841 { (char *)"HtmlWindow_HistoryBack", (PyCFunction
) _wrap_HtmlWindow_HistoryBack
, METH_VARARGS
| METH_KEYWORDS
},
9842 { (char *)"HtmlWindow_HistoryForward", (PyCFunction
) _wrap_HtmlWindow_HistoryForward
, METH_VARARGS
| METH_KEYWORDS
},
9843 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction
) _wrap_HtmlWindow_HistoryCanBack
, METH_VARARGS
| METH_KEYWORDS
},
9844 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction
) _wrap_HtmlWindow_HistoryCanForward
, METH_VARARGS
| METH_KEYWORDS
},
9845 { (char *)"HtmlWindow_HistoryClear", (PyCFunction
) _wrap_HtmlWindow_HistoryClear
, METH_VARARGS
| METH_KEYWORDS
},
9846 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction
) _wrap_HtmlWindow_GetInternalRepresentation
, METH_VARARGS
| METH_KEYWORDS
},
9847 { (char *)"HtmlWindow_GetParser", (PyCFunction
) _wrap_HtmlWindow_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
9848 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction
) _wrap_HtmlWindow_ScrollToAnchor
, METH_VARARGS
| METH_KEYWORDS
},
9849 { (char *)"HtmlWindow_HasAnchor", (PyCFunction
) _wrap_HtmlWindow_HasAnchor
, METH_VARARGS
| METH_KEYWORDS
},
9850 { (char *)"HtmlWindow_AddFilter", (PyCFunction
) _wrap_HtmlWindow_AddFilter
, METH_VARARGS
| METH_KEYWORDS
},
9851 { (char *)"HtmlWindow_base_OnLinkClicked", (PyCFunction
) _wrap_HtmlWindow_base_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
},
9852 { (char *)"HtmlWindow_base_OnSetTitle", (PyCFunction
) _wrap_HtmlWindow_base_OnSetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9853 { (char *)"HtmlWindow_base_OnCellMouseHover", (PyCFunction
) _wrap_HtmlWindow_base_OnCellMouseHover
, METH_VARARGS
| METH_KEYWORDS
},
9854 { (char *)"HtmlWindow_base_OnCellClicked", (PyCFunction
) _wrap_HtmlWindow_base_OnCellClicked
, METH_VARARGS
| METH_KEYWORDS
},
9855 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister
, METH_VARARGS
},
9856 { (char *)"new_HtmlDCRenderer", (PyCFunction
) _wrap_new_HtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
},
9857 { (char *)"delete_HtmlDCRenderer", (PyCFunction
) _wrap_delete_HtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
},
9858 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction
) _wrap_HtmlDCRenderer_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
9859 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction
) _wrap_HtmlDCRenderer_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
9860 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction
) _wrap_HtmlDCRenderer_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
},
9861 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction
) _wrap_HtmlDCRenderer_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
9862 { (char *)"HtmlDCRenderer_Render", (PyCFunction
) _wrap_HtmlDCRenderer_Render
, METH_VARARGS
| METH_KEYWORDS
},
9863 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction
) _wrap_HtmlDCRenderer_GetTotalHeight
, METH_VARARGS
| METH_KEYWORDS
},
9864 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister
, METH_VARARGS
},
9865 { (char *)"new_HtmlPrintout", (PyCFunction
) _wrap_new_HtmlPrintout
, METH_VARARGS
| METH_KEYWORDS
},
9866 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction
) _wrap_HtmlPrintout_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
},
9867 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction
) _wrap_HtmlPrintout_SetHtmlFile
, METH_VARARGS
| METH_KEYWORDS
},
9868 { (char *)"HtmlPrintout_SetHeader", (PyCFunction
) _wrap_HtmlPrintout_SetHeader
, METH_VARARGS
| METH_KEYWORDS
},
9869 { (char *)"HtmlPrintout_SetFooter", (PyCFunction
) _wrap_HtmlPrintout_SetFooter
, METH_VARARGS
| METH_KEYWORDS
},
9870 { (char *)"HtmlPrintout_SetFonts", (PyCFunction
) _wrap_HtmlPrintout_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
9871 { (char *)"HtmlPrintout_SetMargins", (PyCFunction
) _wrap_HtmlPrintout_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
9872 { (char *)"HtmlPrintout_AddFilter", (PyCFunction
) _wrap_HtmlPrintout_AddFilter
, METH_VARARGS
| METH_KEYWORDS
},
9873 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction
) _wrap_HtmlPrintout_CleanUpStatics
, METH_VARARGS
| METH_KEYWORDS
},
9874 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister
, METH_VARARGS
},
9875 { (char *)"new_HtmlEasyPrinting", (PyCFunction
) _wrap_new_HtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
},
9876 { (char *)"delete_HtmlEasyPrinting", (PyCFunction
) _wrap_delete_HtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
},
9877 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction
) _wrap_HtmlEasyPrinting_PreviewFile
, METH_VARARGS
| METH_KEYWORDS
},
9878 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction
) _wrap_HtmlEasyPrinting_PreviewText
, METH_VARARGS
| METH_KEYWORDS
},
9879 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction
) _wrap_HtmlEasyPrinting_PrintFile
, METH_VARARGS
| METH_KEYWORDS
},
9880 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction
) _wrap_HtmlEasyPrinting_PrintText
, METH_VARARGS
| METH_KEYWORDS
},
9881 { (char *)"HtmlEasyPrinting_PrinterSetup", (PyCFunction
) _wrap_HtmlEasyPrinting_PrinterSetup
, METH_VARARGS
| METH_KEYWORDS
},
9882 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction
) _wrap_HtmlEasyPrinting_PageSetup
, METH_VARARGS
| METH_KEYWORDS
},
9883 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction
) _wrap_HtmlEasyPrinting_SetHeader
, METH_VARARGS
| METH_KEYWORDS
},
9884 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction
) _wrap_HtmlEasyPrinting_SetFooter
, METH_VARARGS
| METH_KEYWORDS
},
9885 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction
) _wrap_HtmlEasyPrinting_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
9886 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction
) _wrap_HtmlEasyPrinting_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
9887 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction
) _wrap_HtmlEasyPrinting_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
9888 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister
, METH_VARARGS
},
9889 { (char *)"new_HtmlBookRecord", (PyCFunction
) _wrap_new_HtmlBookRecord
, METH_VARARGS
| METH_KEYWORDS
},
9890 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction
) _wrap_HtmlBookRecord_GetBookFile
, METH_VARARGS
| METH_KEYWORDS
},
9891 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction
) _wrap_HtmlBookRecord_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9892 { (char *)"HtmlBookRecord_GetStart", (PyCFunction
) _wrap_HtmlBookRecord_GetStart
, METH_VARARGS
| METH_KEYWORDS
},
9893 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction
) _wrap_HtmlBookRecord_GetBasePath
, METH_VARARGS
| METH_KEYWORDS
},
9894 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction
) _wrap_HtmlBookRecord_SetContentsRange
, METH_VARARGS
| METH_KEYWORDS
},
9895 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction
) _wrap_HtmlBookRecord_GetContentsStart
, METH_VARARGS
| METH_KEYWORDS
},
9896 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction
) _wrap_HtmlBookRecord_GetContentsEnd
, METH_VARARGS
| METH_KEYWORDS
},
9897 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction
) _wrap_HtmlBookRecord_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9898 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction
) _wrap_HtmlBookRecord_SetBasePath
, METH_VARARGS
| METH_KEYWORDS
},
9899 { (char *)"HtmlBookRecord_SetStart", (PyCFunction
) _wrap_HtmlBookRecord_SetStart
, METH_VARARGS
| METH_KEYWORDS
},
9900 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction
) _wrap_HtmlBookRecord_GetFullPath
, METH_VARARGS
| METH_KEYWORDS
},
9901 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister
, METH_VARARGS
},
9902 { (char *)"HtmlContentsItem_GetLevel", (PyCFunction
) _wrap_HtmlContentsItem_GetLevel
, METH_VARARGS
| METH_KEYWORDS
},
9903 { (char *)"HtmlContentsItem_GetID", (PyCFunction
) _wrap_HtmlContentsItem_GetID
, METH_VARARGS
| METH_KEYWORDS
},
9904 { (char *)"HtmlContentsItem_GetName", (PyCFunction
) _wrap_HtmlContentsItem_GetName
, METH_VARARGS
| METH_KEYWORDS
},
9905 { (char *)"HtmlContentsItem_GetPage", (PyCFunction
) _wrap_HtmlContentsItem_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
9906 { (char *)"HtmlContentsItem_GetBook", (PyCFunction
) _wrap_HtmlContentsItem_GetBook
, METH_VARARGS
| METH_KEYWORDS
},
9907 { (char *)"HtmlContentsItem_swigregister", HtmlContentsItem_swigregister
, METH_VARARGS
},
9908 { (char *)"HtmlSearchStatus_Search", (PyCFunction
) _wrap_HtmlSearchStatus_Search
, METH_VARARGS
| METH_KEYWORDS
},
9909 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction
) _wrap_HtmlSearchStatus_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
9910 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction
) _wrap_HtmlSearchStatus_GetCurIndex
, METH_VARARGS
| METH_KEYWORDS
},
9911 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction
) _wrap_HtmlSearchStatus_GetMaxIndex
, METH_VARARGS
| METH_KEYWORDS
},
9912 { (char *)"HtmlSearchStatus_GetName", (PyCFunction
) _wrap_HtmlSearchStatus_GetName
, METH_VARARGS
| METH_KEYWORDS
},
9913 { (char *)"HtmlSearchStatus_GetContentsItem", (PyCFunction
) _wrap_HtmlSearchStatus_GetContentsItem
, METH_VARARGS
| METH_KEYWORDS
},
9914 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister
, METH_VARARGS
},
9915 { (char *)"new_HtmlHelpData", (PyCFunction
) _wrap_new_HtmlHelpData
, METH_VARARGS
| METH_KEYWORDS
},
9916 { (char *)"delete_HtmlHelpData", (PyCFunction
) _wrap_delete_HtmlHelpData
, METH_VARARGS
| METH_KEYWORDS
},
9917 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction
) _wrap_HtmlHelpData_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
},
9918 { (char *)"HtmlHelpData_AddBook", (PyCFunction
) _wrap_HtmlHelpData_AddBook
, METH_VARARGS
| METH_KEYWORDS
},
9919 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction
) _wrap_HtmlHelpData_FindPageByName
, METH_VARARGS
| METH_KEYWORDS
},
9920 { (char *)"HtmlHelpData_FindPageById", (PyCFunction
) _wrap_HtmlHelpData_FindPageById
, METH_VARARGS
| METH_KEYWORDS
},
9921 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction
) _wrap_HtmlHelpData_GetBookRecArray
, METH_VARARGS
| METH_KEYWORDS
},
9922 { (char *)"HtmlHelpData_GetContents", (PyCFunction
) _wrap_HtmlHelpData_GetContents
, METH_VARARGS
| METH_KEYWORDS
},
9923 { (char *)"HtmlHelpData_GetContentsCnt", (PyCFunction
) _wrap_HtmlHelpData_GetContentsCnt
, METH_VARARGS
| METH_KEYWORDS
},
9924 { (char *)"HtmlHelpData_GetIndex", (PyCFunction
) _wrap_HtmlHelpData_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
9925 { (char *)"HtmlHelpData_GetIndexCnt", (PyCFunction
) _wrap_HtmlHelpData_GetIndexCnt
, METH_VARARGS
| METH_KEYWORDS
},
9926 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister
, METH_VARARGS
},
9927 { (char *)"new_HtmlHelpFrame", (PyCFunction
) _wrap_new_HtmlHelpFrame
, METH_VARARGS
| METH_KEYWORDS
},
9928 { (char *)"HtmlHelpFrame_GetData", (PyCFunction
) _wrap_HtmlHelpFrame_GetData
, METH_VARARGS
| METH_KEYWORDS
},
9929 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpFrame_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
},
9930 { (char *)"HtmlHelpFrame_Display", (PyCFunction
) _wrap_HtmlHelpFrame_Display
, METH_VARARGS
| METH_KEYWORDS
},
9931 { (char *)"HtmlHelpFrame_DisplayID", (PyCFunction
) _wrap_HtmlHelpFrame_DisplayID
, METH_VARARGS
| METH_KEYWORDS
},
9932 { (char *)"HtmlHelpFrame_DisplayContents", (PyCFunction
) _wrap_HtmlHelpFrame_DisplayContents
, METH_VARARGS
| METH_KEYWORDS
},
9933 { (char *)"HtmlHelpFrame_DisplayIndex", (PyCFunction
) _wrap_HtmlHelpFrame_DisplayIndex
, METH_VARARGS
| METH_KEYWORDS
},
9934 { (char *)"HtmlHelpFrame_KeywordSearch", (PyCFunction
) _wrap_HtmlHelpFrame_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
},
9935 { (char *)"HtmlHelpFrame_UseConfig", (PyCFunction
) _wrap_HtmlHelpFrame_UseConfig
, METH_VARARGS
| METH_KEYWORDS
},
9936 { (char *)"HtmlHelpFrame_ReadCustomization", (PyCFunction
) _wrap_HtmlHelpFrame_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
9937 { (char *)"HtmlHelpFrame_WriteCustomization", (PyCFunction
) _wrap_HtmlHelpFrame_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
9938 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister
, METH_VARARGS
},
9939 { (char *)"new_HtmlHelpController", (PyCFunction
) _wrap_new_HtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
},
9940 { (char *)"delete_HtmlHelpController", (PyCFunction
) _wrap_delete_HtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
},
9941 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpController_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
},
9942 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction
) _wrap_HtmlHelpController_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
},
9943 { (char *)"HtmlHelpController_AddBook", (PyCFunction
) _wrap_HtmlHelpController_AddBook
, METH_VARARGS
| METH_KEYWORDS
},
9944 { (char *)"HtmlHelpController_Display", (PyCFunction
) _wrap_HtmlHelpController_Display
, METH_VARARGS
| METH_KEYWORDS
},
9945 { (char *)"HtmlHelpController_DisplayID", (PyCFunction
) _wrap_HtmlHelpController_DisplayID
, METH_VARARGS
| METH_KEYWORDS
},
9946 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction
) _wrap_HtmlHelpController_DisplayContents
, METH_VARARGS
| METH_KEYWORDS
},
9947 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction
) _wrap_HtmlHelpController_DisplayIndex
, METH_VARARGS
| METH_KEYWORDS
},
9948 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction
) _wrap_HtmlHelpController_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
},
9949 { (char *)"HtmlHelpController_UseConfig", (PyCFunction
) _wrap_HtmlHelpController_UseConfig
, METH_VARARGS
| METH_KEYWORDS
},
9950 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction
) _wrap_HtmlHelpController_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
9951 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction
) _wrap_HtmlHelpController_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
9952 { (char *)"HtmlHelpController_GetFrame", (PyCFunction
) _wrap_HtmlHelpController_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
9953 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister
, METH_VARARGS
},
9958 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
9960 static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x
) {
9961 return (void *)((wxHtmlRenderingStyle
*) ((wxDefaultHtmlRenderingStyle
*) x
));
9963 static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x
) {
9964 return (void *)((wxHtmlParser
*) ((wxHtmlWinParser
*) x
));
9966 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
9967 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
9969 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
9970 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
9972 static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x
) {
9973 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
9975 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
9976 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
9978 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
9979 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
9981 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
9982 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
9984 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
9985 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
9987 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
9988 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
9990 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
9991 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
9993 static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x
) {
9994 return (void *)((wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
9996 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
9997 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
9999 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
10000 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
10002 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
10003 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
10005 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
10006 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
10008 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
10009 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
10011 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
10012 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
10014 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
10015 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
10017 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
10018 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
10020 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
10021 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
10023 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
10024 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
10026 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
10027 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
10029 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
10030 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
10032 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
10033 return (void *)((wxWindow
*) ((wxPanel
*) x
));
10035 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
10036 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
10038 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
10039 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
10041 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
10042 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
10044 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
10045 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
10047 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
10048 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
10050 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
10051 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
10053 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
10054 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
10056 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
10057 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
10059 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
10060 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
10062 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
10063 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
10065 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
10066 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
10068 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
10069 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
10071 static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x
) {
10072 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
10074 static void *_p_wxControlTo_p_wxWindow(void *x
) {
10075 return (void *)((wxWindow
*) ((wxControl
*) x
));
10077 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
10078 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
10080 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
10081 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
10083 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
10084 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
10086 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
10087 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
10089 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
10090 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
10092 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
10093 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
10095 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
10096 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
10098 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
10099 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
10101 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
10102 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
10104 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
10105 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
10107 static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x
) {
10108 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
10110 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
10111 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
10113 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
10114 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
10116 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
10117 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
10119 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
10120 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
10122 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
10123 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
10125 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
10126 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
10128 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
10129 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
10131 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
10132 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
10134 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
10135 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
10137 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
10138 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
10140 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
10141 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
10143 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
10144 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
10146 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
10147 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
10149 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
10150 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
10152 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
10153 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
10155 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
10156 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
10158 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
10159 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
10161 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
10162 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
10164 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
10165 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
10167 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
10168 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
10170 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
10171 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
10173 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
10174 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
10176 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
10177 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
10179 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
10180 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
10182 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
10183 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
10185 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
10186 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
10188 static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x
) {
10189 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxHtmlHelpFrame
*) x
));
10191 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
10192 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
10194 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
10195 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
10197 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
10198 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
10200 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
10201 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
10203 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
10204 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
10206 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
10207 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
10209 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
10210 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
10212 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
10213 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
10215 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
10216 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
10218 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
10219 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
10221 static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x
) {
10222 return (void *)((wxObject
*) ((wxHtmlLinkInfo
*) x
));
10224 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
10225 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
10227 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
10228 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
10230 static void *_p_wxSizerTo_p_wxObject(void *x
) {
10231 return (void *)((wxObject
*) ((wxSizer
*) x
));
10233 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
10234 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
10236 static void *_p_wxHtmlFontCellTo_p_wxObject(void *x
) {
10237 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlFontCell
*) x
));
10239 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
10240 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
10242 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
10243 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
10245 static void *_p_wxEventTo_p_wxObject(void *x
) {
10246 return (void *)((wxObject
*) ((wxEvent
*) x
));
10248 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
10249 return (void *)((wxObject
*) ((wxFontData
*) x
));
10251 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
10252 return (void *)((wxObject
*) ((wxPrintData
*) x
));
10254 static void *_p_wxHtmlTagTo_p_wxObject(void *x
) {
10255 return (void *)((wxObject
*) ((wxHtmlTag
*) x
));
10257 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
10258 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
10260 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
10261 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
10263 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
10264 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
10266 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
10267 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
10269 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
10270 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
10272 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
10273 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
10275 static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x
) {
10276 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
10278 static void *_p_wxHtmlCellTo_p_wxObject(void *x
) {
10279 return (void *)((wxObject
*) ((wxHtmlCell
*) x
));
10281 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
10282 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
10284 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
10285 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
10287 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
10288 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
10290 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
10291 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
10293 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
10294 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
10296 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
10297 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
10299 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
10300 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
10302 static void *_p_wxControlTo_p_wxObject(void *x
) {
10303 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
10305 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
10306 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
10308 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
10309 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
10311 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
10312 return (void *)((wxObject
*) ((wxFSFile
*) x
));
10314 static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x
) {
10315 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlWidgetCell
*) x
));
10317 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
10318 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
10320 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
10321 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
10323 static void *_p_wxHtmlColourCellTo_p_wxObject(void *x
) {
10324 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlColourCell
*) x
));
10326 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
10327 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
10329 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
10330 return (void *)((wxObject
*) ((wxColourData
*) x
));
10332 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
10333 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
10335 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
10336 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
10338 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
10339 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
10341 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
10342 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
10344 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
10345 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
10347 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
10348 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
10350 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
10351 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
10353 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
10354 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
10356 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
10357 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
10359 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
10360 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
10362 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
10363 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
10365 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
10366 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
10368 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
10369 return (void *)((wxObject
*) ((wxPrinter
*) x
));
10371 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
10372 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
10374 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
10375 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
10377 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
10378 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
10380 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
10381 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
10383 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
10384 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
10386 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
10387 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
10389 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
10390 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
10392 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
10393 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
10395 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
10396 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
10398 static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x
) {
10399 return (void *)((wxObject
*) ((wxPyHtmlFilter
*) x
));
10401 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
10402 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
10404 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
10405 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
10407 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
10408 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
10410 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
10411 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
10413 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
10414 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
10416 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
10417 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
10419 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
10420 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
10422 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
10423 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
10425 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
10426 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
10428 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
10429 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
10431 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
10432 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
10434 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
10435 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
10437 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
10438 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
10440 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
10441 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
10443 static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x
) {
10444 return (void *)((wxObject
*) ((wxPyHtmlTagHandler
*) x
));
10446 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x
) {
10447 return (void *)((wxObject
*) (wxPyHtmlTagHandler
*) ((wxPyHtmlWinTagHandler
*) x
));
10449 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
10450 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
10452 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
10453 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
10455 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
10456 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
10458 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
10459 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
10461 static void *_p_wxImageTo_p_wxObject(void *x
) {
10462 return (void *)((wxObject
*) ((wxImage
*) x
));
10464 static void *_p_wxFrameTo_p_wxObject(void *x
) {
10465 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
10467 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
10468 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
10470 static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x
) {
10471 return (void *)((wxObject
*) (wxPyPrintout
*) ((wxHtmlPrintout
*) x
));
10473 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
10474 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
10476 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
10477 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
10479 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
10480 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
10482 static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x
) {
10483 return (void *)((wxObject
*) ((wxHtmlDCRenderer
*) x
));
10485 static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x
) {
10486 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlContainerCell
*) x
));
10488 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
10489 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
10491 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
10492 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
10494 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
10495 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
10497 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
10498 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
10500 static void *_p_wxWindowTo_p_wxObject(void *x
) {
10501 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
10503 static void *_p_wxMenuTo_p_wxObject(void *x
) {
10504 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
10506 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
10507 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
10509 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
10510 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
10512 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
10513 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
10515 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
10516 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
10518 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
10519 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
10521 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
10522 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
10524 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
10525 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
10527 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
10528 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
10530 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
10531 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
10533 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
10534 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
10536 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
10537 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
10539 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
10540 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
10542 static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x
) {
10543 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
10545 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
10546 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
10548 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
10549 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
10551 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
10552 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
10554 static void *_p_wxPanelTo_p_wxObject(void *x
) {
10555 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
10557 static void *_p_wxDialogTo_p_wxObject(void *x
) {
10558 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
10560 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
10561 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
10563 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
10564 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
10566 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
10567 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
10569 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
10570 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
10572 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
10573 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
10575 static void *_p_wxHtmlParserTo_p_wxObject(void *x
) {
10576 return (void *)((wxObject
*) ((wxHtmlParser
*) x
));
10578 static void *_p_wxHtmlWinParserTo_p_wxObject(void *x
) {
10579 return (void *)((wxObject
*) (wxHtmlParser
*) ((wxHtmlWinParser
*) x
));
10581 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
10582 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
10584 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
10585 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
10587 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
10588 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
10590 static void *_p_wxHtmlWordCellTo_p_wxObject(void *x
) {
10591 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlWordCell
*) x
));
10593 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
10594 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
10596 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
10597 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
10599 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
10600 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
10602 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
10603 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
10605 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
10606 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
10608 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
10609 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
10611 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
10612 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
10614 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
10615 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
10617 static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x
) {
10618 return (void *)((wxObject
*) ((wxHtmlEasyPrinting
*) x
));
10620 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
10621 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
10623 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
10624 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
10626 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
10627 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
10629 static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x
) {
10630 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxHtmlHelpController
*) x
));
10632 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
10633 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
10635 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
10636 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
10638 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
10639 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
10641 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
10642 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
10644 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
10645 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
10647 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x
) {
10648 return (void *)((wxPyHtmlTagHandler
*) ((wxPyHtmlWinTagHandler
*) x
));
10650 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
10651 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
10653 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
10654 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
10656 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
10657 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
10659 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
10660 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
10662 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
10663 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
10665 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
10666 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
10668 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
10669 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
10671 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
10672 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
10674 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
10675 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
10677 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
10678 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
10680 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
10681 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
10683 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
10684 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
10686 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
10687 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
10689 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
10690 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
10692 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
10693 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
10695 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
10696 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
10698 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
10699 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
10701 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
10702 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
10704 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
10705 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
10707 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
10708 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
10710 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
10711 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
10713 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
10714 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
10716 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
10717 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
10719 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
10720 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
10722 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
10723 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
10725 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
10726 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
10728 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
10729 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
10731 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
10732 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
10734 static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x
) {
10735 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
10737 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
10738 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
10740 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
10741 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
10743 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
10744 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
10746 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
10747 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
10749 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
10750 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
10752 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
10753 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
10755 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
10756 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
10758 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
10759 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
10761 static void *_p_wxHtmlHelpControllerTo_p_wxEvtHandler(void *x
) {
10762 return (void *)((wxEvtHandler
*) ((wxHtmlHelpController
*) x
));
10764 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
10765 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
10767 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
10768 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
10770 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
10771 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
10773 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
10774 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
10776 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
10777 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
10779 static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x
) {
10780 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
10782 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
10783 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
10785 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
10786 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
10788 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
10789 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
10791 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
10792 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
10794 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
10795 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
10797 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
10798 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
10800 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
10801 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
10803 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
10804 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
10806 static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x
) {
10807 return (void *)((wxPyPrintout
*) ((wxHtmlPrintout
*) x
));
10809 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
10810 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
10812 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
10813 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
10815 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
10816 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
10818 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
10819 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
10821 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
10822 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
10824 static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x
) {
10825 return (void *)((wxFrame
*) ((wxHtmlHelpFrame
*) x
));
10827 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
10828 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
10830 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
10831 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
10833 static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x
) {
10834 return (void *)((wxHtmlCell
*) ((wxHtmlContainerCell
*) x
));
10836 static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x
) {
10837 return (void *)((wxHtmlCell
*) ((wxHtmlWidgetCell
*) x
));
10839 static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x
) {
10840 return (void *)((wxHtmlCell
*) ((wxHtmlColourCell
*) x
));
10842 static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x
) {
10843 return (void *)((wxHtmlCell
*) ((wxHtmlWordCell
*) x
));
10845 static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x
) {
10846 return (void *)((wxHtmlCell
*) ((wxHtmlFontCell
*) x
));
10848 static swig_type_info _swigt__p_wxHtmlDCRenderer
[] = {{"_p_wxHtmlDCRenderer", 0, "wxHtmlDCRenderer *", 0},{"_p_wxHtmlDCRenderer"},{0}};
10849 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
10850 static swig_type_info _swigt__p_wxPageSetupDialogData
[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
10851 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
10852 static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle
[] = {{"_p_wxDefaultHtmlRenderingStyle", 0, "wxDefaultHtmlRenderingStyle *", 0},{"_p_wxDefaultHtmlRenderingStyle"},{0}};
10853 static swig_type_info _swigt__p_wxHtmlRenderingStyle
[] = {{"_p_wxHtmlRenderingStyle", 0, "wxHtmlRenderingStyle *", 0},{"_p_wxHtmlRenderingStyle"},{"_p_wxDefaultHtmlRenderingStyle", _p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle
},{0}};
10854 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
10855 static swig_type_info _swigt__p_wxHtmlWordCell
[] = {{"_p_wxHtmlWordCell", 0, "wxHtmlWordCell *", 0},{"_p_wxHtmlWordCell"},{0}};
10856 static swig_type_info _swigt__p_wxHtmlHelpData
[] = {{"_p_wxHtmlHelpData", 0, "wxHtmlHelpData *", 0},{"_p_wxHtmlHelpData"},{0}};
10857 static swig_type_info _swigt__p_wxHtmlWinParser
[] = {{"_p_wxHtmlWinParser", 0, "wxHtmlWinParser *", 0},{"_p_wxHtmlWinParser"},{0}};
10858 static swig_type_info _swigt__p_wxHtmlParser
[] = {{"_p_wxHtmlParser", 0, "wxHtmlParser *", 0},{"_p_wxHtmlParser"},{"_p_wxHtmlWinParser", _p_wxHtmlWinParserTo_p_wxHtmlParser
},{0}};
10859 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}};
10860 static swig_type_info _swigt__p_wxHtmlFontCell
[] = {{"_p_wxHtmlFontCell", 0, "wxHtmlFontCell *", 0},{"_p_wxHtmlFontCell"},{0}};
10861 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
10862 static swig_type_info _swigt__p_wxHtmlColourCell
[] = {{"_p_wxHtmlColourCell", 0, "wxHtmlColourCell *", 0},{"_p_wxHtmlColourCell"},{0}};
10863 static swig_type_info _swigt__p_wxPyHtmlWindow
[] = {{"_p_wxPyHtmlWindow", 0, "wxPyHtmlWindow *", 0},{"_p_wxPyHtmlWindow"},{0}};
10864 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}};
10865 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}};
10866 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}};
10867 static swig_type_info _swigt__p_wxHtmlEasyPrinting
[] = {{"_p_wxHtmlEasyPrinting", 0, "wxHtmlEasyPrinting *", 0},{"_p_wxHtmlEasyPrinting"},{0}};
10868 static swig_type_info _swigt__p_wxHtmlSelection
[] = {{"_p_wxHtmlSelection", 0, "wxHtmlSelection *", 0},{"_p_wxHtmlSelection"},{0}};
10869 static swig_type_info _swigt__p_wxHtmlRenderingInfo
[] = {{"_p_wxHtmlRenderingInfo", 0, "wxHtmlRenderingInfo *", 0},{"_p_wxHtmlRenderingInfo"},{0}};
10870 static swig_type_info _swigt__p_wxHtmlWidgetCell
[] = {{"_p_wxHtmlWidgetCell", 0, "wxHtmlWidgetCell *", 0},{"_p_wxHtmlWidgetCell"},{0}};
10871 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}};
10872 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
10873 static swig_type_info _swigt__p_wxPyHtmlWinTagHandler
[] = {{"_p_wxPyHtmlWinTagHandler", 0, "wxPyHtmlWinTagHandler *", 0},{"_p_wxPyHtmlWinTagHandler"},{0}};
10874 static swig_type_info _swigt__p_wxHtmlTagHandler
[] = {{"_p_wxHtmlTagHandler", 0, "wxHtmlTagHandler *", 0},{"_p_wxHtmlTagHandler"},{0}};
10875 static swig_type_info _swigt__p_wxPyHtmlTagHandler
[] = {{"_p_wxPyHtmlTagHandler", 0, "wxPyHtmlTagHandler *", 0},{"_p_wxPyHtmlTagHandler"},{"_p_wxPyHtmlWinTagHandler", _p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler
},{0}};
10876 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}};
10877 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
10878 static swig_type_info _swigt__p_wxHtmlHelpController
[] = {{"_p_wxHtmlHelpController", 0, "wxHtmlHelpController *", 0},{"_p_wxHtmlHelpController"},{0}};
10879 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
10880 static swig_type_info _swigt__p_wxFileSystem
[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0},{"_p_wxFileSystem"},{0}};
10881 static swig_type_info _swigt__p_wxHtmlBookRecArray
[] = {{"_p_wxHtmlBookRecArray", 0, "wxHtmlBookRecArray *", 0},{"_p_wxHtmlBookRecArray"},{0}};
10882 static swig_type_info _swigt__p_wxPyPrintout
[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{"_p_wxHtmlPrintout", _p_wxHtmlPrintoutTo_p_wxPyPrintout
},{0}};
10883 static swig_type_info _swigt__p_wxHtmlPrintout
[] = {{"_p_wxHtmlPrintout", 0, "wxHtmlPrintout *", 0},{"_p_wxHtmlPrintout"},{0}};
10884 static swig_type_info _swigt__p_wxHtmlSearchStatus
[] = {{"_p_wxHtmlSearchStatus", 0, "wxHtmlSearchStatus *", 0},{"_p_wxHtmlSearchStatus"},{0}};
10885 static swig_type_info _swigt__p_wxHtmlContentsItem
[] = {{"_p_wxHtmlContentsItem", 0, "wxHtmlContentsItem *", 0},{"_p_wxHtmlContentsItem"},{0}};
10886 static swig_type_info _swigt__p_wxConfigBase
[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0},{"_p_wxConfigBase"},{0}};
10887 static swig_type_info _swigt__p_wxPrintData
[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
10888 static swig_type_info _swigt__p_wxHtmlHelpFrame
[] = {{"_p_wxHtmlHelpFrame", 0, "wxHtmlHelpFrame *", 0},{"_p_wxHtmlHelpFrame"},{0}};
10889 static swig_type_info _swigt__p_wxHtmlRenderingState
[] = {{"_p_wxHtmlRenderingState", 0, "wxHtmlRenderingState *", 0},{"_p_wxHtmlRenderingState"},{0}};
10890 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}};
10891 static swig_type_info _swigt__p_wxPyHtmlFilter
[] = {{"_p_wxPyHtmlFilter", 0, "wxPyHtmlFilter *", 0},{"_p_wxPyHtmlFilter"},{0}};
10892 static swig_type_info _swigt__p_wxHtmlFilter
[] = {{"_p_wxHtmlFilter", 0, "wxHtmlFilter *", 0},{"_p_wxHtmlFilter"},{0}};
10893 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}};
10894 static swig_type_info _swigt__p_wxHtmlContainerCell
[] = {{"_p_wxHtmlContainerCell", 0, "wxHtmlContainerCell *", 0},{"_p_wxHtmlContainerCell"},{0}};
10895 static swig_type_info _swigt__p_wxHtmlTag
[] = {{"_p_wxHtmlTag", 0, "wxHtmlTag *", 0},{"_p_wxHtmlTag"},{0}};
10896 static swig_type_info _swigt__p_wxHtmlLinkInfo
[] = {{"_p_wxHtmlLinkInfo", 0, "wxHtmlLinkInfo *", 0},{"_p_wxHtmlLinkInfo"},{0}};
10897 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
10898 static swig_type_info _swigt__p_wxHtmlBookRecord
[] = {{"_p_wxHtmlBookRecord", 0, "wxHtmlBookRecord *", 0},{"_p_wxHtmlBookRecord"},{0}};
10900 static swig_type_info
*swig_types_initial
[] = {
10901 _swigt__p_wxHtmlDCRenderer
,
10902 _swigt__p_wxColour
,
10903 _swigt__p_wxPageSetupDialogData
,
10905 _swigt__p_wxDefaultHtmlRenderingStyle
,
10906 _swigt__p_wxHtmlRenderingStyle
,
10907 _swigt__p_wxMouseEvent
,
10908 _swigt__p_wxHtmlWordCell
,
10909 _swigt__p_wxHtmlHelpData
,
10910 _swigt__p_wxHtmlWinParser
,
10911 _swigt__p_wxHtmlParser
,
10913 _swigt__p_wxHtmlFontCell
,
10915 _swigt__p_wxHtmlColourCell
,
10916 _swigt__p_wxPyHtmlWindow
,
10917 _swigt__p_wxScrolledWindow
,
10918 _swigt__p_wxWindow
,
10919 _swigt__p_wxTopLevelWindow
,
10920 _swigt__p_wxHtmlEasyPrinting
,
10921 _swigt__p_wxHtmlSelection
,
10922 _swigt__p_wxHtmlRenderingInfo
,
10923 _swigt__p_wxHtmlWidgetCell
,
10924 _swigt__p_wxObject
,
10925 _swigt__p_wxString
,
10926 _swigt__p_wxPyHtmlWinTagHandler
,
10927 _swigt__p_wxHtmlTagHandler
,
10928 _swigt__p_wxPyHtmlTagHandler
,
10929 _swigt__p_wxEvtHandler
,
10931 _swigt__p_wxHtmlHelpController
,
10932 _swigt__p_wxCursor
,
10933 _swigt__p_wxFileSystem
,
10934 _swigt__p_wxHtmlBookRecArray
,
10935 _swigt__p_wxPyPrintout
,
10936 _swigt__p_wxHtmlPrintout
,
10937 _swigt__p_wxHtmlSearchStatus
,
10938 _swigt__p_wxHtmlContentsItem
,
10939 _swigt__p_wxConfigBase
,
10940 _swigt__p_wxPrintData
,
10941 _swigt__p_wxHtmlHelpFrame
,
10942 _swigt__p_wxHtmlRenderingState
,
10944 _swigt__p_wxPyHtmlFilter
,
10945 _swigt__p_wxHtmlFilter
,
10946 _swigt__p_wxHtmlCell
,
10947 _swigt__p_wxHtmlContainerCell
,
10948 _swigt__p_wxHtmlTag
,
10949 _swigt__p_wxHtmlLinkInfo
,
10951 _swigt__p_wxHtmlBookRecord
,
10956 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
10958 static swig_const_info swig_const_table
[] = {
10959 { SWIG_PY_INT
, (char *)"HTML_ALIGN_LEFT", (long) wxHTML_ALIGN_LEFT
, 0, 0, 0},
10960 { SWIG_PY_INT
, (char *)"HTML_ALIGN_CENTER", (long) wxHTML_ALIGN_CENTER
, 0, 0, 0},
10961 { SWIG_PY_INT
, (char *)"HTML_ALIGN_RIGHT", (long) wxHTML_ALIGN_RIGHT
, 0, 0, 0},
10962 { SWIG_PY_INT
, (char *)"HTML_ALIGN_BOTTOM", (long) wxHTML_ALIGN_BOTTOM
, 0, 0, 0},
10963 { SWIG_PY_INT
, (char *)"HTML_ALIGN_TOP", (long) wxHTML_ALIGN_TOP
, 0, 0, 0},
10964 { SWIG_PY_INT
, (char *)"HTML_CLR_FOREGROUND", (long) wxHTML_CLR_FOREGROUND
, 0, 0, 0},
10965 { SWIG_PY_INT
, (char *)"HTML_CLR_BACKGROUND", (long) wxHTML_CLR_BACKGROUND
, 0, 0, 0},
10966 { SWIG_PY_INT
, (char *)"HTML_UNITS_PIXELS", (long) wxHTML_UNITS_PIXELS
, 0, 0, 0},
10967 { SWIG_PY_INT
, (char *)"HTML_UNITS_PERCENT", (long) wxHTML_UNITS_PERCENT
, 0, 0, 0},
10968 { SWIG_PY_INT
, (char *)"HTML_INDENT_LEFT", (long) wxHTML_INDENT_LEFT
, 0, 0, 0},
10969 { SWIG_PY_INT
, (char *)"HTML_INDENT_RIGHT", (long) wxHTML_INDENT_RIGHT
, 0, 0, 0},
10970 { SWIG_PY_INT
, (char *)"HTML_INDENT_TOP", (long) wxHTML_INDENT_TOP
, 0, 0, 0},
10971 { SWIG_PY_INT
, (char *)"HTML_INDENT_BOTTOM", (long) wxHTML_INDENT_BOTTOM
, 0, 0, 0},
10972 { SWIG_PY_INT
, (char *)"HTML_INDENT_HORIZONTAL", (long) wxHTML_INDENT_HORIZONTAL
, 0, 0, 0},
10973 { SWIG_PY_INT
, (char *)"HTML_INDENT_VERTICAL", (long) wxHTML_INDENT_VERTICAL
, 0, 0, 0},
10974 { SWIG_PY_INT
, (char *)"HTML_INDENT_ALL", (long) wxHTML_INDENT_ALL
, 0, 0, 0},
10975 { SWIG_PY_INT
, (char *)"HTML_COND_ISANCHOR", (long) wxHTML_COND_ISANCHOR
, 0, 0, 0},
10976 { SWIG_PY_INT
, (char *)"HTML_COND_ISIMAGEMAP", (long) wxHTML_COND_ISIMAGEMAP
, 0, 0, 0},
10977 { SWIG_PY_INT
, (char *)"HTML_COND_USER", (long) wxHTML_COND_USER
, 0, 0, 0},
10978 { SWIG_PY_INT
, (char *)"HTML_FONT_SIZE_1", (long) wxHTML_FONT_SIZE_1
, 0, 0, 0},
10979 { SWIG_PY_INT
, (char *)"HTML_FONT_SIZE_2", (long) wxHTML_FONT_SIZE_2
, 0, 0, 0},
10980 { SWIG_PY_INT
, (char *)"HTML_FONT_SIZE_3", (long) wxHTML_FONT_SIZE_3
, 0, 0, 0},
10981 { SWIG_PY_INT
, (char *)"HTML_FONT_SIZE_4", (long) wxHTML_FONT_SIZE_4
, 0, 0, 0},
10982 { SWIG_PY_INT
, (char *)"HTML_FONT_SIZE_5", (long) wxHTML_FONT_SIZE_5
, 0, 0, 0},
10983 { SWIG_PY_INT
, (char *)"HTML_FONT_SIZE_6", (long) wxHTML_FONT_SIZE_6
, 0, 0, 0},
10984 { SWIG_PY_INT
, (char *)"HTML_FONT_SIZE_7", (long) wxHTML_FONT_SIZE_7
, 0, 0, 0},
10985 { SWIG_PY_INT
, (char *)"HW_SCROLLBAR_NEVER", (long) wxHW_SCROLLBAR_NEVER
, 0, 0, 0},
10986 { SWIG_PY_INT
, (char *)"HW_SCROLLBAR_AUTO", (long) wxHW_SCROLLBAR_AUTO
, 0, 0, 0},
10987 { SWIG_PY_INT
, (char *)"HW_NO_SELECTION", (long) wxHW_NO_SELECTION
, 0, 0, 0},
10988 { SWIG_PY_INT
, (char *)"HW_DEFAULT_STYLE", (long) wxHW_DEFAULT_STYLE
, 0, 0, 0},
10989 { SWIG_PY_INT
, (char *)"HTML_OPEN", (long) wxHTML_OPEN
, 0, 0, 0},
10990 { SWIG_PY_INT
, (char *)"HTML_BLOCK", (long) wxHTML_BLOCK
, 0, 0, 0},
10991 { SWIG_PY_INT
, (char *)"HTML_REDIRECT", (long) wxHTML_REDIRECT
, 0, 0, 0},
10992 { SWIG_PY_INT
, (char *)"HTML_URL_PAGE", (long) wxHTML_URL_PAGE
, 0, 0, 0},
10993 { SWIG_PY_INT
, (char *)"HTML_URL_IMAGE", (long) wxHTML_URL_IMAGE
, 0, 0, 0},
10994 { SWIG_PY_INT
, (char *)"HTML_URL_OTHER", (long) wxHTML_URL_OTHER
, 0, 0, 0},
10995 { SWIG_PY_INT
, (char *)"HTML_SEL_OUT", (long) wxHTML_SEL_OUT
, 0, 0, 0},
10996 { SWIG_PY_INT
, (char *)"HTML_SEL_IN", (long) wxHTML_SEL_IN
, 0, 0, 0},
10997 { SWIG_PY_INT
, (char *)"HTML_SEL_CHANGING", (long) wxHTML_SEL_CHANGING
, 0, 0, 0},
10998 { SWIG_PY_INT
, (char *)"HTML_FIND_EXACT", (long) wxHTML_FIND_EXACT
, 0, 0, 0},
10999 { SWIG_PY_INT
, (char *)"HTML_FIND_NEAREST_BEFORE", (long) wxHTML_FIND_NEAREST_BEFORE
, 0, 0, 0},
11000 { SWIG_PY_INT
, (char *)"HTML_FIND_NEAREST_AFTER", (long) wxHTML_FIND_NEAREST_AFTER
, 0, 0, 0},
11001 { SWIG_PY_INT
, (char *)"PAGE_ODD", (long) wxPAGE_ODD
, 0, 0, 0},
11002 { SWIG_PY_INT
, (char *)"PAGE_EVEN", (long) wxPAGE_EVEN
, 0, 0, 0},
11003 { SWIG_PY_INT
, (char *)"PAGE_ALL", (long) wxPAGE_ALL
, 0, 0, 0},
11004 { SWIG_PY_INT
, (char *)"HF_TOOLBAR", (long) wxHF_TOOLBAR
, 0, 0, 0},
11005 { SWIG_PY_INT
, (char *)"HF_FLATTOOLBAR", (long) wxHF_FLATTOOLBAR
, 0, 0, 0},
11006 { SWIG_PY_INT
, (char *)"HF_CONTENTS", (long) wxHF_CONTENTS
, 0, 0, 0},
11007 { SWIG_PY_INT
, (char *)"HF_INDEX", (long) wxHF_INDEX
, 0, 0, 0},
11008 { SWIG_PY_INT
, (char *)"HF_SEARCH", (long) wxHF_SEARCH
, 0, 0, 0},
11009 { SWIG_PY_INT
, (char *)"HF_BOOKMARKS", (long) wxHF_BOOKMARKS
, 0, 0, 0},
11010 { SWIG_PY_INT
, (char *)"HF_OPENFILES", (long) wxHF_OPENFILES
, 0, 0, 0},
11011 { SWIG_PY_INT
, (char *)"HF_PRINT", (long) wxHF_PRINT
, 0, 0, 0},
11012 { SWIG_PY_INT
, (char *)"HF_DEFAULTSTYLE", (long) wxHF_DEFAULTSTYLE
, 0, 0, 0},
11022 SWIGEXPORT(void) SWIG_init(void) {
11023 static PyObject
*SWIG_globals
= 0;
11024 static int typeinit
= 0;
11027 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
11028 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
11029 d
= PyModule_GetDict(m
);
11032 for (i
= 0; swig_types_initial
[i
]; i
++) {
11033 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
11037 SWIG_InstallConstants(d
,swig_const_table
);
11039 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
11040 SWIG_addvarlink(SWIG_globals
,(char*)"HtmlWindowNameStr",_wrap_HtmlWindowNameStr_get
, _wrap_HtmlWindowNameStr_set
);
11041 SWIG_addvarlink(SWIG_globals
,(char*)"HtmlPrintoutTitleStr",_wrap_HtmlPrintoutTitleStr_get
, _wrap_HtmlPrintoutTitleStr_set
);
11042 SWIG_addvarlink(SWIG_globals
,(char*)"HtmlPrintingTitleStr",_wrap_HtmlPrintingTitleStr_get
, _wrap_HtmlPrintingTitleStr_set
);
11044 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
11045 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
11046 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
11047 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");