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);
127 /***********************************************************************
128 * pyrun.swg for wxPython
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* -----------------------------------------------------------------------------
199 * the needed conversions between C++ and python
200 * ----------------------------------------------------------------------------- */
205 SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
206 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharPtr(const char* cptr
);
207 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject
* obj
);
208 SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject
* obj
, const char* type
,
209 long min_value
, long max_value
);
210 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject
*obj
, const char* type
,
211 unsigned long max_value
);
212 SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
213 SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject
*obj
, swig_type_info
* pchar_info
,
214 char** cptr
, size_t* size
);
215 SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject
*obj
, swig_type_info
* pchar_info
,
216 char* carray
, size_t size
);
217 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharArray(const char* carray
, size_t size
);
218 SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject
*obj
, py_objasdbl_conv pyconv
);
221 /* Contract support */
223 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
231 /* -------- TYPES TABLE (BEGIN) -------- */
233 #define SWIGTYPE_p_wxHtmlDCRenderer swig_types[0]
234 #define SWIGTYPE_p_wxColour swig_types[1]
235 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[2]
236 #define SWIGTYPE_p_wxDC swig_types[3]
237 #define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[4]
238 #define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[5]
239 #define SWIGTYPE_p_wxMouseEvent swig_types[6]
240 #define SWIGTYPE_p_wxHtmlWordCell swig_types[7]
241 #define SWIGTYPE_p_wxHtmlHelpData swig_types[8]
242 #define SWIGTYPE_p_char swig_types[9]
243 #define SWIGTYPE_p_wxHtmlWinParser swig_types[10]
244 #define SWIGTYPE_p_wxHtmlParser swig_types[11]
245 #define SWIGTYPE_p_wxPanel swig_types[12]
246 #define SWIGTYPE_p_wxFont swig_types[13]
247 #define SWIGTYPE_p_wxHtmlColourCell swig_types[14]
248 #define SWIGTYPE_p_wxPyHtmlWindow swig_types[15]
249 #define SWIGTYPE_p_wxScrolledWindow swig_types[16]
250 #define SWIGTYPE_p_wxWindow swig_types[17]
251 #define SWIGTYPE_p_wxTopLevelWindow swig_types[18]
252 #define SWIGTYPE_p_wxHtmlFontCell swig_types[19]
253 #define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[20]
254 #define SWIGTYPE_p_wxHtmlSelection swig_types[21]
255 #define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[22]
256 #define SWIGTYPE_p_wxHtmlWidgetCell swig_types[23]
257 #define SWIGTYPE_p_wxObject swig_types[24]
258 #define SWIGTYPE_p_wxString swig_types[25]
259 #define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[26]
260 #define SWIGTYPE_p_wxHtmlTagHandler swig_types[27]
261 #define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[28]
262 #define SWIGTYPE_p_wxEvtHandler swig_types[29]
263 #define SWIGTYPE_p_wxPoint swig_types[30]
264 #define SWIGTYPE_p_wxHtmlHelpController swig_types[31]
265 #define SWIGTYPE_p_wxCursor swig_types[32]
266 #define SWIGTYPE_p_wxFileSystem swig_types[33]
267 #define SWIGTYPE_p_wxHtmlBookRecArray swig_types[34]
268 #define SWIGTYPE_p_wxPyPrintout swig_types[35]
269 #define SWIGTYPE_p_wxHtmlPrintout swig_types[36]
270 #define SWIGTYPE_p_wxHtmlSearchStatus swig_types[37]
271 #define SWIGTYPE_p_wxHtmlContentsItem swig_types[38]
272 #define SWIGTYPE_p_wxConfigBase swig_types[39]
273 #define SWIGTYPE_p_wxPrintData swig_types[40]
274 #define SWIGTYPE_p_wxHtmlHelpFrame swig_types[41]
275 #define SWIGTYPE_p_wxHtmlRenderingState swig_types[42]
276 #define SWIGTYPE_p_wxFrame swig_types[43]
277 #define SWIGTYPE_p_wxPyHtmlFilter swig_types[44]
278 #define SWIGTYPE_p_wxHtmlFilter swig_types[45]
279 #define SWIGTYPE_p_wxHtmlCell swig_types[46]
280 #define SWIGTYPE_p_wxHtmlContainerCell swig_types[47]
281 #define SWIGTYPE_p_wxHtmlTag swig_types[48]
282 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[49]
283 #define SWIGTYPE_p_int swig_types[50]
284 #define SWIGTYPE_p_wxHtmlBookRecord swig_types[51]
285 static swig_type_info
*swig_types
[53];
287 /* -------- TYPES TABLE (END) -------- */
290 /*-----------------------------------------------
292 ------------------------------------------------*/
293 #define SWIG_init init_html
295 #define SWIG_name "_html"
303 #define SWIGSTATIC(a) static inline a
305 #define SWIGSTATIC(a) static a
311 #ifdef HAVE_NUMERIC_CAST
312 #define numeric_cast(type,a) numeric_cast<type>(a)
314 #define numeric_cast(type,a) static_cast<type>(a)
317 #define numeric_cast(type,a) (type)(a)
323 #define SWIG_PyObj_FromSignedChar PyInt_FromLong
324 #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
325 #define SWIG_PyObj_FromShort PyInt_FromLong
326 #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
327 #define SWIG_PyObj_FromInt PyInt_FromLong
328 #define SWIG_PyObj_FromLong PyInt_FromLong
329 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
330 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
331 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
332 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
335 #include "wx/wxPython/wxPython.h"
336 #include "wx/wxPython/pyclasses.h"
337 #include "wx/wxPython/pyistream.h"
338 #include "wx/wxPython/printfw.h"
340 #include <wx/html/htmlwin.h>
341 #include <wx/html/htmprint.h>
342 #include <wx/html/helpctrl.h>
345 static const wxString
wxPyEmptyString(wxEmptyString
);
346 static const wxString
wxPyHtmlWindowNameStr(wxT("htmlWindow"));
347 static const wxString
wxPyHtmlPrintoutTitleStr(wxT("Printout"));
348 static const wxString
wxPyHtmlPrintingTitleStr(wxT("Printing"));
351 SWIG_PyObj_AsInt(PyObject
*obj
)
353 return numeric_cast(int,
354 SWIG_PyObj_AsLongInRange(obj
, "int", INT_MIN
, INT_MAX
));
357 void wxHtmlWinParser_SetFonts(wxHtmlWinParser
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
){
359 if (sizes
) temp
= int_LIST_helper(sizes
);
360 self
->SetFonts(normal_face
, fixed_face
, temp
);
365 class wxPyHtmlTagHandler
: public wxHtmlTagHandler
{
366 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler
);
368 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
370 wxHtmlParser
* GetParser() { return m_Parser
; }
371 void ParseInner(const wxHtmlTag
& tag
) { wxHtmlTagHandler::ParseInner(tag
); }
373 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
374 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
379 IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler
, wxHtmlTagHandler
);
381 IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, GetSupportedTags
);
382 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, HandleTag
);
385 class wxPyHtmlWinTagHandler
: public wxHtmlWinTagHandler
{
386 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler
);
388 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
390 wxHtmlWinParser
* GetParser() { return m_WParser
; }
391 void ParseInner(const wxHtmlTag
& tag
)
392 { wxHtmlWinTagHandler::ParseInner(tag
); }
394 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
395 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
400 IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
);
402 IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, GetSupportedTags
);
403 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, HandleTag
);
407 class wxPyHtmlTagsModule
: public wxHtmlTagsModule
{
409 wxPyHtmlTagsModule(PyObject
* thc
) : wxHtmlTagsModule() {
410 m_tagHandlerClass
= thc
;
411 Py_INCREF(m_tagHandlerClass
);
412 RegisterModule(this);
413 wxHtmlWinParser::AddModule(this);
417 wxPyBeginBlockThreads();
418 Py_DECREF(m_tagHandlerClass
);
419 m_tagHandlerClass
= NULL
;
420 for (size_t x
=0; x
< m_objArray
.GetCount(); x
++) {
421 PyObject
* obj
= (PyObject
*)m_objArray
.Item(x
);
424 wxPyEndBlockThreads();
427 void FillHandlersTable(wxHtmlWinParser
*parser
) {
428 // Wave our magic wand... (if it works it's a miracle! ;-)
430 // First, make a new instance of the tag handler
431 wxPyBeginBlockThreads();
432 PyObject
* arg
= PyTuple_New(0);
433 PyObject
* obj
= PyObject_CallObject(m_tagHandlerClass
, arg
);
436 // now figure out where it's C++ object is...
437 wxPyHtmlWinTagHandler
* thPtr
;
438 if (! wxPyConvertSwigPtr(obj
, (void **)&thPtr
, wxT("wxPyHtmlWinTagHandler"))) {
439 wxPyEndBlockThreads();
442 wxPyEndBlockThreads();
445 parser
->AddTagHandler(thPtr
);
452 PyObject
* m_tagHandlerClass
;
453 wxArrayPtrVoid m_objArray
;
458 void wxHtmlWinParser_AddTagHandler(PyObject
* tagHandlerClass
) {
459 // Dynamically create a new wxModule. Refcounts tagHandlerClass
460 // and adds itself to the wxModules list and to the wxHtmlWinParser.
461 new wxPyHtmlTagsModule(tagHandlerClass
);
465 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
471 } else if (target
== Py_None
) {
475 if (!PyTuple_Check(target
)) {
477 target
= PyTuple_New(1);
478 PyTuple_SetItem(target
, 0, o2
);
481 PyTuple_SetItem(o3
, 0, o
);
484 target
= PySequence_Concat(o2
, o3
);
493 SWIG_PyObj_AsBool(PyObject
*obj
)
495 return PyObject_IsTrue(obj
) ? true : false;
499 SWIGSTATIC(unsigned int)
500 SWIG_PyObj_AsUnsignedInt(PyObject
*obj
)
502 return numeric_cast(unsigned int,
503 SWIG_PyObj_AsUnsignedLongInRange(obj
, "unsigned int", UINT_MAX
));
507 SWIGSTATIC(PyObject
* )
508 SWIG_PyObj_FromUnsignedLong(unsigned long value
)
510 return (value
> (unsigned long)(LONG_MAX
)) ?
511 PyLong_FromUnsignedLong(value
) : PyInt_FromLong((long)value
);
515 #define SWIG_PyObj_FromUnsignedInt SWIG_PyObj_FromUnsignedLong
517 // here's the C++ version
518 class wxPyHtmlFilter
: public wxHtmlFilter
{
519 DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter
);
521 wxPyHtmlFilter() : wxHtmlFilter() {}
523 // returns True if this filter is able to open&read given file
524 virtual bool CanRead(const wxFSFile
& file
) const {
527 wxPyBeginBlockThreads();
528 if ((found
= wxPyCBH_findCallback(m_myInst
, "CanRead"))) {
529 PyObject
* obj
= wxPyMake_wxObject((wxFSFile
*)&file
); // cast away const
530 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
533 wxPyEndBlockThreads();
538 // Reads given file and returns HTML document.
539 // Returns empty string if opening failed
540 virtual wxString
ReadFile(const wxFSFile
& file
) const {
543 wxPyBeginBlockThreads();
544 if ((found
= wxPyCBH_findCallback(m_myInst
, "ReadFile"))) {
545 PyObject
* obj
= wxPyMake_wxObject((wxFSFile
*)&file
); // cast away const
547 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(O)", obj
));
550 rval
= Py2wxString(ro
);
554 wxPyEndBlockThreads();
561 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter
, wxHtmlFilter
);
564 class wxPyHtmlWindow
: public wxHtmlWindow
{
565 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow
);
567 wxPyHtmlWindow(wxWindow
*parent
, wxWindowID id
= -1,
568 const wxPoint
& pos
= wxDefaultPosition
,
569 const wxSize
& size
= wxDefaultSize
,
570 long style
= wxHW_DEFAULT_STYLE
,
571 const wxString
& name
= wxPyHtmlWindowNameStr
)
572 : wxHtmlWindow(parent
, id
, pos
, size
, style
, name
) {};
573 wxPyHtmlWindow() : wxHtmlWindow() {};
575 bool ScrollToAnchor(const wxString
& anchor
) {
576 return wxHtmlWindow::ScrollToAnchor(anchor
);
579 bool HasAnchor(const wxString
& anchor
) {
580 const wxHtmlCell
*c
= m_Cell
->Find(wxHTML_COND_ISANCHOR
, &anchor
);
584 void OnLinkClicked(const wxHtmlLinkInfo
& link
);
585 void base_OnLinkClicked(const wxHtmlLinkInfo
& link
);
587 wxHtmlOpeningStatus
OnOpeningURL(wxHtmlURLType type
,
589 wxString
*redirect
) const;
591 DEC_PYCALLBACK__STRING(OnSetTitle
);
592 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover
);
593 DEC_PYCALLBACK__CELLINTINTME(OnCellClicked
);
597 IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow
, wxHtmlWindow
);
598 IMP_PYCALLBACK__STRING(wxPyHtmlWindow
, wxHtmlWindow
, OnSetTitle
);
599 IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow
, wxHtmlWindow
, OnCellMouseHover
);
600 IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow
, wxHtmlWindow
, OnCellClicked
);
603 void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo
& link
) {
605 wxPyBeginBlockThreads();
606 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
607 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
608 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
611 wxPyEndBlockThreads();
613 wxHtmlWindow::OnLinkClicked(link
);
615 void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo
& link
) {
616 wxHtmlWindow::OnLinkClicked(link
);
620 wxHtmlOpeningStatus
wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type
,
622 wxString
*redirect
) const {
624 wxHtmlOpeningStatus rval
;
625 wxPyBeginBlockThreads();
626 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnOpeningURL"))) {
628 PyObject
* s
= wx2PyString(url
);
629 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(iO)", type
, s
));
631 if (PyString_Check(ro
)
632 #if PYTHON_API_VERSION >= 1009
633 || PyUnicode_Check(ro
)
636 *redirect
= Py2wxString(ro
);
637 rval
= wxHTML_REDIRECT
;
640 PyObject
* num
= PyNumber_Int(ro
);
641 rval
= (wxHtmlOpeningStatus
)PyInt_AsLong(num
);
646 wxPyEndBlockThreads();
648 rval
= wxHtmlWindow::OnOpeningURL(type
, url
, redirect
);
654 void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
){
656 if (sizes
) temp
= int_LIST_helper(sizes
);
657 self
->SetFonts(normal_face
, fixed_face
, temp
);
661 void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
){
663 if (sizes
) temp
= int_LIST_helper(sizes
);
664 self
->SetFonts(normal_face
, fixed_face
, temp
);
668 void wxHtmlPrintout_SetFonts(wxHtmlPrintout
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
){
670 if (sizes
) temp
= int_LIST_helper(sizes
);
671 self
->SetFonts(normal_face
, fixed_face
, temp
);
677 SWIG_PyObj_AsDouble(PyObject
*obj
)
679 return (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
681 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
683 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
685 if (PyErr_Occurred()) {
687 PyErr_SetString(PyExc_TypeError
, "a double is expected");
693 SWIG_PyObj_AsFloat(PyObject
*obj
)
695 return SWIG_PyObj_AsFloatConv(obj
, SWIG_PyObj_AsDouble
);
698 void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
){
700 if (sizes
) temp
= int_LIST_helper(sizes
);
701 self
->SetFonts(normal_face
, fixed_face
, temp
);
705 int wxHtmlContentsItem_GetLevel(wxHtmlContentsItem
*self
){ return self
->m_Level
; }
706 int wxHtmlContentsItem_GetID(wxHtmlContentsItem
*self
){ return self
->m_ID
; }
707 wxString
wxHtmlContentsItem_GetName(wxHtmlContentsItem
*self
){ return self
->m_Name
; }
708 wxString
wxHtmlContentsItem_GetPage(wxHtmlContentsItem
*self
){ return self
->m_Page
; }
709 wxHtmlBookRecord
*wxHtmlContentsItem_GetBook(wxHtmlContentsItem
*self
){ return self
->m_Book
; }
713 static int _wrap_HtmlWindowNameStr_set(PyObject
*) {
714 PyErr_SetString(PyExc_TypeError
,"Variable HtmlWindowNameStr is read-only.");
719 static PyObject
*_wrap_HtmlWindowNameStr_get() {
724 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr
)->c_str(), (&wxPyHtmlWindowNameStr
)->Len());
726 pyobj
= PyString_FromStringAndSize((&wxPyHtmlWindowNameStr
)->c_str(), (&wxPyHtmlWindowNameStr
)->Len());
733 static int _wrap_HtmlPrintoutTitleStr_set(PyObject
*) {
734 PyErr_SetString(PyExc_TypeError
,"Variable HtmlPrintoutTitleStr is read-only.");
739 static PyObject
*_wrap_HtmlPrintoutTitleStr_get() {
744 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr
)->c_str(), (&wxPyHtmlPrintoutTitleStr
)->Len());
746 pyobj
= PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr
)->c_str(), (&wxPyHtmlPrintoutTitleStr
)->Len());
753 static int _wrap_HtmlPrintingTitleStr_set(PyObject
*) {
754 PyErr_SetString(PyExc_TypeError
,"Variable HtmlPrintingTitleStr is read-only.");
759 static PyObject
*_wrap_HtmlPrintingTitleStr_get() {
764 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr
)->c_str(), (&wxPyHtmlPrintingTitleStr
)->Len());
766 pyobj
= PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr
)->c_str(), (&wxPyHtmlPrintingTitleStr
)->Len());
773 static PyObject
*_wrap_new_HtmlLinkInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
776 wxString
const &arg2_defvalue
= wxPyEmptyString
;
777 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
778 wxHtmlLinkInfo
*result
;
781 PyObject
* obj0
= 0 ;
782 PyObject
* obj1
= 0 ;
784 (char *) "href",(char *) "target", NULL
787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlLinkInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
789 arg1
= wxString_in_helper(obj0
);
790 if (arg1
== NULL
) SWIG_fail
;
795 arg2
= wxString_in_helper(obj1
);
796 if (arg2
== NULL
) SWIG_fail
;
801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
802 result
= (wxHtmlLinkInfo
*)new wxHtmlLinkInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
);
804 wxPyEndAllowThreads(__tstate
);
805 if (PyErr_Occurred()) SWIG_fail
;
807 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlLinkInfo
, 1);
830 static PyObject
*_wrap_HtmlLinkInfo_GetHref(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
832 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
834 PyObject
* obj0
= 0 ;
836 (char *) "self", NULL
839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlLinkInfo_GetHref",kwnames
,&obj0
)) goto fail
;
840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlLinkInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
843 result
= (arg1
)->GetHref();
845 wxPyEndAllowThreads(__tstate
);
846 if (PyErr_Occurred()) SWIG_fail
;
850 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
852 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
861 static PyObject
*_wrap_HtmlLinkInfo_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
863 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
865 PyObject
* obj0
= 0 ;
867 (char *) "self", NULL
870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlLinkInfo_GetTarget",kwnames
,&obj0
)) goto fail
;
871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlLinkInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
874 result
= (arg1
)->GetTarget();
876 wxPyEndAllowThreads(__tstate
);
877 if (PyErr_Occurred()) SWIG_fail
;
881 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
883 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
892 static PyObject
*_wrap_HtmlLinkInfo_GetEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
894 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
895 wxMouseEvent
*result
;
896 PyObject
* obj0
= 0 ;
898 (char *) "self", NULL
901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlLinkInfo_GetEvent",kwnames
,&obj0
)) goto fail
;
902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlLinkInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
905 result
= (wxMouseEvent
*)(arg1
)->GetEvent();
907 wxPyEndAllowThreads(__tstate
);
908 if (PyErr_Occurred()) SWIG_fail
;
911 resultobj
= wxPyMake_wxObject(result
);
919 static PyObject
*_wrap_HtmlLinkInfo_GetHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
921 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
923 PyObject
* obj0
= 0 ;
925 (char *) "self", NULL
928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlLinkInfo_GetHtmlCell",kwnames
,&obj0
)) goto fail
;
929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlLinkInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
932 result
= (wxHtmlCell
*)(arg1
)->GetHtmlCell();
934 wxPyEndAllowThreads(__tstate
);
935 if (PyErr_Occurred()) SWIG_fail
;
937 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlCell
, 0);
944 static PyObject
*_wrap_HtmlLinkInfo_SetEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
946 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
947 wxMouseEvent
*arg2
= (wxMouseEvent
*) 0 ;
948 PyObject
* obj0
= 0 ;
949 PyObject
* obj1
= 0 ;
951 (char *) "self",(char *) "e", NULL
954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlLinkInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
956 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
959 (arg1
)->SetEvent((wxMouseEvent
const *)arg2
);
961 wxPyEndAllowThreads(__tstate
);
962 if (PyErr_Occurred()) SWIG_fail
;
964 Py_INCREF(Py_None
); resultobj
= Py_None
;
971 static PyObject
*_wrap_HtmlLinkInfo_SetHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
973 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
974 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
975 PyObject
* obj0
= 0 ;
976 PyObject
* obj1
= 0 ;
978 (char *) "self",(char *) "e", NULL
981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames
,&obj0
,&obj1
)) goto fail
;
982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlLinkInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
983 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
986 (arg1
)->SetHtmlCell((wxHtmlCell
const *)arg2
);
988 wxPyEndAllowThreads(__tstate
);
989 if (PyErr_Occurred()) SWIG_fail
;
991 Py_INCREF(Py_None
); resultobj
= Py_None
;
998 static PyObject
* HtmlLinkInfo_swigregister(PyObject
*self
, PyObject
*args
) {
1000 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1001 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlLinkInfo
, obj
);
1003 return Py_BuildValue((char *)"");
1005 static PyObject
*_wrap_HtmlTag_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1006 PyObject
*resultobj
;
1007 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
1009 PyObject
* obj0
= 0 ;
1011 (char *) "self", NULL
1014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_GetName",kwnames
,&obj0
)) goto fail
;
1015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlTag
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1018 result
= (arg1
)->GetName();
1020 wxPyEndAllowThreads(__tstate
);
1021 if (PyErr_Occurred()) SWIG_fail
;
1025 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1027 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1036 static PyObject
*_wrap_HtmlTag_HasParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1037 PyObject
*resultobj
;
1038 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
1039 wxString
*arg2
= 0 ;
1041 bool temp2
= False
;
1042 PyObject
* obj0
= 0 ;
1043 PyObject
* obj1
= 0 ;
1045 (char *) "self",(char *) "par", NULL
1048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTag_HasParam",kwnames
,&obj0
,&obj1
)) goto fail
;
1049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlTag
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1051 arg2
= wxString_in_helper(obj1
);
1052 if (arg2
== NULL
) SWIG_fail
;
1056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1057 result
= (bool)(arg1
)->HasParam((wxString
const &)*arg2
);
1059 wxPyEndAllowThreads(__tstate
);
1060 if (PyErr_Occurred()) SWIG_fail
;
1062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1077 static PyObject
*_wrap_HtmlTag_GetParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1078 PyObject
*resultobj
;
1079 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
1080 wxString
*arg2
= 0 ;
1081 int arg3
= (int) False
;
1083 bool temp2
= False
;
1084 PyObject
* obj0
= 0 ;
1085 PyObject
* obj1
= 0 ;
1086 PyObject
* obj2
= 0 ;
1088 (char *) "self",(char *) "par",(char *) "with_commas", NULL
1091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlTag_GetParam",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlTag
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1094 arg2
= wxString_in_helper(obj1
);
1095 if (arg2
== NULL
) SWIG_fail
;
1100 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1101 if (PyErr_Occurred()) SWIG_fail
;
1105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1106 result
= (arg1
)->GetParam((wxString
const &)*arg2
,arg3
);
1108 wxPyEndAllowThreads(__tstate
);
1109 if (PyErr_Occurred()) SWIG_fail
;
1113 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1115 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1132 static PyObject
*_wrap_HtmlTag_GetAllParams(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1133 PyObject
*resultobj
;
1134 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
1136 PyObject
* obj0
= 0 ;
1138 (char *) "self", NULL
1141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_GetAllParams",kwnames
,&obj0
)) goto fail
;
1142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlTag
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1145 result
= (arg1
)->GetAllParams();
1147 wxPyEndAllowThreads(__tstate
);
1148 if (PyErr_Occurred()) SWIG_fail
;
1152 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1154 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1163 static PyObject
*_wrap_HtmlTag_HasEnding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1164 PyObject
*resultobj
;
1165 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
1167 PyObject
* obj0
= 0 ;
1169 (char *) "self", NULL
1172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_HasEnding",kwnames
,&obj0
)) goto fail
;
1173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlTag
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1176 result
= (bool)(arg1
)->HasEnding();
1178 wxPyEndAllowThreads(__tstate
);
1179 if (PyErr_Occurred()) SWIG_fail
;
1181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1188 static PyObject
*_wrap_HtmlTag_GetBeginPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1189 PyObject
*resultobj
;
1190 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
1192 PyObject
* obj0
= 0 ;
1194 (char *) "self", NULL
1197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_GetBeginPos",kwnames
,&obj0
)) goto fail
;
1198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlTag
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1201 result
= (int)(arg1
)->GetBeginPos();
1203 wxPyEndAllowThreads(__tstate
);
1204 if (PyErr_Occurred()) SWIG_fail
;
1206 resultobj
= SWIG_PyObj_FromInt((int)result
);
1213 static PyObject
*_wrap_HtmlTag_GetEndPos1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1214 PyObject
*resultobj
;
1215 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
1217 PyObject
* obj0
= 0 ;
1219 (char *) "self", NULL
1222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_GetEndPos1",kwnames
,&obj0
)) goto fail
;
1223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlTag
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1226 result
= (int)(arg1
)->GetEndPos1();
1228 wxPyEndAllowThreads(__tstate
);
1229 if (PyErr_Occurred()) SWIG_fail
;
1231 resultobj
= SWIG_PyObj_FromInt((int)result
);
1238 static PyObject
*_wrap_HtmlTag_GetEndPos2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1239 PyObject
*resultobj
;
1240 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
1242 PyObject
* obj0
= 0 ;
1244 (char *) "self", NULL
1247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_GetEndPos2",kwnames
,&obj0
)) goto fail
;
1248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlTag
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1251 result
= (int)(arg1
)->GetEndPos2();
1253 wxPyEndAllowThreads(__tstate
);
1254 if (PyErr_Occurred()) SWIG_fail
;
1256 resultobj
= SWIG_PyObj_FromInt((int)result
);
1263 static PyObject
* HtmlTag_swigregister(PyObject
*self
, PyObject
*args
) {
1265 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1266 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlTag
, obj
);
1268 return Py_BuildValue((char *)"");
1270 static PyObject
*_wrap_HtmlParser_SetFS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1271 PyObject
*resultobj
;
1272 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1273 wxFileSystem
*arg2
= (wxFileSystem
*) 0 ;
1274 PyObject
* obj0
= 0 ;
1275 PyObject
* obj1
= 0 ;
1277 (char *) "self",(char *) "fs", NULL
1280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_SetFS",kwnames
,&obj0
,&obj1
)) goto fail
;
1281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1282 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1285 (arg1
)->SetFS(arg2
);
1287 wxPyEndAllowThreads(__tstate
);
1288 if (PyErr_Occurred()) SWIG_fail
;
1290 Py_INCREF(Py_None
); resultobj
= Py_None
;
1297 static PyObject
*_wrap_HtmlParser_GetFS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1298 PyObject
*resultobj
;
1299 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1300 wxFileSystem
*result
;
1301 PyObject
* obj0
= 0 ;
1303 (char *) "self", NULL
1306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlParser_GetFS",kwnames
,&obj0
)) goto fail
;
1307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1310 result
= (wxFileSystem
*)(arg1
)->GetFS();
1312 wxPyEndAllowThreads(__tstate
);
1313 if (PyErr_Occurred()) SWIG_fail
;
1316 resultobj
= wxPyMake_wxObject(result
);
1324 static PyObject
*_wrap_HtmlParser_Parse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1325 PyObject
*resultobj
;
1326 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1327 wxString
*arg2
= 0 ;
1329 bool temp2
= False
;
1330 PyObject
* obj0
= 0 ;
1331 PyObject
* obj1
= 0 ;
1333 (char *) "self",(char *) "source", NULL
1336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_Parse",kwnames
,&obj0
,&obj1
)) goto fail
;
1337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1339 arg2
= wxString_in_helper(obj1
);
1340 if (arg2
== NULL
) SWIG_fail
;
1344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1345 result
= (wxObject
*)(arg1
)->Parse((wxString
const &)*arg2
);
1347 wxPyEndAllowThreads(__tstate
);
1348 if (PyErr_Occurred()) SWIG_fail
;
1351 resultobj
= wxPyMake_wxObject(result
);
1367 static PyObject
*_wrap_HtmlParser_InitParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1368 PyObject
*resultobj
;
1369 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1370 wxString
*arg2
= 0 ;
1371 bool temp2
= False
;
1372 PyObject
* obj0
= 0 ;
1373 PyObject
* obj1
= 0 ;
1375 (char *) "self",(char *) "source", NULL
1378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_InitParser",kwnames
,&obj0
,&obj1
)) goto fail
;
1379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1381 arg2
= wxString_in_helper(obj1
);
1382 if (arg2
== NULL
) SWIG_fail
;
1386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1387 (arg1
)->InitParser((wxString
const &)*arg2
);
1389 wxPyEndAllowThreads(__tstate
);
1390 if (PyErr_Occurred()) SWIG_fail
;
1392 Py_INCREF(Py_None
); resultobj
= Py_None
;
1407 static PyObject
*_wrap_HtmlParser_DoneParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1408 PyObject
*resultobj
;
1409 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1410 PyObject
* obj0
= 0 ;
1412 (char *) "self", NULL
1415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlParser_DoneParser",kwnames
,&obj0
)) goto fail
;
1416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1419 (arg1
)->DoneParser();
1421 wxPyEndAllowThreads(__tstate
);
1422 if (PyErr_Occurred()) SWIG_fail
;
1424 Py_INCREF(Py_None
); resultobj
= Py_None
;
1431 static PyObject
*_wrap_HtmlParser_DoParsing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1432 PyObject
*resultobj
;
1433 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1436 PyObject
* obj0
= 0 ;
1437 PyObject
* obj1
= 0 ;
1438 PyObject
* obj2
= 0 ;
1440 (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
1443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlParser_DoParsing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1446 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1447 if (PyErr_Occurred()) SWIG_fail
;
1450 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1451 if (PyErr_Occurred()) SWIG_fail
;
1454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1455 (arg1
)->DoParsing(arg2
,arg3
);
1457 wxPyEndAllowThreads(__tstate
);
1458 if (PyErr_Occurred()) SWIG_fail
;
1460 Py_INCREF(Py_None
); resultobj
= Py_None
;
1467 static PyObject
*_wrap_HtmlParser_StopParsing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1468 PyObject
*resultobj
;
1469 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1470 PyObject
* obj0
= 0 ;
1472 (char *) "self", NULL
1475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlParser_StopParsing",kwnames
,&obj0
)) goto fail
;
1476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1479 (arg1
)->StopParsing();
1481 wxPyEndAllowThreads(__tstate
);
1482 if (PyErr_Occurred()) SWIG_fail
;
1484 Py_INCREF(Py_None
); resultobj
= Py_None
;
1491 static PyObject
*_wrap_HtmlParser_AddTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1492 PyObject
*resultobj
;
1493 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1494 wxHtmlTagHandler
*arg2
= (wxHtmlTagHandler
*) 0 ;
1495 PyObject
* obj0
= 0 ;
1496 PyObject
* obj1
= 0 ;
1498 (char *) "self",(char *) "handler", NULL
1501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_AddTagHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
1502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1503 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxHtmlTagHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1506 (arg1
)->AddTagHandler(arg2
);
1508 wxPyEndAllowThreads(__tstate
);
1509 if (PyErr_Occurred()) SWIG_fail
;
1511 Py_INCREF(Py_None
); resultobj
= Py_None
;
1518 static PyObject
*_wrap_HtmlParser_GetSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1519 PyObject
*resultobj
;
1520 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1522 PyObject
* obj0
= 0 ;
1524 (char *) "self", NULL
1527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlParser_GetSource",kwnames
,&obj0
)) goto fail
;
1528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1531 result
= (wxString
*)(arg1
)->GetSource();
1533 wxPyEndAllowThreads(__tstate
);
1534 if (PyErr_Occurred()) SWIG_fail
;
1538 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
1540 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
1549 static PyObject
*_wrap_HtmlParser_PushTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1550 PyObject
*resultobj
;
1551 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1552 wxHtmlTagHandler
*arg2
= (wxHtmlTagHandler
*) 0 ;
1554 PyObject
* obj0
= 0 ;
1555 PyObject
* obj1
= 0 ;
1556 PyObject
* obj2
= 0 ;
1558 (char *) "self",(char *) "handler",(char *) "tags", NULL
1561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlParser_PushTagHandler",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1563 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxHtmlTagHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1565 wxString
* sptr
= wxString_in_helper(obj2
);
1566 if (sptr
== NULL
) SWIG_fail
;
1571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1572 (arg1
)->PushTagHandler(arg2
,arg3
);
1574 wxPyEndAllowThreads(__tstate
);
1575 if (PyErr_Occurred()) SWIG_fail
;
1577 Py_INCREF(Py_None
); resultobj
= Py_None
;
1584 static PyObject
*_wrap_HtmlParser_PopTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1585 PyObject
*resultobj
;
1586 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1587 PyObject
* obj0
= 0 ;
1589 (char *) "self", NULL
1592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlParser_PopTagHandler",kwnames
,&obj0
)) goto fail
;
1593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1596 (arg1
)->PopTagHandler();
1598 wxPyEndAllowThreads(__tstate
);
1599 if (PyErr_Occurred()) SWIG_fail
;
1601 Py_INCREF(Py_None
); resultobj
= Py_None
;
1608 static PyObject
* HtmlParser_swigregister(PyObject
*self
, PyObject
*args
) {
1610 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1611 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlParser
, obj
);
1613 return Py_BuildValue((char *)"");
1615 static PyObject
*_wrap_new_HtmlWinParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1616 PyObject
*resultobj
;
1617 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) NULL
;
1618 wxHtmlWinParser
*result
;
1619 PyObject
* obj0
= 0 ;
1621 (char *) "wnd", NULL
1624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_HtmlWinParser",kwnames
,&obj0
)) goto fail
;
1626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1630 result
= (wxHtmlWinParser
*)new wxHtmlWinParser(arg1
);
1632 wxPyEndAllowThreads(__tstate
);
1633 if (PyErr_Occurred()) SWIG_fail
;
1635 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlWinParser
, 1);
1642 static PyObject
*_wrap_HtmlWinParser_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1643 PyObject
*resultobj
;
1644 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
1645 wxDC
*arg2
= (wxDC
*) 0 ;
1646 PyObject
* obj0
= 0 ;
1647 PyObject
* obj1
= 0 ;
1649 (char *) "self",(char *) "dc", NULL
1652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
1653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1654 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1657 (arg1
)->SetDC(arg2
);
1659 wxPyEndAllowThreads(__tstate
);
1660 if (PyErr_Occurred()) SWIG_fail
;
1662 Py_INCREF(Py_None
); resultobj
= Py_None
;
1669 static PyObject
*_wrap_HtmlWinParser_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1670 PyObject
*resultobj
;
1671 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
1673 PyObject
* obj0
= 0 ;
1675 (char *) "self", NULL
1678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetDC",kwnames
,&obj0
)) goto fail
;
1679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1682 result
= (wxDC
*)(arg1
)->GetDC();
1684 wxPyEndAllowThreads(__tstate
);
1685 if (PyErr_Occurred()) SWIG_fail
;
1688 resultobj
= wxPyMake_wxObject(result
);
1696 static PyObject
*_wrap_HtmlWinParser_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1697 PyObject
*resultobj
;
1698 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
1700 PyObject
* obj0
= 0 ;
1702 (char *) "self", NULL
1705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetCharHeight",kwnames
,&obj0
)) goto fail
;
1706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1709 result
= (int)(arg1
)->GetCharHeight();
1711 wxPyEndAllowThreads(__tstate
);
1712 if (PyErr_Occurred()) SWIG_fail
;
1714 resultobj
= SWIG_PyObj_FromInt((int)result
);
1721 static PyObject
*_wrap_HtmlWinParser_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1722 PyObject
*resultobj
;
1723 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
1725 PyObject
* obj0
= 0 ;
1727 (char *) "self", NULL
1730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetCharWidth",kwnames
,&obj0
)) goto fail
;
1731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1734 result
= (int)(arg1
)->GetCharWidth();
1736 wxPyEndAllowThreads(__tstate
);
1737 if (PyErr_Occurred()) SWIG_fail
;
1739 resultobj
= SWIG_PyObj_FromInt((int)result
);
1746 static PyObject
*_wrap_HtmlWinParser_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1747 PyObject
*resultobj
;
1748 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
1749 wxPyHtmlWindow
*result
;
1750 PyObject
* obj0
= 0 ;
1752 (char *) "self", NULL
1755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetWindow",kwnames
,&obj0
)) goto fail
;
1756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1759 result
= (wxPyHtmlWindow
*)(arg1
)->GetWindow();
1761 wxPyEndAllowThreads(__tstate
);
1762 if (PyErr_Occurred()) SWIG_fail
;
1765 resultobj
= wxPyMake_wxObject(result
);
1773 static PyObject
*_wrap_HtmlWinParser_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1774 PyObject
*resultobj
;
1775 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
1778 PyObject
*arg4
= (PyObject
*) NULL
;
1779 PyObject
* obj0
= 0 ;
1780 PyObject
* obj1
= 0 ;
1781 PyObject
* obj2
= 0 ;
1782 PyObject
* obj3
= 0 ;
1784 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
1787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1790 wxString
* sptr
= wxString_in_helper(obj1
);
1791 if (sptr
== NULL
) SWIG_fail
;
1796 wxString
* sptr
= wxString_in_helper(obj2
);
1797 if (sptr
== NULL
) SWIG_fail
;
1805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1806 wxHtmlWinParser_SetFonts(arg1
,arg2
,arg3
,arg4
);
1808 wxPyEndAllowThreads(__tstate
);
1809 if (PyErr_Occurred()) SWIG_fail
;
1811 Py_INCREF(Py_None
); resultobj
= Py_None
;
1818 static PyObject
*_wrap_HtmlWinParser_GetContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1819 PyObject
*resultobj
;
1820 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
1821 wxHtmlContainerCell
*result
;
1822 PyObject
* obj0
= 0 ;
1824 (char *) "self", NULL
1827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetContainer",kwnames
,&obj0
)) goto fail
;
1828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1831 result
= (wxHtmlContainerCell
*)(arg1
)->GetContainer();
1833 wxPyEndAllowThreads(__tstate
);
1834 if (PyErr_Occurred()) SWIG_fail
;
1836 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlContainerCell
, 0);
1843 static PyObject
*_wrap_HtmlWinParser_OpenContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1844 PyObject
*resultobj
;
1845 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
1846 wxHtmlContainerCell
*result
;
1847 PyObject
* obj0
= 0 ;
1849 (char *) "self", NULL
1852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_OpenContainer",kwnames
,&obj0
)) goto fail
;
1853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1856 result
= (wxHtmlContainerCell
*)(arg1
)->OpenContainer();
1858 wxPyEndAllowThreads(__tstate
);
1859 if (PyErr_Occurred()) SWIG_fail
;
1861 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlContainerCell
, 0);
1868 static PyObject
*_wrap_HtmlWinParser_SetContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1869 PyObject
*resultobj
;
1870 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
1871 wxHtmlContainerCell
*arg2
= (wxHtmlContainerCell
*) 0 ;
1872 wxHtmlContainerCell
*result
;
1873 PyObject
* obj0
= 0 ;
1874 PyObject
* obj1
= 0 ;
1876 (char *) "self",(char *) "c", NULL
1879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetContainer",kwnames
,&obj0
,&obj1
)) goto fail
;
1880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1881 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxHtmlContainerCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1884 result
= (wxHtmlContainerCell
*)(arg1
)->SetContainer(arg2
);
1886 wxPyEndAllowThreads(__tstate
);
1887 if (PyErr_Occurred()) SWIG_fail
;
1889 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlContainerCell
, 0);
1896 static PyObject
*_wrap_HtmlWinParser_CloseContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1897 PyObject
*resultobj
;
1898 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
1899 wxHtmlContainerCell
*result
;
1900 PyObject
* obj0
= 0 ;
1902 (char *) "self", NULL
1905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_CloseContainer",kwnames
,&obj0
)) goto fail
;
1906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1909 result
= (wxHtmlContainerCell
*)(arg1
)->CloseContainer();
1911 wxPyEndAllowThreads(__tstate
);
1912 if (PyErr_Occurred()) SWIG_fail
;
1914 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlContainerCell
, 0);
1921 static PyObject
*_wrap_HtmlWinParser_GetFontSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1922 PyObject
*resultobj
;
1923 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
1925 PyObject
* obj0
= 0 ;
1927 (char *) "self", NULL
1930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetFontSize",kwnames
,&obj0
)) goto fail
;
1931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1934 result
= (int)(arg1
)->GetFontSize();
1936 wxPyEndAllowThreads(__tstate
);
1937 if (PyErr_Occurred()) SWIG_fail
;
1939 resultobj
= SWIG_PyObj_FromInt((int)result
);
1946 static PyObject
*_wrap_HtmlWinParser_SetFontSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1947 PyObject
*resultobj
;
1948 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
1950 PyObject
* obj0
= 0 ;
1951 PyObject
* obj1
= 0 ;
1953 (char *) "self",(char *) "s", NULL
1956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1959 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1960 if (PyErr_Occurred()) SWIG_fail
;
1963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1964 (arg1
)->SetFontSize(arg2
);
1966 wxPyEndAllowThreads(__tstate
);
1967 if (PyErr_Occurred()) SWIG_fail
;
1969 Py_INCREF(Py_None
); resultobj
= Py_None
;
1976 static PyObject
*_wrap_HtmlWinParser_GetFontBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1977 PyObject
*resultobj
;
1978 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
1980 PyObject
* obj0
= 0 ;
1982 (char *) "self", NULL
1985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetFontBold",kwnames
,&obj0
)) goto fail
;
1986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1989 result
= (int)(arg1
)->GetFontBold();
1991 wxPyEndAllowThreads(__tstate
);
1992 if (PyErr_Occurred()) SWIG_fail
;
1994 resultobj
= SWIG_PyObj_FromInt((int)result
);
2001 static PyObject
*_wrap_HtmlWinParser_SetFontBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2002 PyObject
*resultobj
;
2003 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2005 PyObject
* obj0
= 0 ;
2006 PyObject
* obj1
= 0 ;
2008 (char *) "self",(char *) "x", NULL
2011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontBold",kwnames
,&obj0
,&obj1
)) goto fail
;
2012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2014 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2015 if (PyErr_Occurred()) SWIG_fail
;
2018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2019 (arg1
)->SetFontBold(arg2
);
2021 wxPyEndAllowThreads(__tstate
);
2022 if (PyErr_Occurred()) SWIG_fail
;
2024 Py_INCREF(Py_None
); resultobj
= Py_None
;
2031 static PyObject
*_wrap_HtmlWinParser_GetFontItalic(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2032 PyObject
*resultobj
;
2033 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2035 PyObject
* obj0
= 0 ;
2037 (char *) "self", NULL
2040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetFontItalic",kwnames
,&obj0
)) goto fail
;
2041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2044 result
= (int)(arg1
)->GetFontItalic();
2046 wxPyEndAllowThreads(__tstate
);
2047 if (PyErr_Occurred()) SWIG_fail
;
2049 resultobj
= SWIG_PyObj_FromInt((int)result
);
2056 static PyObject
*_wrap_HtmlWinParser_SetFontItalic(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2057 PyObject
*resultobj
;
2058 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2060 PyObject
* obj0
= 0 ;
2061 PyObject
* obj1
= 0 ;
2063 (char *) "self",(char *) "x", NULL
2066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames
,&obj0
,&obj1
)) goto fail
;
2067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2069 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2070 if (PyErr_Occurred()) SWIG_fail
;
2073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2074 (arg1
)->SetFontItalic(arg2
);
2076 wxPyEndAllowThreads(__tstate
);
2077 if (PyErr_Occurred()) SWIG_fail
;
2079 Py_INCREF(Py_None
); resultobj
= Py_None
;
2086 static PyObject
*_wrap_HtmlWinParser_GetFontUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2087 PyObject
*resultobj
;
2088 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2090 PyObject
* obj0
= 0 ;
2092 (char *) "self", NULL
2095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetFontUnderlined",kwnames
,&obj0
)) goto fail
;
2096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2099 result
= (int)(arg1
)->GetFontUnderlined();
2101 wxPyEndAllowThreads(__tstate
);
2102 if (PyErr_Occurred()) SWIG_fail
;
2104 resultobj
= SWIG_PyObj_FromInt((int)result
);
2111 static PyObject
*_wrap_HtmlWinParser_SetFontUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2112 PyObject
*resultobj
;
2113 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2115 PyObject
* obj0
= 0 ;
2116 PyObject
* obj1
= 0 ;
2118 (char *) "self",(char *) "x", NULL
2121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
2122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2124 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2125 if (PyErr_Occurred()) SWIG_fail
;
2128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2129 (arg1
)->SetFontUnderlined(arg2
);
2131 wxPyEndAllowThreads(__tstate
);
2132 if (PyErr_Occurred()) SWIG_fail
;
2134 Py_INCREF(Py_None
); resultobj
= Py_None
;
2141 static PyObject
*_wrap_HtmlWinParser_GetFontFixed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2142 PyObject
*resultobj
;
2143 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2145 PyObject
* obj0
= 0 ;
2147 (char *) "self", NULL
2150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetFontFixed",kwnames
,&obj0
)) goto fail
;
2151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2154 result
= (int)(arg1
)->GetFontFixed();
2156 wxPyEndAllowThreads(__tstate
);
2157 if (PyErr_Occurred()) SWIG_fail
;
2159 resultobj
= SWIG_PyObj_FromInt((int)result
);
2166 static PyObject
*_wrap_HtmlWinParser_SetFontFixed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2167 PyObject
*resultobj
;
2168 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2170 PyObject
* obj0
= 0 ;
2171 PyObject
* obj1
= 0 ;
2173 (char *) "self",(char *) "x", NULL
2176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames
,&obj0
,&obj1
)) goto fail
;
2177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2179 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2180 if (PyErr_Occurred()) SWIG_fail
;
2183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2184 (arg1
)->SetFontFixed(arg2
);
2186 wxPyEndAllowThreads(__tstate
);
2187 if (PyErr_Occurred()) SWIG_fail
;
2189 Py_INCREF(Py_None
); resultobj
= Py_None
;
2196 static PyObject
*_wrap_HtmlWinParser_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2197 PyObject
*resultobj
;
2198 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2200 PyObject
* obj0
= 0 ;
2202 (char *) "self", NULL
2205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetAlign",kwnames
,&obj0
)) goto fail
;
2206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2209 result
= (int)(arg1
)->GetAlign();
2211 wxPyEndAllowThreads(__tstate
);
2212 if (PyErr_Occurred()) SWIG_fail
;
2214 resultobj
= SWIG_PyObj_FromInt((int)result
);
2221 static PyObject
*_wrap_HtmlWinParser_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2222 PyObject
*resultobj
;
2223 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2225 PyObject
* obj0
= 0 ;
2226 PyObject
* obj1
= 0 ;
2228 (char *) "self",(char *) "a", NULL
2231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
2232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2234 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2235 if (PyErr_Occurred()) SWIG_fail
;
2238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2239 (arg1
)->SetAlign(arg2
);
2241 wxPyEndAllowThreads(__tstate
);
2242 if (PyErr_Occurred()) SWIG_fail
;
2244 Py_INCREF(Py_None
); resultobj
= Py_None
;
2251 static PyObject
*_wrap_HtmlWinParser_GetLinkColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2252 PyObject
*resultobj
;
2253 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2255 PyObject
* obj0
= 0 ;
2257 (char *) "self", NULL
2260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetLinkColor",kwnames
,&obj0
)) goto fail
;
2261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2264 result
= (arg1
)->GetLinkColor();
2266 wxPyEndAllowThreads(__tstate
);
2267 if (PyErr_Occurred()) SWIG_fail
;
2270 wxColour
* resultptr
;
2271 resultptr
= new wxColour((wxColour
&) result
);
2272 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
2280 static PyObject
*_wrap_HtmlWinParser_SetLinkColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2281 PyObject
*resultobj
;
2282 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2283 wxColour
*arg2
= 0 ;
2285 PyObject
* obj0
= 0 ;
2286 PyObject
* obj1
= 0 ;
2288 (char *) "self",(char *) "clr", NULL
2291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames
,&obj0
,&obj1
)) goto fail
;
2292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2295 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2299 (arg1
)->SetLinkColor((wxColour
const &)*arg2
);
2301 wxPyEndAllowThreads(__tstate
);
2302 if (PyErr_Occurred()) SWIG_fail
;
2304 Py_INCREF(Py_None
); resultobj
= Py_None
;
2311 static PyObject
*_wrap_HtmlWinParser_GetActualColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2312 PyObject
*resultobj
;
2313 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2315 PyObject
* obj0
= 0 ;
2317 (char *) "self", NULL
2320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetActualColor",kwnames
,&obj0
)) goto fail
;
2321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2324 result
= (arg1
)->GetActualColor();
2326 wxPyEndAllowThreads(__tstate
);
2327 if (PyErr_Occurred()) SWIG_fail
;
2330 wxColour
* resultptr
;
2331 resultptr
= new wxColour((wxColour
&) result
);
2332 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
2340 static PyObject
*_wrap_HtmlWinParser_SetActualColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2341 PyObject
*resultobj
;
2342 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2343 wxColour
*arg2
= 0 ;
2345 PyObject
* obj0
= 0 ;
2346 PyObject
* obj1
= 0 ;
2348 (char *) "self",(char *) "clr", NULL
2351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetActualColor",kwnames
,&obj0
,&obj1
)) goto fail
;
2352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2355 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2359 (arg1
)->SetActualColor((wxColour
const &)*arg2
);
2361 wxPyEndAllowThreads(__tstate
);
2362 if (PyErr_Occurred()) SWIG_fail
;
2364 Py_INCREF(Py_None
); resultobj
= Py_None
;
2371 static PyObject
*_wrap_HtmlWinParser_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2372 PyObject
*resultobj
;
2373 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2374 wxString
*arg2
= 0 ;
2375 bool temp2
= False
;
2376 PyObject
* obj0
= 0 ;
2377 PyObject
* obj1
= 0 ;
2379 (char *) "self",(char *) "link", NULL
2382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
2383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2385 arg2
= wxString_in_helper(obj1
);
2386 if (arg2
== NULL
) SWIG_fail
;
2390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2391 (arg1
)->SetLink((wxString
const &)*arg2
);
2393 wxPyEndAllowThreads(__tstate
);
2394 if (PyErr_Occurred()) SWIG_fail
;
2396 Py_INCREF(Py_None
); resultobj
= Py_None
;
2411 static PyObject
*_wrap_HtmlWinParser_CreateCurrentFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2412 PyObject
*resultobj
;
2413 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2415 PyObject
* obj0
= 0 ;
2417 (char *) "self", NULL
2420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_CreateCurrentFont",kwnames
,&obj0
)) goto fail
;
2421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2424 result
= (wxFont
*)(arg1
)->CreateCurrentFont();
2426 wxPyEndAllowThreads(__tstate
);
2427 if (PyErr_Occurred()) SWIG_fail
;
2429 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
2436 static PyObject
*_wrap_HtmlWinParser_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2437 PyObject
*resultobj
;
2438 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2439 SwigValueWrapper
< wxHtmlLinkInfo
> result
;
2440 PyObject
* obj0
= 0 ;
2442 (char *) "self", NULL
2445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetLink",kwnames
,&obj0
)) goto fail
;
2446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlWinParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2449 result
= (arg1
)->GetLink();
2451 wxPyEndAllowThreads(__tstate
);
2452 if (PyErr_Occurred()) SWIG_fail
;
2455 wxHtmlLinkInfo
* resultptr
;
2456 resultptr
= new wxHtmlLinkInfo((wxHtmlLinkInfo
&) result
);
2457 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxHtmlLinkInfo
, 1);
2465 static PyObject
* HtmlWinParser_swigregister(PyObject
*self
, PyObject
*args
) {
2467 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2468 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWinParser
, obj
);
2470 return Py_BuildValue((char *)"");
2472 static PyObject
*_wrap_new_HtmlTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2473 PyObject
*resultobj
;
2474 wxPyHtmlTagHandler
*result
;
2479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlTagHandler",kwnames
)) goto fail
;
2481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2482 result
= (wxPyHtmlTagHandler
*)new wxPyHtmlTagHandler();
2484 wxPyEndAllowThreads(__tstate
);
2485 if (PyErr_Occurred()) SWIG_fail
;
2487 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyHtmlTagHandler
, 1);
2494 static PyObject
*_wrap_HtmlTagHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2495 PyObject
*resultobj
;
2496 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
2497 PyObject
*arg2
= (PyObject
*) 0 ;
2498 PyObject
*arg3
= (PyObject
*) 0 ;
2499 PyObject
* obj0
= 0 ;
2500 PyObject
* obj1
= 0 ;
2501 PyObject
* obj2
= 0 ;
2503 (char *) "self",(char *) "self",(char *) "_class", NULL
2506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlTagHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2512 (arg1
)->_setCallbackInfo(arg2
,arg3
);
2514 wxPyEndAllowThreads(__tstate
);
2515 if (PyErr_Occurred()) SWIG_fail
;
2517 Py_INCREF(Py_None
); resultobj
= Py_None
;
2524 static PyObject
*_wrap_HtmlTagHandler_SetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2525 PyObject
*resultobj
;
2526 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
2527 wxHtmlParser
*arg2
= (wxHtmlParser
*) 0 ;
2528 PyObject
* obj0
= 0 ;
2529 PyObject
* obj1
= 0 ;
2531 (char *) "self",(char *) "parser", NULL
2534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTagHandler_SetParser",kwnames
,&obj0
,&obj1
)) goto fail
;
2535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlTagHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2536 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxHtmlParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2539 (arg1
)->SetParser(arg2
);
2541 wxPyEndAllowThreads(__tstate
);
2542 if (PyErr_Occurred()) SWIG_fail
;
2544 Py_INCREF(Py_None
); resultobj
= Py_None
;
2551 static PyObject
*_wrap_HtmlTagHandler_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2552 PyObject
*resultobj
;
2553 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
2554 wxHtmlParser
*result
;
2555 PyObject
* obj0
= 0 ;
2557 (char *) "self", NULL
2560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTagHandler_GetParser",kwnames
,&obj0
)) goto fail
;
2561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlTagHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2564 result
= (wxHtmlParser
*)(arg1
)->GetParser();
2566 wxPyEndAllowThreads(__tstate
);
2567 if (PyErr_Occurred()) SWIG_fail
;
2569 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlParser
, 0);
2576 static PyObject
*_wrap_HtmlTagHandler_ParseInner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2577 PyObject
*resultobj
;
2578 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
2579 wxHtmlTag
*arg2
= 0 ;
2580 PyObject
* obj0
= 0 ;
2581 PyObject
* obj1
= 0 ;
2583 (char *) "self",(char *) "tag", NULL
2586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTagHandler_ParseInner",kwnames
,&obj0
,&obj1
)) goto fail
;
2587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlTagHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2588 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxHtmlTag
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2590 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2594 (arg1
)->ParseInner((wxHtmlTag
const &)*arg2
);
2596 wxPyEndAllowThreads(__tstate
);
2597 if (PyErr_Occurred()) SWIG_fail
;
2599 Py_INCREF(Py_None
); resultobj
= Py_None
;
2606 static PyObject
* HtmlTagHandler_swigregister(PyObject
*self
, PyObject
*args
) {
2608 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2609 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlTagHandler
, obj
);
2611 return Py_BuildValue((char *)"");
2613 static PyObject
*_wrap_new_HtmlWinTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2614 PyObject
*resultobj
;
2615 wxPyHtmlWinTagHandler
*result
;
2620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlWinTagHandler",kwnames
)) goto fail
;
2622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2623 result
= (wxPyHtmlWinTagHandler
*)new wxPyHtmlWinTagHandler();
2625 wxPyEndAllowThreads(__tstate
);
2626 if (PyErr_Occurred()) SWIG_fail
;
2628 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyHtmlWinTagHandler
, 1);
2635 static PyObject
*_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2636 PyObject
*resultobj
;
2637 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
2638 PyObject
*arg2
= (PyObject
*) 0 ;
2639 PyObject
*arg3
= (PyObject
*) 0 ;
2640 PyObject
* obj0
= 0 ;
2641 PyObject
* obj1
= 0 ;
2642 PyObject
* obj2
= 0 ;
2644 (char *) "self",(char *) "self",(char *) "_class", NULL
2647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWinTagHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2653 (arg1
)->_setCallbackInfo(arg2
,arg3
);
2655 wxPyEndAllowThreads(__tstate
);
2656 if (PyErr_Occurred()) SWIG_fail
;
2658 Py_INCREF(Py_None
); resultobj
= Py_None
;
2665 static PyObject
*_wrap_HtmlWinTagHandler_SetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2666 PyObject
*resultobj
;
2667 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
2668 wxHtmlParser
*arg2
= (wxHtmlParser
*) 0 ;
2669 PyObject
* obj0
= 0 ;
2670 PyObject
* obj1
= 0 ;
2672 (char *) "self",(char *) "parser", NULL
2675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames
,&obj0
,&obj1
)) goto fail
;
2676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWinTagHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2677 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxHtmlParser
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2680 (arg1
)->SetParser(arg2
);
2682 wxPyEndAllowThreads(__tstate
);
2683 if (PyErr_Occurred()) SWIG_fail
;
2685 Py_INCREF(Py_None
); resultobj
= Py_None
;
2692 static PyObject
*_wrap_HtmlWinTagHandler_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2693 PyObject
*resultobj
;
2694 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
2695 wxHtmlWinParser
*result
;
2696 PyObject
* obj0
= 0 ;
2698 (char *) "self", NULL
2701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinTagHandler_GetParser",kwnames
,&obj0
)) goto fail
;
2702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWinTagHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2705 result
= (wxHtmlWinParser
*)(arg1
)->GetParser();
2707 wxPyEndAllowThreads(__tstate
);
2708 if (PyErr_Occurred()) SWIG_fail
;
2710 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlWinParser
, 0);
2717 static PyObject
*_wrap_HtmlWinTagHandler_ParseInner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2718 PyObject
*resultobj
;
2719 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
2720 wxHtmlTag
*arg2
= 0 ;
2721 PyObject
* obj0
= 0 ;
2722 PyObject
* obj1
= 0 ;
2724 (char *) "self",(char *) "tag", NULL
2727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames
,&obj0
,&obj1
)) goto fail
;
2728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWinTagHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2729 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxHtmlTag
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2731 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2735 (arg1
)->ParseInner((wxHtmlTag
const &)*arg2
);
2737 wxPyEndAllowThreads(__tstate
);
2738 if (PyErr_Occurred()) SWIG_fail
;
2740 Py_INCREF(Py_None
); resultobj
= Py_None
;
2747 static PyObject
* HtmlWinTagHandler_swigregister(PyObject
*self
, PyObject
*args
) {
2749 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2750 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler
, obj
);
2752 return Py_BuildValue((char *)"");
2754 static PyObject
*_wrap_HtmlWinParser_AddTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2755 PyObject
*resultobj
;
2756 PyObject
*arg1
= (PyObject
*) 0 ;
2757 PyObject
* obj0
= 0 ;
2759 (char *) "tagHandlerClass", NULL
2762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_AddTagHandler",kwnames
,&obj0
)) goto fail
;
2765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2766 wxHtmlWinParser_AddTagHandler(arg1
);
2768 wxPyEndAllowThreads(__tstate
);
2769 if (PyErr_Occurred()) SWIG_fail
;
2771 Py_INCREF(Py_None
); resultobj
= Py_None
;
2778 static PyObject
*_wrap_new_HtmlSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2779 PyObject
*resultobj
;
2780 wxHtmlSelection
*result
;
2785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlSelection",kwnames
)) goto fail
;
2787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2788 result
= (wxHtmlSelection
*)new wxHtmlSelection();
2790 wxPyEndAllowThreads(__tstate
);
2791 if (PyErr_Occurred()) SWIG_fail
;
2793 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlSelection
, 1);
2800 static PyObject
*_wrap_delete_HtmlSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2801 PyObject
*resultobj
;
2802 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
2803 PyObject
* obj0
= 0 ;
2805 (char *) "self", NULL
2808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlSelection",kwnames
,&obj0
)) goto fail
;
2809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlSelection
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2814 wxPyEndAllowThreads(__tstate
);
2815 if (PyErr_Occurred()) SWIG_fail
;
2817 Py_INCREF(Py_None
); resultobj
= Py_None
;
2824 static PyObject
*_wrap_HtmlSelection_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2825 PyObject
*resultobj
;
2826 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
2828 wxHtmlCell
*arg3
= (wxHtmlCell
*) 0 ;
2830 wxHtmlCell
*arg5
= (wxHtmlCell
*) 0 ;
2833 PyObject
* obj0
= 0 ;
2834 PyObject
* obj1
= 0 ;
2835 PyObject
* obj2
= 0 ;
2836 PyObject
* obj3
= 0 ;
2837 PyObject
* obj4
= 0 ;
2839 (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
2842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlSelection_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlSelection
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2846 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2848 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2851 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2853 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2856 (arg1
)->Set((wxPoint
const &)*arg2
,(wxHtmlCell
const *)arg3
,(wxPoint
const &)*arg4
,(wxHtmlCell
const *)arg5
);
2858 wxPyEndAllowThreads(__tstate
);
2859 if (PyErr_Occurred()) SWIG_fail
;
2861 Py_INCREF(Py_None
); resultobj
= Py_None
;
2868 static PyObject
*_wrap_HtmlSelection_SetCells(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2869 PyObject
*resultobj
;
2870 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
2871 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
2872 wxHtmlCell
*arg3
= (wxHtmlCell
*) 0 ;
2873 PyObject
* obj0
= 0 ;
2874 PyObject
* obj1
= 0 ;
2875 PyObject
* obj2
= 0 ;
2877 (char *) "self",(char *) "fromCell",(char *) "toCell", NULL
2880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlSelection_SetCells",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlSelection
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2882 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2883 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2886 (arg1
)->Set((wxHtmlCell
const *)arg2
,(wxHtmlCell
const *)arg3
);
2888 wxPyEndAllowThreads(__tstate
);
2889 if (PyErr_Occurred()) SWIG_fail
;
2891 Py_INCREF(Py_None
); resultobj
= Py_None
;
2898 static PyObject
*_wrap_HtmlSelection_GetFromCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2899 PyObject
*resultobj
;
2900 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
2902 PyObject
* obj0
= 0 ;
2904 (char *) "self", NULL
2907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetFromCell",kwnames
,&obj0
)) goto fail
;
2908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlSelection
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2911 result
= (wxHtmlCell
*)((wxHtmlSelection
const *)arg1
)->GetFromCell();
2913 wxPyEndAllowThreads(__tstate
);
2914 if (PyErr_Occurred()) SWIG_fail
;
2916 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlCell
, 0);
2923 static PyObject
*_wrap_HtmlSelection_GetToCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2924 PyObject
*resultobj
;
2925 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
2927 PyObject
* obj0
= 0 ;
2929 (char *) "self", NULL
2932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetToCell",kwnames
,&obj0
)) goto fail
;
2933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlSelection
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2936 result
= (wxHtmlCell
*)((wxHtmlSelection
const *)arg1
)->GetToCell();
2938 wxPyEndAllowThreads(__tstate
);
2939 if (PyErr_Occurred()) SWIG_fail
;
2941 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlCell
, 0);
2948 static PyObject
*_wrap_HtmlSelection_GetFromPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2949 PyObject
*resultobj
;
2950 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
2952 PyObject
* obj0
= 0 ;
2954 (char *) "self", NULL
2957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetFromPos",kwnames
,&obj0
)) goto fail
;
2958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlSelection
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2962 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetFromPos();
2963 result
= (wxPoint
*) &_result_ref
;
2966 wxPyEndAllowThreads(__tstate
);
2967 if (PyErr_Occurred()) SWIG_fail
;
2969 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
2976 static PyObject
*_wrap_HtmlSelection_GetToPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2977 PyObject
*resultobj
;
2978 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
2980 PyObject
* obj0
= 0 ;
2982 (char *) "self", NULL
2985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetToPos",kwnames
,&obj0
)) goto fail
;
2986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlSelection
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2990 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetToPos();
2991 result
= (wxPoint
*) &_result_ref
;
2994 wxPyEndAllowThreads(__tstate
);
2995 if (PyErr_Occurred()) SWIG_fail
;
2997 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
3004 static PyObject
*_wrap_HtmlSelection_GetFromPrivPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3005 PyObject
*resultobj
;
3006 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3008 PyObject
* obj0
= 0 ;
3010 (char *) "self", NULL
3013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetFromPrivPos",kwnames
,&obj0
)) goto fail
;
3014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlSelection
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3018 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetFromPrivPos();
3019 result
= (wxPoint
*) &_result_ref
;
3022 wxPyEndAllowThreads(__tstate
);
3023 if (PyErr_Occurred()) SWIG_fail
;
3025 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
3032 static PyObject
*_wrap_HtmlSelection_GetToPrivPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3033 PyObject
*resultobj
;
3034 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3036 PyObject
* obj0
= 0 ;
3038 (char *) "self", NULL
3041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetToPrivPos",kwnames
,&obj0
)) goto fail
;
3042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlSelection
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3046 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetToPrivPos();
3047 result
= (wxPoint
*) &_result_ref
;
3050 wxPyEndAllowThreads(__tstate
);
3051 if (PyErr_Occurred()) SWIG_fail
;
3053 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
3060 static PyObject
*_wrap_HtmlSelection_SetFromPrivPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3061 PyObject
*resultobj
;
3062 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3065 PyObject
* obj0
= 0 ;
3066 PyObject
* obj1
= 0 ;
3068 (char *) "self",(char *) "pos", NULL
3071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames
,&obj0
,&obj1
)) goto fail
;
3072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlSelection
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3075 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3079 (arg1
)->SetFromPrivPos((wxPoint
const &)*arg2
);
3081 wxPyEndAllowThreads(__tstate
);
3082 if (PyErr_Occurred()) SWIG_fail
;
3084 Py_INCREF(Py_None
); resultobj
= Py_None
;
3091 static PyObject
*_wrap_HtmlSelection_SetToPrivPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3092 PyObject
*resultobj
;
3093 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3096 PyObject
* obj0
= 0 ;
3097 PyObject
* obj1
= 0 ;
3099 (char *) "self",(char *) "pos", NULL
3102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames
,&obj0
,&obj1
)) goto fail
;
3103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlSelection
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3106 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3110 (arg1
)->SetToPrivPos((wxPoint
const &)*arg2
);
3112 wxPyEndAllowThreads(__tstate
);
3113 if (PyErr_Occurred()) SWIG_fail
;
3115 Py_INCREF(Py_None
); resultobj
= Py_None
;
3122 static PyObject
*_wrap_HtmlSelection_ClearPrivPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3123 PyObject
*resultobj
;
3124 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3125 PyObject
* obj0
= 0 ;
3127 (char *) "self", NULL
3130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_ClearPrivPos",kwnames
,&obj0
)) goto fail
;
3131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlSelection
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3134 (arg1
)->ClearPrivPos();
3136 wxPyEndAllowThreads(__tstate
);
3137 if (PyErr_Occurred()) SWIG_fail
;
3139 Py_INCREF(Py_None
); resultobj
= Py_None
;
3146 static PyObject
*_wrap_HtmlSelection_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3147 PyObject
*resultobj
;
3148 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3150 PyObject
* obj0
= 0 ;
3152 (char *) "self", NULL
3155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_IsEmpty",kwnames
,&obj0
)) goto fail
;
3156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlSelection
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3159 result
= (bool)((wxHtmlSelection
const *)arg1
)->IsEmpty();
3161 wxPyEndAllowThreads(__tstate
);
3162 if (PyErr_Occurred()) SWIG_fail
;
3164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3171 static PyObject
* HtmlSelection_swigregister(PyObject
*self
, PyObject
*args
) {
3173 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3174 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSelection
, obj
);
3176 return Py_BuildValue((char *)"");
3178 static PyObject
*_wrap_new_HtmlRenderingState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3179 PyObject
*resultobj
;
3180 wxHtmlRenderingState
*result
;
3185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlRenderingState",kwnames
)) goto fail
;
3187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3188 result
= (wxHtmlRenderingState
*)new wxHtmlRenderingState();
3190 wxPyEndAllowThreads(__tstate
);
3191 if (PyErr_Occurred()) SWIG_fail
;
3193 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlRenderingState
, 1);
3200 static PyObject
*_wrap_delete_HtmlRenderingState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3201 PyObject
*resultobj
;
3202 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
3203 PyObject
* obj0
= 0 ;
3205 (char *) "self", NULL
3208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlRenderingState",kwnames
,&obj0
)) goto fail
;
3209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlRenderingState
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3214 wxPyEndAllowThreads(__tstate
);
3215 if (PyErr_Occurred()) SWIG_fail
;
3217 Py_INCREF(Py_None
); resultobj
= Py_None
;
3224 static PyObject
*_wrap_HtmlRenderingState_SetSelectionState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3225 PyObject
*resultobj
;
3226 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
3228 PyObject
* obj0
= 0 ;
3229 PyObject
* obj1
= 0 ;
3231 (char *) "self",(char *) "s", NULL
3234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames
,&obj0
,&obj1
)) goto fail
;
3235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlRenderingState
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3237 arg2
= (wxHtmlSelectionState
) SWIG_PyObj_AsInt(obj1
);
3238 if (PyErr_Occurred()) SWIG_fail
;
3241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3242 (arg1
)->SetSelectionState((wxHtmlSelectionState
)arg2
);
3244 wxPyEndAllowThreads(__tstate
);
3245 if (PyErr_Occurred()) SWIG_fail
;
3247 Py_INCREF(Py_None
); resultobj
= Py_None
;
3254 static PyObject
*_wrap_HtmlRenderingState_GetSelectionState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3255 PyObject
*resultobj
;
3256 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
3258 PyObject
* obj0
= 0 ;
3260 (char *) "self", NULL
3263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingState_GetSelectionState",kwnames
,&obj0
)) goto fail
;
3264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlRenderingState
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3267 result
= (int)((wxHtmlRenderingState
const *)arg1
)->GetSelectionState();
3269 wxPyEndAllowThreads(__tstate
);
3270 if (PyErr_Occurred()) SWIG_fail
;
3272 resultobj
= SWIG_PyObj_FromInt((int)result
);
3279 static PyObject
*_wrap_HtmlRenderingState_SetFgColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3280 PyObject
*resultobj
;
3281 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
3282 wxColour
*arg2
= 0 ;
3284 PyObject
* obj0
= 0 ;
3285 PyObject
* obj1
= 0 ;
3287 (char *) "self",(char *) "c", NULL
3290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlRenderingState
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3294 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3298 (arg1
)->SetFgColour((wxColour
const &)*arg2
);
3300 wxPyEndAllowThreads(__tstate
);
3301 if (PyErr_Occurred()) SWIG_fail
;
3303 Py_INCREF(Py_None
); resultobj
= Py_None
;
3310 static PyObject
*_wrap_HtmlRenderingState_GetFgColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3311 PyObject
*resultobj
;
3312 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
3314 PyObject
* obj0
= 0 ;
3316 (char *) "self", NULL
3319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingState_GetFgColour",kwnames
,&obj0
)) goto fail
;
3320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlRenderingState
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3324 wxColour
const &_result_ref
= ((wxHtmlRenderingState
const *)arg1
)->GetFgColour();
3325 result
= (wxColour
*) &_result_ref
;
3328 wxPyEndAllowThreads(__tstate
);
3329 if (PyErr_Occurred()) SWIG_fail
;
3331 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
3338 static PyObject
*_wrap_HtmlRenderingState_SetBgColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3339 PyObject
*resultobj
;
3340 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
3341 wxColour
*arg2
= 0 ;
3343 PyObject
* obj0
= 0 ;
3344 PyObject
* obj1
= 0 ;
3346 (char *) "self",(char *) "c", NULL
3349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlRenderingState
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3353 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3357 (arg1
)->SetBgColour((wxColour
const &)*arg2
);
3359 wxPyEndAllowThreads(__tstate
);
3360 if (PyErr_Occurred()) SWIG_fail
;
3362 Py_INCREF(Py_None
); resultobj
= Py_None
;
3369 static PyObject
*_wrap_HtmlRenderingState_GetBgColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3370 PyObject
*resultobj
;
3371 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
3373 PyObject
* obj0
= 0 ;
3375 (char *) "self", NULL
3378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingState_GetBgColour",kwnames
,&obj0
)) goto fail
;
3379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlRenderingState
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3383 wxColour
const &_result_ref
= ((wxHtmlRenderingState
const *)arg1
)->GetBgColour();
3384 result
= (wxColour
*) &_result_ref
;
3387 wxPyEndAllowThreads(__tstate
);
3388 if (PyErr_Occurred()) SWIG_fail
;
3390 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
3397 static PyObject
* HtmlRenderingState_swigregister(PyObject
*self
, PyObject
*args
) {
3399 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3400 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingState
, obj
);
3402 return Py_BuildValue((char *)"");
3404 static PyObject
*_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3405 PyObject
*resultobj
;
3406 wxHtmlRenderingStyle
*arg1
= (wxHtmlRenderingStyle
*) 0 ;
3407 wxColour
*arg2
= 0 ;
3410 PyObject
* obj0
= 0 ;
3411 PyObject
* obj1
= 0 ;
3413 (char *) "self",(char *) "clr", NULL
3416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlRenderingStyle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3420 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3424 result
= (arg1
)->GetSelectedTextColour((wxColour
const &)*arg2
);
3426 wxPyEndAllowThreads(__tstate
);
3427 if (PyErr_Occurred()) SWIG_fail
;
3430 wxColour
* resultptr
;
3431 resultptr
= new wxColour((wxColour
&) result
);
3432 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
3440 static PyObject
*_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3441 PyObject
*resultobj
;
3442 wxHtmlRenderingStyle
*arg1
= (wxHtmlRenderingStyle
*) 0 ;
3443 wxColour
*arg2
= 0 ;
3446 PyObject
* obj0
= 0 ;
3447 PyObject
* obj1
= 0 ;
3449 (char *) "self",(char *) "clr", NULL
3452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlRenderingStyle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3456 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3460 result
= (arg1
)->GetSelectedTextBgColour((wxColour
const &)*arg2
);
3462 wxPyEndAllowThreads(__tstate
);
3463 if (PyErr_Occurred()) SWIG_fail
;
3466 wxColour
* resultptr
;
3467 resultptr
= new wxColour((wxColour
&) result
);
3468 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
3476 static PyObject
* HtmlRenderingStyle_swigregister(PyObject
*self
, PyObject
*args
) {
3478 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3479 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingStyle
, obj
);
3481 return Py_BuildValue((char *)"");
3483 static PyObject
*_wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3484 PyObject
*resultobj
;
3485 wxDefaultHtmlRenderingStyle
*arg1
= (wxDefaultHtmlRenderingStyle
*) 0 ;
3486 wxColour
*arg2
= 0 ;
3489 PyObject
* obj0
= 0 ;
3490 PyObject
* obj1
= 0 ;
3492 (char *) "self",(char *) "clr", NULL
3495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDefaultHtmlRenderingStyle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3499 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3503 result
= (arg1
)->GetSelectedTextColour((wxColour
const &)*arg2
);
3505 wxPyEndAllowThreads(__tstate
);
3506 if (PyErr_Occurred()) SWIG_fail
;
3509 wxColour
* resultptr
;
3510 resultptr
= new wxColour((wxColour
&) result
);
3511 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
3519 static PyObject
*_wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3520 PyObject
*resultobj
;
3521 wxDefaultHtmlRenderingStyle
*arg1
= (wxDefaultHtmlRenderingStyle
*) 0 ;
3522 wxColour
*arg2
= 0 ;
3525 PyObject
* obj0
= 0 ;
3526 PyObject
* obj1
= 0 ;
3528 (char *) "self",(char *) "clr", NULL
3531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextBgColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDefaultHtmlRenderingStyle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3535 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3539 result
= (arg1
)->GetSelectedTextBgColour((wxColour
const &)*arg2
);
3541 wxPyEndAllowThreads(__tstate
);
3542 if (PyErr_Occurred()) SWIG_fail
;
3545 wxColour
* resultptr
;
3546 resultptr
= new wxColour((wxColour
&) result
);
3547 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
3555 static PyObject
* DefaultHtmlRenderingStyle_swigregister(PyObject
*self
, PyObject
*args
) {
3557 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3558 SWIG_TypeClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle
, obj
);
3560 return Py_BuildValue((char *)"");
3562 static PyObject
*_wrap_new_HtmlRenderingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3563 PyObject
*resultobj
;
3564 wxHtmlRenderingInfo
*result
;
3569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlRenderingInfo",kwnames
)) goto fail
;
3571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3572 result
= (wxHtmlRenderingInfo
*)new wxHtmlRenderingInfo();
3574 wxPyEndAllowThreads(__tstate
);
3575 if (PyErr_Occurred()) SWIG_fail
;
3577 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlRenderingInfo
, 1);
3584 static PyObject
*_wrap_delete_HtmlRenderingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3585 PyObject
*resultobj
;
3586 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
3587 PyObject
* obj0
= 0 ;
3589 (char *) "self", NULL
3592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlRenderingInfo",kwnames
,&obj0
)) goto fail
;
3593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlRenderingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3598 wxPyEndAllowThreads(__tstate
);
3599 if (PyErr_Occurred()) SWIG_fail
;
3601 Py_INCREF(Py_None
); resultobj
= Py_None
;
3608 static PyObject
*_wrap_HtmlRenderingInfo_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3609 PyObject
*resultobj
;
3610 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
3611 wxHtmlSelection
*arg2
= (wxHtmlSelection
*) 0 ;
3612 PyObject
* obj0
= 0 ;
3613 PyObject
* obj1
= 0 ;
3615 (char *) "self",(char *) "s", NULL
3618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlRenderingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3620 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxHtmlSelection
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3623 (arg1
)->SetSelection(arg2
);
3625 wxPyEndAllowThreads(__tstate
);
3626 if (PyErr_Occurred()) SWIG_fail
;
3628 Py_INCREF(Py_None
); resultobj
= Py_None
;
3635 static PyObject
*_wrap_HtmlRenderingInfo_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3636 PyObject
*resultobj
;
3637 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
3638 wxHtmlSelection
*result
;
3639 PyObject
* obj0
= 0 ;
3641 (char *) "self", NULL
3644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingInfo_GetSelection",kwnames
,&obj0
)) goto fail
;
3645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlRenderingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3648 result
= (wxHtmlSelection
*)((wxHtmlRenderingInfo
const *)arg1
)->GetSelection();
3650 wxPyEndAllowThreads(__tstate
);
3651 if (PyErr_Occurred()) SWIG_fail
;
3653 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlSelection
, 0);
3660 static PyObject
*_wrap_HtmlRenderingInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3661 PyObject
*resultobj
;
3662 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
3663 wxHtmlRenderingStyle
*arg2
= (wxHtmlRenderingStyle
*) 0 ;
3664 PyObject
* obj0
= 0 ;
3665 PyObject
* obj1
= 0 ;
3667 (char *) "self",(char *) "style", NULL
3670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
3671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlRenderingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3672 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxHtmlRenderingStyle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3675 (arg1
)->SetStyle(arg2
);
3677 wxPyEndAllowThreads(__tstate
);
3678 if (PyErr_Occurred()) SWIG_fail
;
3680 Py_INCREF(Py_None
); resultobj
= Py_None
;
3687 static PyObject
*_wrap_HtmlRenderingInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3688 PyObject
*resultobj
;
3689 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
3690 wxHtmlRenderingStyle
*result
;
3691 PyObject
* obj0
= 0 ;
3693 (char *) "self", NULL
3696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
3697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlRenderingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3701 wxHtmlRenderingStyle
&_result_ref
= (arg1
)->GetStyle();
3702 result
= (wxHtmlRenderingStyle
*) &_result_ref
;
3705 wxPyEndAllowThreads(__tstate
);
3706 if (PyErr_Occurred()) SWIG_fail
;
3708 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlRenderingStyle
, 0);
3715 static PyObject
*_wrap_HtmlRenderingInfo_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3716 PyObject
*resultobj
;
3717 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
3718 wxHtmlRenderingState
*result
;
3719 PyObject
* obj0
= 0 ;
3721 (char *) "self", NULL
3724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingInfo_GetState",kwnames
,&obj0
)) goto fail
;
3725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlRenderingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3729 wxHtmlRenderingState
&_result_ref
= (arg1
)->GetState();
3730 result
= (wxHtmlRenderingState
*) &_result_ref
;
3733 wxPyEndAllowThreads(__tstate
);
3734 if (PyErr_Occurred()) SWIG_fail
;
3736 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlRenderingState
, 0);
3743 static PyObject
* HtmlRenderingInfo_swigregister(PyObject
*self
, PyObject
*args
) {
3745 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3746 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingInfo
, obj
);
3748 return Py_BuildValue((char *)"");
3750 static PyObject
*_wrap_new_HtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3751 PyObject
*resultobj
;
3757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlCell",kwnames
)) goto fail
;
3759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3760 result
= (wxHtmlCell
*)new wxHtmlCell();
3762 wxPyEndAllowThreads(__tstate
);
3763 if (PyErr_Occurred()) SWIG_fail
;
3765 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlCell
, 1);
3772 static PyObject
*_wrap_HtmlCell_GetPosX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3773 PyObject
*resultobj
;
3774 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
3776 PyObject
* obj0
= 0 ;
3778 (char *) "self", NULL
3781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetPosX",kwnames
,&obj0
)) goto fail
;
3782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3785 result
= (int)(arg1
)->GetPosX();
3787 wxPyEndAllowThreads(__tstate
);
3788 if (PyErr_Occurred()) SWIG_fail
;
3790 resultobj
= SWIG_PyObj_FromInt((int)result
);
3797 static PyObject
*_wrap_HtmlCell_GetPosY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3798 PyObject
*resultobj
;
3799 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
3801 PyObject
* obj0
= 0 ;
3803 (char *) "self", NULL
3806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetPosY",kwnames
,&obj0
)) goto fail
;
3807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3810 result
= (int)(arg1
)->GetPosY();
3812 wxPyEndAllowThreads(__tstate
);
3813 if (PyErr_Occurred()) SWIG_fail
;
3815 resultobj
= SWIG_PyObj_FromInt((int)result
);
3822 static PyObject
*_wrap_HtmlCell_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3823 PyObject
*resultobj
;
3824 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
3826 PyObject
* obj0
= 0 ;
3828 (char *) "self", NULL
3831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetWidth",kwnames
,&obj0
)) goto fail
;
3832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3835 result
= (int)(arg1
)->GetWidth();
3837 wxPyEndAllowThreads(__tstate
);
3838 if (PyErr_Occurred()) SWIG_fail
;
3840 resultobj
= SWIG_PyObj_FromInt((int)result
);
3847 static PyObject
*_wrap_HtmlCell_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3848 PyObject
*resultobj
;
3849 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
3851 PyObject
* obj0
= 0 ;
3853 (char *) "self", NULL
3856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetHeight",kwnames
,&obj0
)) goto fail
;
3857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3860 result
= (int)(arg1
)->GetHeight();
3862 wxPyEndAllowThreads(__tstate
);
3863 if (PyErr_Occurred()) SWIG_fail
;
3865 resultobj
= SWIG_PyObj_FromInt((int)result
);
3872 static PyObject
*_wrap_HtmlCell_GetDescent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3873 PyObject
*resultobj
;
3874 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
3876 PyObject
* obj0
= 0 ;
3878 (char *) "self", NULL
3881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetDescent",kwnames
,&obj0
)) goto fail
;
3882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3885 result
= (int)(arg1
)->GetDescent();
3887 wxPyEndAllowThreads(__tstate
);
3888 if (PyErr_Occurred()) SWIG_fail
;
3890 resultobj
= SWIG_PyObj_FromInt((int)result
);
3897 static PyObject
*_wrap_HtmlCell_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3898 PyObject
*resultobj
;
3899 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
3901 PyObject
* obj0
= 0 ;
3903 (char *) "self", NULL
3906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetId",kwnames
,&obj0
)) goto fail
;
3907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3911 wxString
const &_result_ref
= ((wxHtmlCell
const *)arg1
)->GetId();
3912 result
= (wxString
*) &_result_ref
;
3915 wxPyEndAllowThreads(__tstate
);
3916 if (PyErr_Occurred()) SWIG_fail
;
3920 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
3922 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
3931 static PyObject
*_wrap_HtmlCell_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3932 PyObject
*resultobj
;
3933 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
3934 wxString
*arg2
= 0 ;
3935 bool temp2
= False
;
3936 PyObject
* obj0
= 0 ;
3937 PyObject
* obj1
= 0 ;
3939 (char *) "self",(char *) "id", NULL
3942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
3943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3945 arg2
= wxString_in_helper(obj1
);
3946 if (arg2
== NULL
) SWIG_fail
;
3950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3951 (arg1
)->SetId((wxString
const &)*arg2
);
3953 wxPyEndAllowThreads(__tstate
);
3954 if (PyErr_Occurred()) SWIG_fail
;
3956 Py_INCREF(Py_None
); resultobj
= Py_None
;
3971 static PyObject
*_wrap_HtmlCell_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3972 PyObject
*resultobj
;
3973 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
3974 int arg2
= (int) 0 ;
3975 int arg3
= (int) 0 ;
3976 wxHtmlLinkInfo
*result
;
3977 PyObject
* obj0
= 0 ;
3978 PyObject
* obj1
= 0 ;
3979 PyObject
* obj2
= 0 ;
3981 (char *) "self",(char *) "x",(char *) "y", NULL
3984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:HtmlCell_GetLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3988 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3989 if (PyErr_Occurred()) SWIG_fail
;
3994 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3995 if (PyErr_Occurred()) SWIG_fail
;
3999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4000 result
= (wxHtmlLinkInfo
*)(arg1
)->GetLink(arg2
,arg3
);
4002 wxPyEndAllowThreads(__tstate
);
4003 if (PyErr_Occurred()) SWIG_fail
;
4005 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlLinkInfo
, 0);
4012 static PyObject
*_wrap_HtmlCell_GetNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4013 PyObject
*resultobj
;
4014 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4016 PyObject
* obj0
= 0 ;
4018 (char *) "self", NULL
4021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetNext",kwnames
,&obj0
)) goto fail
;
4022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4025 result
= (wxHtmlCell
*)(arg1
)->GetNext();
4027 wxPyEndAllowThreads(__tstate
);
4028 if (PyErr_Occurred()) SWIG_fail
;
4030 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlCell
, 0);
4037 static PyObject
*_wrap_HtmlCell_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4038 PyObject
*resultobj
;
4039 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4040 wxHtmlContainerCell
*result
;
4041 PyObject
* obj0
= 0 ;
4043 (char *) "self", NULL
4046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetParent",kwnames
,&obj0
)) goto fail
;
4047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4050 result
= (wxHtmlContainerCell
*)(arg1
)->GetParent();
4052 wxPyEndAllowThreads(__tstate
);
4053 if (PyErr_Occurred()) SWIG_fail
;
4055 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlContainerCell
, 0);
4062 static PyObject
*_wrap_HtmlCell_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4063 PyObject
*resultobj
;
4064 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4066 PyObject
* obj0
= 0 ;
4068 (char *) "self", NULL
4071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetFirstChild",kwnames
,&obj0
)) goto fail
;
4072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4075 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetFirstChild();
4077 wxPyEndAllowThreads(__tstate
);
4078 if (PyErr_Occurred()) SWIG_fail
;
4080 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlCell
, 0);
4087 static PyObject
*_wrap_HtmlCell_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4088 PyObject
*resultobj
;
4089 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4091 PyObject
* obj0
= 0 ;
4093 (char *) "self", NULL
4096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetCursor",kwnames
,&obj0
)) goto fail
;
4097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4100 result
= ((wxHtmlCell
const *)arg1
)->GetCursor();
4102 wxPyEndAllowThreads(__tstate
);
4103 if (PyErr_Occurred()) SWIG_fail
;
4106 wxCursor
* resultptr
;
4107 resultptr
= new wxCursor((wxCursor
&) result
);
4108 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxCursor
, 1);
4116 static PyObject
*_wrap_HtmlCell_IsFormattingCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4117 PyObject
*resultobj
;
4118 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4120 PyObject
* obj0
= 0 ;
4122 (char *) "self", NULL
4125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_IsFormattingCell",kwnames
,&obj0
)) goto fail
;
4126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4129 result
= (bool)((wxHtmlCell
const *)arg1
)->IsFormattingCell();
4131 wxPyEndAllowThreads(__tstate
);
4132 if (PyErr_Occurred()) SWIG_fail
;
4134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4141 static PyObject
*_wrap_HtmlCell_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4142 PyObject
*resultobj
;
4143 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4144 wxHtmlLinkInfo
*arg2
= 0 ;
4145 PyObject
* obj0
= 0 ;
4146 PyObject
* obj1
= 0 ;
4148 (char *) "self",(char *) "link", NULL
4151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
4152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4153 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxHtmlLinkInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4155 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4159 (arg1
)->SetLink((wxHtmlLinkInfo
const &)*arg2
);
4161 wxPyEndAllowThreads(__tstate
);
4162 if (PyErr_Occurred()) SWIG_fail
;
4164 Py_INCREF(Py_None
); resultobj
= Py_None
;
4171 static PyObject
*_wrap_HtmlCell_SetNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4172 PyObject
*resultobj
;
4173 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4174 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
4175 PyObject
* obj0
= 0 ;
4176 PyObject
* obj1
= 0 ;
4178 (char *) "self",(char *) "cell", NULL
4181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetNext",kwnames
,&obj0
,&obj1
)) goto fail
;
4182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4183 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4186 (arg1
)->SetNext(arg2
);
4188 wxPyEndAllowThreads(__tstate
);
4189 if (PyErr_Occurred()) SWIG_fail
;
4191 Py_INCREF(Py_None
); resultobj
= Py_None
;
4198 static PyObject
*_wrap_HtmlCell_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4199 PyObject
*resultobj
;
4200 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4201 wxHtmlContainerCell
*arg2
= (wxHtmlContainerCell
*) 0 ;
4202 PyObject
* obj0
= 0 ;
4203 PyObject
* obj1
= 0 ;
4205 (char *) "self",(char *) "p", NULL
4208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
4209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4210 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxHtmlContainerCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4213 (arg1
)->SetParent(arg2
);
4215 wxPyEndAllowThreads(__tstate
);
4216 if (PyErr_Occurred()) SWIG_fail
;
4218 Py_INCREF(Py_None
); resultobj
= Py_None
;
4225 static PyObject
*_wrap_HtmlCell_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4226 PyObject
*resultobj
;
4227 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4230 PyObject
* obj0
= 0 ;
4231 PyObject
* obj1
= 0 ;
4232 PyObject
* obj2
= 0 ;
4234 (char *) "self",(char *) "x",(char *) "y", NULL
4237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlCell_SetPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4240 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4241 if (PyErr_Occurred()) SWIG_fail
;
4244 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4245 if (PyErr_Occurred()) SWIG_fail
;
4248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4249 (arg1
)->SetPos(arg2
,arg3
);
4251 wxPyEndAllowThreads(__tstate
);
4252 if (PyErr_Occurred()) SWIG_fail
;
4254 Py_INCREF(Py_None
); resultobj
= Py_None
;
4261 static PyObject
*_wrap_HtmlCell_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4262 PyObject
*resultobj
;
4263 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4265 PyObject
* obj0
= 0 ;
4266 PyObject
* obj1
= 0 ;
4268 (char *) "self",(char *) "w", NULL
4271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_Layout",kwnames
,&obj0
,&obj1
)) goto fail
;
4272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4274 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4275 if (PyErr_Occurred()) SWIG_fail
;
4278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4279 (arg1
)->Layout(arg2
);
4281 wxPyEndAllowThreads(__tstate
);
4282 if (PyErr_Occurred()) SWIG_fail
;
4284 Py_INCREF(Py_None
); resultobj
= Py_None
;
4291 static PyObject
*_wrap_HtmlCell_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4292 PyObject
*resultobj
;
4293 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4299 wxHtmlRenderingInfo
*arg7
= 0 ;
4300 PyObject
* obj0
= 0 ;
4301 PyObject
* obj1
= 0 ;
4302 PyObject
* obj2
= 0 ;
4303 PyObject
* obj3
= 0 ;
4304 PyObject
* obj4
= 0 ;
4305 PyObject
* obj5
= 0 ;
4306 PyObject
* obj6
= 0 ;
4308 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
4311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:HtmlCell_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4313 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4315 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4318 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4319 if (PyErr_Occurred()) SWIG_fail
;
4322 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4323 if (PyErr_Occurred()) SWIG_fail
;
4326 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
4327 if (PyErr_Occurred()) SWIG_fail
;
4330 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
4331 if (PyErr_Occurred()) SWIG_fail
;
4333 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxHtmlRenderingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4335 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4339 (arg1
)->Draw(*arg2
,arg3
,arg4
,arg5
,arg6
,*arg7
);
4341 wxPyEndAllowThreads(__tstate
);
4342 if (PyErr_Occurred()) SWIG_fail
;
4344 Py_INCREF(Py_None
); resultobj
= Py_None
;
4351 static PyObject
*_wrap_HtmlCell_DrawInvisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4352 PyObject
*resultobj
;
4353 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4357 wxHtmlRenderingInfo
*arg5
= 0 ;
4358 PyObject
* obj0
= 0 ;
4359 PyObject
* obj1
= 0 ;
4360 PyObject
* obj2
= 0 ;
4361 PyObject
* obj3
= 0 ;
4362 PyObject
* obj4
= 0 ;
4364 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
4367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4369 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4371 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4374 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4375 if (PyErr_Occurred()) SWIG_fail
;
4378 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4379 if (PyErr_Occurred()) SWIG_fail
;
4381 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxHtmlRenderingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4383 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4387 (arg1
)->DrawInvisible(*arg2
,arg3
,arg4
,*arg5
);
4389 wxPyEndAllowThreads(__tstate
);
4390 if (PyErr_Occurred()) SWIG_fail
;
4392 Py_INCREF(Py_None
); resultobj
= Py_None
;
4399 static PyObject
*_wrap_HtmlCell_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4400 PyObject
*resultobj
;
4401 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4403 void *arg3
= (void *) 0 ;
4405 PyObject
* obj0
= 0 ;
4406 PyObject
* obj1
= 0 ;
4407 PyObject
* obj2
= 0 ;
4409 (char *) "self",(char *) "condition",(char *) "param", NULL
4412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlCell_Find",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4415 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4416 if (PyErr_Occurred()) SWIG_fail
;
4418 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4421 result
= (wxHtmlCell
*)(arg1
)->Find(arg2
,(void const *)arg3
);
4423 wxPyEndAllowThreads(__tstate
);
4424 if (PyErr_Occurred()) SWIG_fail
;
4426 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlCell
, 0);
4433 static PyObject
*_wrap_HtmlCell_AdjustPagebreak(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4434 PyObject
*resultobj
;
4435 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4436 int *arg2
= (int *) 0 ;
4439 PyObject
* obj0
= 0 ;
4440 PyObject
* obj1
= 0 ;
4442 (char *) "self",(char *) "INOUT", NULL
4445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_AdjustPagebreak",kwnames
,&obj0
,&obj1
)) goto fail
;
4446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4448 temp2
= PyInt_AsLong(obj1
);
4449 if (PyErr_Occurred()) SWIG_fail
;
4453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4454 result
= (bool)(arg1
)->AdjustPagebreak(arg2
);
4456 wxPyEndAllowThreads(__tstate
);
4457 if (PyErr_Occurred()) SWIG_fail
;
4459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4461 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4462 resultobj
= t_output_helper(resultobj
,o
);
4470 static PyObject
*_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4471 PyObject
*resultobj
;
4472 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4474 PyObject
* obj0
= 0 ;
4475 PyObject
* obj1
= 0 ;
4477 (char *) "self",(char *) "can", NULL
4480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames
,&obj0
,&obj1
)) goto fail
;
4481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4483 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
4484 if (PyErr_Occurred()) SWIG_fail
;
4487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4488 (arg1
)->SetCanLiveOnPagebreak(arg2
);
4490 wxPyEndAllowThreads(__tstate
);
4491 if (PyErr_Occurred()) SWIG_fail
;
4493 Py_INCREF(Py_None
); resultobj
= Py_None
;
4500 static PyObject
*_wrap_HtmlCell_IsLinebreakAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4501 PyObject
*resultobj
;
4502 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4504 PyObject
* obj0
= 0 ;
4506 (char *) "self", NULL
4509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_IsLinebreakAllowed",kwnames
,&obj0
)) goto fail
;
4510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4513 result
= (bool)((wxHtmlCell
const *)arg1
)->IsLinebreakAllowed();
4515 wxPyEndAllowThreads(__tstate
);
4516 if (PyErr_Occurred()) SWIG_fail
;
4518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4525 static PyObject
*_wrap_HtmlCell_IsTerminalCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4526 PyObject
*resultobj
;
4527 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4529 PyObject
* obj0
= 0 ;
4531 (char *) "self", NULL
4534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_IsTerminalCell",kwnames
,&obj0
)) goto fail
;
4535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4538 result
= (bool)((wxHtmlCell
const *)arg1
)->IsTerminalCell();
4540 wxPyEndAllowThreads(__tstate
);
4541 if (PyErr_Occurred()) SWIG_fail
;
4543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4550 static PyObject
*_wrap_HtmlCell_FindCellByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4551 PyObject
*resultobj
;
4552 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4555 unsigned int arg4
= (unsigned int) wxHTML_FIND_EXACT
;
4557 PyObject
* obj0
= 0 ;
4558 PyObject
* obj1
= 0 ;
4559 PyObject
* obj2
= 0 ;
4560 PyObject
* obj3
= 0 ;
4562 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
4565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4568 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4569 if (PyErr_Occurred()) SWIG_fail
;
4572 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4573 if (PyErr_Occurred()) SWIG_fail
;
4577 arg4
= (unsigned int) SWIG_PyObj_AsUnsignedInt(obj3
);
4578 if (PyErr_Occurred()) SWIG_fail
;
4582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4583 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->FindCellByPos(arg2
,arg3
,arg4
);
4585 wxPyEndAllowThreads(__tstate
);
4586 if (PyErr_Occurred()) SWIG_fail
;
4588 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlCell
, 0);
4595 static PyObject
*_wrap_HtmlCell_GetAbsPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4596 PyObject
*resultobj
;
4597 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4599 PyObject
* obj0
= 0 ;
4601 (char *) "self", NULL
4604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetAbsPos",kwnames
,&obj0
)) goto fail
;
4605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4608 result
= ((wxHtmlCell
const *)arg1
)->GetAbsPos();
4610 wxPyEndAllowThreads(__tstate
);
4611 if (PyErr_Occurred()) SWIG_fail
;
4614 wxPoint
* resultptr
;
4615 resultptr
= new wxPoint((wxPoint
&) result
);
4616 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
4624 static PyObject
*_wrap_HtmlCell_GetFirstTerminal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4625 PyObject
*resultobj
;
4626 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4628 PyObject
* obj0
= 0 ;
4630 (char *) "self", NULL
4633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetFirstTerminal",kwnames
,&obj0
)) goto fail
;
4634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4637 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetFirstTerminal();
4639 wxPyEndAllowThreads(__tstate
);
4640 if (PyErr_Occurred()) SWIG_fail
;
4642 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlCell
, 0);
4649 static PyObject
*_wrap_HtmlCell_GetLastTerminal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4650 PyObject
*resultobj
;
4651 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4653 PyObject
* obj0
= 0 ;
4655 (char *) "self", NULL
4658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetLastTerminal",kwnames
,&obj0
)) goto fail
;
4659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4662 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetLastTerminal();
4664 wxPyEndAllowThreads(__tstate
);
4665 if (PyErr_Occurred()) SWIG_fail
;
4667 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlCell
, 0);
4674 static PyObject
*_wrap_HtmlCell_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4675 PyObject
*resultobj
;
4676 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4677 unsigned int result
;
4678 PyObject
* obj0
= 0 ;
4680 (char *) "self", NULL
4683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetDepth",kwnames
,&obj0
)) goto fail
;
4684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4687 result
= (unsigned int)((wxHtmlCell
const *)arg1
)->GetDepth();
4689 wxPyEndAllowThreads(__tstate
);
4690 if (PyErr_Occurred()) SWIG_fail
;
4692 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
4699 static PyObject
*_wrap_HtmlCell_IsBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4700 PyObject
*resultobj
;
4701 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4702 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
4704 PyObject
* obj0
= 0 ;
4705 PyObject
* obj1
= 0 ;
4707 (char *) "self",(char *) "cell", NULL
4710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_IsBefore",kwnames
,&obj0
,&obj1
)) goto fail
;
4711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4712 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4715 result
= (bool)((wxHtmlCell
const *)arg1
)->IsBefore(arg2
);
4717 wxPyEndAllowThreads(__tstate
);
4718 if (PyErr_Occurred()) SWIG_fail
;
4720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4727 static PyObject
*_wrap_HtmlCell_ConvertToText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4728 PyObject
*resultobj
;
4729 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4730 wxHtmlSelection
*arg2
= (wxHtmlSelection
*) 0 ;
4732 PyObject
* obj0
= 0 ;
4733 PyObject
* obj1
= 0 ;
4735 (char *) "self",(char *) "sel", NULL
4738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_ConvertToText",kwnames
,&obj0
,&obj1
)) goto fail
;
4739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4740 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxHtmlSelection
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4743 result
= ((wxHtmlCell
const *)arg1
)->ConvertToText(arg2
);
4745 wxPyEndAllowThreads(__tstate
);
4746 if (PyErr_Occurred()) SWIG_fail
;
4750 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4752 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4761 static PyObject
* HtmlCell_swigregister(PyObject
*self
, PyObject
*args
) {
4763 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4764 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlCell
, obj
);
4766 return Py_BuildValue((char *)"");
4768 static PyObject
*_wrap_new_HtmlWordCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4769 PyObject
*resultobj
;
4770 wxString
*arg1
= 0 ;
4772 wxHtmlWordCell
*result
;
4773 bool temp1
= False
;
4774 PyObject
* obj0
= 0 ;
4775 PyObject
* obj1
= 0 ;
4777 (char *) "word",(char *) "dc", NULL
4780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_HtmlWordCell",kwnames
,&obj0
,&obj1
)) goto fail
;
4782 arg1
= wxString_in_helper(obj0
);
4783 if (arg1
== NULL
) SWIG_fail
;
4786 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4788 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4792 result
= (wxHtmlWordCell
*)new wxHtmlWordCell((wxString
const &)*arg1
,*arg2
);
4794 wxPyEndAllowThreads(__tstate
);
4795 if (PyErr_Occurred()) SWIG_fail
;
4797 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlWordCell
, 1);
4812 static PyObject
* HtmlWordCell_swigregister(PyObject
*self
, PyObject
*args
) {
4814 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4815 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWordCell
, obj
);
4817 return Py_BuildValue((char *)"");
4819 static PyObject
*_wrap_new_HtmlContainerCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4820 PyObject
*resultobj
;
4821 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
4822 wxHtmlContainerCell
*result
;
4823 PyObject
* obj0
= 0 ;
4825 (char *) "parent", NULL
4828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_HtmlContainerCell",kwnames
,&obj0
)) goto fail
;
4829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlContainerCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4832 result
= (wxHtmlContainerCell
*)new wxHtmlContainerCell(arg1
);
4834 wxPyEndAllowThreads(__tstate
);
4835 if (PyErr_Occurred()) SWIG_fail
;
4837 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlContainerCell
, 1);
4844 static PyObject
*_wrap_HtmlContainerCell_InsertCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4845 PyObject
*resultobj
;
4846 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
4847 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
4848 PyObject
* obj0
= 0 ;
4849 PyObject
* obj1
= 0 ;
4851 (char *) "self",(char *) "cell", NULL
4854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_InsertCell",kwnames
,&obj0
,&obj1
)) goto fail
;
4855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlContainerCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4856 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4859 (arg1
)->InsertCell(arg2
);
4861 wxPyEndAllowThreads(__tstate
);
4862 if (PyErr_Occurred()) SWIG_fail
;
4864 Py_INCREF(Py_None
); resultobj
= Py_None
;
4871 static PyObject
*_wrap_HtmlContainerCell_SetAlignHor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4872 PyObject
*resultobj
;
4873 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
4875 PyObject
* obj0
= 0 ;
4876 PyObject
* obj1
= 0 ;
4878 (char *) "self",(char *) "al", NULL
4881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames
,&obj0
,&obj1
)) goto fail
;
4882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlContainerCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4884 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4885 if (PyErr_Occurred()) SWIG_fail
;
4888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4889 (arg1
)->SetAlignHor(arg2
);
4891 wxPyEndAllowThreads(__tstate
);
4892 if (PyErr_Occurred()) SWIG_fail
;
4894 Py_INCREF(Py_None
); resultobj
= Py_None
;
4901 static PyObject
*_wrap_HtmlContainerCell_GetAlignHor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4902 PyObject
*resultobj
;
4903 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
4905 PyObject
* obj0
= 0 ;
4907 (char *) "self", NULL
4910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContainerCell_GetAlignHor",kwnames
,&obj0
)) goto fail
;
4911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlContainerCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4914 result
= (int)(arg1
)->GetAlignHor();
4916 wxPyEndAllowThreads(__tstate
);
4917 if (PyErr_Occurred()) SWIG_fail
;
4919 resultobj
= SWIG_PyObj_FromInt((int)result
);
4926 static PyObject
*_wrap_HtmlContainerCell_SetAlignVer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4927 PyObject
*resultobj
;
4928 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
4930 PyObject
* obj0
= 0 ;
4931 PyObject
* obj1
= 0 ;
4933 (char *) "self",(char *) "al", NULL
4936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames
,&obj0
,&obj1
)) goto fail
;
4937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlContainerCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4939 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4940 if (PyErr_Occurred()) SWIG_fail
;
4943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4944 (arg1
)->SetAlignVer(arg2
);
4946 wxPyEndAllowThreads(__tstate
);
4947 if (PyErr_Occurred()) SWIG_fail
;
4949 Py_INCREF(Py_None
); resultobj
= Py_None
;
4956 static PyObject
*_wrap_HtmlContainerCell_GetAlignVer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4957 PyObject
*resultobj
;
4958 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
4960 PyObject
* obj0
= 0 ;
4962 (char *) "self", NULL
4965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContainerCell_GetAlignVer",kwnames
,&obj0
)) goto fail
;
4966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlContainerCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4969 result
= (int)(arg1
)->GetAlignVer();
4971 wxPyEndAllowThreads(__tstate
);
4972 if (PyErr_Occurred()) SWIG_fail
;
4974 resultobj
= SWIG_PyObj_FromInt((int)result
);
4981 static PyObject
*_wrap_HtmlContainerCell_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4982 PyObject
*resultobj
;
4983 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
4986 int arg4
= (int) wxHTML_UNITS_PIXELS
;
4987 PyObject
* obj0
= 0 ;
4988 PyObject
* obj1
= 0 ;
4989 PyObject
* obj2
= 0 ;
4990 PyObject
* obj3
= 0 ;
4992 (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
4995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlContainerCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4998 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4999 if (PyErr_Occurred()) SWIG_fail
;
5002 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5003 if (PyErr_Occurred()) SWIG_fail
;
5007 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5008 if (PyErr_Occurred()) SWIG_fail
;
5012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5013 (arg1
)->SetIndent(arg2
,arg3
,arg4
);
5015 wxPyEndAllowThreads(__tstate
);
5016 if (PyErr_Occurred()) SWIG_fail
;
5018 Py_INCREF(Py_None
); resultobj
= Py_None
;
5025 static PyObject
*_wrap_HtmlContainerCell_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5026 PyObject
*resultobj
;
5027 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5030 PyObject
* obj0
= 0 ;
5031 PyObject
* obj1
= 0 ;
5033 (char *) "self",(char *) "ind", NULL
5036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_GetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
5037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlContainerCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5039 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5040 if (PyErr_Occurred()) SWIG_fail
;
5043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5044 result
= (int)(arg1
)->GetIndent(arg2
);
5046 wxPyEndAllowThreads(__tstate
);
5047 if (PyErr_Occurred()) SWIG_fail
;
5049 resultobj
= SWIG_PyObj_FromInt((int)result
);
5056 static PyObject
*_wrap_HtmlContainerCell_GetIndentUnits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5057 PyObject
*resultobj
;
5058 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5061 PyObject
* obj0
= 0 ;
5062 PyObject
* obj1
= 0 ;
5064 (char *) "self",(char *) "ind", NULL
5067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames
,&obj0
,&obj1
)) goto fail
;
5068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlContainerCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5070 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5071 if (PyErr_Occurred()) SWIG_fail
;
5074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5075 result
= (int)(arg1
)->GetIndentUnits(arg2
);
5077 wxPyEndAllowThreads(__tstate
);
5078 if (PyErr_Occurred()) SWIG_fail
;
5080 resultobj
= SWIG_PyObj_FromInt((int)result
);
5087 static PyObject
*_wrap_HtmlContainerCell_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5088 PyObject
*resultobj
;
5089 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5090 wxHtmlTag
*arg2
= 0 ;
5091 PyObject
* obj0
= 0 ;
5092 PyObject
* obj1
= 0 ;
5094 (char *) "self",(char *) "tag", NULL
5097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
5098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlContainerCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5099 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxHtmlTag
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5101 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5105 (arg1
)->SetAlign((wxHtmlTag
const &)*arg2
);
5107 wxPyEndAllowThreads(__tstate
);
5108 if (PyErr_Occurred()) SWIG_fail
;
5110 Py_INCREF(Py_None
); resultobj
= Py_None
;
5117 static PyObject
*_wrap_HtmlContainerCell_SetWidthFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5118 PyObject
*resultobj
;
5119 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5122 PyObject
* obj0
= 0 ;
5123 PyObject
* obj1
= 0 ;
5124 PyObject
* obj2
= 0 ;
5126 (char *) "self",(char *) "w",(char *) "units", NULL
5129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlContainerCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5132 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5133 if (PyErr_Occurred()) SWIG_fail
;
5136 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5137 if (PyErr_Occurred()) SWIG_fail
;
5140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5141 (arg1
)->SetWidthFloat(arg2
,arg3
);
5143 wxPyEndAllowThreads(__tstate
);
5144 if (PyErr_Occurred()) SWIG_fail
;
5146 Py_INCREF(Py_None
); resultobj
= Py_None
;
5153 static PyObject
*_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5154 PyObject
*resultobj
;
5155 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5156 wxHtmlTag
*arg2
= 0 ;
5157 PyObject
* obj0
= 0 ;
5158 PyObject
* obj1
= 0 ;
5160 (char *) "self",(char *) "tag", NULL
5163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames
,&obj0
,&obj1
)) goto fail
;
5164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlContainerCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5165 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxHtmlTag
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5167 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5171 (arg1
)->SetWidthFloat((wxHtmlTag
const &)*arg2
);
5173 wxPyEndAllowThreads(__tstate
);
5174 if (PyErr_Occurred()) SWIG_fail
;
5176 Py_INCREF(Py_None
); resultobj
= Py_None
;
5183 static PyObject
*_wrap_HtmlContainerCell_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5184 PyObject
*resultobj
;
5185 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5187 int arg3
= (int) wxHTML_ALIGN_TOP
;
5188 PyObject
* obj0
= 0 ;
5189 PyObject
* obj1
= 0 ;
5190 PyObject
* obj2
= 0 ;
5192 (char *) "self",(char *) "h",(char *) "align", NULL
5195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlContainerCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5198 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5199 if (PyErr_Occurred()) SWIG_fail
;
5203 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5204 if (PyErr_Occurred()) SWIG_fail
;
5208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5209 (arg1
)->SetMinHeight(arg2
,arg3
);
5211 wxPyEndAllowThreads(__tstate
);
5212 if (PyErr_Occurred()) SWIG_fail
;
5214 Py_INCREF(Py_None
); resultobj
= Py_None
;
5221 static PyObject
*_wrap_HtmlContainerCell_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5222 PyObject
*resultobj
;
5223 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5224 wxColour
*arg2
= 0 ;
5226 PyObject
* obj0
= 0 ;
5227 PyObject
* obj1
= 0 ;
5229 (char *) "self",(char *) "clr", NULL
5232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlContainerCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5236 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5240 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
5242 wxPyEndAllowThreads(__tstate
);
5243 if (PyErr_Occurred()) SWIG_fail
;
5245 Py_INCREF(Py_None
); resultobj
= Py_None
;
5252 static PyObject
*_wrap_HtmlContainerCell_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5253 PyObject
*resultobj
;
5254 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5256 PyObject
* obj0
= 0 ;
5258 (char *) "self", NULL
5261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContainerCell_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
5262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlContainerCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5265 result
= (arg1
)->GetBackgroundColour();
5267 wxPyEndAllowThreads(__tstate
);
5268 if (PyErr_Occurred()) SWIG_fail
;
5271 wxColour
* resultptr
;
5272 resultptr
= new wxColour((wxColour
&) result
);
5273 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
5281 static PyObject
*_wrap_HtmlContainerCell_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5282 PyObject
*resultobj
;
5283 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5284 wxColour
*arg2
= 0 ;
5285 wxColour
*arg3
= 0 ;
5288 PyObject
* obj0
= 0 ;
5289 PyObject
* obj1
= 0 ;
5290 PyObject
* obj2
= 0 ;
5292 (char *) "self",(char *) "clr1",(char *) "clr2", NULL
5295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlContainerCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5299 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5303 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5307 (arg1
)->SetBorder((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
5309 wxPyEndAllowThreads(__tstate
);
5310 if (PyErr_Occurred()) SWIG_fail
;
5312 Py_INCREF(Py_None
); resultobj
= Py_None
;
5319 static PyObject
*_wrap_HtmlContainerCell_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5320 PyObject
*resultobj
;
5321 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5323 PyObject
* obj0
= 0 ;
5325 (char *) "self", NULL
5328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContainerCell_GetFirstChild",kwnames
,&obj0
)) goto fail
;
5329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlContainerCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5332 result
= (wxHtmlCell
*)(arg1
)->GetFirstChild();
5334 wxPyEndAllowThreads(__tstate
);
5335 if (PyErr_Occurred()) SWIG_fail
;
5337 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlCell
, 0);
5344 static PyObject
* HtmlContainerCell_swigregister(PyObject
*self
, PyObject
*args
) {
5346 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5347 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContainerCell
, obj
);
5349 return Py_BuildValue((char *)"");
5351 static PyObject
*_wrap_new_HtmlColourCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5352 PyObject
*resultobj
;
5354 int arg2
= (int) wxHTML_CLR_FOREGROUND
;
5355 wxHtmlColourCell
*result
;
5357 PyObject
* obj0
= 0 ;
5358 PyObject
* obj1
= 0 ;
5360 (char *) "clr",(char *) "flags", NULL
5363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlColourCell",kwnames
,&obj0
,&obj1
)) goto fail
;
5364 if ((SWIG_ConvertPtr(obj0
,(void **) &argp1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
5368 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5369 if (PyErr_Occurred()) SWIG_fail
;
5373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5374 result
= (wxHtmlColourCell
*)new wxHtmlColourCell(arg1
,arg2
);
5376 wxPyEndAllowThreads(__tstate
);
5377 if (PyErr_Occurred()) SWIG_fail
;
5379 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlColourCell
, 1);
5386 static PyObject
* HtmlColourCell_swigregister(PyObject
*self
, PyObject
*args
) {
5388 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5389 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlColourCell
, obj
);
5391 return Py_BuildValue((char *)"");
5393 static PyObject
*_wrap_new_HtmlFontCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5394 PyObject
*resultobj
;
5395 wxFont
*arg1
= (wxFont
*) 0 ;
5396 wxHtmlFontCell
*result
;
5397 PyObject
* obj0
= 0 ;
5399 (char *) "font", NULL
5402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_HtmlFontCell",kwnames
,&obj0
)) goto fail
;
5403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5406 result
= (wxHtmlFontCell
*)new wxHtmlFontCell(arg1
);
5408 wxPyEndAllowThreads(__tstate
);
5409 if (PyErr_Occurred()) SWIG_fail
;
5411 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlFontCell
, 1);
5418 static PyObject
* HtmlFontCell_swigregister(PyObject
*self
, PyObject
*args
) {
5420 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5421 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlFontCell
, obj
);
5423 return Py_BuildValue((char *)"");
5425 static PyObject
*_wrap_new_HtmlWidgetCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5426 PyObject
*resultobj
;
5427 wxWindow
*arg1
= (wxWindow
*) 0 ;
5428 int arg2
= (int) 0 ;
5429 wxHtmlWidgetCell
*result
;
5430 PyObject
* obj0
= 0 ;
5431 PyObject
* obj1
= 0 ;
5433 (char *) "wnd",(char *) "w", NULL
5436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlWidgetCell",kwnames
,&obj0
,&obj1
)) goto fail
;
5437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5440 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5441 if (PyErr_Occurred()) SWIG_fail
;
5445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5446 result
= (wxHtmlWidgetCell
*)new wxHtmlWidgetCell(arg1
,arg2
);
5448 wxPyEndAllowThreads(__tstate
);
5449 if (PyErr_Occurred()) SWIG_fail
;
5451 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlWidgetCell
, 1);
5458 static PyObject
* HtmlWidgetCell_swigregister(PyObject
*self
, PyObject
*args
) {
5460 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5461 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWidgetCell
, obj
);
5463 return Py_BuildValue((char *)"");
5465 static PyObject
*_wrap_new_HtmlFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5466 PyObject
*resultobj
;
5467 wxPyHtmlFilter
*result
;
5472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlFilter",kwnames
)) goto fail
;
5474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5475 result
= (wxPyHtmlFilter
*)new wxPyHtmlFilter();
5477 wxPyEndAllowThreads(__tstate
);
5478 if (PyErr_Occurred()) SWIG_fail
;
5480 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyHtmlFilter
, 1);
5487 static PyObject
*_wrap_HtmlFilter__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5488 PyObject
*resultobj
;
5489 wxPyHtmlFilter
*arg1
= (wxPyHtmlFilter
*) 0 ;
5490 PyObject
*arg2
= (PyObject
*) 0 ;
5491 PyObject
*arg3
= (PyObject
*) 0 ;
5492 PyObject
* obj0
= 0 ;
5493 PyObject
* obj1
= 0 ;
5494 PyObject
* obj2
= 0 ;
5496 (char *) "self",(char *) "self",(char *) "_class", NULL
5499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlFilter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5505 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5507 wxPyEndAllowThreads(__tstate
);
5508 if (PyErr_Occurred()) SWIG_fail
;
5510 Py_INCREF(Py_None
); resultobj
= Py_None
;
5517 static PyObject
* HtmlFilter_swigregister(PyObject
*self
, PyObject
*args
) {
5519 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5520 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlFilter
, obj
);
5522 return Py_BuildValue((char *)"");
5524 static PyObject
*_wrap_new_HtmlWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5525 PyObject
*resultobj
;
5526 wxWindow
*arg1
= (wxWindow
*) 0 ;
5527 int arg2
= (int) -1 ;
5528 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5529 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5530 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5531 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5532 int arg5
= (int) wxHW_DEFAULT_STYLE
;
5533 wxString
const &arg6_defvalue
= wxPyHtmlWindowNameStr
;
5534 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5535 wxPyHtmlWindow
*result
;
5538 bool temp6
= False
;
5539 PyObject
* obj0
= 0 ;
5540 PyObject
* obj1
= 0 ;
5541 PyObject
* obj2
= 0 ;
5542 PyObject
* obj3
= 0 ;
5543 PyObject
* obj4
= 0 ;
5544 PyObject
* obj5
= 0 ;
5546 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5553 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5554 if (PyErr_Occurred()) SWIG_fail
;
5560 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5566 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5571 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
5572 if (PyErr_Occurred()) SWIG_fail
;
5577 arg6
= wxString_in_helper(obj5
);
5578 if (arg6
== NULL
) SWIG_fail
;
5583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5584 result
= (wxPyHtmlWindow
*)new wxPyHtmlWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5586 wxPyEndAllowThreads(__tstate
);
5587 if (PyErr_Occurred()) SWIG_fail
;
5590 resultobj
= wxPyMake_wxObject(result
);
5606 static PyObject
*_wrap_new_PreHtmlWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5607 PyObject
*resultobj
;
5608 wxPyHtmlWindow
*result
;
5613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlWindow",kwnames
)) goto fail
;
5615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5616 result
= (wxPyHtmlWindow
*)new wxPyHtmlWindow();
5618 wxPyEndAllowThreads(__tstate
);
5619 if (PyErr_Occurred()) SWIG_fail
;
5622 resultobj
= wxPyMake_wxObject(result
);
5630 static PyObject
*_wrap_HtmlWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5631 PyObject
*resultobj
;
5632 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
5633 wxWindow
*arg2
= (wxWindow
*) 0 ;
5634 int arg3
= (int) -1 ;
5635 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5636 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5637 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5638 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5639 int arg6
= (int) wxHW_SCROLLBAR_AUTO
;
5640 wxString
const &arg7_defvalue
= wxPyHtmlWindowNameStr
;
5641 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5645 bool temp7
= False
;
5646 PyObject
* obj0
= 0 ;
5647 PyObject
* obj1
= 0 ;
5648 PyObject
* obj2
= 0 ;
5649 PyObject
* obj3
= 0 ;
5650 PyObject
* obj4
= 0 ;
5651 PyObject
* obj5
= 0 ;
5652 PyObject
* obj6
= 0 ;
5654 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5659 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5662 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5663 if (PyErr_Occurred()) SWIG_fail
;
5669 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5675 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5680 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
5681 if (PyErr_Occurred()) SWIG_fail
;
5686 arg7
= wxString_in_helper(obj6
);
5687 if (arg7
== NULL
) SWIG_fail
;
5692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5693 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5695 wxPyEndAllowThreads(__tstate
);
5696 if (PyErr_Occurred()) SWIG_fail
;
5698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5713 static PyObject
*_wrap_HtmlWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5714 PyObject
*resultobj
;
5715 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
5716 PyObject
*arg2
= (PyObject
*) 0 ;
5717 PyObject
*arg3
= (PyObject
*) 0 ;
5718 PyObject
* obj0
= 0 ;
5719 PyObject
* obj1
= 0 ;
5720 PyObject
* obj2
= 0 ;
5722 (char *) "self",(char *) "self",(char *) "_class", NULL
5725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5731 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5733 wxPyEndAllowThreads(__tstate
);
5734 if (PyErr_Occurred()) SWIG_fail
;
5736 Py_INCREF(Py_None
); resultobj
= Py_None
;
5743 static PyObject
*_wrap_HtmlWindow_SetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5744 PyObject
*resultobj
;
5745 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
5746 wxString
*arg2
= 0 ;
5748 bool temp2
= False
;
5749 PyObject
* obj0
= 0 ;
5750 PyObject
* obj1
= 0 ;
5752 (char *) "self",(char *) "source", NULL
5755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
5756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5758 arg2
= wxString_in_helper(obj1
);
5759 if (arg2
== NULL
) SWIG_fail
;
5763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5764 result
= (bool)(arg1
)->SetPage((wxString
const &)*arg2
);
5766 wxPyEndAllowThreads(__tstate
);
5767 if (PyErr_Occurred()) SWIG_fail
;
5769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5784 static PyObject
*_wrap_HtmlWindow_LoadPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5785 PyObject
*resultobj
;
5786 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
5787 wxString
*arg2
= 0 ;
5789 bool temp2
= False
;
5790 PyObject
* obj0
= 0 ;
5791 PyObject
* obj1
= 0 ;
5793 (char *) "self",(char *) "location", NULL
5796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_LoadPage",kwnames
,&obj0
,&obj1
)) goto fail
;
5797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5799 arg2
= wxString_in_helper(obj1
);
5800 if (arg2
== NULL
) SWIG_fail
;
5804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5805 result
= (bool)(arg1
)->LoadPage((wxString
const &)*arg2
);
5807 wxPyEndAllowThreads(__tstate
);
5808 if (PyErr_Occurred()) SWIG_fail
;
5810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5825 static PyObject
*_wrap_HtmlWindow_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5826 PyObject
*resultobj
;
5827 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
5828 wxString
*arg2
= 0 ;
5830 bool temp2
= False
;
5831 PyObject
* obj0
= 0 ;
5832 PyObject
* obj1
= 0 ;
5834 (char *) "self",(char *) "filename", NULL
5837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5840 arg2
= wxString_in_helper(obj1
);
5841 if (arg2
== NULL
) SWIG_fail
;
5845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5846 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
5848 wxPyEndAllowThreads(__tstate
);
5849 if (PyErr_Occurred()) SWIG_fail
;
5851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5866 static PyObject
*_wrap_HtmlWindow_AppendToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5867 PyObject
*resultobj
;
5868 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
5869 wxString
*arg2
= 0 ;
5871 bool temp2
= False
;
5872 PyObject
* obj0
= 0 ;
5873 PyObject
* obj1
= 0 ;
5875 (char *) "self",(char *) "source", NULL
5878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_AppendToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
5879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5881 arg2
= wxString_in_helper(obj1
);
5882 if (arg2
== NULL
) SWIG_fail
;
5886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5887 result
= (bool)(arg1
)->AppendToPage((wxString
const &)*arg2
);
5889 wxPyEndAllowThreads(__tstate
);
5890 if (PyErr_Occurred()) SWIG_fail
;
5892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5907 static PyObject
*_wrap_HtmlWindow_GetOpenedPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5908 PyObject
*resultobj
;
5909 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
5911 PyObject
* obj0
= 0 ;
5913 (char *) "self", NULL
5916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetOpenedPage",kwnames
,&obj0
)) goto fail
;
5917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5920 result
= (arg1
)->GetOpenedPage();
5922 wxPyEndAllowThreads(__tstate
);
5923 if (PyErr_Occurred()) SWIG_fail
;
5927 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5929 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5938 static PyObject
*_wrap_HtmlWindow_GetOpenedAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5939 PyObject
*resultobj
;
5940 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
5942 PyObject
* obj0
= 0 ;
5944 (char *) "self", NULL
5947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetOpenedAnchor",kwnames
,&obj0
)) goto fail
;
5948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5951 result
= (arg1
)->GetOpenedAnchor();
5953 wxPyEndAllowThreads(__tstate
);
5954 if (PyErr_Occurred()) SWIG_fail
;
5958 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5960 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5969 static PyObject
*_wrap_HtmlWindow_GetOpenedPageTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5970 PyObject
*resultobj
;
5971 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
5973 PyObject
* obj0
= 0 ;
5975 (char *) "self", NULL
5978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetOpenedPageTitle",kwnames
,&obj0
)) goto fail
;
5979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5982 result
= (arg1
)->GetOpenedPageTitle();
5984 wxPyEndAllowThreads(__tstate
);
5985 if (PyErr_Occurred()) SWIG_fail
;
5989 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5991 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6000 static PyObject
*_wrap_HtmlWindow_SetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6001 PyObject
*resultobj
;
6002 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6003 wxFrame
*arg2
= (wxFrame
*) 0 ;
6004 wxString
*arg3
= 0 ;
6005 bool temp3
= False
;
6006 PyObject
* obj0
= 0 ;
6007 PyObject
* obj1
= 0 ;
6008 PyObject
* obj2
= 0 ;
6010 (char *) "self",(char *) "frame",(char *) "format", NULL
6013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6015 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6017 arg3
= wxString_in_helper(obj2
);
6018 if (arg3
== NULL
) SWIG_fail
;
6022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6023 (arg1
)->SetRelatedFrame(arg2
,(wxString
const &)*arg3
);
6025 wxPyEndAllowThreads(__tstate
);
6026 if (PyErr_Occurred()) SWIG_fail
;
6028 Py_INCREF(Py_None
); resultobj
= Py_None
;
6043 static PyObject
*_wrap_HtmlWindow_GetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6044 PyObject
*resultobj
;
6045 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6047 PyObject
* obj0
= 0 ;
6049 (char *) "self", NULL
6052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetRelatedFrame",kwnames
,&obj0
)) goto fail
;
6053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6056 result
= (wxFrame
*)(arg1
)->GetRelatedFrame();
6058 wxPyEndAllowThreads(__tstate
);
6059 if (PyErr_Occurred()) SWIG_fail
;
6062 resultobj
= wxPyMake_wxObject(result
);
6070 static PyObject
*_wrap_HtmlWindow_SetRelatedStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6071 PyObject
*resultobj
;
6072 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6074 PyObject
* obj0
= 0 ;
6075 PyObject
* obj1
= 0 ;
6077 (char *) "self",(char *) "bar", NULL
6080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
6081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6083 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6084 if (PyErr_Occurred()) SWIG_fail
;
6087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6088 (arg1
)->SetRelatedStatusBar(arg2
);
6090 wxPyEndAllowThreads(__tstate
);
6091 if (PyErr_Occurred()) SWIG_fail
;
6093 Py_INCREF(Py_None
); resultobj
= Py_None
;
6100 static PyObject
*_wrap_HtmlWindow_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6101 PyObject
*resultobj
;
6102 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6105 PyObject
*arg4
= (PyObject
*) NULL
;
6106 PyObject
* obj0
= 0 ;
6107 PyObject
* obj1
= 0 ;
6108 PyObject
* obj2
= 0 ;
6109 PyObject
* obj3
= 0 ;
6111 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
6114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6117 wxString
* sptr
= wxString_in_helper(obj1
);
6118 if (sptr
== NULL
) SWIG_fail
;
6123 wxString
* sptr
= wxString_in_helper(obj2
);
6124 if (sptr
== NULL
) SWIG_fail
;
6132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6133 wxPyHtmlWindow_SetFonts(arg1
,arg2
,arg3
,arg4
);
6135 wxPyEndAllowThreads(__tstate
);
6136 if (PyErr_Occurred()) SWIG_fail
;
6138 Py_INCREF(Py_None
); resultobj
= Py_None
;
6145 static PyObject
*_wrap_HtmlWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6146 PyObject
*resultobj
;
6147 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6148 wxString
*arg2
= 0 ;
6149 bool temp2
= False
;
6150 PyObject
* obj0
= 0 ;
6151 PyObject
* obj1
= 0 ;
6153 (char *) "self",(char *) "title", NULL
6156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
6157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6159 arg2
= wxString_in_helper(obj1
);
6160 if (arg2
== NULL
) SWIG_fail
;
6164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6165 (arg1
)->SetTitle((wxString
const &)*arg2
);
6167 wxPyEndAllowThreads(__tstate
);
6168 if (PyErr_Occurred()) SWIG_fail
;
6170 Py_INCREF(Py_None
); resultobj
= Py_None
;
6185 static PyObject
*_wrap_HtmlWindow_SetBorders(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6186 PyObject
*resultobj
;
6187 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6189 PyObject
* obj0
= 0 ;
6190 PyObject
* obj1
= 0 ;
6192 (char *) "self",(char *) "b", NULL
6195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetBorders",kwnames
,&obj0
,&obj1
)) goto fail
;
6196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6198 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6199 if (PyErr_Occurred()) SWIG_fail
;
6202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6203 (arg1
)->SetBorders(arg2
);
6205 wxPyEndAllowThreads(__tstate
);
6206 if (PyErr_Occurred()) SWIG_fail
;
6208 Py_INCREF(Py_None
); resultobj
= Py_None
;
6215 static PyObject
*_wrap_HtmlWindow_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6216 PyObject
*resultobj
;
6217 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6218 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
6219 wxString arg3
= (wxString
) wxPyEmptyString
;
6220 PyObject
* obj0
= 0 ;
6221 PyObject
* obj1
= 0 ;
6222 PyObject
* obj2
= 0 ;
6224 (char *) "self",(char *) "cfg",(char *) "path", NULL
6227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6229 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6232 wxString
* sptr
= wxString_in_helper(obj2
);
6233 if (sptr
== NULL
) SWIG_fail
;
6239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6240 (arg1
)->ReadCustomization(arg2
,arg3
);
6242 wxPyEndAllowThreads(__tstate
);
6243 if (PyErr_Occurred()) SWIG_fail
;
6245 Py_INCREF(Py_None
); resultobj
= Py_None
;
6252 static PyObject
*_wrap_HtmlWindow_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6253 PyObject
*resultobj
;
6254 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6255 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
6256 wxString arg3
= (wxString
) wxPyEmptyString
;
6257 PyObject
* obj0
= 0 ;
6258 PyObject
* obj1
= 0 ;
6259 PyObject
* obj2
= 0 ;
6261 (char *) "self",(char *) "cfg",(char *) "path", NULL
6264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6266 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6269 wxString
* sptr
= wxString_in_helper(obj2
);
6270 if (sptr
== NULL
) SWIG_fail
;
6276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6277 (arg1
)->WriteCustomization(arg2
,arg3
);
6279 wxPyEndAllowThreads(__tstate
);
6280 if (PyErr_Occurred()) SWIG_fail
;
6282 Py_INCREF(Py_None
); resultobj
= Py_None
;
6289 static PyObject
*_wrap_HtmlWindow_HistoryBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6290 PyObject
*resultobj
;
6291 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6293 PyObject
* obj0
= 0 ;
6295 (char *) "self", NULL
6298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_HistoryBack",kwnames
,&obj0
)) goto fail
;
6299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6302 result
= (bool)(arg1
)->HistoryBack();
6304 wxPyEndAllowThreads(__tstate
);
6305 if (PyErr_Occurred()) SWIG_fail
;
6307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6314 static PyObject
*_wrap_HtmlWindow_HistoryForward(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6315 PyObject
*resultobj
;
6316 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6318 PyObject
* obj0
= 0 ;
6320 (char *) "self", NULL
6323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_HistoryForward",kwnames
,&obj0
)) goto fail
;
6324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6327 result
= (bool)(arg1
)->HistoryForward();
6329 wxPyEndAllowThreads(__tstate
);
6330 if (PyErr_Occurred()) SWIG_fail
;
6332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6339 static PyObject
*_wrap_HtmlWindow_HistoryCanBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6340 PyObject
*resultobj
;
6341 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6343 PyObject
* obj0
= 0 ;
6345 (char *) "self", NULL
6348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_HistoryCanBack",kwnames
,&obj0
)) goto fail
;
6349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6352 result
= (bool)(arg1
)->HistoryCanBack();
6354 wxPyEndAllowThreads(__tstate
);
6355 if (PyErr_Occurred()) SWIG_fail
;
6357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6364 static PyObject
*_wrap_HtmlWindow_HistoryCanForward(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6365 PyObject
*resultobj
;
6366 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6368 PyObject
* obj0
= 0 ;
6370 (char *) "self", NULL
6373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_HistoryCanForward",kwnames
,&obj0
)) goto fail
;
6374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6377 result
= (bool)(arg1
)->HistoryCanForward();
6379 wxPyEndAllowThreads(__tstate
);
6380 if (PyErr_Occurred()) SWIG_fail
;
6382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6389 static PyObject
*_wrap_HtmlWindow_HistoryClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6390 PyObject
*resultobj
;
6391 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6392 PyObject
* obj0
= 0 ;
6394 (char *) "self", NULL
6397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_HistoryClear",kwnames
,&obj0
)) goto fail
;
6398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6401 (arg1
)->HistoryClear();
6403 wxPyEndAllowThreads(__tstate
);
6404 if (PyErr_Occurred()) SWIG_fail
;
6406 Py_INCREF(Py_None
); resultobj
= Py_None
;
6413 static PyObject
*_wrap_HtmlWindow_GetInternalRepresentation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6414 PyObject
*resultobj
;
6415 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6416 wxHtmlContainerCell
*result
;
6417 PyObject
* obj0
= 0 ;
6419 (char *) "self", NULL
6422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetInternalRepresentation",kwnames
,&obj0
)) goto fail
;
6423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6426 result
= (wxHtmlContainerCell
*)(arg1
)->GetInternalRepresentation();
6428 wxPyEndAllowThreads(__tstate
);
6429 if (PyErr_Occurred()) SWIG_fail
;
6431 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlContainerCell
, 0);
6438 static PyObject
*_wrap_HtmlWindow_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6439 PyObject
*resultobj
;
6440 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6441 wxHtmlWinParser
*result
;
6442 PyObject
* obj0
= 0 ;
6444 (char *) "self", NULL
6447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetParser",kwnames
,&obj0
)) goto fail
;
6448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6451 result
= (wxHtmlWinParser
*)(arg1
)->GetParser();
6453 wxPyEndAllowThreads(__tstate
);
6454 if (PyErr_Occurred()) SWIG_fail
;
6456 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlWinParser
, 0);
6463 static PyObject
*_wrap_HtmlWindow_ScrollToAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6464 PyObject
*resultobj
;
6465 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6466 wxString
*arg2
= 0 ;
6468 bool temp2
= False
;
6469 PyObject
* obj0
= 0 ;
6470 PyObject
* obj1
= 0 ;
6472 (char *) "self",(char *) "anchor", NULL
6475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
6476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6478 arg2
= wxString_in_helper(obj1
);
6479 if (arg2
== NULL
) SWIG_fail
;
6483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6484 result
= (bool)(arg1
)->ScrollToAnchor((wxString
const &)*arg2
);
6486 wxPyEndAllowThreads(__tstate
);
6487 if (PyErr_Occurred()) SWIG_fail
;
6489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6504 static PyObject
*_wrap_HtmlWindow_HasAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6505 PyObject
*resultobj
;
6506 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6507 wxString
*arg2
= 0 ;
6509 bool temp2
= False
;
6510 PyObject
* obj0
= 0 ;
6511 PyObject
* obj1
= 0 ;
6513 (char *) "self",(char *) "anchor", NULL
6516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_HasAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
6517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6519 arg2
= wxString_in_helper(obj1
);
6520 if (arg2
== NULL
) SWIG_fail
;
6524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6525 result
= (bool)(arg1
)->HasAnchor((wxString
const &)*arg2
);
6527 wxPyEndAllowThreads(__tstate
);
6528 if (PyErr_Occurred()) SWIG_fail
;
6530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6545 static PyObject
*_wrap_HtmlWindow_AddFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6546 PyObject
*resultobj
;
6547 wxPyHtmlFilter
*arg1
= (wxPyHtmlFilter
*) 0 ;
6548 PyObject
* obj0
= 0 ;
6550 (char *) "filter", NULL
6553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_AddFilter",kwnames
,&obj0
)) goto fail
;
6554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlFilter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6557 wxPyHtmlWindow::AddFilter(arg1
);
6559 wxPyEndAllowThreads(__tstate
);
6560 if (PyErr_Occurred()) SWIG_fail
;
6562 Py_INCREF(Py_None
); resultobj
= Py_None
;
6569 static PyObject
*_wrap_HtmlWindow_SelectWord(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6570 PyObject
*resultobj
;
6571 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6574 PyObject
* obj0
= 0 ;
6575 PyObject
* obj1
= 0 ;
6577 (char *) "self",(char *) "pos", NULL
6580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SelectWord",kwnames
,&obj0
,&obj1
)) goto fail
;
6581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6584 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6588 (arg1
)->SelectWord((wxPoint
const &)*arg2
);
6590 wxPyEndAllowThreads(__tstate
);
6591 if (PyErr_Occurred()) SWIG_fail
;
6593 Py_INCREF(Py_None
); resultobj
= Py_None
;
6600 static PyObject
*_wrap_HtmlWindow_SelectLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6601 PyObject
*resultobj
;
6602 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6605 PyObject
* obj0
= 0 ;
6606 PyObject
* obj1
= 0 ;
6608 (char *) "self",(char *) "pos", NULL
6611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SelectLine",kwnames
,&obj0
,&obj1
)) goto fail
;
6612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6615 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6619 (arg1
)->SelectLine((wxPoint
const &)*arg2
);
6621 wxPyEndAllowThreads(__tstate
);
6622 if (PyErr_Occurred()) SWIG_fail
;
6624 Py_INCREF(Py_None
); resultobj
= Py_None
;
6631 static PyObject
*_wrap_HtmlWindow_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6632 PyObject
*resultobj
;
6633 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6634 PyObject
* obj0
= 0 ;
6636 (char *) "self", NULL
6639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_SelectAll",kwnames
,&obj0
)) goto fail
;
6640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6643 (arg1
)->SelectAll();
6645 wxPyEndAllowThreads(__tstate
);
6646 if (PyErr_Occurred()) SWIG_fail
;
6648 Py_INCREF(Py_None
); resultobj
= Py_None
;
6655 static PyObject
*_wrap_HtmlWindow_base_OnLinkClicked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6656 PyObject
*resultobj
;
6657 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6658 wxHtmlLinkInfo
*arg2
= 0 ;
6659 PyObject
* obj0
= 0 ;
6660 PyObject
* obj1
= 0 ;
6662 (char *) "self",(char *) "link", NULL
6665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_base_OnLinkClicked",kwnames
,&obj0
,&obj1
)) goto fail
;
6666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6667 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxHtmlLinkInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6669 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6673 (arg1
)->base_OnLinkClicked((wxHtmlLinkInfo
const &)*arg2
);
6675 wxPyEndAllowThreads(__tstate
);
6676 if (PyErr_Occurred()) SWIG_fail
;
6678 Py_INCREF(Py_None
); resultobj
= Py_None
;
6685 static PyObject
*_wrap_HtmlWindow_base_OnSetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6686 PyObject
*resultobj
;
6687 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6688 wxString
*arg2
= 0 ;
6689 bool temp2
= False
;
6690 PyObject
* obj0
= 0 ;
6691 PyObject
* obj1
= 0 ;
6693 (char *) "self",(char *) "title", NULL
6696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_base_OnSetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
6697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6699 arg2
= wxString_in_helper(obj1
);
6700 if (arg2
== NULL
) SWIG_fail
;
6704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6705 (arg1
)->base_OnSetTitle((wxString
const &)*arg2
);
6707 wxPyEndAllowThreads(__tstate
);
6708 if (PyErr_Occurred()) SWIG_fail
;
6710 Py_INCREF(Py_None
); resultobj
= Py_None
;
6725 static PyObject
*_wrap_HtmlWindow_base_OnCellMouseHover(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6726 PyObject
*resultobj
;
6727 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6728 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
6731 PyObject
* obj0
= 0 ;
6732 PyObject
* obj1
= 0 ;
6733 PyObject
* obj2
= 0 ;
6734 PyObject
* obj3
= 0 ;
6736 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
6739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HtmlWindow_base_OnCellMouseHover",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6741 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6743 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6744 if (PyErr_Occurred()) SWIG_fail
;
6747 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
6748 if (PyErr_Occurred()) SWIG_fail
;
6751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6752 (arg1
)->base_OnCellMouseHover(arg2
,arg3
,arg4
);
6754 wxPyEndAllowThreads(__tstate
);
6755 if (PyErr_Occurred()) SWIG_fail
;
6757 Py_INCREF(Py_None
); resultobj
= Py_None
;
6764 static PyObject
*_wrap_HtmlWindow_base_OnCellClicked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6765 PyObject
*resultobj
;
6766 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6767 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
6770 wxMouseEvent
*arg5
= 0 ;
6771 PyObject
* obj0
= 0 ;
6772 PyObject
* obj1
= 0 ;
6773 PyObject
* obj2
= 0 ;
6774 PyObject
* obj3
= 0 ;
6775 PyObject
* obj4
= 0 ;
6777 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
6780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlWindow_base_OnCellClicked",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6782 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6784 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6785 if (PyErr_Occurred()) SWIG_fail
;
6788 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
6789 if (PyErr_Occurred()) SWIG_fail
;
6791 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6793 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6797 (arg1
)->base_OnCellClicked(arg2
,arg3
,arg4
,(wxMouseEvent
const &)*arg5
);
6799 wxPyEndAllowThreads(__tstate
);
6800 if (PyErr_Occurred()) SWIG_fail
;
6802 Py_INCREF(Py_None
); resultobj
= Py_None
;
6809 static PyObject
* HtmlWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6811 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6812 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWindow
, obj
);
6814 return Py_BuildValue((char *)"");
6816 static PyObject
*_wrap_new_HtmlDCRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6817 PyObject
*resultobj
;
6818 wxHtmlDCRenderer
*result
;
6823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlDCRenderer",kwnames
)) goto fail
;
6825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6826 result
= (wxHtmlDCRenderer
*)new wxHtmlDCRenderer();
6828 wxPyEndAllowThreads(__tstate
);
6829 if (PyErr_Occurred()) SWIG_fail
;
6831 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlDCRenderer
, 1);
6838 static PyObject
*_wrap_delete_HtmlDCRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6839 PyObject
*resultobj
;
6840 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
6841 PyObject
* obj0
= 0 ;
6843 (char *) "self", NULL
6846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlDCRenderer",kwnames
,&obj0
)) goto fail
;
6847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlDCRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6852 wxPyEndAllowThreads(__tstate
);
6853 if (PyErr_Occurred()) SWIG_fail
;
6855 Py_INCREF(Py_None
); resultobj
= Py_None
;
6862 static PyObject
*_wrap_HtmlDCRenderer_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6863 PyObject
*resultobj
;
6864 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
6865 wxDC
*arg2
= (wxDC
*) 0 ;
6867 PyObject
* obj0
= 0 ;
6868 PyObject
* obj1
= 0 ;
6869 PyObject
* obj2
= 0 ;
6871 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
6874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlDCRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6876 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6878 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6879 if (PyErr_Occurred()) SWIG_fail
;
6882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6883 (arg1
)->SetDC(arg2
,arg3
);
6885 wxPyEndAllowThreads(__tstate
);
6886 if (PyErr_Occurred()) SWIG_fail
;
6888 Py_INCREF(Py_None
); resultobj
= Py_None
;
6895 static PyObject
*_wrap_HtmlDCRenderer_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6896 PyObject
*resultobj
;
6897 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
6900 PyObject
* obj0
= 0 ;
6901 PyObject
* obj1
= 0 ;
6902 PyObject
* obj2
= 0 ;
6904 (char *) "self",(char *) "width",(char *) "height", NULL
6907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlDCRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6910 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6911 if (PyErr_Occurred()) SWIG_fail
;
6914 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6915 if (PyErr_Occurred()) SWIG_fail
;
6918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6919 (arg1
)->SetSize(arg2
,arg3
);
6921 wxPyEndAllowThreads(__tstate
);
6922 if (PyErr_Occurred()) SWIG_fail
;
6924 Py_INCREF(Py_None
); resultobj
= Py_None
;
6931 static PyObject
*_wrap_HtmlDCRenderer_SetHtmlText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6932 PyObject
*resultobj
;
6933 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
6934 wxString
*arg2
= 0 ;
6935 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6936 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6937 bool arg4
= (bool) True
;
6938 bool temp2
= False
;
6939 bool temp3
= False
;
6940 PyObject
* obj0
= 0 ;
6941 PyObject
* obj1
= 0 ;
6942 PyObject
* obj2
= 0 ;
6943 PyObject
* obj3
= 0 ;
6945 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
6948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlDCRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6951 arg2
= wxString_in_helper(obj1
);
6952 if (arg2
== NULL
) SWIG_fail
;
6957 arg3
= wxString_in_helper(obj2
);
6958 if (arg3
== NULL
) SWIG_fail
;
6964 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
6965 if (PyErr_Occurred()) SWIG_fail
;
6969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6970 (arg1
)->SetHtmlText((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
6972 wxPyEndAllowThreads(__tstate
);
6973 if (PyErr_Occurred()) SWIG_fail
;
6975 Py_INCREF(Py_None
); resultobj
= Py_None
;
6998 static PyObject
*_wrap_HtmlDCRenderer_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6999 PyObject
*resultobj
;
7000 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
7003 PyObject
*arg4
= (PyObject
*) NULL
;
7004 PyObject
* obj0
= 0 ;
7005 PyObject
* obj1
= 0 ;
7006 PyObject
* obj2
= 0 ;
7007 PyObject
* obj3
= 0 ;
7009 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
7012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlDCRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7015 wxString
* sptr
= wxString_in_helper(obj1
);
7016 if (sptr
== NULL
) SWIG_fail
;
7021 wxString
* sptr
= wxString_in_helper(obj2
);
7022 if (sptr
== NULL
) SWIG_fail
;
7030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7031 wxHtmlDCRenderer_SetFonts(arg1
,arg2
,arg3
,arg4
);
7033 wxPyEndAllowThreads(__tstate
);
7034 if (PyErr_Occurred()) SWIG_fail
;
7036 Py_INCREF(Py_None
); resultobj
= Py_None
;
7043 static PyObject
*_wrap_HtmlDCRenderer_Render(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7044 PyObject
*resultobj
;
7045 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
7048 int arg4
= (int) 0 ;
7049 int arg5
= (int) False
;
7050 int arg6
= (int) INT_MAX
;
7051 int *arg7
= (int *) NULL
;
7052 int arg8
= (int) 0 ;
7054 PyObject
* obj0
= 0 ;
7055 PyObject
* obj1
= 0 ;
7056 PyObject
* obj2
= 0 ;
7057 PyObject
* obj3
= 0 ;
7058 PyObject
* obj4
= 0 ;
7059 PyObject
* obj5
= 0 ;
7060 PyObject
* obj6
= 0 ;
7061 PyObject
* obj7
= 0 ;
7063 (char *) "self",(char *) "x",(char *) "y",(char *) "from",(char *) "dont_render",(char *) "to",(char *) "choices",(char *) "LCOUNT", NULL
7066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:HtmlDCRenderer_Render",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlDCRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7069 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7070 if (PyErr_Occurred()) SWIG_fail
;
7073 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7074 if (PyErr_Occurred()) SWIG_fail
;
7078 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
7079 if (PyErr_Occurred()) SWIG_fail
;
7084 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
7085 if (PyErr_Occurred()) SWIG_fail
;
7090 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
7091 if (PyErr_Occurred()) SWIG_fail
;
7095 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7099 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
7100 if (PyErr_Occurred()) SWIG_fail
;
7104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7105 result
= (int)(arg1
)->Render(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
7107 wxPyEndAllowThreads(__tstate
);
7108 if (PyErr_Occurred()) SWIG_fail
;
7110 resultobj
= SWIG_PyObj_FromInt((int)result
);
7117 static PyObject
*_wrap_HtmlDCRenderer_GetTotalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7118 PyObject
*resultobj
;
7119 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
7121 PyObject
* obj0
= 0 ;
7123 (char *) "self", NULL
7126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlDCRenderer_GetTotalHeight",kwnames
,&obj0
)) goto fail
;
7127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlDCRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7130 result
= (int)(arg1
)->GetTotalHeight();
7132 wxPyEndAllowThreads(__tstate
);
7133 if (PyErr_Occurred()) SWIG_fail
;
7135 resultobj
= SWIG_PyObj_FromInt((int)result
);
7142 static PyObject
* HtmlDCRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
7144 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7145 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlDCRenderer
, obj
);
7147 return Py_BuildValue((char *)"");
7149 static PyObject
*_wrap_new_HtmlPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7150 PyObject
*resultobj
;
7151 wxString
const &arg1_defvalue
= wxPyHtmlPrintoutTitleStr
;
7152 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
7153 wxHtmlPrintout
*result
;
7154 bool temp1
= False
;
7155 PyObject
* obj0
= 0 ;
7157 (char *) "title", NULL
7160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_HtmlPrintout",kwnames
,&obj0
)) goto fail
;
7163 arg1
= wxString_in_helper(obj0
);
7164 if (arg1
== NULL
) SWIG_fail
;
7169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7170 result
= (wxHtmlPrintout
*)new wxHtmlPrintout((wxString
const &)*arg1
);
7172 wxPyEndAllowThreads(__tstate
);
7173 if (PyErr_Occurred()) SWIG_fail
;
7175 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlPrintout
, 1);
7190 static PyObject
*_wrap_HtmlPrintout_SetHtmlText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7191 PyObject
*resultobj
;
7192 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
7193 wxString
*arg2
= 0 ;
7194 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7195 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7196 bool arg4
= (bool) True
;
7197 bool temp2
= False
;
7198 bool temp3
= False
;
7199 PyObject
* obj0
= 0 ;
7200 PyObject
* obj1
= 0 ;
7201 PyObject
* obj2
= 0 ;
7202 PyObject
* obj3
= 0 ;
7204 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
7207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7210 arg2
= wxString_in_helper(obj1
);
7211 if (arg2
== NULL
) SWIG_fail
;
7216 arg3
= wxString_in_helper(obj2
);
7217 if (arg3
== NULL
) SWIG_fail
;
7223 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
7224 if (PyErr_Occurred()) SWIG_fail
;
7228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7229 (arg1
)->SetHtmlText((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
7231 wxPyEndAllowThreads(__tstate
);
7232 if (PyErr_Occurred()) SWIG_fail
;
7234 Py_INCREF(Py_None
); resultobj
= Py_None
;
7257 static PyObject
*_wrap_HtmlPrintout_SetHtmlFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7258 PyObject
*resultobj
;
7259 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
7260 wxString
*arg2
= 0 ;
7261 bool temp2
= False
;
7262 PyObject
* obj0
= 0 ;
7263 PyObject
* obj1
= 0 ;
7265 (char *) "self",(char *) "htmlfile", NULL
7268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7271 arg2
= wxString_in_helper(obj1
);
7272 if (arg2
== NULL
) SWIG_fail
;
7276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7277 (arg1
)->SetHtmlFile((wxString
const &)*arg2
);
7279 wxPyEndAllowThreads(__tstate
);
7280 if (PyErr_Occurred()) SWIG_fail
;
7282 Py_INCREF(Py_None
); resultobj
= Py_None
;
7297 static PyObject
*_wrap_HtmlPrintout_SetHeader(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7298 PyObject
*resultobj
;
7299 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
7300 wxString
*arg2
= 0 ;
7301 int arg3
= (int) wxPAGE_ALL
;
7302 bool temp2
= False
;
7303 PyObject
* obj0
= 0 ;
7304 PyObject
* obj1
= 0 ;
7305 PyObject
* obj2
= 0 ;
7307 (char *) "self",(char *) "header",(char *) "pg", NULL
7310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7313 arg2
= wxString_in_helper(obj1
);
7314 if (arg2
== NULL
) SWIG_fail
;
7319 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7320 if (PyErr_Occurred()) SWIG_fail
;
7324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7325 (arg1
)->SetHeader((wxString
const &)*arg2
,arg3
);
7327 wxPyEndAllowThreads(__tstate
);
7328 if (PyErr_Occurred()) SWIG_fail
;
7330 Py_INCREF(Py_None
); resultobj
= Py_None
;
7345 static PyObject
*_wrap_HtmlPrintout_SetFooter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7346 PyObject
*resultobj
;
7347 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
7348 wxString
*arg2
= 0 ;
7349 int arg3
= (int) wxPAGE_ALL
;
7350 bool temp2
= False
;
7351 PyObject
* obj0
= 0 ;
7352 PyObject
* obj1
= 0 ;
7353 PyObject
* obj2
= 0 ;
7355 (char *) "self",(char *) "footer",(char *) "pg", NULL
7358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7361 arg2
= wxString_in_helper(obj1
);
7362 if (arg2
== NULL
) SWIG_fail
;
7367 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7368 if (PyErr_Occurred()) SWIG_fail
;
7372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7373 (arg1
)->SetFooter((wxString
const &)*arg2
,arg3
);
7375 wxPyEndAllowThreads(__tstate
);
7376 if (PyErr_Occurred()) SWIG_fail
;
7378 Py_INCREF(Py_None
); resultobj
= Py_None
;
7393 static PyObject
*_wrap_HtmlPrintout_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7394 PyObject
*resultobj
;
7395 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
7398 PyObject
*arg4
= (PyObject
*) NULL
;
7399 PyObject
* obj0
= 0 ;
7400 PyObject
* obj1
= 0 ;
7401 PyObject
* obj2
= 0 ;
7402 PyObject
* obj3
= 0 ;
7404 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
7407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7410 wxString
* sptr
= wxString_in_helper(obj1
);
7411 if (sptr
== NULL
) SWIG_fail
;
7416 wxString
* sptr
= wxString_in_helper(obj2
);
7417 if (sptr
== NULL
) SWIG_fail
;
7425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7426 wxHtmlPrintout_SetFonts(arg1
,arg2
,arg3
,arg4
);
7428 wxPyEndAllowThreads(__tstate
);
7429 if (PyErr_Occurred()) SWIG_fail
;
7431 Py_INCREF(Py_None
); resultobj
= Py_None
;
7438 static PyObject
*_wrap_HtmlPrintout_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7439 PyObject
*resultobj
;
7440 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
7441 float arg2
= (float) 25.2 ;
7442 float arg3
= (float) 25.2 ;
7443 float arg4
= (float) 25.2 ;
7444 float arg5
= (float) 25.2 ;
7445 float arg6
= (float) 5 ;
7446 PyObject
* obj0
= 0 ;
7447 PyObject
* obj1
= 0 ;
7448 PyObject
* obj2
= 0 ;
7449 PyObject
* obj3
= 0 ;
7450 PyObject
* obj4
= 0 ;
7451 PyObject
* obj5
= 0 ;
7453 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
7456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7460 arg2
= (float) SWIG_PyObj_AsFloat(obj1
);
7461 if (PyErr_Occurred()) SWIG_fail
;
7466 arg3
= (float) SWIG_PyObj_AsFloat(obj2
);
7467 if (PyErr_Occurred()) SWIG_fail
;
7472 arg4
= (float) SWIG_PyObj_AsFloat(obj3
);
7473 if (PyErr_Occurred()) SWIG_fail
;
7478 arg5
= (float) SWIG_PyObj_AsFloat(obj4
);
7479 if (PyErr_Occurred()) SWIG_fail
;
7484 arg6
= (float) SWIG_PyObj_AsFloat(obj5
);
7485 if (PyErr_Occurred()) SWIG_fail
;
7489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7490 (arg1
)->SetMargins(arg2
,arg3
,arg4
,arg5
,arg6
);
7492 wxPyEndAllowThreads(__tstate
);
7493 if (PyErr_Occurred()) SWIG_fail
;
7495 Py_INCREF(Py_None
); resultobj
= Py_None
;
7502 static PyObject
*_wrap_HtmlPrintout_AddFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7503 PyObject
*resultobj
;
7504 wxHtmlFilter
*arg1
= (wxHtmlFilter
*) 0 ;
7505 PyObject
* obj0
= 0 ;
7507 (char *) "filter", NULL
7510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlPrintout_AddFilter",kwnames
,&obj0
)) goto fail
;
7511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlFilter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7514 wxHtmlPrintout::AddFilter(arg1
);
7516 wxPyEndAllowThreads(__tstate
);
7517 if (PyErr_Occurred()) SWIG_fail
;
7519 Py_INCREF(Py_None
); resultobj
= Py_None
;
7526 static PyObject
*_wrap_HtmlPrintout_CleanUpStatics(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7527 PyObject
*resultobj
;
7532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HtmlPrintout_CleanUpStatics",kwnames
)) goto fail
;
7534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7535 wxHtmlPrintout::CleanUpStatics();
7537 wxPyEndAllowThreads(__tstate
);
7538 if (PyErr_Occurred()) SWIG_fail
;
7540 Py_INCREF(Py_None
); resultobj
= Py_None
;
7547 static PyObject
* HtmlPrintout_swigregister(PyObject
*self
, PyObject
*args
) {
7549 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7550 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlPrintout
, obj
);
7552 return Py_BuildValue((char *)"");
7554 static PyObject
*_wrap_new_HtmlEasyPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7555 PyObject
*resultobj
;
7556 wxString
const &arg1_defvalue
= wxPyHtmlPrintingTitleStr
;
7557 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
7558 wxWindow
*arg2
= (wxWindow
*) NULL
;
7559 wxHtmlEasyPrinting
*result
;
7560 bool temp1
= False
;
7561 PyObject
* obj0
= 0 ;
7562 PyObject
* obj1
= 0 ;
7564 (char *) "name",(char *) "parentWindow", NULL
7567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_HtmlEasyPrinting",kwnames
,&obj0
,&obj1
)) goto fail
;
7570 arg1
= wxString_in_helper(obj0
);
7571 if (arg1
== NULL
) SWIG_fail
;
7576 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7580 result
= (wxHtmlEasyPrinting
*)new wxHtmlEasyPrinting((wxString
const &)*arg1
,arg2
);
7582 wxPyEndAllowThreads(__tstate
);
7583 if (PyErr_Occurred()) SWIG_fail
;
7585 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlEasyPrinting
, 1);
7600 static PyObject
*_wrap_delete_HtmlEasyPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7601 PyObject
*resultobj
;
7602 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
7603 PyObject
* obj0
= 0 ;
7605 (char *) "self", NULL
7608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlEasyPrinting",kwnames
,&obj0
)) goto fail
;
7609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7614 wxPyEndAllowThreads(__tstate
);
7615 if (PyErr_Occurred()) SWIG_fail
;
7617 Py_INCREF(Py_None
); resultobj
= Py_None
;
7624 static PyObject
*_wrap_HtmlEasyPrinting_PreviewFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7625 PyObject
*resultobj
;
7626 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
7627 wxString
*arg2
= 0 ;
7628 bool temp2
= False
;
7629 PyObject
* obj0
= 0 ;
7630 PyObject
* obj1
= 0 ;
7632 (char *) "self",(char *) "htmlfile", NULL
7635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7638 arg2
= wxString_in_helper(obj1
);
7639 if (arg2
== NULL
) SWIG_fail
;
7643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7644 (arg1
)->PreviewFile((wxString
const &)*arg2
);
7646 wxPyEndAllowThreads(__tstate
);
7647 if (PyErr_Occurred()) SWIG_fail
;
7649 Py_INCREF(Py_None
); resultobj
= Py_None
;
7664 static PyObject
*_wrap_HtmlEasyPrinting_PreviewText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7665 PyObject
*resultobj
;
7666 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
7667 wxString
*arg2
= 0 ;
7668 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7669 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7670 bool temp2
= False
;
7671 bool temp3
= False
;
7672 PyObject
* obj0
= 0 ;
7673 PyObject
* obj1
= 0 ;
7674 PyObject
* obj2
= 0 ;
7676 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
7679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7682 arg2
= wxString_in_helper(obj1
);
7683 if (arg2
== NULL
) SWIG_fail
;
7688 arg3
= wxString_in_helper(obj2
);
7689 if (arg3
== NULL
) SWIG_fail
;
7694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7695 (arg1
)->PreviewText((wxString
const &)*arg2
,(wxString
const &)*arg3
);
7697 wxPyEndAllowThreads(__tstate
);
7698 if (PyErr_Occurred()) SWIG_fail
;
7700 Py_INCREF(Py_None
); resultobj
= Py_None
;
7723 static PyObject
*_wrap_HtmlEasyPrinting_PrintFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7724 PyObject
*resultobj
;
7725 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
7726 wxString
*arg2
= 0 ;
7727 bool temp2
= False
;
7728 PyObject
* obj0
= 0 ;
7729 PyObject
* obj1
= 0 ;
7731 (char *) "self",(char *) "htmlfile", NULL
7734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7737 arg2
= wxString_in_helper(obj1
);
7738 if (arg2
== NULL
) SWIG_fail
;
7742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7743 (arg1
)->PrintFile((wxString
const &)*arg2
);
7745 wxPyEndAllowThreads(__tstate
);
7746 if (PyErr_Occurred()) SWIG_fail
;
7748 Py_INCREF(Py_None
); resultobj
= Py_None
;
7763 static PyObject
*_wrap_HtmlEasyPrinting_PrintText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7764 PyObject
*resultobj
;
7765 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
7766 wxString
*arg2
= 0 ;
7767 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7768 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7769 bool temp2
= False
;
7770 bool temp3
= False
;
7771 PyObject
* obj0
= 0 ;
7772 PyObject
* obj1
= 0 ;
7773 PyObject
* obj2
= 0 ;
7775 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
7778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7781 arg2
= wxString_in_helper(obj1
);
7782 if (arg2
== NULL
) SWIG_fail
;
7787 arg3
= wxString_in_helper(obj2
);
7788 if (arg3
== NULL
) SWIG_fail
;
7793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7794 (arg1
)->PrintText((wxString
const &)*arg2
,(wxString
const &)*arg3
);
7796 wxPyEndAllowThreads(__tstate
);
7797 if (PyErr_Occurred()) SWIG_fail
;
7799 Py_INCREF(Py_None
); resultobj
= Py_None
;
7822 static PyObject
*_wrap_HtmlEasyPrinting_PrinterSetup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7823 PyObject
*resultobj
;
7824 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
7825 PyObject
* obj0
= 0 ;
7827 (char *) "self", NULL
7830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlEasyPrinting_PrinterSetup",kwnames
,&obj0
)) goto fail
;
7831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7834 (arg1
)->PrinterSetup();
7836 wxPyEndAllowThreads(__tstate
);
7837 if (PyErr_Occurred()) SWIG_fail
;
7839 Py_INCREF(Py_None
); resultobj
= Py_None
;
7846 static PyObject
*_wrap_HtmlEasyPrinting_PageSetup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7847 PyObject
*resultobj
;
7848 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
7849 PyObject
* obj0
= 0 ;
7851 (char *) "self", NULL
7854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlEasyPrinting_PageSetup",kwnames
,&obj0
)) goto fail
;
7855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7858 (arg1
)->PageSetup();
7860 wxPyEndAllowThreads(__tstate
);
7861 if (PyErr_Occurred()) SWIG_fail
;
7863 Py_INCREF(Py_None
); resultobj
= Py_None
;
7870 static PyObject
*_wrap_HtmlEasyPrinting_SetHeader(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7871 PyObject
*resultobj
;
7872 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
7873 wxString
*arg2
= 0 ;
7874 int arg3
= (int) wxPAGE_ALL
;
7875 bool temp2
= False
;
7876 PyObject
* obj0
= 0 ;
7877 PyObject
* obj1
= 0 ;
7878 PyObject
* obj2
= 0 ;
7880 (char *) "self",(char *) "header",(char *) "pg", NULL
7883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7886 arg2
= wxString_in_helper(obj1
);
7887 if (arg2
== NULL
) SWIG_fail
;
7892 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7893 if (PyErr_Occurred()) SWIG_fail
;
7897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7898 (arg1
)->SetHeader((wxString
const &)*arg2
,arg3
);
7900 wxPyEndAllowThreads(__tstate
);
7901 if (PyErr_Occurred()) SWIG_fail
;
7903 Py_INCREF(Py_None
); resultobj
= Py_None
;
7918 static PyObject
*_wrap_HtmlEasyPrinting_SetFooter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7919 PyObject
*resultobj
;
7920 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
7921 wxString
*arg2
= 0 ;
7922 int arg3
= (int) wxPAGE_ALL
;
7923 bool temp2
= False
;
7924 PyObject
* obj0
= 0 ;
7925 PyObject
* obj1
= 0 ;
7926 PyObject
* obj2
= 0 ;
7928 (char *) "self",(char *) "footer",(char *) "pg", NULL
7931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7934 arg2
= wxString_in_helper(obj1
);
7935 if (arg2
== NULL
) SWIG_fail
;
7940 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7941 if (PyErr_Occurred()) SWIG_fail
;
7945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7946 (arg1
)->SetFooter((wxString
const &)*arg2
,arg3
);
7948 wxPyEndAllowThreads(__tstate
);
7949 if (PyErr_Occurred()) SWIG_fail
;
7951 Py_INCREF(Py_None
); resultobj
= Py_None
;
7966 static PyObject
*_wrap_HtmlEasyPrinting_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7967 PyObject
*resultobj
;
7968 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
7971 PyObject
*arg4
= (PyObject
*) NULL
;
7972 PyObject
* obj0
= 0 ;
7973 PyObject
* obj1
= 0 ;
7974 PyObject
* obj2
= 0 ;
7975 PyObject
* obj3
= 0 ;
7977 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
7980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7983 wxString
* sptr
= wxString_in_helper(obj1
);
7984 if (sptr
== NULL
) SWIG_fail
;
7989 wxString
* sptr
= wxString_in_helper(obj2
);
7990 if (sptr
== NULL
) SWIG_fail
;
7998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7999 wxHtmlEasyPrinting_SetFonts(arg1
,arg2
,arg3
,arg4
);
8001 wxPyEndAllowThreads(__tstate
);
8002 if (PyErr_Occurred()) SWIG_fail
;
8004 Py_INCREF(Py_None
); resultobj
= Py_None
;
8011 static PyObject
*_wrap_HtmlEasyPrinting_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8012 PyObject
*resultobj
;
8013 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
8014 wxPrintData
*result
;
8015 PyObject
* obj0
= 0 ;
8017 (char *) "self", NULL
8020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlEasyPrinting_GetPrintData",kwnames
,&obj0
)) goto fail
;
8021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8024 result
= (wxPrintData
*)(arg1
)->GetPrintData();
8026 wxPyEndAllowThreads(__tstate
);
8027 if (PyErr_Occurred()) SWIG_fail
;
8029 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
8036 static PyObject
*_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8037 PyObject
*resultobj
;
8038 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
8039 wxPageSetupDialogData
*result
;
8040 PyObject
* obj0
= 0 ;
8042 (char *) "self", NULL
8045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlEasyPrinting_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
8046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8049 result
= (wxPageSetupDialogData
*)(arg1
)->GetPageSetupData();
8051 wxPyEndAllowThreads(__tstate
);
8052 if (PyErr_Occurred()) SWIG_fail
;
8054 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialogData
, 0);
8061 static PyObject
* HtmlEasyPrinting_swigregister(PyObject
*self
, PyObject
*args
) {
8063 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8064 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlEasyPrinting
, obj
);
8066 return Py_BuildValue((char *)"");
8068 static PyObject
*_wrap_new_HtmlBookRecord(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8069 PyObject
*resultobj
;
8070 wxString
*arg1
= 0 ;
8071 wxString
*arg2
= 0 ;
8072 wxString
*arg3
= 0 ;
8073 wxString
*arg4
= 0 ;
8074 wxHtmlBookRecord
*result
;
8075 bool temp1
= False
;
8076 bool temp2
= False
;
8077 bool temp3
= False
;
8078 bool temp4
= False
;
8079 PyObject
* obj0
= 0 ;
8080 PyObject
* obj1
= 0 ;
8081 PyObject
* obj2
= 0 ;
8082 PyObject
* obj3
= 0 ;
8084 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
8087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_HtmlBookRecord",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8089 arg1
= wxString_in_helper(obj0
);
8090 if (arg1
== NULL
) SWIG_fail
;
8094 arg2
= wxString_in_helper(obj1
);
8095 if (arg2
== NULL
) SWIG_fail
;
8099 arg3
= wxString_in_helper(obj2
);
8100 if (arg3
== NULL
) SWIG_fail
;
8104 arg4
= wxString_in_helper(obj3
);
8105 if (arg4
== NULL
) SWIG_fail
;
8109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8110 result
= (wxHtmlBookRecord
*)new wxHtmlBookRecord((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
8112 wxPyEndAllowThreads(__tstate
);
8113 if (PyErr_Occurred()) SWIG_fail
;
8115 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlBookRecord
, 1);
8154 static PyObject
*_wrap_HtmlBookRecord_GetBookFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8155 PyObject
*resultobj
;
8156 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
8158 PyObject
* obj0
= 0 ;
8160 (char *) "self", NULL
8163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetBookFile",kwnames
,&obj0
)) goto fail
;
8164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlBookRecord
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8167 result
= (arg1
)->GetBookFile();
8169 wxPyEndAllowThreads(__tstate
);
8170 if (PyErr_Occurred()) SWIG_fail
;
8174 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8176 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8185 static PyObject
*_wrap_HtmlBookRecord_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8186 PyObject
*resultobj
;
8187 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
8189 PyObject
* obj0
= 0 ;
8191 (char *) "self", NULL
8194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetTitle",kwnames
,&obj0
)) goto fail
;
8195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlBookRecord
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8198 result
= (arg1
)->GetTitle();
8200 wxPyEndAllowThreads(__tstate
);
8201 if (PyErr_Occurred()) SWIG_fail
;
8205 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8207 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8216 static PyObject
*_wrap_HtmlBookRecord_GetStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8217 PyObject
*resultobj
;
8218 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
8220 PyObject
* obj0
= 0 ;
8222 (char *) "self", NULL
8225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetStart",kwnames
,&obj0
)) goto fail
;
8226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlBookRecord
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8229 result
= (arg1
)->GetStart();
8231 wxPyEndAllowThreads(__tstate
);
8232 if (PyErr_Occurred()) SWIG_fail
;
8236 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8238 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8247 static PyObject
*_wrap_HtmlBookRecord_GetBasePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8248 PyObject
*resultobj
;
8249 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
8251 PyObject
* obj0
= 0 ;
8253 (char *) "self", NULL
8256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetBasePath",kwnames
,&obj0
)) goto fail
;
8257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlBookRecord
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8260 result
= (arg1
)->GetBasePath();
8262 wxPyEndAllowThreads(__tstate
);
8263 if (PyErr_Occurred()) SWIG_fail
;
8267 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8269 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8278 static PyObject
*_wrap_HtmlBookRecord_SetContentsRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8279 PyObject
*resultobj
;
8280 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
8283 PyObject
* obj0
= 0 ;
8284 PyObject
* obj1
= 0 ;
8285 PyObject
* obj2
= 0 ;
8287 (char *) "self",(char *) "start",(char *) "end", NULL
8290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlBookRecord
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8293 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8294 if (PyErr_Occurred()) SWIG_fail
;
8297 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8298 if (PyErr_Occurred()) SWIG_fail
;
8301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8302 (arg1
)->SetContentsRange(arg2
,arg3
);
8304 wxPyEndAllowThreads(__tstate
);
8305 if (PyErr_Occurred()) SWIG_fail
;
8307 Py_INCREF(Py_None
); resultobj
= Py_None
;
8314 static PyObject
*_wrap_HtmlBookRecord_GetContentsStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8315 PyObject
*resultobj
;
8316 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
8318 PyObject
* obj0
= 0 ;
8320 (char *) "self", NULL
8323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetContentsStart",kwnames
,&obj0
)) goto fail
;
8324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlBookRecord
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8327 result
= (int)(arg1
)->GetContentsStart();
8329 wxPyEndAllowThreads(__tstate
);
8330 if (PyErr_Occurred()) SWIG_fail
;
8332 resultobj
= SWIG_PyObj_FromInt((int)result
);
8339 static PyObject
*_wrap_HtmlBookRecord_GetContentsEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8340 PyObject
*resultobj
;
8341 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
8343 PyObject
* obj0
= 0 ;
8345 (char *) "self", NULL
8348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetContentsEnd",kwnames
,&obj0
)) goto fail
;
8349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlBookRecord
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8352 result
= (int)(arg1
)->GetContentsEnd();
8354 wxPyEndAllowThreads(__tstate
);
8355 if (PyErr_Occurred()) SWIG_fail
;
8357 resultobj
= SWIG_PyObj_FromInt((int)result
);
8364 static PyObject
*_wrap_HtmlBookRecord_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8365 PyObject
*resultobj
;
8366 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
8367 wxString
*arg2
= 0 ;
8368 bool temp2
= False
;
8369 PyObject
* obj0
= 0 ;
8370 PyObject
* obj1
= 0 ;
8372 (char *) "self",(char *) "title", NULL
8375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
8376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlBookRecord
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8378 arg2
= wxString_in_helper(obj1
);
8379 if (arg2
== NULL
) SWIG_fail
;
8383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8384 (arg1
)->SetTitle((wxString
const &)*arg2
);
8386 wxPyEndAllowThreads(__tstate
);
8387 if (PyErr_Occurred()) SWIG_fail
;
8389 Py_INCREF(Py_None
); resultobj
= Py_None
;
8404 static PyObject
*_wrap_HtmlBookRecord_SetBasePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8405 PyObject
*resultobj
;
8406 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
8407 wxString
*arg2
= 0 ;
8408 bool temp2
= False
;
8409 PyObject
* obj0
= 0 ;
8410 PyObject
* obj1
= 0 ;
8412 (char *) "self",(char *) "path", NULL
8415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames
,&obj0
,&obj1
)) goto fail
;
8416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlBookRecord
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8418 arg2
= wxString_in_helper(obj1
);
8419 if (arg2
== NULL
) SWIG_fail
;
8423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8424 (arg1
)->SetBasePath((wxString
const &)*arg2
);
8426 wxPyEndAllowThreads(__tstate
);
8427 if (PyErr_Occurred()) SWIG_fail
;
8429 Py_INCREF(Py_None
); resultobj
= Py_None
;
8444 static PyObject
*_wrap_HtmlBookRecord_SetStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8445 PyObject
*resultobj
;
8446 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
8447 wxString
*arg2
= 0 ;
8448 bool temp2
= False
;
8449 PyObject
* obj0
= 0 ;
8450 PyObject
* obj1
= 0 ;
8452 (char *) "self",(char *) "start", NULL
8455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetStart",kwnames
,&obj0
,&obj1
)) goto fail
;
8456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlBookRecord
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8458 arg2
= wxString_in_helper(obj1
);
8459 if (arg2
== NULL
) SWIG_fail
;
8463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8464 (arg1
)->SetStart((wxString
const &)*arg2
);
8466 wxPyEndAllowThreads(__tstate
);
8467 if (PyErr_Occurred()) SWIG_fail
;
8469 Py_INCREF(Py_None
); resultobj
= Py_None
;
8484 static PyObject
*_wrap_HtmlBookRecord_GetFullPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8485 PyObject
*resultobj
;
8486 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
8487 wxString
*arg2
= 0 ;
8489 bool temp2
= False
;
8490 PyObject
* obj0
= 0 ;
8491 PyObject
* obj1
= 0 ;
8493 (char *) "self",(char *) "page", NULL
8496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames
,&obj0
,&obj1
)) goto fail
;
8497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlBookRecord
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8499 arg2
= wxString_in_helper(obj1
);
8500 if (arg2
== NULL
) SWIG_fail
;
8504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8505 result
= ((wxHtmlBookRecord
const *)arg1
)->GetFullPath((wxString
const &)*arg2
);
8507 wxPyEndAllowThreads(__tstate
);
8508 if (PyErr_Occurred()) SWIG_fail
;
8512 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8514 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8531 static PyObject
* HtmlBookRecord_swigregister(PyObject
*self
, PyObject
*args
) {
8533 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8534 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlBookRecord
, obj
);
8536 return Py_BuildValue((char *)"");
8538 static PyObject
*_wrap_HtmlContentsItem_GetLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8539 PyObject
*resultobj
;
8540 wxHtmlContentsItem
*arg1
= (wxHtmlContentsItem
*) 0 ;
8542 PyObject
* obj0
= 0 ;
8544 (char *) "self", NULL
8547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContentsItem_GetLevel",kwnames
,&obj0
)) goto fail
;
8548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlContentsItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8551 result
= (int)wxHtmlContentsItem_GetLevel(arg1
);
8553 wxPyEndAllowThreads(__tstate
);
8554 if (PyErr_Occurred()) SWIG_fail
;
8556 resultobj
= SWIG_PyObj_FromInt((int)result
);
8563 static PyObject
*_wrap_HtmlContentsItem_GetID(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8564 PyObject
*resultobj
;
8565 wxHtmlContentsItem
*arg1
= (wxHtmlContentsItem
*) 0 ;
8567 PyObject
* obj0
= 0 ;
8569 (char *) "self", NULL
8572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContentsItem_GetID",kwnames
,&obj0
)) goto fail
;
8573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlContentsItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8576 result
= (int)wxHtmlContentsItem_GetID(arg1
);
8578 wxPyEndAllowThreads(__tstate
);
8579 if (PyErr_Occurred()) SWIG_fail
;
8581 resultobj
= SWIG_PyObj_FromInt((int)result
);
8588 static PyObject
*_wrap_HtmlContentsItem_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8589 PyObject
*resultobj
;
8590 wxHtmlContentsItem
*arg1
= (wxHtmlContentsItem
*) 0 ;
8592 PyObject
* obj0
= 0 ;
8594 (char *) "self", NULL
8597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContentsItem_GetName",kwnames
,&obj0
)) goto fail
;
8598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlContentsItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8601 result
= wxHtmlContentsItem_GetName(arg1
);
8603 wxPyEndAllowThreads(__tstate
);
8604 if (PyErr_Occurred()) SWIG_fail
;
8608 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8610 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8619 static PyObject
*_wrap_HtmlContentsItem_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8620 PyObject
*resultobj
;
8621 wxHtmlContentsItem
*arg1
= (wxHtmlContentsItem
*) 0 ;
8623 PyObject
* obj0
= 0 ;
8625 (char *) "self", NULL
8628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContentsItem_GetPage",kwnames
,&obj0
)) goto fail
;
8629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlContentsItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8632 result
= wxHtmlContentsItem_GetPage(arg1
);
8634 wxPyEndAllowThreads(__tstate
);
8635 if (PyErr_Occurred()) SWIG_fail
;
8639 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8641 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8650 static PyObject
*_wrap_HtmlContentsItem_GetBook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8651 PyObject
*resultobj
;
8652 wxHtmlContentsItem
*arg1
= (wxHtmlContentsItem
*) 0 ;
8653 wxHtmlBookRecord
*result
;
8654 PyObject
* obj0
= 0 ;
8656 (char *) "self", NULL
8659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContentsItem_GetBook",kwnames
,&obj0
)) goto fail
;
8660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlContentsItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8663 result
= (wxHtmlBookRecord
*)wxHtmlContentsItem_GetBook(arg1
);
8665 wxPyEndAllowThreads(__tstate
);
8666 if (PyErr_Occurred()) SWIG_fail
;
8668 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlBookRecord
, 0);
8675 static PyObject
* HtmlContentsItem_swigregister(PyObject
*self
, PyObject
*args
) {
8677 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8678 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContentsItem
, obj
);
8680 return Py_BuildValue((char *)"");
8682 static PyObject
*_wrap_HtmlSearchStatus_Search(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8683 PyObject
*resultobj
;
8684 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
8686 PyObject
* obj0
= 0 ;
8688 (char *) "self", NULL
8691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_Search",kwnames
,&obj0
)) goto fail
;
8692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlSearchStatus
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8695 result
= (bool)(arg1
)->Search();
8697 wxPyEndAllowThreads(__tstate
);
8698 if (PyErr_Occurred()) SWIG_fail
;
8700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8707 static PyObject
*_wrap_HtmlSearchStatus_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8708 PyObject
*resultobj
;
8709 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
8711 PyObject
* obj0
= 0 ;
8713 (char *) "self", NULL
8716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_IsActive",kwnames
,&obj0
)) goto fail
;
8717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlSearchStatus
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8720 result
= (bool)(arg1
)->IsActive();
8722 wxPyEndAllowThreads(__tstate
);
8723 if (PyErr_Occurred()) SWIG_fail
;
8725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8732 static PyObject
*_wrap_HtmlSearchStatus_GetCurIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8733 PyObject
*resultobj
;
8734 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
8736 PyObject
* obj0
= 0 ;
8738 (char *) "self", NULL
8741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_GetCurIndex",kwnames
,&obj0
)) goto fail
;
8742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlSearchStatus
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8745 result
= (int)(arg1
)->GetCurIndex();
8747 wxPyEndAllowThreads(__tstate
);
8748 if (PyErr_Occurred()) SWIG_fail
;
8750 resultobj
= SWIG_PyObj_FromInt((int)result
);
8757 static PyObject
*_wrap_HtmlSearchStatus_GetMaxIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8758 PyObject
*resultobj
;
8759 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
8761 PyObject
* obj0
= 0 ;
8763 (char *) "self", NULL
8766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_GetMaxIndex",kwnames
,&obj0
)) goto fail
;
8767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlSearchStatus
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8770 result
= (int)(arg1
)->GetMaxIndex();
8772 wxPyEndAllowThreads(__tstate
);
8773 if (PyErr_Occurred()) SWIG_fail
;
8775 resultobj
= SWIG_PyObj_FromInt((int)result
);
8782 static PyObject
*_wrap_HtmlSearchStatus_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8783 PyObject
*resultobj
;
8784 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
8786 PyObject
* obj0
= 0 ;
8788 (char *) "self", NULL
8791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_GetName",kwnames
,&obj0
)) goto fail
;
8792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlSearchStatus
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8796 wxString
const &_result_ref
= (arg1
)->GetName();
8797 result
= (wxString
*) &_result_ref
;
8800 wxPyEndAllowThreads(__tstate
);
8801 if (PyErr_Occurred()) SWIG_fail
;
8805 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8807 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8816 static PyObject
*_wrap_HtmlSearchStatus_GetContentsItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8817 PyObject
*resultobj
;
8818 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
8819 wxHtmlContentsItem
*result
;
8820 PyObject
* obj0
= 0 ;
8822 (char *) "self", NULL
8825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_GetContentsItem",kwnames
,&obj0
)) goto fail
;
8826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlSearchStatus
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8829 result
= (wxHtmlContentsItem
*)(arg1
)->GetContentsItem();
8831 wxPyEndAllowThreads(__tstate
);
8832 if (PyErr_Occurred()) SWIG_fail
;
8834 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlContentsItem
, 0);
8841 static PyObject
* HtmlSearchStatus_swigregister(PyObject
*self
, PyObject
*args
) {
8843 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8844 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSearchStatus
, obj
);
8846 return Py_BuildValue((char *)"");
8848 static PyObject
*_wrap_new_HtmlHelpData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8849 PyObject
*resultobj
;
8850 wxHtmlHelpData
*result
;
8855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlHelpData",kwnames
)) goto fail
;
8857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8858 result
= (wxHtmlHelpData
*)new wxHtmlHelpData();
8860 wxPyEndAllowThreads(__tstate
);
8861 if (PyErr_Occurred()) SWIG_fail
;
8863 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlHelpData
, 1);
8870 static PyObject
*_wrap_delete_HtmlHelpData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8871 PyObject
*resultobj
;
8872 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
8873 PyObject
* obj0
= 0 ;
8875 (char *) "self", NULL
8878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlHelpData",kwnames
,&obj0
)) goto fail
;
8879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8884 wxPyEndAllowThreads(__tstate
);
8885 if (PyErr_Occurred()) SWIG_fail
;
8887 Py_INCREF(Py_None
); resultobj
= Py_None
;
8894 static PyObject
*_wrap_HtmlHelpData_SetTempDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8895 PyObject
*resultobj
;
8896 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
8897 wxString
*arg2
= 0 ;
8898 bool temp2
= False
;
8899 PyObject
* obj0
= 0 ;
8900 PyObject
* obj1
= 0 ;
8902 (char *) "self",(char *) "path", NULL
8905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_SetTempDir",kwnames
,&obj0
,&obj1
)) goto fail
;
8906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8908 arg2
= wxString_in_helper(obj1
);
8909 if (arg2
== NULL
) SWIG_fail
;
8913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8914 (arg1
)->SetTempDir((wxString
const &)*arg2
);
8916 wxPyEndAllowThreads(__tstate
);
8917 if (PyErr_Occurred()) SWIG_fail
;
8919 Py_INCREF(Py_None
); resultobj
= Py_None
;
8934 static PyObject
*_wrap_HtmlHelpData_AddBook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8935 PyObject
*resultobj
;
8936 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
8937 wxString
*arg2
= 0 ;
8939 bool temp2
= False
;
8940 PyObject
* obj0
= 0 ;
8941 PyObject
* obj1
= 0 ;
8943 (char *) "self",(char *) "book", NULL
8946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_AddBook",kwnames
,&obj0
,&obj1
)) goto fail
;
8947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8949 arg2
= wxString_in_helper(obj1
);
8950 if (arg2
== NULL
) SWIG_fail
;
8954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8955 result
= (bool)(arg1
)->AddBook((wxString
const &)*arg2
);
8957 wxPyEndAllowThreads(__tstate
);
8958 if (PyErr_Occurred()) SWIG_fail
;
8960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8975 static PyObject
*_wrap_HtmlHelpData_FindPageByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8976 PyObject
*resultobj
;
8977 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
8978 wxString
*arg2
= 0 ;
8980 bool temp2
= False
;
8981 PyObject
* obj0
= 0 ;
8982 PyObject
* obj1
= 0 ;
8984 (char *) "self",(char *) "page", NULL
8987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_FindPageByName",kwnames
,&obj0
,&obj1
)) goto fail
;
8988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8990 arg2
= wxString_in_helper(obj1
);
8991 if (arg2
== NULL
) SWIG_fail
;
8995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8996 result
= (arg1
)->FindPageByName((wxString
const &)*arg2
);
8998 wxPyEndAllowThreads(__tstate
);
8999 if (PyErr_Occurred()) SWIG_fail
;
9003 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9005 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9022 static PyObject
*_wrap_HtmlHelpData_FindPageById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9023 PyObject
*resultobj
;
9024 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
9027 PyObject
* obj0
= 0 ;
9028 PyObject
* obj1
= 0 ;
9030 (char *) "self",(char *) "id", NULL
9033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_FindPageById",kwnames
,&obj0
,&obj1
)) goto fail
;
9034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9036 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9037 if (PyErr_Occurred()) SWIG_fail
;
9040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9041 result
= (arg1
)->FindPageById(arg2
);
9043 wxPyEndAllowThreads(__tstate
);
9044 if (PyErr_Occurred()) SWIG_fail
;
9048 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9050 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9059 static PyObject
*_wrap_HtmlHelpData_GetBookRecArray(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9060 PyObject
*resultobj
;
9061 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
9062 wxHtmlBookRecArray
*result
;
9063 PyObject
* obj0
= 0 ;
9065 (char *) "self", NULL
9068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpData_GetBookRecArray",kwnames
,&obj0
)) goto fail
;
9069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9073 wxHtmlBookRecArray
const &_result_ref
= (arg1
)->GetBookRecArray();
9074 result
= (wxHtmlBookRecArray
*) &_result_ref
;
9077 wxPyEndAllowThreads(__tstate
);
9078 if (PyErr_Occurred()) SWIG_fail
;
9080 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlBookRecArray
, 0);
9087 static PyObject
*_wrap_HtmlHelpData_GetContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9088 PyObject
*resultobj
;
9089 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
9090 wxHtmlContentsItem
*result
;
9091 PyObject
* obj0
= 0 ;
9093 (char *) "self", NULL
9096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpData_GetContents",kwnames
,&obj0
)) goto fail
;
9097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9100 result
= (wxHtmlContentsItem
*)(arg1
)->GetContents();
9102 wxPyEndAllowThreads(__tstate
);
9103 if (PyErr_Occurred()) SWIG_fail
;
9105 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlContentsItem
, 0);
9112 static PyObject
*_wrap_HtmlHelpData_GetContentsCnt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9113 PyObject
*resultobj
;
9114 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
9116 PyObject
* obj0
= 0 ;
9118 (char *) "self", NULL
9121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpData_GetContentsCnt",kwnames
,&obj0
)) goto fail
;
9122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9125 result
= (int)(arg1
)->GetContentsCnt();
9127 wxPyEndAllowThreads(__tstate
);
9128 if (PyErr_Occurred()) SWIG_fail
;
9130 resultobj
= SWIG_PyObj_FromInt((int)result
);
9137 static PyObject
*_wrap_HtmlHelpData_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9138 PyObject
*resultobj
;
9139 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
9140 wxHtmlContentsItem
*result
;
9141 PyObject
* obj0
= 0 ;
9143 (char *) "self", NULL
9146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpData_GetIndex",kwnames
,&obj0
)) goto fail
;
9147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9150 result
= (wxHtmlContentsItem
*)(arg1
)->GetIndex();
9152 wxPyEndAllowThreads(__tstate
);
9153 if (PyErr_Occurred()) SWIG_fail
;
9155 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlContentsItem
, 0);
9162 static PyObject
*_wrap_HtmlHelpData_GetIndexCnt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9163 PyObject
*resultobj
;
9164 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
9166 PyObject
* obj0
= 0 ;
9168 (char *) "self", NULL
9171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpData_GetIndexCnt",kwnames
,&obj0
)) goto fail
;
9172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9175 result
= (int)(arg1
)->GetIndexCnt();
9177 wxPyEndAllowThreads(__tstate
);
9178 if (PyErr_Occurred()) SWIG_fail
;
9180 resultobj
= SWIG_PyObj_FromInt((int)result
);
9187 static PyObject
* HtmlHelpData_swigregister(PyObject
*self
, PyObject
*args
) {
9189 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9190 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpData
, obj
);
9192 return Py_BuildValue((char *)"");
9194 static PyObject
*_wrap_new_HtmlHelpFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9195 PyObject
*resultobj
;
9196 wxWindow
*arg1
= (wxWindow
*) 0 ;
9198 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9199 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9200 int arg4
= (int) wxHF_DEFAULTSTYLE
;
9201 wxHtmlHelpData
*arg5
= (wxHtmlHelpData
*) NULL
;
9202 wxHtmlHelpFrame
*result
;
9203 bool temp3
= False
;
9204 PyObject
* obj0
= 0 ;
9205 PyObject
* obj1
= 0 ;
9206 PyObject
* obj2
= 0 ;
9207 PyObject
* obj3
= 0 ;
9208 PyObject
* obj4
= 0 ;
9210 (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL
9213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9216 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9217 if (PyErr_Occurred()) SWIG_fail
;
9221 arg3
= wxString_in_helper(obj2
);
9222 if (arg3
== NULL
) SWIG_fail
;
9228 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9229 if (PyErr_Occurred()) SWIG_fail
;
9233 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxHtmlHelpData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9237 result
= (wxHtmlHelpFrame
*)new wxHtmlHelpFrame(arg1
,arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
9239 wxPyEndAllowThreads(__tstate
);
9240 if (PyErr_Occurred()) SWIG_fail
;
9242 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlHelpFrame
, 1);
9257 static PyObject
*_wrap_HtmlHelpFrame_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9258 PyObject
*resultobj
;
9259 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
9260 wxHtmlHelpData
*result
;
9261 PyObject
* obj0
= 0 ;
9263 (char *) "self", NULL
9266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpFrame_GetData",kwnames
,&obj0
)) goto fail
;
9267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9270 result
= (wxHtmlHelpData
*)(arg1
)->GetData();
9272 wxPyEndAllowThreads(__tstate
);
9273 if (PyErr_Occurred()) SWIG_fail
;
9275 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlHelpData
, 0);
9282 static PyObject
*_wrap_HtmlHelpFrame_SetTitleFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9283 PyObject
*resultobj
;
9284 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
9285 wxString
*arg2
= 0 ;
9286 bool temp2
= False
;
9287 PyObject
* obj0
= 0 ;
9288 PyObject
* obj1
= 0 ;
9290 (char *) "self",(char *) "format", NULL
9293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
9294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9296 arg2
= wxString_in_helper(obj1
);
9297 if (arg2
== NULL
) SWIG_fail
;
9301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9302 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
9304 wxPyEndAllowThreads(__tstate
);
9305 if (PyErr_Occurred()) SWIG_fail
;
9307 Py_INCREF(Py_None
); resultobj
= Py_None
;
9322 static PyObject
*_wrap_HtmlHelpFrame_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9323 PyObject
*resultobj
;
9324 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
9325 wxString
*arg2
= 0 ;
9326 bool temp2
= False
;
9327 PyObject
* obj0
= 0 ;
9328 PyObject
* obj1
= 0 ;
9330 (char *) "self",(char *) "x", NULL
9333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_Display",kwnames
,&obj0
,&obj1
)) goto fail
;
9334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9336 arg2
= wxString_in_helper(obj1
);
9337 if (arg2
== NULL
) SWIG_fail
;
9341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9342 (arg1
)->Display((wxString
const &)*arg2
);
9344 wxPyEndAllowThreads(__tstate
);
9345 if (PyErr_Occurred()) SWIG_fail
;
9347 Py_INCREF(Py_None
); resultobj
= Py_None
;
9362 static PyObject
*_wrap_HtmlHelpFrame_DisplayID(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9363 PyObject
*resultobj
;
9364 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
9366 PyObject
* obj0
= 0 ;
9367 PyObject
* obj1
= 0 ;
9369 (char *) "self",(char *) "id", NULL
9372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_DisplayID",kwnames
,&obj0
,&obj1
)) goto fail
;
9373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9375 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9376 if (PyErr_Occurred()) SWIG_fail
;
9379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9380 (arg1
)->Display(arg2
);
9382 wxPyEndAllowThreads(__tstate
);
9383 if (PyErr_Occurred()) SWIG_fail
;
9385 Py_INCREF(Py_None
); resultobj
= Py_None
;
9392 static PyObject
*_wrap_HtmlHelpFrame_DisplayContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9393 PyObject
*resultobj
;
9394 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
9395 PyObject
* obj0
= 0 ;
9397 (char *) "self", NULL
9400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpFrame_DisplayContents",kwnames
,&obj0
)) goto fail
;
9401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9404 (arg1
)->DisplayContents();
9406 wxPyEndAllowThreads(__tstate
);
9407 if (PyErr_Occurred()) SWIG_fail
;
9409 Py_INCREF(Py_None
); resultobj
= Py_None
;
9416 static PyObject
*_wrap_HtmlHelpFrame_DisplayIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9417 PyObject
*resultobj
;
9418 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
9419 PyObject
* obj0
= 0 ;
9421 (char *) "self", NULL
9424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpFrame_DisplayIndex",kwnames
,&obj0
)) goto fail
;
9425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9428 (arg1
)->DisplayIndex();
9430 wxPyEndAllowThreads(__tstate
);
9431 if (PyErr_Occurred()) SWIG_fail
;
9433 Py_INCREF(Py_None
); resultobj
= Py_None
;
9440 static PyObject
*_wrap_HtmlHelpFrame_KeywordSearch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9441 PyObject
*resultobj
;
9442 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
9443 wxString
*arg2
= 0 ;
9445 bool temp2
= False
;
9446 PyObject
* obj0
= 0 ;
9447 PyObject
* obj1
= 0 ;
9449 (char *) "self",(char *) "keyword", NULL
9452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_KeywordSearch",kwnames
,&obj0
,&obj1
)) goto fail
;
9453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9455 arg2
= wxString_in_helper(obj1
);
9456 if (arg2
== NULL
) SWIG_fail
;
9460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9461 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
);
9463 wxPyEndAllowThreads(__tstate
);
9464 if (PyErr_Occurred()) SWIG_fail
;
9466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9481 static PyObject
*_wrap_HtmlHelpFrame_UseConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9482 PyObject
*resultobj
;
9483 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
9484 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
9485 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9486 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9487 bool temp3
= False
;
9488 PyObject
* obj0
= 0 ;
9489 PyObject
* obj1
= 0 ;
9490 PyObject
* obj2
= 0 ;
9492 (char *) "self",(char *) "config",(char *) "rootpath", NULL
9495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpFrame_UseConfig",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9497 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9500 arg3
= wxString_in_helper(obj2
);
9501 if (arg3
== NULL
) SWIG_fail
;
9506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9507 (arg1
)->UseConfig(arg2
,(wxString
const &)*arg3
);
9509 wxPyEndAllowThreads(__tstate
);
9510 if (PyErr_Occurred()) SWIG_fail
;
9512 Py_INCREF(Py_None
); resultobj
= Py_None
;
9527 static PyObject
*_wrap_HtmlHelpFrame_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9528 PyObject
*resultobj
;
9529 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
9530 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
9531 wxString arg3
= (wxString
) wxPyEmptyString
;
9532 PyObject
* obj0
= 0 ;
9533 PyObject
* obj1
= 0 ;
9534 PyObject
* obj2
= 0 ;
9536 (char *) "self",(char *) "cfg",(char *) "path", NULL
9539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpFrame_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9541 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9544 wxString
* sptr
= wxString_in_helper(obj2
);
9545 if (sptr
== NULL
) SWIG_fail
;
9551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9552 (arg1
)->ReadCustomization(arg2
,arg3
);
9554 wxPyEndAllowThreads(__tstate
);
9555 if (PyErr_Occurred()) SWIG_fail
;
9557 Py_INCREF(Py_None
); resultobj
= Py_None
;
9564 static PyObject
*_wrap_HtmlHelpFrame_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9565 PyObject
*resultobj
;
9566 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
9567 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
9568 wxString arg3
= (wxString
) wxPyEmptyString
;
9569 PyObject
* obj0
= 0 ;
9570 PyObject
* obj1
= 0 ;
9571 PyObject
* obj2
= 0 ;
9573 (char *) "self",(char *) "cfg",(char *) "path", NULL
9576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpFrame_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9578 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9581 wxString
* sptr
= wxString_in_helper(obj2
);
9582 if (sptr
== NULL
) SWIG_fail
;
9588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9589 (arg1
)->WriteCustomization(arg2
,arg3
);
9591 wxPyEndAllowThreads(__tstate
);
9592 if (PyErr_Occurred()) SWIG_fail
;
9594 Py_INCREF(Py_None
); resultobj
= Py_None
;
9601 static PyObject
* HtmlHelpFrame_swigregister(PyObject
*self
, PyObject
*args
) {
9603 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9604 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpFrame
, obj
);
9606 return Py_BuildValue((char *)"");
9608 static PyObject
*_wrap_new_HtmlHelpController(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9609 PyObject
*resultobj
;
9610 int arg1
= (int) wxHF_DEFAULTSTYLE
;
9611 wxHtmlHelpController
*result
;
9612 PyObject
* obj0
= 0 ;
9614 (char *) "style", NULL
9617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_HtmlHelpController",kwnames
,&obj0
)) goto fail
;
9620 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
9621 if (PyErr_Occurred()) SWIG_fail
;
9625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9626 result
= (wxHtmlHelpController
*)new wxHtmlHelpController(arg1
);
9628 wxPyEndAllowThreads(__tstate
);
9629 if (PyErr_Occurred()) SWIG_fail
;
9631 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlHelpController
, 1);
9638 static PyObject
*_wrap_delete_HtmlHelpController(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9639 PyObject
*resultobj
;
9640 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
9641 PyObject
* obj0
= 0 ;
9643 (char *) "self", NULL
9646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlHelpController",kwnames
,&obj0
)) goto fail
;
9647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpController
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9652 wxPyEndAllowThreads(__tstate
);
9653 if (PyErr_Occurred()) SWIG_fail
;
9655 Py_INCREF(Py_None
); resultobj
= Py_None
;
9662 static PyObject
*_wrap_HtmlHelpController_SetTitleFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9663 PyObject
*resultobj
;
9664 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
9665 wxString
*arg2
= 0 ;
9666 bool temp2
= False
;
9667 PyObject
* obj0
= 0 ;
9668 PyObject
* obj1
= 0 ;
9670 (char *) "self",(char *) "format", NULL
9673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
9674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpController
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9676 arg2
= wxString_in_helper(obj1
);
9677 if (arg2
== NULL
) SWIG_fail
;
9681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9682 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
9684 wxPyEndAllowThreads(__tstate
);
9685 if (PyErr_Occurred()) SWIG_fail
;
9687 Py_INCREF(Py_None
); resultobj
= Py_None
;
9702 static PyObject
*_wrap_HtmlHelpController_SetTempDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9703 PyObject
*resultobj
;
9704 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
9705 wxString
*arg2
= 0 ;
9706 bool temp2
= False
;
9707 PyObject
* obj0
= 0 ;
9708 PyObject
* obj1
= 0 ;
9710 (char *) "self",(char *) "path", NULL
9713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetTempDir",kwnames
,&obj0
,&obj1
)) goto fail
;
9714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpController
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9716 arg2
= wxString_in_helper(obj1
);
9717 if (arg2
== NULL
) SWIG_fail
;
9721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9722 (arg1
)->SetTempDir((wxString
const &)*arg2
);
9724 wxPyEndAllowThreads(__tstate
);
9725 if (PyErr_Occurred()) SWIG_fail
;
9727 Py_INCREF(Py_None
); resultobj
= Py_None
;
9742 static PyObject
*_wrap_HtmlHelpController_AddBook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9743 PyObject
*resultobj
;
9744 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
9745 wxString
*arg2
= 0 ;
9746 int arg3
= (int) False
;
9748 bool temp2
= False
;
9749 PyObject
* obj0
= 0 ;
9750 PyObject
* obj1
= 0 ;
9751 PyObject
* obj2
= 0 ;
9753 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
9756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_AddBook",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpController
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9759 arg2
= wxString_in_helper(obj1
);
9760 if (arg2
== NULL
) SWIG_fail
;
9765 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9766 if (PyErr_Occurred()) SWIG_fail
;
9770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9771 result
= (bool)(arg1
)->AddBook((wxString
const &)*arg2
,arg3
);
9773 wxPyEndAllowThreads(__tstate
);
9774 if (PyErr_Occurred()) SWIG_fail
;
9776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9791 static PyObject
*_wrap_HtmlHelpController_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9792 PyObject
*resultobj
;
9793 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
9794 wxString
*arg2
= 0 ;
9795 bool temp2
= False
;
9796 PyObject
* obj0
= 0 ;
9797 PyObject
* obj1
= 0 ;
9799 (char *) "self",(char *) "x", NULL
9802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_Display",kwnames
,&obj0
,&obj1
)) goto fail
;
9803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpController
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9805 arg2
= wxString_in_helper(obj1
);
9806 if (arg2
== NULL
) SWIG_fail
;
9810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9811 (arg1
)->Display((wxString
const &)*arg2
);
9813 wxPyEndAllowThreads(__tstate
);
9814 if (PyErr_Occurred()) SWIG_fail
;
9816 Py_INCREF(Py_None
); resultobj
= Py_None
;
9831 static PyObject
*_wrap_HtmlHelpController_DisplayID(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9832 PyObject
*resultobj
;
9833 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
9835 PyObject
* obj0
= 0 ;
9836 PyObject
* obj1
= 0 ;
9838 (char *) "self",(char *) "id", NULL
9841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_DisplayID",kwnames
,&obj0
,&obj1
)) goto fail
;
9842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpController
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9844 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9845 if (PyErr_Occurred()) SWIG_fail
;
9848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9849 (arg1
)->Display(arg2
);
9851 wxPyEndAllowThreads(__tstate
);
9852 if (PyErr_Occurred()) SWIG_fail
;
9854 Py_INCREF(Py_None
); resultobj
= Py_None
;
9861 static PyObject
*_wrap_HtmlHelpController_DisplayContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9862 PyObject
*resultobj
;
9863 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
9864 PyObject
* obj0
= 0 ;
9866 (char *) "self", NULL
9869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpController_DisplayContents",kwnames
,&obj0
)) goto fail
;
9870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpController
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9873 (arg1
)->DisplayContents();
9875 wxPyEndAllowThreads(__tstate
);
9876 if (PyErr_Occurred()) SWIG_fail
;
9878 Py_INCREF(Py_None
); resultobj
= Py_None
;
9885 static PyObject
*_wrap_HtmlHelpController_DisplayIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9886 PyObject
*resultobj
;
9887 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
9888 PyObject
* obj0
= 0 ;
9890 (char *) "self", NULL
9893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpController_DisplayIndex",kwnames
,&obj0
)) goto fail
;
9894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpController
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9897 (arg1
)->DisplayIndex();
9899 wxPyEndAllowThreads(__tstate
);
9900 if (PyErr_Occurred()) SWIG_fail
;
9902 Py_INCREF(Py_None
); resultobj
= Py_None
;
9909 static PyObject
*_wrap_HtmlHelpController_KeywordSearch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9910 PyObject
*resultobj
;
9911 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
9912 wxString
*arg2
= 0 ;
9914 bool temp2
= False
;
9915 PyObject
* obj0
= 0 ;
9916 PyObject
* obj1
= 0 ;
9918 (char *) "self",(char *) "keyword", NULL
9921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames
,&obj0
,&obj1
)) goto fail
;
9922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpController
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9924 arg2
= wxString_in_helper(obj1
);
9925 if (arg2
== NULL
) SWIG_fail
;
9929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9930 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
);
9932 wxPyEndAllowThreads(__tstate
);
9933 if (PyErr_Occurred()) SWIG_fail
;
9935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9950 static PyObject
*_wrap_HtmlHelpController_UseConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9951 PyObject
*resultobj
;
9952 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
9953 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
9954 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9955 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9956 bool temp3
= False
;
9957 PyObject
* obj0
= 0 ;
9958 PyObject
* obj1
= 0 ;
9959 PyObject
* obj2
= 0 ;
9961 (char *) "self",(char *) "config",(char *) "rootpath", NULL
9964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpController
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9966 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9969 arg3
= wxString_in_helper(obj2
);
9970 if (arg3
== NULL
) SWIG_fail
;
9975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9976 (arg1
)->UseConfig(arg2
,(wxString
const &)*arg3
);
9978 wxPyEndAllowThreads(__tstate
);
9979 if (PyErr_Occurred()) SWIG_fail
;
9981 Py_INCREF(Py_None
); resultobj
= Py_None
;
9996 static PyObject
*_wrap_HtmlHelpController_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9997 PyObject
*resultobj
;
9998 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
9999 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
10000 wxString arg3
= (wxString
) wxPyEmptyString
;
10001 PyObject
* obj0
= 0 ;
10002 PyObject
* obj1
= 0 ;
10003 PyObject
* obj2
= 0 ;
10004 char *kwnames
[] = {
10005 (char *) "self",(char *) "cfg",(char *) "path", NULL
10008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpController
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10010 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10013 wxString
* sptr
= wxString_in_helper(obj2
);
10014 if (sptr
== NULL
) SWIG_fail
;
10020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10021 (arg1
)->ReadCustomization(arg2
,arg3
);
10023 wxPyEndAllowThreads(__tstate
);
10024 if (PyErr_Occurred()) SWIG_fail
;
10026 Py_INCREF(Py_None
); resultobj
= Py_None
;
10033 static PyObject
*_wrap_HtmlHelpController_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10034 PyObject
*resultobj
;
10035 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
10036 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
10037 wxString arg3
= (wxString
) wxPyEmptyString
;
10038 PyObject
* obj0
= 0 ;
10039 PyObject
* obj1
= 0 ;
10040 PyObject
* obj2
= 0 ;
10041 char *kwnames
[] = {
10042 (char *) "self",(char *) "cfg",(char *) "path", NULL
10045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpController
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10047 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10050 wxString
* sptr
= wxString_in_helper(obj2
);
10051 if (sptr
== NULL
) SWIG_fail
;
10057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10058 (arg1
)->WriteCustomization(arg2
,arg3
);
10060 wxPyEndAllowThreads(__tstate
);
10061 if (PyErr_Occurred()) SWIG_fail
;
10063 Py_INCREF(Py_None
); resultobj
= Py_None
;
10070 static PyObject
*_wrap_HtmlHelpController_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10071 PyObject
*resultobj
;
10072 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
10073 wxHtmlHelpFrame
*result
;
10074 PyObject
* obj0
= 0 ;
10075 char *kwnames
[] = {
10076 (char *) "self", NULL
10079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpController_GetFrame",kwnames
,&obj0
)) goto fail
;
10080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpController
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10083 result
= (wxHtmlHelpFrame
*)(arg1
)->GetFrame();
10085 wxPyEndAllowThreads(__tstate
);
10086 if (PyErr_Occurred()) SWIG_fail
;
10088 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlHelpFrame
, 0);
10095 static PyObject
* HtmlHelpController_swigregister(PyObject
*self
, PyObject
*args
) {
10097 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10098 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpController
, obj
);
10100 return Py_BuildValue((char *)"");
10102 static PyMethodDef SwigMethods
[] = {
10103 { (char *)"new_HtmlLinkInfo", (PyCFunction
) _wrap_new_HtmlLinkInfo
, METH_VARARGS
| METH_KEYWORDS
},
10104 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction
) _wrap_HtmlLinkInfo_GetHref
, METH_VARARGS
| METH_KEYWORDS
},
10105 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction
) _wrap_HtmlLinkInfo_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
10106 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction
) _wrap_HtmlLinkInfo_GetEvent
, METH_VARARGS
| METH_KEYWORDS
},
10107 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction
) _wrap_HtmlLinkInfo_GetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
10108 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction
) _wrap_HtmlLinkInfo_SetEvent
, METH_VARARGS
| METH_KEYWORDS
},
10109 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction
) _wrap_HtmlLinkInfo_SetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
10110 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister
, METH_VARARGS
},
10111 { (char *)"HtmlTag_GetName", (PyCFunction
) _wrap_HtmlTag_GetName
, METH_VARARGS
| METH_KEYWORDS
},
10112 { (char *)"HtmlTag_HasParam", (PyCFunction
) _wrap_HtmlTag_HasParam
, METH_VARARGS
| METH_KEYWORDS
},
10113 { (char *)"HtmlTag_GetParam", (PyCFunction
) _wrap_HtmlTag_GetParam
, METH_VARARGS
| METH_KEYWORDS
},
10114 { (char *)"HtmlTag_GetAllParams", (PyCFunction
) _wrap_HtmlTag_GetAllParams
, METH_VARARGS
| METH_KEYWORDS
},
10115 { (char *)"HtmlTag_HasEnding", (PyCFunction
) _wrap_HtmlTag_HasEnding
, METH_VARARGS
| METH_KEYWORDS
},
10116 { (char *)"HtmlTag_GetBeginPos", (PyCFunction
) _wrap_HtmlTag_GetBeginPos
, METH_VARARGS
| METH_KEYWORDS
},
10117 { (char *)"HtmlTag_GetEndPos1", (PyCFunction
) _wrap_HtmlTag_GetEndPos1
, METH_VARARGS
| METH_KEYWORDS
},
10118 { (char *)"HtmlTag_GetEndPos2", (PyCFunction
) _wrap_HtmlTag_GetEndPos2
, METH_VARARGS
| METH_KEYWORDS
},
10119 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister
, METH_VARARGS
},
10120 { (char *)"HtmlParser_SetFS", (PyCFunction
) _wrap_HtmlParser_SetFS
, METH_VARARGS
| METH_KEYWORDS
},
10121 { (char *)"HtmlParser_GetFS", (PyCFunction
) _wrap_HtmlParser_GetFS
, METH_VARARGS
| METH_KEYWORDS
},
10122 { (char *)"HtmlParser_Parse", (PyCFunction
) _wrap_HtmlParser_Parse
, METH_VARARGS
| METH_KEYWORDS
},
10123 { (char *)"HtmlParser_InitParser", (PyCFunction
) _wrap_HtmlParser_InitParser
, METH_VARARGS
| METH_KEYWORDS
},
10124 { (char *)"HtmlParser_DoneParser", (PyCFunction
) _wrap_HtmlParser_DoneParser
, METH_VARARGS
| METH_KEYWORDS
},
10125 { (char *)"HtmlParser_DoParsing", (PyCFunction
) _wrap_HtmlParser_DoParsing
, METH_VARARGS
| METH_KEYWORDS
},
10126 { (char *)"HtmlParser_StopParsing", (PyCFunction
) _wrap_HtmlParser_StopParsing
, METH_VARARGS
| METH_KEYWORDS
},
10127 { (char *)"HtmlParser_AddTagHandler", (PyCFunction
) _wrap_HtmlParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
10128 { (char *)"HtmlParser_GetSource", (PyCFunction
) _wrap_HtmlParser_GetSource
, METH_VARARGS
| METH_KEYWORDS
},
10129 { (char *)"HtmlParser_PushTagHandler", (PyCFunction
) _wrap_HtmlParser_PushTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
10130 { (char *)"HtmlParser_PopTagHandler", (PyCFunction
) _wrap_HtmlParser_PopTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
10131 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister
, METH_VARARGS
},
10132 { (char *)"new_HtmlWinParser", (PyCFunction
) _wrap_new_HtmlWinParser
, METH_VARARGS
| METH_KEYWORDS
},
10133 { (char *)"HtmlWinParser_SetDC", (PyCFunction
) _wrap_HtmlWinParser_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
10134 { (char *)"HtmlWinParser_GetDC", (PyCFunction
) _wrap_HtmlWinParser_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
10135 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction
) _wrap_HtmlWinParser_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
10136 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction
) _wrap_HtmlWinParser_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
10137 { (char *)"HtmlWinParser_GetWindow", (PyCFunction
) _wrap_HtmlWinParser_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10138 { (char *)"HtmlWinParser_SetFonts", (PyCFunction
) _wrap_HtmlWinParser_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
10139 { (char *)"HtmlWinParser_GetContainer", (PyCFunction
) _wrap_HtmlWinParser_GetContainer
, METH_VARARGS
| METH_KEYWORDS
},
10140 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction
) _wrap_HtmlWinParser_OpenContainer
, METH_VARARGS
| METH_KEYWORDS
},
10141 { (char *)"HtmlWinParser_SetContainer", (PyCFunction
) _wrap_HtmlWinParser_SetContainer
, METH_VARARGS
| METH_KEYWORDS
},
10142 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction
) _wrap_HtmlWinParser_CloseContainer
, METH_VARARGS
| METH_KEYWORDS
},
10143 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction
) _wrap_HtmlWinParser_GetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
10144 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction
) _wrap_HtmlWinParser_SetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
10145 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction
) _wrap_HtmlWinParser_GetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
10146 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction
) _wrap_HtmlWinParser_SetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
10147 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction
) _wrap_HtmlWinParser_GetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
10148 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction
) _wrap_HtmlWinParser_SetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
10149 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction
) _wrap_HtmlWinParser_GetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
10150 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction
) _wrap_HtmlWinParser_SetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
10151 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction
) _wrap_HtmlWinParser_GetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
10152 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction
) _wrap_HtmlWinParser_SetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
10153 { (char *)"HtmlWinParser_GetAlign", (PyCFunction
) _wrap_HtmlWinParser_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
10154 { (char *)"HtmlWinParser_SetAlign", (PyCFunction
) _wrap_HtmlWinParser_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
10155 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction
) _wrap_HtmlWinParser_GetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
10156 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction
) _wrap_HtmlWinParser_SetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
10157 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction
) _wrap_HtmlWinParser_GetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
10158 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction
) _wrap_HtmlWinParser_SetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
10159 { (char *)"HtmlWinParser_SetLink", (PyCFunction
) _wrap_HtmlWinParser_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
10160 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction
) _wrap_HtmlWinParser_CreateCurrentFont
, METH_VARARGS
| METH_KEYWORDS
},
10161 { (char *)"HtmlWinParser_GetLink", (PyCFunction
) _wrap_HtmlWinParser_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
10162 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister
, METH_VARARGS
},
10163 { (char *)"new_HtmlTagHandler", (PyCFunction
) _wrap_new_HtmlTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
10164 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction
) _wrap_HtmlTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10165 { (char *)"HtmlTagHandler_SetParser", (PyCFunction
) _wrap_HtmlTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
10166 { (char *)"HtmlTagHandler_GetParser", (PyCFunction
) _wrap_HtmlTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
10167 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction
) _wrap_HtmlTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
10168 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister
, METH_VARARGS
},
10169 { (char *)"new_HtmlWinTagHandler", (PyCFunction
) _wrap_new_HtmlWinTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
10170 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction
) _wrap_HtmlWinTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10171 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction
) _wrap_HtmlWinTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
10172 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction
) _wrap_HtmlWinTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
10173 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction
) _wrap_HtmlWinTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
10174 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister
, METH_VARARGS
},
10175 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction
) _wrap_HtmlWinParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
10176 { (char *)"new_HtmlSelection", (PyCFunction
) _wrap_new_HtmlSelection
, METH_VARARGS
| METH_KEYWORDS
},
10177 { (char *)"delete_HtmlSelection", (PyCFunction
) _wrap_delete_HtmlSelection
, METH_VARARGS
| METH_KEYWORDS
},
10178 { (char *)"HtmlSelection_Set", (PyCFunction
) _wrap_HtmlSelection_Set
, METH_VARARGS
| METH_KEYWORDS
},
10179 { (char *)"HtmlSelection_SetCells", (PyCFunction
) _wrap_HtmlSelection_SetCells
, METH_VARARGS
| METH_KEYWORDS
},
10180 { (char *)"HtmlSelection_GetFromCell", (PyCFunction
) _wrap_HtmlSelection_GetFromCell
, METH_VARARGS
| METH_KEYWORDS
},
10181 { (char *)"HtmlSelection_GetToCell", (PyCFunction
) _wrap_HtmlSelection_GetToCell
, METH_VARARGS
| METH_KEYWORDS
},
10182 { (char *)"HtmlSelection_GetFromPos", (PyCFunction
) _wrap_HtmlSelection_GetFromPos
, METH_VARARGS
| METH_KEYWORDS
},
10183 { (char *)"HtmlSelection_GetToPos", (PyCFunction
) _wrap_HtmlSelection_GetToPos
, METH_VARARGS
| METH_KEYWORDS
},
10184 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction
) _wrap_HtmlSelection_GetFromPrivPos
, METH_VARARGS
| METH_KEYWORDS
},
10185 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction
) _wrap_HtmlSelection_GetToPrivPos
, METH_VARARGS
| METH_KEYWORDS
},
10186 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction
) _wrap_HtmlSelection_SetFromPrivPos
, METH_VARARGS
| METH_KEYWORDS
},
10187 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction
) _wrap_HtmlSelection_SetToPrivPos
, METH_VARARGS
| METH_KEYWORDS
},
10188 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction
) _wrap_HtmlSelection_ClearPrivPos
, METH_VARARGS
| METH_KEYWORDS
},
10189 { (char *)"HtmlSelection_IsEmpty", (PyCFunction
) _wrap_HtmlSelection_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
10190 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister
, METH_VARARGS
},
10191 { (char *)"new_HtmlRenderingState", (PyCFunction
) _wrap_new_HtmlRenderingState
, METH_VARARGS
| METH_KEYWORDS
},
10192 { (char *)"delete_HtmlRenderingState", (PyCFunction
) _wrap_delete_HtmlRenderingState
, METH_VARARGS
| METH_KEYWORDS
},
10193 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction
) _wrap_HtmlRenderingState_SetSelectionState
, METH_VARARGS
| METH_KEYWORDS
},
10194 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction
) _wrap_HtmlRenderingState_GetSelectionState
, METH_VARARGS
| METH_KEYWORDS
},
10195 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction
) _wrap_HtmlRenderingState_SetFgColour
, METH_VARARGS
| METH_KEYWORDS
},
10196 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction
) _wrap_HtmlRenderingState_GetFgColour
, METH_VARARGS
| METH_KEYWORDS
},
10197 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction
) _wrap_HtmlRenderingState_SetBgColour
, METH_VARARGS
| METH_KEYWORDS
},
10198 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction
) _wrap_HtmlRenderingState_GetBgColour
, METH_VARARGS
| METH_KEYWORDS
},
10199 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister
, METH_VARARGS
},
10200 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction
) _wrap_HtmlRenderingStyle_GetSelectedTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10201 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction
) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour
, METH_VARARGS
| METH_KEYWORDS
},
10202 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister
, METH_VARARGS
},
10203 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextColour", (PyCFunction
) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10204 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction
) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour
, METH_VARARGS
| METH_KEYWORDS
},
10205 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister
, METH_VARARGS
},
10206 { (char *)"new_HtmlRenderingInfo", (PyCFunction
) _wrap_new_HtmlRenderingInfo
, METH_VARARGS
| METH_KEYWORDS
},
10207 { (char *)"delete_HtmlRenderingInfo", (PyCFunction
) _wrap_delete_HtmlRenderingInfo
, METH_VARARGS
| METH_KEYWORDS
},
10208 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction
) _wrap_HtmlRenderingInfo_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10209 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction
) _wrap_HtmlRenderingInfo_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10210 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction
) _wrap_HtmlRenderingInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
10211 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction
) _wrap_HtmlRenderingInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
10212 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction
) _wrap_HtmlRenderingInfo_GetState
, METH_VARARGS
| METH_KEYWORDS
},
10213 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister
, METH_VARARGS
},
10214 { (char *)"new_HtmlCell", (PyCFunction
) _wrap_new_HtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
10215 { (char *)"HtmlCell_GetPosX", (PyCFunction
) _wrap_HtmlCell_GetPosX
, METH_VARARGS
| METH_KEYWORDS
},
10216 { (char *)"HtmlCell_GetPosY", (PyCFunction
) _wrap_HtmlCell_GetPosY
, METH_VARARGS
| METH_KEYWORDS
},
10217 { (char *)"HtmlCell_GetWidth", (PyCFunction
) _wrap_HtmlCell_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
10218 { (char *)"HtmlCell_GetHeight", (PyCFunction
) _wrap_HtmlCell_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
10219 { (char *)"HtmlCell_GetDescent", (PyCFunction
) _wrap_HtmlCell_GetDescent
, METH_VARARGS
| METH_KEYWORDS
},
10220 { (char *)"HtmlCell_GetId", (PyCFunction
) _wrap_HtmlCell_GetId
, METH_VARARGS
| METH_KEYWORDS
},
10221 { (char *)"HtmlCell_SetId", (PyCFunction
) _wrap_HtmlCell_SetId
, METH_VARARGS
| METH_KEYWORDS
},
10222 { (char *)"HtmlCell_GetLink", (PyCFunction
) _wrap_HtmlCell_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
10223 { (char *)"HtmlCell_GetNext", (PyCFunction
) _wrap_HtmlCell_GetNext
, METH_VARARGS
| METH_KEYWORDS
},
10224 { (char *)"HtmlCell_GetParent", (PyCFunction
) _wrap_HtmlCell_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
10225 { (char *)"HtmlCell_GetFirstChild", (PyCFunction
) _wrap_HtmlCell_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
10226 { (char *)"HtmlCell_GetCursor", (PyCFunction
) _wrap_HtmlCell_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
10227 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction
) _wrap_HtmlCell_IsFormattingCell
, METH_VARARGS
| METH_KEYWORDS
},
10228 { (char *)"HtmlCell_SetLink", (PyCFunction
) _wrap_HtmlCell_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
10229 { (char *)"HtmlCell_SetNext", (PyCFunction
) _wrap_HtmlCell_SetNext
, METH_VARARGS
| METH_KEYWORDS
},
10230 { (char *)"HtmlCell_SetParent", (PyCFunction
) _wrap_HtmlCell_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
10231 { (char *)"HtmlCell_SetPos", (PyCFunction
) _wrap_HtmlCell_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
10232 { (char *)"HtmlCell_Layout", (PyCFunction
) _wrap_HtmlCell_Layout
, METH_VARARGS
| METH_KEYWORDS
},
10233 { (char *)"HtmlCell_Draw", (PyCFunction
) _wrap_HtmlCell_Draw
, METH_VARARGS
| METH_KEYWORDS
},
10234 { (char *)"HtmlCell_DrawInvisible", (PyCFunction
) _wrap_HtmlCell_DrawInvisible
, METH_VARARGS
| METH_KEYWORDS
},
10235 { (char *)"HtmlCell_Find", (PyCFunction
) _wrap_HtmlCell_Find
, METH_VARARGS
| METH_KEYWORDS
},
10236 { (char *)"HtmlCell_AdjustPagebreak", (PyCFunction
) _wrap_HtmlCell_AdjustPagebreak
, METH_VARARGS
| METH_KEYWORDS
},
10237 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction
) _wrap_HtmlCell_SetCanLiveOnPagebreak
, METH_VARARGS
| METH_KEYWORDS
},
10238 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction
) _wrap_HtmlCell_IsLinebreakAllowed
, METH_VARARGS
| METH_KEYWORDS
},
10239 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction
) _wrap_HtmlCell_IsTerminalCell
, METH_VARARGS
| METH_KEYWORDS
},
10240 { (char *)"HtmlCell_FindCellByPos", (PyCFunction
) _wrap_HtmlCell_FindCellByPos
, METH_VARARGS
| METH_KEYWORDS
},
10241 { (char *)"HtmlCell_GetAbsPos", (PyCFunction
) _wrap_HtmlCell_GetAbsPos
, METH_VARARGS
| METH_KEYWORDS
},
10242 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction
) _wrap_HtmlCell_GetFirstTerminal
, METH_VARARGS
| METH_KEYWORDS
},
10243 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction
) _wrap_HtmlCell_GetLastTerminal
, METH_VARARGS
| METH_KEYWORDS
},
10244 { (char *)"HtmlCell_GetDepth", (PyCFunction
) _wrap_HtmlCell_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
10245 { (char *)"HtmlCell_IsBefore", (PyCFunction
) _wrap_HtmlCell_IsBefore
, METH_VARARGS
| METH_KEYWORDS
},
10246 { (char *)"HtmlCell_ConvertToText", (PyCFunction
) _wrap_HtmlCell_ConvertToText
, METH_VARARGS
| METH_KEYWORDS
},
10247 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister
, METH_VARARGS
},
10248 { (char *)"new_HtmlWordCell", (PyCFunction
) _wrap_new_HtmlWordCell
, METH_VARARGS
| METH_KEYWORDS
},
10249 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister
, METH_VARARGS
},
10250 { (char *)"new_HtmlContainerCell", (PyCFunction
) _wrap_new_HtmlContainerCell
, METH_VARARGS
| METH_KEYWORDS
},
10251 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction
) _wrap_HtmlContainerCell_InsertCell
, METH_VARARGS
| METH_KEYWORDS
},
10252 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction
) _wrap_HtmlContainerCell_SetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
10253 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction
) _wrap_HtmlContainerCell_GetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
10254 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction
) _wrap_HtmlContainerCell_SetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
10255 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction
) _wrap_HtmlContainerCell_GetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
10256 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction
) _wrap_HtmlContainerCell_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
10257 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction
) _wrap_HtmlContainerCell_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
10258 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction
) _wrap_HtmlContainerCell_GetIndentUnits
, METH_VARARGS
| METH_KEYWORDS
},
10259 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction
) _wrap_HtmlContainerCell_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
10260 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction
) _wrap_HtmlContainerCell_SetWidthFloat
, METH_VARARGS
| METH_KEYWORDS
},
10261 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction
) _wrap_HtmlContainerCell_SetWidthFloatFromTag
, METH_VARARGS
| METH_KEYWORDS
},
10262 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction
) _wrap_HtmlContainerCell_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
10263 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction
) _wrap_HtmlContainerCell_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10264 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction
) _wrap_HtmlContainerCell_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10265 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction
) _wrap_HtmlContainerCell_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
10266 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction
) _wrap_HtmlContainerCell_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
10267 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister
, METH_VARARGS
},
10268 { (char *)"new_HtmlColourCell", (PyCFunction
) _wrap_new_HtmlColourCell
, METH_VARARGS
| METH_KEYWORDS
},
10269 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister
, METH_VARARGS
},
10270 { (char *)"new_HtmlFontCell", (PyCFunction
) _wrap_new_HtmlFontCell
, METH_VARARGS
| METH_KEYWORDS
},
10271 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister
, METH_VARARGS
},
10272 { (char *)"new_HtmlWidgetCell", (PyCFunction
) _wrap_new_HtmlWidgetCell
, METH_VARARGS
| METH_KEYWORDS
},
10273 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister
, METH_VARARGS
},
10274 { (char *)"new_HtmlFilter", (PyCFunction
) _wrap_new_HtmlFilter
, METH_VARARGS
| METH_KEYWORDS
},
10275 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction
) _wrap_HtmlFilter__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10276 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister
, METH_VARARGS
},
10277 { (char *)"new_HtmlWindow", (PyCFunction
) _wrap_new_HtmlWindow
, METH_VARARGS
| METH_KEYWORDS
},
10278 { (char *)"new_PreHtmlWindow", (PyCFunction
) _wrap_new_PreHtmlWindow
, METH_VARARGS
| METH_KEYWORDS
},
10279 { (char *)"HtmlWindow_Create", (PyCFunction
) _wrap_HtmlWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
10280 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction
) _wrap_HtmlWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10281 { (char *)"HtmlWindow_SetPage", (PyCFunction
) _wrap_HtmlWindow_SetPage
, METH_VARARGS
| METH_KEYWORDS
},
10282 { (char *)"HtmlWindow_LoadPage", (PyCFunction
) _wrap_HtmlWindow_LoadPage
, METH_VARARGS
| METH_KEYWORDS
},
10283 { (char *)"HtmlWindow_LoadFile", (PyCFunction
) _wrap_HtmlWindow_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
10284 { (char *)"HtmlWindow_AppendToPage", (PyCFunction
) _wrap_HtmlWindow_AppendToPage
, METH_VARARGS
| METH_KEYWORDS
},
10285 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction
) _wrap_HtmlWindow_GetOpenedPage
, METH_VARARGS
| METH_KEYWORDS
},
10286 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction
) _wrap_HtmlWindow_GetOpenedAnchor
, METH_VARARGS
| METH_KEYWORDS
},
10287 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction
) _wrap_HtmlWindow_GetOpenedPageTitle
, METH_VARARGS
| METH_KEYWORDS
},
10288 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction
) _wrap_HtmlWindow_SetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
10289 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction
) _wrap_HtmlWindow_GetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
10290 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction
) _wrap_HtmlWindow_SetRelatedStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
10291 { (char *)"HtmlWindow_SetFonts", (PyCFunction
) _wrap_HtmlWindow_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
10292 { (char *)"HtmlWindow_SetTitle", (PyCFunction
) _wrap_HtmlWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
10293 { (char *)"HtmlWindow_SetBorders", (PyCFunction
) _wrap_HtmlWindow_SetBorders
, METH_VARARGS
| METH_KEYWORDS
},
10294 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction
) _wrap_HtmlWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
10295 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction
) _wrap_HtmlWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
10296 { (char *)"HtmlWindow_HistoryBack", (PyCFunction
) _wrap_HtmlWindow_HistoryBack
, METH_VARARGS
| METH_KEYWORDS
},
10297 { (char *)"HtmlWindow_HistoryForward", (PyCFunction
) _wrap_HtmlWindow_HistoryForward
, METH_VARARGS
| METH_KEYWORDS
},
10298 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction
) _wrap_HtmlWindow_HistoryCanBack
, METH_VARARGS
| METH_KEYWORDS
},
10299 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction
) _wrap_HtmlWindow_HistoryCanForward
, METH_VARARGS
| METH_KEYWORDS
},
10300 { (char *)"HtmlWindow_HistoryClear", (PyCFunction
) _wrap_HtmlWindow_HistoryClear
, METH_VARARGS
| METH_KEYWORDS
},
10301 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction
) _wrap_HtmlWindow_GetInternalRepresentation
, METH_VARARGS
| METH_KEYWORDS
},
10302 { (char *)"HtmlWindow_GetParser", (PyCFunction
) _wrap_HtmlWindow_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
10303 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction
) _wrap_HtmlWindow_ScrollToAnchor
, METH_VARARGS
| METH_KEYWORDS
},
10304 { (char *)"HtmlWindow_HasAnchor", (PyCFunction
) _wrap_HtmlWindow_HasAnchor
, METH_VARARGS
| METH_KEYWORDS
},
10305 { (char *)"HtmlWindow_AddFilter", (PyCFunction
) _wrap_HtmlWindow_AddFilter
, METH_VARARGS
| METH_KEYWORDS
},
10306 { (char *)"HtmlWindow_SelectWord", (PyCFunction
) _wrap_HtmlWindow_SelectWord
, METH_VARARGS
| METH_KEYWORDS
},
10307 { (char *)"HtmlWindow_SelectLine", (PyCFunction
) _wrap_HtmlWindow_SelectLine
, METH_VARARGS
| METH_KEYWORDS
},
10308 { (char *)"HtmlWindow_SelectAll", (PyCFunction
) _wrap_HtmlWindow_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
10309 { (char *)"HtmlWindow_base_OnLinkClicked", (PyCFunction
) _wrap_HtmlWindow_base_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
},
10310 { (char *)"HtmlWindow_base_OnSetTitle", (PyCFunction
) _wrap_HtmlWindow_base_OnSetTitle
, METH_VARARGS
| METH_KEYWORDS
},
10311 { (char *)"HtmlWindow_base_OnCellMouseHover", (PyCFunction
) _wrap_HtmlWindow_base_OnCellMouseHover
, METH_VARARGS
| METH_KEYWORDS
},
10312 { (char *)"HtmlWindow_base_OnCellClicked", (PyCFunction
) _wrap_HtmlWindow_base_OnCellClicked
, METH_VARARGS
| METH_KEYWORDS
},
10313 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister
, METH_VARARGS
},
10314 { (char *)"new_HtmlDCRenderer", (PyCFunction
) _wrap_new_HtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
},
10315 { (char *)"delete_HtmlDCRenderer", (PyCFunction
) _wrap_delete_HtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
},
10316 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction
) _wrap_HtmlDCRenderer_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
10317 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction
) _wrap_HtmlDCRenderer_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
10318 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction
) _wrap_HtmlDCRenderer_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
},
10319 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction
) _wrap_HtmlDCRenderer_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
10320 { (char *)"HtmlDCRenderer_Render", (PyCFunction
) _wrap_HtmlDCRenderer_Render
, METH_VARARGS
| METH_KEYWORDS
},
10321 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction
) _wrap_HtmlDCRenderer_GetTotalHeight
, METH_VARARGS
| METH_KEYWORDS
},
10322 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister
, METH_VARARGS
},
10323 { (char *)"new_HtmlPrintout", (PyCFunction
) _wrap_new_HtmlPrintout
, METH_VARARGS
| METH_KEYWORDS
},
10324 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction
) _wrap_HtmlPrintout_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
},
10325 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction
) _wrap_HtmlPrintout_SetHtmlFile
, METH_VARARGS
| METH_KEYWORDS
},
10326 { (char *)"HtmlPrintout_SetHeader", (PyCFunction
) _wrap_HtmlPrintout_SetHeader
, METH_VARARGS
| METH_KEYWORDS
},
10327 { (char *)"HtmlPrintout_SetFooter", (PyCFunction
) _wrap_HtmlPrintout_SetFooter
, METH_VARARGS
| METH_KEYWORDS
},
10328 { (char *)"HtmlPrintout_SetFonts", (PyCFunction
) _wrap_HtmlPrintout_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
10329 { (char *)"HtmlPrintout_SetMargins", (PyCFunction
) _wrap_HtmlPrintout_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
10330 { (char *)"HtmlPrintout_AddFilter", (PyCFunction
) _wrap_HtmlPrintout_AddFilter
, METH_VARARGS
| METH_KEYWORDS
},
10331 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction
) _wrap_HtmlPrintout_CleanUpStatics
, METH_VARARGS
| METH_KEYWORDS
},
10332 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister
, METH_VARARGS
},
10333 { (char *)"new_HtmlEasyPrinting", (PyCFunction
) _wrap_new_HtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
},
10334 { (char *)"delete_HtmlEasyPrinting", (PyCFunction
) _wrap_delete_HtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
},
10335 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction
) _wrap_HtmlEasyPrinting_PreviewFile
, METH_VARARGS
| METH_KEYWORDS
},
10336 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction
) _wrap_HtmlEasyPrinting_PreviewText
, METH_VARARGS
| METH_KEYWORDS
},
10337 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction
) _wrap_HtmlEasyPrinting_PrintFile
, METH_VARARGS
| METH_KEYWORDS
},
10338 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction
) _wrap_HtmlEasyPrinting_PrintText
, METH_VARARGS
| METH_KEYWORDS
},
10339 { (char *)"HtmlEasyPrinting_PrinterSetup", (PyCFunction
) _wrap_HtmlEasyPrinting_PrinterSetup
, METH_VARARGS
| METH_KEYWORDS
},
10340 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction
) _wrap_HtmlEasyPrinting_PageSetup
, METH_VARARGS
| METH_KEYWORDS
},
10341 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction
) _wrap_HtmlEasyPrinting_SetHeader
, METH_VARARGS
| METH_KEYWORDS
},
10342 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction
) _wrap_HtmlEasyPrinting_SetFooter
, METH_VARARGS
| METH_KEYWORDS
},
10343 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction
) _wrap_HtmlEasyPrinting_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
10344 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction
) _wrap_HtmlEasyPrinting_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
10345 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction
) _wrap_HtmlEasyPrinting_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
10346 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister
, METH_VARARGS
},
10347 { (char *)"new_HtmlBookRecord", (PyCFunction
) _wrap_new_HtmlBookRecord
, METH_VARARGS
| METH_KEYWORDS
},
10348 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction
) _wrap_HtmlBookRecord_GetBookFile
, METH_VARARGS
| METH_KEYWORDS
},
10349 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction
) _wrap_HtmlBookRecord_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
10350 { (char *)"HtmlBookRecord_GetStart", (PyCFunction
) _wrap_HtmlBookRecord_GetStart
, METH_VARARGS
| METH_KEYWORDS
},
10351 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction
) _wrap_HtmlBookRecord_GetBasePath
, METH_VARARGS
| METH_KEYWORDS
},
10352 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction
) _wrap_HtmlBookRecord_SetContentsRange
, METH_VARARGS
| METH_KEYWORDS
},
10353 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction
) _wrap_HtmlBookRecord_GetContentsStart
, METH_VARARGS
| METH_KEYWORDS
},
10354 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction
) _wrap_HtmlBookRecord_GetContentsEnd
, METH_VARARGS
| METH_KEYWORDS
},
10355 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction
) _wrap_HtmlBookRecord_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
10356 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction
) _wrap_HtmlBookRecord_SetBasePath
, METH_VARARGS
| METH_KEYWORDS
},
10357 { (char *)"HtmlBookRecord_SetStart", (PyCFunction
) _wrap_HtmlBookRecord_SetStart
, METH_VARARGS
| METH_KEYWORDS
},
10358 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction
) _wrap_HtmlBookRecord_GetFullPath
, METH_VARARGS
| METH_KEYWORDS
},
10359 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister
, METH_VARARGS
},
10360 { (char *)"HtmlContentsItem_GetLevel", (PyCFunction
) _wrap_HtmlContentsItem_GetLevel
, METH_VARARGS
| METH_KEYWORDS
},
10361 { (char *)"HtmlContentsItem_GetID", (PyCFunction
) _wrap_HtmlContentsItem_GetID
, METH_VARARGS
| METH_KEYWORDS
},
10362 { (char *)"HtmlContentsItem_GetName", (PyCFunction
) _wrap_HtmlContentsItem_GetName
, METH_VARARGS
| METH_KEYWORDS
},
10363 { (char *)"HtmlContentsItem_GetPage", (PyCFunction
) _wrap_HtmlContentsItem_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
10364 { (char *)"HtmlContentsItem_GetBook", (PyCFunction
) _wrap_HtmlContentsItem_GetBook
, METH_VARARGS
| METH_KEYWORDS
},
10365 { (char *)"HtmlContentsItem_swigregister", HtmlContentsItem_swigregister
, METH_VARARGS
},
10366 { (char *)"HtmlSearchStatus_Search", (PyCFunction
) _wrap_HtmlSearchStatus_Search
, METH_VARARGS
| METH_KEYWORDS
},
10367 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction
) _wrap_HtmlSearchStatus_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
10368 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction
) _wrap_HtmlSearchStatus_GetCurIndex
, METH_VARARGS
| METH_KEYWORDS
},
10369 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction
) _wrap_HtmlSearchStatus_GetMaxIndex
, METH_VARARGS
| METH_KEYWORDS
},
10370 { (char *)"HtmlSearchStatus_GetName", (PyCFunction
) _wrap_HtmlSearchStatus_GetName
, METH_VARARGS
| METH_KEYWORDS
},
10371 { (char *)"HtmlSearchStatus_GetContentsItem", (PyCFunction
) _wrap_HtmlSearchStatus_GetContentsItem
, METH_VARARGS
| METH_KEYWORDS
},
10372 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister
, METH_VARARGS
},
10373 { (char *)"new_HtmlHelpData", (PyCFunction
) _wrap_new_HtmlHelpData
, METH_VARARGS
| METH_KEYWORDS
},
10374 { (char *)"delete_HtmlHelpData", (PyCFunction
) _wrap_delete_HtmlHelpData
, METH_VARARGS
| METH_KEYWORDS
},
10375 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction
) _wrap_HtmlHelpData_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
},
10376 { (char *)"HtmlHelpData_AddBook", (PyCFunction
) _wrap_HtmlHelpData_AddBook
, METH_VARARGS
| METH_KEYWORDS
},
10377 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction
) _wrap_HtmlHelpData_FindPageByName
, METH_VARARGS
| METH_KEYWORDS
},
10378 { (char *)"HtmlHelpData_FindPageById", (PyCFunction
) _wrap_HtmlHelpData_FindPageById
, METH_VARARGS
| METH_KEYWORDS
},
10379 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction
) _wrap_HtmlHelpData_GetBookRecArray
, METH_VARARGS
| METH_KEYWORDS
},
10380 { (char *)"HtmlHelpData_GetContents", (PyCFunction
) _wrap_HtmlHelpData_GetContents
, METH_VARARGS
| METH_KEYWORDS
},
10381 { (char *)"HtmlHelpData_GetContentsCnt", (PyCFunction
) _wrap_HtmlHelpData_GetContentsCnt
, METH_VARARGS
| METH_KEYWORDS
},
10382 { (char *)"HtmlHelpData_GetIndex", (PyCFunction
) _wrap_HtmlHelpData_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
10383 { (char *)"HtmlHelpData_GetIndexCnt", (PyCFunction
) _wrap_HtmlHelpData_GetIndexCnt
, METH_VARARGS
| METH_KEYWORDS
},
10384 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister
, METH_VARARGS
},
10385 { (char *)"new_HtmlHelpFrame", (PyCFunction
) _wrap_new_HtmlHelpFrame
, METH_VARARGS
| METH_KEYWORDS
},
10386 { (char *)"HtmlHelpFrame_GetData", (PyCFunction
) _wrap_HtmlHelpFrame_GetData
, METH_VARARGS
| METH_KEYWORDS
},
10387 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpFrame_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
},
10388 { (char *)"HtmlHelpFrame_Display", (PyCFunction
) _wrap_HtmlHelpFrame_Display
, METH_VARARGS
| METH_KEYWORDS
},
10389 { (char *)"HtmlHelpFrame_DisplayID", (PyCFunction
) _wrap_HtmlHelpFrame_DisplayID
, METH_VARARGS
| METH_KEYWORDS
},
10390 { (char *)"HtmlHelpFrame_DisplayContents", (PyCFunction
) _wrap_HtmlHelpFrame_DisplayContents
, METH_VARARGS
| METH_KEYWORDS
},
10391 { (char *)"HtmlHelpFrame_DisplayIndex", (PyCFunction
) _wrap_HtmlHelpFrame_DisplayIndex
, METH_VARARGS
| METH_KEYWORDS
},
10392 { (char *)"HtmlHelpFrame_KeywordSearch", (PyCFunction
) _wrap_HtmlHelpFrame_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
},
10393 { (char *)"HtmlHelpFrame_UseConfig", (PyCFunction
) _wrap_HtmlHelpFrame_UseConfig
, METH_VARARGS
| METH_KEYWORDS
},
10394 { (char *)"HtmlHelpFrame_ReadCustomization", (PyCFunction
) _wrap_HtmlHelpFrame_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
10395 { (char *)"HtmlHelpFrame_WriteCustomization", (PyCFunction
) _wrap_HtmlHelpFrame_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
10396 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister
, METH_VARARGS
},
10397 { (char *)"new_HtmlHelpController", (PyCFunction
) _wrap_new_HtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
},
10398 { (char *)"delete_HtmlHelpController", (PyCFunction
) _wrap_delete_HtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
},
10399 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpController_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
},
10400 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction
) _wrap_HtmlHelpController_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
},
10401 { (char *)"HtmlHelpController_AddBook", (PyCFunction
) _wrap_HtmlHelpController_AddBook
, METH_VARARGS
| METH_KEYWORDS
},
10402 { (char *)"HtmlHelpController_Display", (PyCFunction
) _wrap_HtmlHelpController_Display
, METH_VARARGS
| METH_KEYWORDS
},
10403 { (char *)"HtmlHelpController_DisplayID", (PyCFunction
) _wrap_HtmlHelpController_DisplayID
, METH_VARARGS
| METH_KEYWORDS
},
10404 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction
) _wrap_HtmlHelpController_DisplayContents
, METH_VARARGS
| METH_KEYWORDS
},
10405 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction
) _wrap_HtmlHelpController_DisplayIndex
, METH_VARARGS
| METH_KEYWORDS
},
10406 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction
) _wrap_HtmlHelpController_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
},
10407 { (char *)"HtmlHelpController_UseConfig", (PyCFunction
) _wrap_HtmlHelpController_UseConfig
, METH_VARARGS
| METH_KEYWORDS
},
10408 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction
) _wrap_HtmlHelpController_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
10409 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction
) _wrap_HtmlHelpController_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
10410 { (char *)"HtmlHelpController_GetFrame", (PyCFunction
) _wrap_HtmlHelpController_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
10411 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister
, METH_VARARGS
},
10416 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
10418 static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x
) {
10419 return (void *)((wxHtmlRenderingStyle
*) ((wxDefaultHtmlRenderingStyle
*) x
));
10421 static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x
) {
10422 return (void *)((wxHtmlParser
*) ((wxHtmlWinParser
*) x
));
10424 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
10425 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
10427 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
10428 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
10430 static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x
) {
10431 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
10433 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
10434 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
10436 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
10437 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
10439 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
10440 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
10442 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
10443 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
10445 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
10446 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
10448 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
10449 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
10451 static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x
) {
10452 return (void *)((wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
10454 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
10455 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
10457 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
10458 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
10460 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
10461 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
10463 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
10464 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
10466 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
10467 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
10469 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
10470 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
10472 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
10473 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
10475 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
10476 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
10478 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
10479 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
10481 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
10482 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
10484 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
10485 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
10487 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
10488 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
10490 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
10491 return (void *)((wxWindow
*) ((wxPanel
*) x
));
10493 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
10494 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
10496 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
10497 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
10499 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
10500 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
10502 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
10503 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
10505 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
10506 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
10508 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
10509 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
10511 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
10512 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
10514 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
10515 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
10517 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
10518 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
10520 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
10521 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
10523 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
10524 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
10526 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
10527 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
10529 static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x
) {
10530 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
10532 static void *_p_wxControlTo_p_wxWindow(void *x
) {
10533 return (void *)((wxWindow
*) ((wxControl
*) x
));
10535 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
10536 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
10538 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
10539 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
10541 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
10542 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
10544 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
10545 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
10547 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
10548 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
10550 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
10551 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
10553 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
10554 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
10556 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
10557 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
10559 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
10560 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
10562 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
10563 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
10565 static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x
) {
10566 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
10568 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
10569 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
10571 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
10572 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
10574 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
10575 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
10577 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
10578 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
10580 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
10581 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
10583 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
10584 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
10586 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
10587 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
10589 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
10590 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
10592 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
10593 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
10595 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
10596 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
10598 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
10599 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
10601 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
10602 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
10604 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
10605 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
10607 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
10608 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
10610 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
10611 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
10613 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
10614 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
10616 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
10617 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
10619 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
10620 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
10622 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
10623 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
10625 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
10626 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
10628 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
10629 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
10631 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
10632 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
10634 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
10635 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
10637 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
10638 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
10640 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
10641 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
10643 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
10644 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
10646 static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x
) {
10647 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxHtmlHelpFrame
*) x
));
10649 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
10650 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
10652 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
10653 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
10655 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
10656 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
10658 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
10659 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
10661 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
10662 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
10664 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
10665 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
10667 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
10668 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
10670 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
10671 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
10673 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
10674 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
10676 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
10677 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
10679 static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x
) {
10680 return (void *)((wxObject
*) ((wxHtmlLinkInfo
*) x
));
10682 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
10683 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
10685 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
10686 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
10688 static void *_p_wxSizerTo_p_wxObject(void *x
) {
10689 return (void *)((wxObject
*) ((wxSizer
*) x
));
10691 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
10692 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
10694 static void *_p_wxHtmlFontCellTo_p_wxObject(void *x
) {
10695 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlFontCell
*) x
));
10697 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
10698 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
10700 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
10701 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
10703 static void *_p_wxEventTo_p_wxObject(void *x
) {
10704 return (void *)((wxObject
*) ((wxEvent
*) x
));
10706 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
10707 return (void *)((wxObject
*) ((wxFontData
*) x
));
10709 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
10710 return (void *)((wxObject
*) ((wxPrintData
*) x
));
10712 static void *_p_wxHtmlTagTo_p_wxObject(void *x
) {
10713 return (void *)((wxObject
*) ((wxHtmlTag
*) x
));
10715 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
10716 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
10718 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
10719 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
10721 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
10722 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
10724 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
10725 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
10727 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
10728 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
10730 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
10731 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
10733 static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x
) {
10734 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
10736 static void *_p_wxHtmlCellTo_p_wxObject(void *x
) {
10737 return (void *)((wxObject
*) ((wxHtmlCell
*) x
));
10739 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
10740 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
10742 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
10743 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
10745 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
10746 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
10748 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
10749 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
10751 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
10752 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
10754 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
10755 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
10757 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
10758 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
10760 static void *_p_wxControlTo_p_wxObject(void *x
) {
10761 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
10763 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
10764 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
10766 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
10767 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
10769 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
10770 return (void *)((wxObject
*) ((wxFSFile
*) x
));
10772 static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x
) {
10773 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlWidgetCell
*) x
));
10775 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
10776 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
10778 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
10779 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
10781 static void *_p_wxHtmlColourCellTo_p_wxObject(void *x
) {
10782 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlColourCell
*) x
));
10784 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
10785 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
10787 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
10788 return (void *)((wxObject
*) ((wxColourData
*) x
));
10790 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
10791 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
10793 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
10794 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
10796 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
10797 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
10799 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
10800 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
10802 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
10803 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
10805 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
10806 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
10808 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
10809 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
10811 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
10812 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
10814 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
10815 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
10817 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
10818 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
10820 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
10821 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
10823 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
10824 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
10826 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
10827 return (void *)((wxObject
*) ((wxPrinter
*) x
));
10829 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
10830 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
10832 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
10833 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
10835 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
10836 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
10838 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
10839 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
10841 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
10842 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
10844 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
10845 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
10847 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
10848 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
10850 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
10851 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
10853 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
10854 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
10856 static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x
) {
10857 return (void *)((wxObject
*) ((wxPyHtmlFilter
*) x
));
10859 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
10860 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
10862 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
10863 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
10865 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
10866 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
10868 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
10869 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
10871 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
10872 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
10874 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
10875 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
10877 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
10878 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
10880 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
10881 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
10883 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
10884 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
10886 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
10887 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
10889 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
10890 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
10892 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
10893 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
10895 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
10896 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
10898 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
10899 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
10901 static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x
) {
10902 return (void *)((wxObject
*) ((wxPyHtmlTagHandler
*) x
));
10904 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x
) {
10905 return (void *)((wxObject
*) (wxPyHtmlTagHandler
*) ((wxPyHtmlWinTagHandler
*) x
));
10907 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
10908 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
10910 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
10911 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
10913 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
10914 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
10916 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
10917 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
10919 static void *_p_wxImageTo_p_wxObject(void *x
) {
10920 return (void *)((wxObject
*) ((wxImage
*) x
));
10922 static void *_p_wxFrameTo_p_wxObject(void *x
) {
10923 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
10925 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
10926 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
10928 static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x
) {
10929 return (void *)((wxObject
*) (wxPyPrintout
*) ((wxHtmlPrintout
*) x
));
10931 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
10932 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
10934 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
10935 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
10937 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
10938 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
10940 static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x
) {
10941 return (void *)((wxObject
*) ((wxHtmlDCRenderer
*) x
));
10943 static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x
) {
10944 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlContainerCell
*) x
));
10946 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
10947 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
10949 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
10950 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
10952 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
10953 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
10955 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
10956 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
10958 static void *_p_wxWindowTo_p_wxObject(void *x
) {
10959 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
10961 static void *_p_wxMenuTo_p_wxObject(void *x
) {
10962 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
10964 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
10965 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
10967 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
10968 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
10970 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
10971 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
10973 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
10974 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
10976 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
10977 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
10979 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
10980 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
10982 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
10983 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
10985 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
10986 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
10988 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
10989 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
10991 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
10992 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
10994 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
10995 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
10997 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
10998 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
11000 static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x
) {
11001 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
11003 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
11004 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
11006 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
11007 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
11009 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
11010 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
11012 static void *_p_wxPanelTo_p_wxObject(void *x
) {
11013 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
11015 static void *_p_wxDialogTo_p_wxObject(void *x
) {
11016 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
11018 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
11019 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
11021 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
11022 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
11024 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
11025 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
11027 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
11028 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
11030 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
11031 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
11033 static void *_p_wxHtmlParserTo_p_wxObject(void *x
) {
11034 return (void *)((wxObject
*) ((wxHtmlParser
*) x
));
11036 static void *_p_wxHtmlWinParserTo_p_wxObject(void *x
) {
11037 return (void *)((wxObject
*) (wxHtmlParser
*) ((wxHtmlWinParser
*) x
));
11039 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
11040 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
11042 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
11043 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
11045 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
11046 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
11048 static void *_p_wxHtmlWordCellTo_p_wxObject(void *x
) {
11049 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlWordCell
*) x
));
11051 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
11052 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
11054 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
11055 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
11057 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
11058 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
11060 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
11061 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
11063 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
11064 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
11066 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
11067 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
11069 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
11070 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
11072 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
11073 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
11075 static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x
) {
11076 return (void *)((wxObject
*) ((wxHtmlEasyPrinting
*) x
));
11078 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
11079 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
11081 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
11082 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
11084 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
11085 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
11087 static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x
) {
11088 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxHtmlHelpController
*) x
));
11090 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
11091 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
11093 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
11094 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
11096 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
11097 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
11099 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
11100 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
11102 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
11103 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
11105 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x
) {
11106 return (void *)((wxPyHtmlTagHandler
*) ((wxPyHtmlWinTagHandler
*) x
));
11108 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
11109 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
11111 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
11112 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
11114 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
11115 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
11117 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
11118 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
11120 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
11121 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
11123 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
11124 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
11126 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
11127 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
11129 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
11130 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
11132 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
11133 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
11135 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
11136 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
11138 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
11139 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
11141 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
11142 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
11144 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
11145 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
11147 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
11148 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
11150 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
11151 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
11153 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
11154 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
11156 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
11157 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
11159 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
11160 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
11162 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
11163 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
11165 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
11166 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
11168 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
11169 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
11171 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
11172 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
11174 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
11175 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
11177 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
11178 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
11180 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
11181 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
11183 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
11184 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
11186 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
11187 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
11189 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
11190 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
11192 static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x
) {
11193 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
11195 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
11196 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
11198 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
11199 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
11201 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
11202 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
11204 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
11205 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
11207 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
11208 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
11210 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
11211 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
11213 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
11214 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
11216 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
11217 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
11219 static void *_p_wxHtmlHelpControllerTo_p_wxEvtHandler(void *x
) {
11220 return (void *)((wxEvtHandler
*) ((wxHtmlHelpController
*) x
));
11222 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
11223 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
11225 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
11226 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
11228 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
11229 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
11231 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
11232 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
11234 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
11235 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
11237 static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x
) {
11238 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
11240 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
11241 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
11243 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
11244 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
11246 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
11247 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
11249 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
11250 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
11252 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
11253 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
11255 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
11256 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
11258 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
11259 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
11261 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
11262 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
11264 static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x
) {
11265 return (void *)((wxPyPrintout
*) ((wxHtmlPrintout
*) x
));
11267 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
11268 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
11270 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
11271 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
11273 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
11274 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
11276 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
11277 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
11279 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
11280 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
11282 static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x
) {
11283 return (void *)((wxFrame
*) ((wxHtmlHelpFrame
*) x
));
11285 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
11286 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
11288 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
11289 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
11291 static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x
) {
11292 return (void *)((wxHtmlCell
*) ((wxHtmlContainerCell
*) x
));
11294 static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x
) {
11295 return (void *)((wxHtmlCell
*) ((wxHtmlWidgetCell
*) x
));
11297 static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x
) {
11298 return (void *)((wxHtmlCell
*) ((wxHtmlColourCell
*) x
));
11300 static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x
) {
11301 return (void *)((wxHtmlCell
*) ((wxHtmlWordCell
*) x
));
11303 static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x
) {
11304 return (void *)((wxHtmlCell
*) ((wxHtmlFontCell
*) x
));
11306 static swig_type_info _swigt__p_wxHtmlDCRenderer
[] = {{"_p_wxHtmlDCRenderer", 0, "wxHtmlDCRenderer *", 0},{"_p_wxHtmlDCRenderer"},{0}};
11307 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
11308 static swig_type_info _swigt__p_wxPageSetupDialogData
[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
11309 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
11310 static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle
[] = {{"_p_wxDefaultHtmlRenderingStyle", 0, "wxDefaultHtmlRenderingStyle *", 0},{"_p_wxDefaultHtmlRenderingStyle"},{0}};
11311 static swig_type_info _swigt__p_wxHtmlRenderingStyle
[] = {{"_p_wxHtmlRenderingStyle", 0, "wxHtmlRenderingStyle *", 0},{"_p_wxHtmlRenderingStyle"},{"_p_wxDefaultHtmlRenderingStyle", _p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle
},{0}};
11312 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
11313 static swig_type_info _swigt__p_wxHtmlWordCell
[] = {{"_p_wxHtmlWordCell", 0, "wxHtmlWordCell *", 0},{"_p_wxHtmlWordCell"},{0}};
11314 static swig_type_info _swigt__p_wxHtmlHelpData
[] = {{"_p_wxHtmlHelpData", 0, "wxHtmlHelpData *", 0},{"_p_wxHtmlHelpData"},{0}};
11315 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
11316 static swig_type_info _swigt__p_wxHtmlWinParser
[] = {{"_p_wxHtmlWinParser", 0, "wxHtmlWinParser *", 0},{"_p_wxHtmlWinParser"},{0}};
11317 static swig_type_info _swigt__p_wxHtmlParser
[] = {{"_p_wxHtmlParser", 0, "wxHtmlParser *", 0},{"_p_wxHtmlParser"},{"_p_wxHtmlWinParser", _p_wxHtmlWinParserTo_p_wxHtmlParser
},{0}};
11318 static swig_type_info _swigt__p_wxPanel
[] = {{"_p_wxPanel", 0, "wxPanel *", 0},{"_p_wxPanel"},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel
},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxPanel
},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel
},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel
},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel
},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel
},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel
},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel
},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel
},{0}};
11319 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
11320 static swig_type_info _swigt__p_wxHtmlColourCell
[] = {{"_p_wxHtmlColourCell", 0, "wxHtmlColourCell *", 0},{"_p_wxHtmlColourCell"},{0}};
11321 static swig_type_info _swigt__p_wxPyHtmlWindow
[] = {{"_p_wxPyHtmlWindow", 0, "wxPyHtmlWindow *", 0},{"_p_wxPyHtmlWindow"},{0}};
11322 static swig_type_info _swigt__p_wxScrolledWindow
[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxScrolledWindow
},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow
},{0}};
11323 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow
},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow
},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow
},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow
},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow
},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow
},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow
},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow
},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow
},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow
},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow
},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow
},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow
},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow
},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow
},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow
},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxWindow
},{"_p_wxWindow"},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow
},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow
},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow
},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow
},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow
},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow
},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow
},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow
},{"_p_wxControl", _p_wxControlTo_p_wxWindow
},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow
},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow
},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow
},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow
},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow
},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow
},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxWindow
},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow
},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow
},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow
},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow
},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow
},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow
},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow
},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow
},{0}};
11324 static swig_type_info _swigt__p_wxTopLevelWindow
[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow
},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow
},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow
},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow
},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow
},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow
},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow
},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow
},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow
},{"_p_wxTopLevelWindow"},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow
},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow
},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxTopLevelWindow
},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow
},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow
},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow
},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow
},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow
},{0}};
11325 static swig_type_info _swigt__p_wxHtmlFontCell
[] = {{"_p_wxHtmlFontCell", 0, "wxHtmlFontCell *", 0},{"_p_wxHtmlFontCell"},{0}};
11326 static swig_type_info _swigt__p_wxHtmlEasyPrinting
[] = {{"_p_wxHtmlEasyPrinting", 0, "wxHtmlEasyPrinting *", 0},{"_p_wxHtmlEasyPrinting"},{0}};
11327 static swig_type_info _swigt__p_wxHtmlSelection
[] = {{"_p_wxHtmlSelection", 0, "wxHtmlSelection *", 0},{"_p_wxHtmlSelection"},{0}};
11328 static swig_type_info _swigt__p_wxHtmlRenderingInfo
[] = {{"_p_wxHtmlRenderingInfo", 0, "wxHtmlRenderingInfo *", 0},{"_p_wxHtmlRenderingInfo"},{0}};
11329 static swig_type_info _swigt__p_wxHtmlWidgetCell
[] = {{"_p_wxHtmlWidgetCell", 0, "wxHtmlWidgetCell *", 0},{"_p_wxHtmlWidgetCell"},{0}};
11330 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject
},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject
},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject
},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
},{"_p_wxHtmlLinkInfo", _p_wxHtmlLinkInfoTo_p_wxObject
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
},{"_p_wxHtmlFontCell", _p_wxHtmlFontCellTo_p_wxObject
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject
},{"_p_wxHtmlTag", _p_wxHtmlTagTo_p_wxObject
},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject
},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject
},{"_p_wxEvent", _p_wxEventTo_p_wxObject
},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxObject
},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject
},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject
},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject
},{"_p_wxHtmlCell", _p_wxHtmlCellTo_p_wxObject
},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject
},{"_p_wxControl", _p_wxControlTo_p_wxObject
},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject
},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
},{"_p_wxHtmlWidgetCell", _p_wxHtmlWidgetCellTo_p_wxObject
},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject
},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
},{"_p_wxHtmlColourCell", _p_wxHtmlColourCellTo_p_wxObject
},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject
},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject
},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject
},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject
},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject
},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject
},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject
},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject
},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject
},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject
},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject
},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject
},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
},{"_p_wxPyHtmlFilter", _p_wxPyHtmlFilterTo_p_wxObject
},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject
},{"_p_wxPyHtmlTagHandler", _p_wxPyHtmlTagHandlerTo_p_wxObject
},{"_p_wxPyHtmlWinTagHandler", _p_wxPyHtmlWinTagHandlerTo_p_wxObject
},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject
},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject
},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject
},{"_p_wxImage", _p_wxImageTo_p_wxObject
},{"_p_wxFrame", _p_wxFrameTo_p_wxObject
},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject
},{"_p_wxHtmlPrintout", _p_wxHtmlPrintoutTo_p_wxObject
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject
},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject
},{"_p_wxHtmlDCRenderer", _p_wxHtmlDCRendererTo_p_wxObject
},{"_p_wxHtmlContainerCell", _p_wxHtmlContainerCellTo_p_wxObject
},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject
},{"_p_wxObject"},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject
},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxObject
},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject
},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject
},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject
},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject
},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject
},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject
},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject
},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject
},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject
},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject
},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject
},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject
},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject
},{"_p_wxPanel", _p_wxPanelTo_p_wxObject
},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject
},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject
},{"_p_wxDialog", _p_wxDialogTo_p_wxObject
},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject
},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject
},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject
},{"_p_wxHtmlParser", _p_wxHtmlParserTo_p_wxObject
},{"_p_wxHtmlWinParser", _p_wxHtmlWinParserTo_p_wxObject
},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
},{"_p_wxHtmlWordCell", _p_wxHtmlWordCellTo_p_wxObject
},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject
},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject
},{"_p_wxHtmlEasyPrinting", _p_wxHtmlEasyPrintingTo_p_wxObject
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
},{"_p_wxHtmlHelpController", _p_wxHtmlHelpControllerTo_p_wxObject
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject
},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject
},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
},{0}};
11331 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
11332 static swig_type_info _swigt__p_wxPyHtmlWinTagHandler
[] = {{"_p_wxPyHtmlWinTagHandler", 0, "wxPyHtmlWinTagHandler *", 0},{"_p_wxPyHtmlWinTagHandler"},{0}};
11333 static swig_type_info _swigt__p_wxHtmlTagHandler
[] = {{"_p_wxHtmlTagHandler", 0, "wxHtmlTagHandler *", 0},{"_p_wxHtmlTagHandler"},{0}};
11334 static swig_type_info _swigt__p_wxPyHtmlTagHandler
[] = {{"_p_wxPyHtmlTagHandler", 0, "wxPyHtmlTagHandler *", 0},{"_p_wxPyHtmlTagHandler"},{"_p_wxPyHtmlWinTagHandler", _p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler
},{0}};
11335 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler
},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler
},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler
},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler
},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler
},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler
},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler
},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler
},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler
},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler
},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler
},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler
},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler
},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler
},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxEvtHandler
},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler
},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler
},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler
},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler
},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler
},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler
},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler
},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler
},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler
},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler
},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
},{"_p_wxEvtHandler"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler
},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler
},{"_p_wxHtmlHelpController", _p_wxHtmlHelpControllerTo_p_wxEvtHandler
},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler
},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler
},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler
},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler
},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler
},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxEvtHandler
},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler
},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler
},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler
},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler
},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler
},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler
},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler
},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler
},{0}};
11336 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
11337 static swig_type_info _swigt__p_wxHtmlHelpController
[] = {{"_p_wxHtmlHelpController", 0, "wxHtmlHelpController *", 0},{"_p_wxHtmlHelpController"},{0}};
11338 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
11339 static swig_type_info _swigt__p_wxFileSystem
[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0},{"_p_wxFileSystem"},{0}};
11340 static swig_type_info _swigt__p_wxHtmlBookRecArray
[] = {{"_p_wxHtmlBookRecArray", 0, "wxHtmlBookRecArray *", 0},{"_p_wxHtmlBookRecArray"},{0}};
11341 static swig_type_info _swigt__p_wxPyPrintout
[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{"_p_wxHtmlPrintout", _p_wxHtmlPrintoutTo_p_wxPyPrintout
},{0}};
11342 static swig_type_info _swigt__p_wxHtmlPrintout
[] = {{"_p_wxHtmlPrintout", 0, "wxHtmlPrintout *", 0},{"_p_wxHtmlPrintout"},{0}};
11343 static swig_type_info _swigt__p_wxHtmlSearchStatus
[] = {{"_p_wxHtmlSearchStatus", 0, "wxHtmlSearchStatus *", 0},{"_p_wxHtmlSearchStatus"},{0}};
11344 static swig_type_info _swigt__p_wxHtmlContentsItem
[] = {{"_p_wxHtmlContentsItem", 0, "wxHtmlContentsItem *", 0},{"_p_wxHtmlContentsItem"},{0}};
11345 static swig_type_info _swigt__p_wxConfigBase
[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0},{"_p_wxConfigBase"},{0}};
11346 static swig_type_info _swigt__p_wxPrintData
[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
11347 static swig_type_info _swigt__p_wxHtmlHelpFrame
[] = {{"_p_wxHtmlHelpFrame", 0, "wxHtmlHelpFrame *", 0},{"_p_wxHtmlHelpFrame"},{0}};
11348 static swig_type_info _swigt__p_wxHtmlRenderingState
[] = {{"_p_wxHtmlRenderingState", 0, "wxHtmlRenderingState *", 0},{"_p_wxHtmlRenderingState"},{0}};
11349 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame
},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame
},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame
},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame
},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame
},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxFrame
},{"_p_wxFrame"},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame
},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame
},{0}};
11350 static swig_type_info _swigt__p_wxPyHtmlFilter
[] = {{"_p_wxPyHtmlFilter", 0, "wxPyHtmlFilter *", 0},{"_p_wxPyHtmlFilter"},{0}};
11351 static swig_type_info _swigt__p_wxHtmlFilter
[] = {{"_p_wxHtmlFilter", 0, "wxHtmlFilter *", 0},{"_p_wxHtmlFilter"},{0}};
11352 static swig_type_info _swigt__p_wxHtmlCell
[] = {{"_p_wxHtmlCell", 0, "wxHtmlCell *", 0},{"_p_wxHtmlCell"},{"_p_wxHtmlContainerCell", _p_wxHtmlContainerCellTo_p_wxHtmlCell
},{"_p_wxHtmlWidgetCell", _p_wxHtmlWidgetCellTo_p_wxHtmlCell
},{"_p_wxHtmlColourCell", _p_wxHtmlColourCellTo_p_wxHtmlCell
},{"_p_wxHtmlWordCell", _p_wxHtmlWordCellTo_p_wxHtmlCell
},{"_p_wxHtmlFontCell", _p_wxHtmlFontCellTo_p_wxHtmlCell
},{0}};
11353 static swig_type_info _swigt__p_wxHtmlContainerCell
[] = {{"_p_wxHtmlContainerCell", 0, "wxHtmlContainerCell *", 0},{"_p_wxHtmlContainerCell"},{0}};
11354 static swig_type_info _swigt__p_wxHtmlTag
[] = {{"_p_wxHtmlTag", 0, "wxHtmlTag *", 0},{"_p_wxHtmlTag"},{0}};
11355 static swig_type_info _swigt__p_wxHtmlLinkInfo
[] = {{"_p_wxHtmlLinkInfo", 0, "wxHtmlLinkInfo *", 0},{"_p_wxHtmlLinkInfo"},{0}};
11356 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
11357 static swig_type_info _swigt__p_wxHtmlBookRecord
[] = {{"_p_wxHtmlBookRecord", 0, "wxHtmlBookRecord *", 0},{"_p_wxHtmlBookRecord"},{0}};
11359 static swig_type_info
*swig_types_initial
[] = {
11360 _swigt__p_wxHtmlDCRenderer
,
11361 _swigt__p_wxColour
,
11362 _swigt__p_wxPageSetupDialogData
,
11364 _swigt__p_wxDefaultHtmlRenderingStyle
,
11365 _swigt__p_wxHtmlRenderingStyle
,
11366 _swigt__p_wxMouseEvent
,
11367 _swigt__p_wxHtmlWordCell
,
11368 _swigt__p_wxHtmlHelpData
,
11370 _swigt__p_wxHtmlWinParser
,
11371 _swigt__p_wxHtmlParser
,
11374 _swigt__p_wxHtmlColourCell
,
11375 _swigt__p_wxPyHtmlWindow
,
11376 _swigt__p_wxScrolledWindow
,
11377 _swigt__p_wxWindow
,
11378 _swigt__p_wxTopLevelWindow
,
11379 _swigt__p_wxHtmlFontCell
,
11380 _swigt__p_wxHtmlEasyPrinting
,
11381 _swigt__p_wxHtmlSelection
,
11382 _swigt__p_wxHtmlRenderingInfo
,
11383 _swigt__p_wxHtmlWidgetCell
,
11384 _swigt__p_wxObject
,
11385 _swigt__p_wxString
,
11386 _swigt__p_wxPyHtmlWinTagHandler
,
11387 _swigt__p_wxHtmlTagHandler
,
11388 _swigt__p_wxPyHtmlTagHandler
,
11389 _swigt__p_wxEvtHandler
,
11391 _swigt__p_wxHtmlHelpController
,
11392 _swigt__p_wxCursor
,
11393 _swigt__p_wxFileSystem
,
11394 _swigt__p_wxHtmlBookRecArray
,
11395 _swigt__p_wxPyPrintout
,
11396 _swigt__p_wxHtmlPrintout
,
11397 _swigt__p_wxHtmlSearchStatus
,
11398 _swigt__p_wxHtmlContentsItem
,
11399 _swigt__p_wxConfigBase
,
11400 _swigt__p_wxPrintData
,
11401 _swigt__p_wxHtmlHelpFrame
,
11402 _swigt__p_wxHtmlRenderingState
,
11404 _swigt__p_wxPyHtmlFilter
,
11405 _swigt__p_wxHtmlFilter
,
11406 _swigt__p_wxHtmlCell
,
11407 _swigt__p_wxHtmlContainerCell
,
11408 _swigt__p_wxHtmlTag
,
11409 _swigt__p_wxHtmlLinkInfo
,
11411 _swigt__p_wxHtmlBookRecord
,
11416 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
11418 static swig_const_info swig_const_table
[] = {
11428 SWIGEXPORT(void) SWIG_init(void) {
11429 static PyObject
*SWIG_globals
= 0;
11430 static int typeinit
= 0;
11433 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
11434 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
11435 d
= PyModule_GetDict(m
);
11438 for (i
= 0; swig_types_initial
[i
]; i
++) {
11439 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
11443 SWIG_InstallConstants(d
,swig_const_table
);
11445 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
11446 SWIG_addvarlink(SWIG_globals
,(char*)"HtmlWindowNameStr",_wrap_HtmlWindowNameStr_get
, _wrap_HtmlWindowNameStr_set
);
11447 SWIG_addvarlink(SWIG_globals
,(char*)"HtmlPrintoutTitleStr",_wrap_HtmlPrintoutTitleStr_get
, _wrap_HtmlPrintoutTitleStr_set
);
11448 SWIG_addvarlink(SWIG_globals
,(char*)"HtmlPrintingTitleStr",_wrap_HtmlPrintingTitleStr_get
, _wrap_HtmlPrintingTitleStr_set
);
11449 PyDict_SetItemString(d
,"HTML_ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxHTML_ALIGN_LEFT
));
11450 PyDict_SetItemString(d
,"HTML_ALIGN_CENTER", SWIG_PyObj_FromInt((int)wxHTML_ALIGN_CENTER
));
11451 PyDict_SetItemString(d
,"HTML_ALIGN_RIGHT", SWIG_PyObj_FromInt((int)wxHTML_ALIGN_RIGHT
));
11452 PyDict_SetItemString(d
,"HTML_ALIGN_BOTTOM", SWIG_PyObj_FromInt((int)wxHTML_ALIGN_BOTTOM
));
11453 PyDict_SetItemString(d
,"HTML_ALIGN_TOP", SWIG_PyObj_FromInt((int)wxHTML_ALIGN_TOP
));
11454 PyDict_SetItemString(d
,"HTML_CLR_FOREGROUND", SWIG_PyObj_FromInt((int)wxHTML_CLR_FOREGROUND
));
11455 PyDict_SetItemString(d
,"HTML_CLR_BACKGROUND", SWIG_PyObj_FromInt((int)wxHTML_CLR_BACKGROUND
));
11456 PyDict_SetItemString(d
,"HTML_UNITS_PIXELS", SWIG_PyObj_FromInt((int)wxHTML_UNITS_PIXELS
));
11457 PyDict_SetItemString(d
,"HTML_UNITS_PERCENT", SWIG_PyObj_FromInt((int)wxHTML_UNITS_PERCENT
));
11458 PyDict_SetItemString(d
,"HTML_INDENT_LEFT", SWIG_PyObj_FromInt((int)wxHTML_INDENT_LEFT
));
11459 PyDict_SetItemString(d
,"HTML_INDENT_RIGHT", SWIG_PyObj_FromInt((int)wxHTML_INDENT_RIGHT
));
11460 PyDict_SetItemString(d
,"HTML_INDENT_TOP", SWIG_PyObj_FromInt((int)wxHTML_INDENT_TOP
));
11461 PyDict_SetItemString(d
,"HTML_INDENT_BOTTOM", SWIG_PyObj_FromInt((int)wxHTML_INDENT_BOTTOM
));
11462 PyDict_SetItemString(d
,"HTML_INDENT_HORIZONTAL", SWIG_PyObj_FromInt((int)wxHTML_INDENT_HORIZONTAL
));
11463 PyDict_SetItemString(d
,"HTML_INDENT_VERTICAL", SWIG_PyObj_FromInt((int)wxHTML_INDENT_VERTICAL
));
11464 PyDict_SetItemString(d
,"HTML_INDENT_ALL", SWIG_PyObj_FromInt((int)wxHTML_INDENT_ALL
));
11465 PyDict_SetItemString(d
,"HTML_COND_ISANCHOR", SWIG_PyObj_FromInt((int)wxHTML_COND_ISANCHOR
));
11466 PyDict_SetItemString(d
,"HTML_COND_ISIMAGEMAP", SWIG_PyObj_FromInt((int)wxHTML_COND_ISIMAGEMAP
));
11467 PyDict_SetItemString(d
,"HTML_COND_USER", SWIG_PyObj_FromInt((int)wxHTML_COND_USER
));
11468 PyDict_SetItemString(d
,"HTML_FONT_SIZE_1", SWIG_PyObj_FromInt((int)wxHTML_FONT_SIZE_1
));
11469 PyDict_SetItemString(d
,"HTML_FONT_SIZE_2", SWIG_PyObj_FromInt((int)wxHTML_FONT_SIZE_2
));
11470 PyDict_SetItemString(d
,"HTML_FONT_SIZE_3", SWIG_PyObj_FromInt((int)wxHTML_FONT_SIZE_3
));
11471 PyDict_SetItemString(d
,"HTML_FONT_SIZE_4", SWIG_PyObj_FromInt((int)wxHTML_FONT_SIZE_4
));
11472 PyDict_SetItemString(d
,"HTML_FONT_SIZE_5", SWIG_PyObj_FromInt((int)wxHTML_FONT_SIZE_5
));
11473 PyDict_SetItemString(d
,"HTML_FONT_SIZE_6", SWIG_PyObj_FromInt((int)wxHTML_FONT_SIZE_6
));
11474 PyDict_SetItemString(d
,"HTML_FONT_SIZE_7", SWIG_PyObj_FromInt((int)wxHTML_FONT_SIZE_7
));
11475 PyDict_SetItemString(d
,"HW_SCROLLBAR_NEVER", SWIG_PyObj_FromInt((int)wxHW_SCROLLBAR_NEVER
));
11476 PyDict_SetItemString(d
,"HW_SCROLLBAR_AUTO", SWIG_PyObj_FromInt((int)wxHW_SCROLLBAR_AUTO
));
11477 PyDict_SetItemString(d
,"HW_NO_SELECTION", SWIG_PyObj_FromInt((int)wxHW_NO_SELECTION
));
11478 PyDict_SetItemString(d
,"HW_DEFAULT_STYLE", SWIG_PyObj_FromInt((int)wxHW_DEFAULT_STYLE
));
11479 PyDict_SetItemString(d
,"HTML_OPEN", SWIG_PyObj_FromInt((int)wxHTML_OPEN
));
11480 PyDict_SetItemString(d
,"HTML_BLOCK", SWIG_PyObj_FromInt((int)wxHTML_BLOCK
));
11481 PyDict_SetItemString(d
,"HTML_REDIRECT", SWIG_PyObj_FromInt((int)wxHTML_REDIRECT
));
11482 PyDict_SetItemString(d
,"HTML_URL_PAGE", SWIG_PyObj_FromInt((int)wxHTML_URL_PAGE
));
11483 PyDict_SetItemString(d
,"HTML_URL_IMAGE", SWIG_PyObj_FromInt((int)wxHTML_URL_IMAGE
));
11484 PyDict_SetItemString(d
,"HTML_URL_OTHER", SWIG_PyObj_FromInt((int)wxHTML_URL_OTHER
));
11485 PyDict_SetItemString(d
,"HTML_SEL_OUT", SWIG_PyObj_FromInt((int)wxHTML_SEL_OUT
));
11486 PyDict_SetItemString(d
,"HTML_SEL_IN", SWIG_PyObj_FromInt((int)wxHTML_SEL_IN
));
11487 PyDict_SetItemString(d
,"HTML_SEL_CHANGING", SWIG_PyObj_FromInt((int)wxHTML_SEL_CHANGING
));
11488 PyDict_SetItemString(d
,"HTML_FIND_EXACT", SWIG_PyObj_FromInt((int)wxHTML_FIND_EXACT
));
11489 PyDict_SetItemString(d
,"HTML_FIND_NEAREST_BEFORE", SWIG_PyObj_FromInt((int)wxHTML_FIND_NEAREST_BEFORE
));
11490 PyDict_SetItemString(d
,"HTML_FIND_NEAREST_AFTER", SWIG_PyObj_FromInt((int)wxHTML_FIND_NEAREST_AFTER
));
11491 PyDict_SetItemString(d
,"PAGE_ODD", SWIG_PyObj_FromInt((int)wxPAGE_ODD
));
11492 PyDict_SetItemString(d
,"PAGE_EVEN", SWIG_PyObj_FromInt((int)wxPAGE_EVEN
));
11493 PyDict_SetItemString(d
,"PAGE_ALL", SWIG_PyObj_FromInt((int)wxPAGE_ALL
));
11494 PyDict_SetItemString(d
,"HF_TOOLBAR", SWIG_PyObj_FromInt((int)wxHF_TOOLBAR
));
11495 PyDict_SetItemString(d
,"HF_FLATTOOLBAR", SWIG_PyObj_FromInt((int)wxHF_FLATTOOLBAR
));
11496 PyDict_SetItemString(d
,"HF_CONTENTS", SWIG_PyObj_FromInt((int)wxHF_CONTENTS
));
11497 PyDict_SetItemString(d
,"HF_INDEX", SWIG_PyObj_FromInt((int)wxHF_INDEX
));
11498 PyDict_SetItemString(d
,"HF_SEARCH", SWIG_PyObj_FromInt((int)wxHF_SEARCH
));
11499 PyDict_SetItemString(d
,"HF_BOOKMARKS", SWIG_PyObj_FromInt((int)wxHF_BOOKMARKS
));
11500 PyDict_SetItemString(d
,"HF_OPENFILES", SWIG_PyObj_FromInt((int)wxHF_OPENFILES
));
11501 PyDict_SetItemString(d
,"HF_PRINT", SWIG_PyObj_FromInt((int)wxHF_PRINT
));
11502 PyDict_SetItemString(d
,"HF_DEFAULTSTYLE", SWIG_PyObj_FromInt((int)wxHF_DEFAULTSTYLE
));
11504 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
11505 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
11506 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
11507 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");