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_base_OnLinkClicked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6570 PyObject
*resultobj
;
6571 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6572 wxHtmlLinkInfo
*arg2
= 0 ;
6573 PyObject
* obj0
= 0 ;
6574 PyObject
* obj1
= 0 ;
6576 (char *) "self",(char *) "link", NULL
6579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_base_OnLinkClicked",kwnames
,&obj0
,&obj1
)) goto fail
;
6580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6581 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxHtmlLinkInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6583 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6587 (arg1
)->base_OnLinkClicked((wxHtmlLinkInfo
const &)*arg2
);
6589 wxPyEndAllowThreads(__tstate
);
6590 if (PyErr_Occurred()) SWIG_fail
;
6592 Py_INCREF(Py_None
); resultobj
= Py_None
;
6599 static PyObject
*_wrap_HtmlWindow_base_OnSetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6600 PyObject
*resultobj
;
6601 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6602 wxString
*arg2
= 0 ;
6603 bool temp2
= False
;
6604 PyObject
* obj0
= 0 ;
6605 PyObject
* obj1
= 0 ;
6607 (char *) "self",(char *) "title", NULL
6610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_base_OnSetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
6611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6613 arg2
= wxString_in_helper(obj1
);
6614 if (arg2
== NULL
) SWIG_fail
;
6618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6619 (arg1
)->base_OnSetTitle((wxString
const &)*arg2
);
6621 wxPyEndAllowThreads(__tstate
);
6622 if (PyErr_Occurred()) SWIG_fail
;
6624 Py_INCREF(Py_None
); resultobj
= Py_None
;
6639 static PyObject
*_wrap_HtmlWindow_base_OnCellMouseHover(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6640 PyObject
*resultobj
;
6641 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6642 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
6645 PyObject
* obj0
= 0 ;
6646 PyObject
* obj1
= 0 ;
6647 PyObject
* obj2
= 0 ;
6648 PyObject
* obj3
= 0 ;
6650 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
6653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HtmlWindow_base_OnCellMouseHover",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6655 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6657 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6658 if (PyErr_Occurred()) SWIG_fail
;
6661 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
6662 if (PyErr_Occurred()) SWIG_fail
;
6665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6666 (arg1
)->base_OnCellMouseHover(arg2
,arg3
,arg4
);
6668 wxPyEndAllowThreads(__tstate
);
6669 if (PyErr_Occurred()) SWIG_fail
;
6671 Py_INCREF(Py_None
); resultobj
= Py_None
;
6678 static PyObject
*_wrap_HtmlWindow_base_OnCellClicked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6679 PyObject
*resultobj
;
6680 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6681 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
6684 wxMouseEvent
*arg5
= 0 ;
6685 PyObject
* obj0
= 0 ;
6686 PyObject
* obj1
= 0 ;
6687 PyObject
* obj2
= 0 ;
6688 PyObject
* obj3
= 0 ;
6689 PyObject
* obj4
= 0 ;
6691 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
6694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlWindow_base_OnCellClicked",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6696 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxHtmlCell
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6698 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6699 if (PyErr_Occurred()) SWIG_fail
;
6702 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
6703 if (PyErr_Occurred()) SWIG_fail
;
6705 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6707 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6711 (arg1
)->base_OnCellClicked(arg2
,arg3
,arg4
,(wxMouseEvent
const &)*arg5
);
6713 wxPyEndAllowThreads(__tstate
);
6714 if (PyErr_Occurred()) SWIG_fail
;
6716 Py_INCREF(Py_None
); resultobj
= Py_None
;
6723 static PyObject
* HtmlWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6725 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6726 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWindow
, obj
);
6728 return Py_BuildValue((char *)"");
6730 static PyObject
*_wrap_new_HtmlDCRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6731 PyObject
*resultobj
;
6732 wxHtmlDCRenderer
*result
;
6737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlDCRenderer",kwnames
)) goto fail
;
6739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6740 result
= (wxHtmlDCRenderer
*)new wxHtmlDCRenderer();
6742 wxPyEndAllowThreads(__tstate
);
6743 if (PyErr_Occurred()) SWIG_fail
;
6745 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlDCRenderer
, 1);
6752 static PyObject
*_wrap_delete_HtmlDCRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6753 PyObject
*resultobj
;
6754 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
6755 PyObject
* obj0
= 0 ;
6757 (char *) "self", NULL
6760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlDCRenderer",kwnames
,&obj0
)) goto fail
;
6761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlDCRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6766 wxPyEndAllowThreads(__tstate
);
6767 if (PyErr_Occurred()) SWIG_fail
;
6769 Py_INCREF(Py_None
); resultobj
= Py_None
;
6776 static PyObject
*_wrap_HtmlDCRenderer_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6777 PyObject
*resultobj
;
6778 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
6779 wxDC
*arg2
= (wxDC
*) 0 ;
6781 PyObject
* obj0
= 0 ;
6782 PyObject
* obj1
= 0 ;
6783 PyObject
* obj2
= 0 ;
6785 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
6788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlDCRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6790 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6792 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6793 if (PyErr_Occurred()) SWIG_fail
;
6796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6797 (arg1
)->SetDC(arg2
,arg3
);
6799 wxPyEndAllowThreads(__tstate
);
6800 if (PyErr_Occurred()) SWIG_fail
;
6802 Py_INCREF(Py_None
); resultobj
= Py_None
;
6809 static PyObject
*_wrap_HtmlDCRenderer_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6810 PyObject
*resultobj
;
6811 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
6814 PyObject
* obj0
= 0 ;
6815 PyObject
* obj1
= 0 ;
6816 PyObject
* obj2
= 0 ;
6818 (char *) "self",(char *) "width",(char *) "height", NULL
6821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlDCRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6824 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6825 if (PyErr_Occurred()) SWIG_fail
;
6828 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6829 if (PyErr_Occurred()) SWIG_fail
;
6832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6833 (arg1
)->SetSize(arg2
,arg3
);
6835 wxPyEndAllowThreads(__tstate
);
6836 if (PyErr_Occurred()) SWIG_fail
;
6838 Py_INCREF(Py_None
); resultobj
= Py_None
;
6845 static PyObject
*_wrap_HtmlDCRenderer_SetHtmlText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6846 PyObject
*resultobj
;
6847 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
6848 wxString
*arg2
= 0 ;
6849 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6850 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6851 bool arg4
= (bool) True
;
6852 bool temp2
= False
;
6853 bool temp3
= False
;
6854 PyObject
* obj0
= 0 ;
6855 PyObject
* obj1
= 0 ;
6856 PyObject
* obj2
= 0 ;
6857 PyObject
* obj3
= 0 ;
6859 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
6862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlDCRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6865 arg2
= wxString_in_helper(obj1
);
6866 if (arg2
== NULL
) SWIG_fail
;
6871 arg3
= wxString_in_helper(obj2
);
6872 if (arg3
== NULL
) SWIG_fail
;
6878 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
6879 if (PyErr_Occurred()) SWIG_fail
;
6883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6884 (arg1
)->SetHtmlText((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
6886 wxPyEndAllowThreads(__tstate
);
6887 if (PyErr_Occurred()) SWIG_fail
;
6889 Py_INCREF(Py_None
); resultobj
= Py_None
;
6912 static PyObject
*_wrap_HtmlDCRenderer_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6913 PyObject
*resultobj
;
6914 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
6917 PyObject
*arg4
= (PyObject
*) NULL
;
6918 PyObject
* obj0
= 0 ;
6919 PyObject
* obj1
= 0 ;
6920 PyObject
* obj2
= 0 ;
6921 PyObject
* obj3
= 0 ;
6923 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
6926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlDCRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6929 wxString
* sptr
= wxString_in_helper(obj1
);
6930 if (sptr
== NULL
) SWIG_fail
;
6935 wxString
* sptr
= wxString_in_helper(obj2
);
6936 if (sptr
== NULL
) SWIG_fail
;
6944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6945 wxHtmlDCRenderer_SetFonts(arg1
,arg2
,arg3
,arg4
);
6947 wxPyEndAllowThreads(__tstate
);
6948 if (PyErr_Occurred()) SWIG_fail
;
6950 Py_INCREF(Py_None
); resultobj
= Py_None
;
6957 static PyObject
*_wrap_HtmlDCRenderer_Render(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6958 PyObject
*resultobj
;
6959 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
6962 int arg4
= (int) 0 ;
6963 int arg5
= (int) False
;
6964 int arg6
= (int) INT_MAX
;
6965 int *arg7
= (int *) NULL
;
6966 int arg8
= (int) 0 ;
6968 PyObject
* obj0
= 0 ;
6969 PyObject
* obj1
= 0 ;
6970 PyObject
* obj2
= 0 ;
6971 PyObject
* obj3
= 0 ;
6972 PyObject
* obj4
= 0 ;
6973 PyObject
* obj5
= 0 ;
6974 PyObject
* obj6
= 0 ;
6975 PyObject
* obj7
= 0 ;
6977 (char *) "self",(char *) "x",(char *) "y",(char *) "from",(char *) "dont_render",(char *) "to",(char *) "choices",(char *) "LCOUNT", NULL
6980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:HtmlDCRenderer_Render",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlDCRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6983 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6984 if (PyErr_Occurred()) SWIG_fail
;
6987 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6988 if (PyErr_Occurred()) SWIG_fail
;
6992 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
6993 if (PyErr_Occurred()) SWIG_fail
;
6998 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
6999 if (PyErr_Occurred()) SWIG_fail
;
7004 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
7005 if (PyErr_Occurred()) SWIG_fail
;
7009 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7013 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
7014 if (PyErr_Occurred()) SWIG_fail
;
7018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7019 result
= (int)(arg1
)->Render(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
7021 wxPyEndAllowThreads(__tstate
);
7022 if (PyErr_Occurred()) SWIG_fail
;
7024 resultobj
= SWIG_PyObj_FromInt((int)result
);
7031 static PyObject
*_wrap_HtmlDCRenderer_GetTotalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7032 PyObject
*resultobj
;
7033 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
7035 PyObject
* obj0
= 0 ;
7037 (char *) "self", NULL
7040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlDCRenderer_GetTotalHeight",kwnames
,&obj0
)) goto fail
;
7041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlDCRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7044 result
= (int)(arg1
)->GetTotalHeight();
7046 wxPyEndAllowThreads(__tstate
);
7047 if (PyErr_Occurred()) SWIG_fail
;
7049 resultobj
= SWIG_PyObj_FromInt((int)result
);
7056 static PyObject
* HtmlDCRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
7058 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7059 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlDCRenderer
, obj
);
7061 return Py_BuildValue((char *)"");
7063 static PyObject
*_wrap_new_HtmlPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7064 PyObject
*resultobj
;
7065 wxString
const &arg1_defvalue
= wxPyHtmlPrintoutTitleStr
;
7066 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
7067 wxHtmlPrintout
*result
;
7068 bool temp1
= False
;
7069 PyObject
* obj0
= 0 ;
7071 (char *) "title", NULL
7074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_HtmlPrintout",kwnames
,&obj0
)) goto fail
;
7077 arg1
= wxString_in_helper(obj0
);
7078 if (arg1
== NULL
) SWIG_fail
;
7083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7084 result
= (wxHtmlPrintout
*)new wxHtmlPrintout((wxString
const &)*arg1
);
7086 wxPyEndAllowThreads(__tstate
);
7087 if (PyErr_Occurred()) SWIG_fail
;
7089 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlPrintout
, 1);
7104 static PyObject
*_wrap_HtmlPrintout_SetHtmlText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7105 PyObject
*resultobj
;
7106 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
7107 wxString
*arg2
= 0 ;
7108 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7109 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7110 bool arg4
= (bool) True
;
7111 bool temp2
= False
;
7112 bool temp3
= False
;
7113 PyObject
* obj0
= 0 ;
7114 PyObject
* obj1
= 0 ;
7115 PyObject
* obj2
= 0 ;
7116 PyObject
* obj3
= 0 ;
7118 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
7121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7124 arg2
= wxString_in_helper(obj1
);
7125 if (arg2
== NULL
) SWIG_fail
;
7130 arg3
= wxString_in_helper(obj2
);
7131 if (arg3
== NULL
) SWIG_fail
;
7137 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
7138 if (PyErr_Occurred()) SWIG_fail
;
7142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7143 (arg1
)->SetHtmlText((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
7145 wxPyEndAllowThreads(__tstate
);
7146 if (PyErr_Occurred()) SWIG_fail
;
7148 Py_INCREF(Py_None
); resultobj
= Py_None
;
7171 static PyObject
*_wrap_HtmlPrintout_SetHtmlFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7172 PyObject
*resultobj
;
7173 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
7174 wxString
*arg2
= 0 ;
7175 bool temp2
= False
;
7176 PyObject
* obj0
= 0 ;
7177 PyObject
* obj1
= 0 ;
7179 (char *) "self",(char *) "htmlfile", NULL
7182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7185 arg2
= wxString_in_helper(obj1
);
7186 if (arg2
== NULL
) SWIG_fail
;
7190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7191 (arg1
)->SetHtmlFile((wxString
const &)*arg2
);
7193 wxPyEndAllowThreads(__tstate
);
7194 if (PyErr_Occurred()) SWIG_fail
;
7196 Py_INCREF(Py_None
); resultobj
= Py_None
;
7211 static PyObject
*_wrap_HtmlPrintout_SetHeader(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7212 PyObject
*resultobj
;
7213 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
7214 wxString
*arg2
= 0 ;
7215 int arg3
= (int) wxPAGE_ALL
;
7216 bool temp2
= False
;
7217 PyObject
* obj0
= 0 ;
7218 PyObject
* obj1
= 0 ;
7219 PyObject
* obj2
= 0 ;
7221 (char *) "self",(char *) "header",(char *) "pg", NULL
7224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7227 arg2
= wxString_in_helper(obj1
);
7228 if (arg2
== NULL
) SWIG_fail
;
7233 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7234 if (PyErr_Occurred()) SWIG_fail
;
7238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7239 (arg1
)->SetHeader((wxString
const &)*arg2
,arg3
);
7241 wxPyEndAllowThreads(__tstate
);
7242 if (PyErr_Occurred()) SWIG_fail
;
7244 Py_INCREF(Py_None
); resultobj
= Py_None
;
7259 static PyObject
*_wrap_HtmlPrintout_SetFooter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7260 PyObject
*resultobj
;
7261 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
7262 wxString
*arg2
= 0 ;
7263 int arg3
= (int) wxPAGE_ALL
;
7264 bool temp2
= False
;
7265 PyObject
* obj0
= 0 ;
7266 PyObject
* obj1
= 0 ;
7267 PyObject
* obj2
= 0 ;
7269 (char *) "self",(char *) "footer",(char *) "pg", NULL
7272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7275 arg2
= wxString_in_helper(obj1
);
7276 if (arg2
== NULL
) SWIG_fail
;
7281 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7282 if (PyErr_Occurred()) SWIG_fail
;
7286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7287 (arg1
)->SetFooter((wxString
const &)*arg2
,arg3
);
7289 wxPyEndAllowThreads(__tstate
);
7290 if (PyErr_Occurred()) SWIG_fail
;
7292 Py_INCREF(Py_None
); resultobj
= Py_None
;
7307 static PyObject
*_wrap_HtmlPrintout_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7308 PyObject
*resultobj
;
7309 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
7312 PyObject
*arg4
= (PyObject
*) NULL
;
7313 PyObject
* obj0
= 0 ;
7314 PyObject
* obj1
= 0 ;
7315 PyObject
* obj2
= 0 ;
7316 PyObject
* obj3
= 0 ;
7318 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
7321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7324 wxString
* sptr
= wxString_in_helper(obj1
);
7325 if (sptr
== NULL
) SWIG_fail
;
7330 wxString
* sptr
= wxString_in_helper(obj2
);
7331 if (sptr
== NULL
) SWIG_fail
;
7339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7340 wxHtmlPrintout_SetFonts(arg1
,arg2
,arg3
,arg4
);
7342 wxPyEndAllowThreads(__tstate
);
7343 if (PyErr_Occurred()) SWIG_fail
;
7345 Py_INCREF(Py_None
); resultobj
= Py_None
;
7352 static PyObject
*_wrap_HtmlPrintout_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7353 PyObject
*resultobj
;
7354 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
7355 float arg2
= (float) 25.2 ;
7356 float arg3
= (float) 25.2 ;
7357 float arg4
= (float) 25.2 ;
7358 float arg5
= (float) 25.2 ;
7359 float arg6
= (float) 5 ;
7360 PyObject
* obj0
= 0 ;
7361 PyObject
* obj1
= 0 ;
7362 PyObject
* obj2
= 0 ;
7363 PyObject
* obj3
= 0 ;
7364 PyObject
* obj4
= 0 ;
7365 PyObject
* obj5
= 0 ;
7367 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
7370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7374 arg2
= (float) SWIG_PyObj_AsFloat(obj1
);
7375 if (PyErr_Occurred()) SWIG_fail
;
7380 arg3
= (float) SWIG_PyObj_AsFloat(obj2
);
7381 if (PyErr_Occurred()) SWIG_fail
;
7386 arg4
= (float) SWIG_PyObj_AsFloat(obj3
);
7387 if (PyErr_Occurred()) SWIG_fail
;
7392 arg5
= (float) SWIG_PyObj_AsFloat(obj4
);
7393 if (PyErr_Occurred()) SWIG_fail
;
7398 arg6
= (float) SWIG_PyObj_AsFloat(obj5
);
7399 if (PyErr_Occurred()) SWIG_fail
;
7403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7404 (arg1
)->SetMargins(arg2
,arg3
,arg4
,arg5
,arg6
);
7406 wxPyEndAllowThreads(__tstate
);
7407 if (PyErr_Occurred()) SWIG_fail
;
7409 Py_INCREF(Py_None
); resultobj
= Py_None
;
7416 static PyObject
*_wrap_HtmlPrintout_AddFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7417 PyObject
*resultobj
;
7418 wxHtmlFilter
*arg1
= (wxHtmlFilter
*) 0 ;
7419 PyObject
* obj0
= 0 ;
7421 (char *) "filter", NULL
7424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlPrintout_AddFilter",kwnames
,&obj0
)) goto fail
;
7425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlFilter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7428 wxHtmlPrintout::AddFilter(arg1
);
7430 wxPyEndAllowThreads(__tstate
);
7431 if (PyErr_Occurred()) SWIG_fail
;
7433 Py_INCREF(Py_None
); resultobj
= Py_None
;
7440 static PyObject
*_wrap_HtmlPrintout_CleanUpStatics(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7441 PyObject
*resultobj
;
7446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HtmlPrintout_CleanUpStatics",kwnames
)) goto fail
;
7448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7449 wxHtmlPrintout::CleanUpStatics();
7451 wxPyEndAllowThreads(__tstate
);
7452 if (PyErr_Occurred()) SWIG_fail
;
7454 Py_INCREF(Py_None
); resultobj
= Py_None
;
7461 static PyObject
* HtmlPrintout_swigregister(PyObject
*self
, PyObject
*args
) {
7463 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7464 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlPrintout
, obj
);
7466 return Py_BuildValue((char *)"");
7468 static PyObject
*_wrap_new_HtmlEasyPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7469 PyObject
*resultobj
;
7470 wxString
const &arg1_defvalue
= wxPyHtmlPrintingTitleStr
;
7471 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
7472 wxWindow
*arg2
= (wxWindow
*) NULL
;
7473 wxHtmlEasyPrinting
*result
;
7474 bool temp1
= False
;
7475 PyObject
* obj0
= 0 ;
7476 PyObject
* obj1
= 0 ;
7478 (char *) "name",(char *) "parentWindow", NULL
7481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_HtmlEasyPrinting",kwnames
,&obj0
,&obj1
)) goto fail
;
7484 arg1
= wxString_in_helper(obj0
);
7485 if (arg1
== NULL
) SWIG_fail
;
7490 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7494 result
= (wxHtmlEasyPrinting
*)new wxHtmlEasyPrinting((wxString
const &)*arg1
,arg2
);
7496 wxPyEndAllowThreads(__tstate
);
7497 if (PyErr_Occurred()) SWIG_fail
;
7499 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlEasyPrinting
, 1);
7514 static PyObject
*_wrap_delete_HtmlEasyPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7515 PyObject
*resultobj
;
7516 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
7517 PyObject
* obj0
= 0 ;
7519 (char *) "self", NULL
7522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlEasyPrinting",kwnames
,&obj0
)) goto fail
;
7523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7528 wxPyEndAllowThreads(__tstate
);
7529 if (PyErr_Occurred()) SWIG_fail
;
7531 Py_INCREF(Py_None
); resultobj
= Py_None
;
7538 static PyObject
*_wrap_HtmlEasyPrinting_PreviewFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7539 PyObject
*resultobj
;
7540 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
7541 wxString
*arg2
= 0 ;
7542 bool temp2
= False
;
7543 PyObject
* obj0
= 0 ;
7544 PyObject
* obj1
= 0 ;
7546 (char *) "self",(char *) "htmlfile", NULL
7549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7552 arg2
= wxString_in_helper(obj1
);
7553 if (arg2
== NULL
) SWIG_fail
;
7557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7558 (arg1
)->PreviewFile((wxString
const &)*arg2
);
7560 wxPyEndAllowThreads(__tstate
);
7561 if (PyErr_Occurred()) SWIG_fail
;
7563 Py_INCREF(Py_None
); resultobj
= Py_None
;
7578 static PyObject
*_wrap_HtmlEasyPrinting_PreviewText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7579 PyObject
*resultobj
;
7580 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
7581 wxString
*arg2
= 0 ;
7582 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7583 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7584 bool temp2
= False
;
7585 bool temp3
= False
;
7586 PyObject
* obj0
= 0 ;
7587 PyObject
* obj1
= 0 ;
7588 PyObject
* obj2
= 0 ;
7590 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
7593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7596 arg2
= wxString_in_helper(obj1
);
7597 if (arg2
== NULL
) SWIG_fail
;
7602 arg3
= wxString_in_helper(obj2
);
7603 if (arg3
== NULL
) SWIG_fail
;
7608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7609 (arg1
)->PreviewText((wxString
const &)*arg2
,(wxString
const &)*arg3
);
7611 wxPyEndAllowThreads(__tstate
);
7612 if (PyErr_Occurred()) SWIG_fail
;
7614 Py_INCREF(Py_None
); resultobj
= Py_None
;
7637 static PyObject
*_wrap_HtmlEasyPrinting_PrintFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7638 PyObject
*resultobj
;
7639 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
7640 wxString
*arg2
= 0 ;
7641 bool temp2
= False
;
7642 PyObject
* obj0
= 0 ;
7643 PyObject
* obj1
= 0 ;
7645 (char *) "self",(char *) "htmlfile", NULL
7648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7651 arg2
= wxString_in_helper(obj1
);
7652 if (arg2
== NULL
) SWIG_fail
;
7656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7657 (arg1
)->PrintFile((wxString
const &)*arg2
);
7659 wxPyEndAllowThreads(__tstate
);
7660 if (PyErr_Occurred()) SWIG_fail
;
7662 Py_INCREF(Py_None
); resultobj
= Py_None
;
7677 static PyObject
*_wrap_HtmlEasyPrinting_PrintText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7678 PyObject
*resultobj
;
7679 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
7680 wxString
*arg2
= 0 ;
7681 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7682 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7683 bool temp2
= False
;
7684 bool temp3
= False
;
7685 PyObject
* obj0
= 0 ;
7686 PyObject
* obj1
= 0 ;
7687 PyObject
* obj2
= 0 ;
7689 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
7692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7695 arg2
= wxString_in_helper(obj1
);
7696 if (arg2
== NULL
) SWIG_fail
;
7701 arg3
= wxString_in_helper(obj2
);
7702 if (arg3
== NULL
) SWIG_fail
;
7707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7708 (arg1
)->PrintText((wxString
const &)*arg2
,(wxString
const &)*arg3
);
7710 wxPyEndAllowThreads(__tstate
);
7711 if (PyErr_Occurred()) SWIG_fail
;
7713 Py_INCREF(Py_None
); resultobj
= Py_None
;
7736 static PyObject
*_wrap_HtmlEasyPrinting_PrinterSetup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7737 PyObject
*resultobj
;
7738 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
7739 PyObject
* obj0
= 0 ;
7741 (char *) "self", NULL
7744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlEasyPrinting_PrinterSetup",kwnames
,&obj0
)) goto fail
;
7745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7748 (arg1
)->PrinterSetup();
7750 wxPyEndAllowThreads(__tstate
);
7751 if (PyErr_Occurred()) SWIG_fail
;
7753 Py_INCREF(Py_None
); resultobj
= Py_None
;
7760 static PyObject
*_wrap_HtmlEasyPrinting_PageSetup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7761 PyObject
*resultobj
;
7762 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
7763 PyObject
* obj0
= 0 ;
7765 (char *) "self", NULL
7768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlEasyPrinting_PageSetup",kwnames
,&obj0
)) goto fail
;
7769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7772 (arg1
)->PageSetup();
7774 wxPyEndAllowThreads(__tstate
);
7775 if (PyErr_Occurred()) SWIG_fail
;
7777 Py_INCREF(Py_None
); resultobj
= Py_None
;
7784 static PyObject
*_wrap_HtmlEasyPrinting_SetHeader(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7785 PyObject
*resultobj
;
7786 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
7787 wxString
*arg2
= 0 ;
7788 int arg3
= (int) wxPAGE_ALL
;
7789 bool temp2
= False
;
7790 PyObject
* obj0
= 0 ;
7791 PyObject
* obj1
= 0 ;
7792 PyObject
* obj2
= 0 ;
7794 (char *) "self",(char *) "header",(char *) "pg", NULL
7797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7800 arg2
= wxString_in_helper(obj1
);
7801 if (arg2
== NULL
) SWIG_fail
;
7806 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7807 if (PyErr_Occurred()) SWIG_fail
;
7811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7812 (arg1
)->SetHeader((wxString
const &)*arg2
,arg3
);
7814 wxPyEndAllowThreads(__tstate
);
7815 if (PyErr_Occurred()) SWIG_fail
;
7817 Py_INCREF(Py_None
); resultobj
= Py_None
;
7832 static PyObject
*_wrap_HtmlEasyPrinting_SetFooter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7833 PyObject
*resultobj
;
7834 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
7835 wxString
*arg2
= 0 ;
7836 int arg3
= (int) wxPAGE_ALL
;
7837 bool temp2
= False
;
7838 PyObject
* obj0
= 0 ;
7839 PyObject
* obj1
= 0 ;
7840 PyObject
* obj2
= 0 ;
7842 (char *) "self",(char *) "footer",(char *) "pg", NULL
7845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7848 arg2
= wxString_in_helper(obj1
);
7849 if (arg2
== NULL
) SWIG_fail
;
7854 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7855 if (PyErr_Occurred()) SWIG_fail
;
7859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7860 (arg1
)->SetFooter((wxString
const &)*arg2
,arg3
);
7862 wxPyEndAllowThreads(__tstate
);
7863 if (PyErr_Occurred()) SWIG_fail
;
7865 Py_INCREF(Py_None
); resultobj
= Py_None
;
7880 static PyObject
*_wrap_HtmlEasyPrinting_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7881 PyObject
*resultobj
;
7882 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
7885 PyObject
*arg4
= (PyObject
*) NULL
;
7886 PyObject
* obj0
= 0 ;
7887 PyObject
* obj1
= 0 ;
7888 PyObject
* obj2
= 0 ;
7889 PyObject
* obj3
= 0 ;
7891 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
7894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7897 wxString
* sptr
= wxString_in_helper(obj1
);
7898 if (sptr
== NULL
) SWIG_fail
;
7903 wxString
* sptr
= wxString_in_helper(obj2
);
7904 if (sptr
== NULL
) SWIG_fail
;
7912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7913 wxHtmlEasyPrinting_SetFonts(arg1
,arg2
,arg3
,arg4
);
7915 wxPyEndAllowThreads(__tstate
);
7916 if (PyErr_Occurred()) SWIG_fail
;
7918 Py_INCREF(Py_None
); resultobj
= Py_None
;
7925 static PyObject
*_wrap_HtmlEasyPrinting_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7926 PyObject
*resultobj
;
7927 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
7928 wxPrintData
*result
;
7929 PyObject
* obj0
= 0 ;
7931 (char *) "self", NULL
7934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlEasyPrinting_GetPrintData",kwnames
,&obj0
)) goto fail
;
7935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7938 result
= (wxPrintData
*)(arg1
)->GetPrintData();
7940 wxPyEndAllowThreads(__tstate
);
7941 if (PyErr_Occurred()) SWIG_fail
;
7943 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
7950 static PyObject
*_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7951 PyObject
*resultobj
;
7952 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
7953 wxPageSetupDialogData
*result
;
7954 PyObject
* obj0
= 0 ;
7956 (char *) "self", NULL
7959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlEasyPrinting_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
7960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7963 result
= (wxPageSetupDialogData
*)(arg1
)->GetPageSetupData();
7965 wxPyEndAllowThreads(__tstate
);
7966 if (PyErr_Occurred()) SWIG_fail
;
7968 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialogData
, 0);
7975 static PyObject
* HtmlEasyPrinting_swigregister(PyObject
*self
, PyObject
*args
) {
7977 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7978 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlEasyPrinting
, obj
);
7980 return Py_BuildValue((char *)"");
7982 static PyObject
*_wrap_new_HtmlBookRecord(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7983 PyObject
*resultobj
;
7984 wxString
*arg1
= 0 ;
7985 wxString
*arg2
= 0 ;
7986 wxString
*arg3
= 0 ;
7987 wxString
*arg4
= 0 ;
7988 wxHtmlBookRecord
*result
;
7989 bool temp1
= False
;
7990 bool temp2
= False
;
7991 bool temp3
= False
;
7992 bool temp4
= False
;
7993 PyObject
* obj0
= 0 ;
7994 PyObject
* obj1
= 0 ;
7995 PyObject
* obj2
= 0 ;
7996 PyObject
* obj3
= 0 ;
7998 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
8001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_HtmlBookRecord",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8003 arg1
= wxString_in_helper(obj0
);
8004 if (arg1
== NULL
) SWIG_fail
;
8008 arg2
= wxString_in_helper(obj1
);
8009 if (arg2
== NULL
) SWIG_fail
;
8013 arg3
= wxString_in_helper(obj2
);
8014 if (arg3
== NULL
) SWIG_fail
;
8018 arg4
= wxString_in_helper(obj3
);
8019 if (arg4
== NULL
) SWIG_fail
;
8023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8024 result
= (wxHtmlBookRecord
*)new wxHtmlBookRecord((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
8026 wxPyEndAllowThreads(__tstate
);
8027 if (PyErr_Occurred()) SWIG_fail
;
8029 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlBookRecord
, 1);
8068 static PyObject
*_wrap_HtmlBookRecord_GetBookFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8069 PyObject
*resultobj
;
8070 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
8072 PyObject
* obj0
= 0 ;
8074 (char *) "self", NULL
8077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetBookFile",kwnames
,&obj0
)) goto fail
;
8078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlBookRecord
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8081 result
= (arg1
)->GetBookFile();
8083 wxPyEndAllowThreads(__tstate
);
8084 if (PyErr_Occurred()) SWIG_fail
;
8088 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8090 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8099 static PyObject
*_wrap_HtmlBookRecord_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8100 PyObject
*resultobj
;
8101 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
8103 PyObject
* obj0
= 0 ;
8105 (char *) "self", NULL
8108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetTitle",kwnames
,&obj0
)) goto fail
;
8109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlBookRecord
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8112 result
= (arg1
)->GetTitle();
8114 wxPyEndAllowThreads(__tstate
);
8115 if (PyErr_Occurred()) SWIG_fail
;
8119 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8121 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8130 static PyObject
*_wrap_HtmlBookRecord_GetStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8131 PyObject
*resultobj
;
8132 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
8134 PyObject
* obj0
= 0 ;
8136 (char *) "self", NULL
8139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetStart",kwnames
,&obj0
)) goto fail
;
8140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlBookRecord
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8143 result
= (arg1
)->GetStart();
8145 wxPyEndAllowThreads(__tstate
);
8146 if (PyErr_Occurred()) SWIG_fail
;
8150 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8152 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8161 static PyObject
*_wrap_HtmlBookRecord_GetBasePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8162 PyObject
*resultobj
;
8163 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
8165 PyObject
* obj0
= 0 ;
8167 (char *) "self", NULL
8170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetBasePath",kwnames
,&obj0
)) goto fail
;
8171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlBookRecord
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8174 result
= (arg1
)->GetBasePath();
8176 wxPyEndAllowThreads(__tstate
);
8177 if (PyErr_Occurred()) SWIG_fail
;
8181 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8183 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8192 static PyObject
*_wrap_HtmlBookRecord_SetContentsRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8193 PyObject
*resultobj
;
8194 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
8197 PyObject
* obj0
= 0 ;
8198 PyObject
* obj1
= 0 ;
8199 PyObject
* obj2
= 0 ;
8201 (char *) "self",(char *) "start",(char *) "end", NULL
8204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlBookRecord
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8207 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8208 if (PyErr_Occurred()) SWIG_fail
;
8211 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8212 if (PyErr_Occurred()) SWIG_fail
;
8215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8216 (arg1
)->SetContentsRange(arg2
,arg3
);
8218 wxPyEndAllowThreads(__tstate
);
8219 if (PyErr_Occurred()) SWIG_fail
;
8221 Py_INCREF(Py_None
); resultobj
= Py_None
;
8228 static PyObject
*_wrap_HtmlBookRecord_GetContentsStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8229 PyObject
*resultobj
;
8230 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
8232 PyObject
* obj0
= 0 ;
8234 (char *) "self", NULL
8237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetContentsStart",kwnames
,&obj0
)) goto fail
;
8238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlBookRecord
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8241 result
= (int)(arg1
)->GetContentsStart();
8243 wxPyEndAllowThreads(__tstate
);
8244 if (PyErr_Occurred()) SWIG_fail
;
8246 resultobj
= SWIG_PyObj_FromInt((int)result
);
8253 static PyObject
*_wrap_HtmlBookRecord_GetContentsEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8254 PyObject
*resultobj
;
8255 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
8257 PyObject
* obj0
= 0 ;
8259 (char *) "self", NULL
8262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetContentsEnd",kwnames
,&obj0
)) goto fail
;
8263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlBookRecord
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8266 result
= (int)(arg1
)->GetContentsEnd();
8268 wxPyEndAllowThreads(__tstate
);
8269 if (PyErr_Occurred()) SWIG_fail
;
8271 resultobj
= SWIG_PyObj_FromInt((int)result
);
8278 static PyObject
*_wrap_HtmlBookRecord_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8279 PyObject
*resultobj
;
8280 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
8281 wxString
*arg2
= 0 ;
8282 bool temp2
= False
;
8283 PyObject
* obj0
= 0 ;
8284 PyObject
* obj1
= 0 ;
8286 (char *) "self",(char *) "title", NULL
8289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
8290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlBookRecord
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8292 arg2
= wxString_in_helper(obj1
);
8293 if (arg2
== NULL
) SWIG_fail
;
8297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8298 (arg1
)->SetTitle((wxString
const &)*arg2
);
8300 wxPyEndAllowThreads(__tstate
);
8301 if (PyErr_Occurred()) SWIG_fail
;
8303 Py_INCREF(Py_None
); resultobj
= Py_None
;
8318 static PyObject
*_wrap_HtmlBookRecord_SetBasePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8319 PyObject
*resultobj
;
8320 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
8321 wxString
*arg2
= 0 ;
8322 bool temp2
= False
;
8323 PyObject
* obj0
= 0 ;
8324 PyObject
* obj1
= 0 ;
8326 (char *) "self",(char *) "path", NULL
8329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames
,&obj0
,&obj1
)) goto fail
;
8330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlBookRecord
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8332 arg2
= wxString_in_helper(obj1
);
8333 if (arg2
== NULL
) SWIG_fail
;
8337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8338 (arg1
)->SetBasePath((wxString
const &)*arg2
);
8340 wxPyEndAllowThreads(__tstate
);
8341 if (PyErr_Occurred()) SWIG_fail
;
8343 Py_INCREF(Py_None
); resultobj
= Py_None
;
8358 static PyObject
*_wrap_HtmlBookRecord_SetStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8359 PyObject
*resultobj
;
8360 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
8361 wxString
*arg2
= 0 ;
8362 bool temp2
= False
;
8363 PyObject
* obj0
= 0 ;
8364 PyObject
* obj1
= 0 ;
8366 (char *) "self",(char *) "start", NULL
8369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetStart",kwnames
,&obj0
,&obj1
)) goto fail
;
8370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlBookRecord
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8372 arg2
= wxString_in_helper(obj1
);
8373 if (arg2
== NULL
) SWIG_fail
;
8377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8378 (arg1
)->SetStart((wxString
const &)*arg2
);
8380 wxPyEndAllowThreads(__tstate
);
8381 if (PyErr_Occurred()) SWIG_fail
;
8383 Py_INCREF(Py_None
); resultobj
= Py_None
;
8398 static PyObject
*_wrap_HtmlBookRecord_GetFullPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8399 PyObject
*resultobj
;
8400 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
8401 wxString
*arg2
= 0 ;
8403 bool temp2
= False
;
8404 PyObject
* obj0
= 0 ;
8405 PyObject
* obj1
= 0 ;
8407 (char *) "self",(char *) "page", NULL
8410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames
,&obj0
,&obj1
)) goto fail
;
8411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlBookRecord
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8413 arg2
= wxString_in_helper(obj1
);
8414 if (arg2
== NULL
) SWIG_fail
;
8418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8419 result
= ((wxHtmlBookRecord
const *)arg1
)->GetFullPath((wxString
const &)*arg2
);
8421 wxPyEndAllowThreads(__tstate
);
8422 if (PyErr_Occurred()) SWIG_fail
;
8426 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8428 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8445 static PyObject
* HtmlBookRecord_swigregister(PyObject
*self
, PyObject
*args
) {
8447 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8448 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlBookRecord
, obj
);
8450 return Py_BuildValue((char *)"");
8452 static PyObject
*_wrap_HtmlContentsItem_GetLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8453 PyObject
*resultobj
;
8454 wxHtmlContentsItem
*arg1
= (wxHtmlContentsItem
*) 0 ;
8456 PyObject
* obj0
= 0 ;
8458 (char *) "self", NULL
8461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContentsItem_GetLevel",kwnames
,&obj0
)) goto fail
;
8462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlContentsItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8465 result
= (int)wxHtmlContentsItem_GetLevel(arg1
);
8467 wxPyEndAllowThreads(__tstate
);
8468 if (PyErr_Occurred()) SWIG_fail
;
8470 resultobj
= SWIG_PyObj_FromInt((int)result
);
8477 static PyObject
*_wrap_HtmlContentsItem_GetID(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8478 PyObject
*resultobj
;
8479 wxHtmlContentsItem
*arg1
= (wxHtmlContentsItem
*) 0 ;
8481 PyObject
* obj0
= 0 ;
8483 (char *) "self", NULL
8486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContentsItem_GetID",kwnames
,&obj0
)) goto fail
;
8487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlContentsItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8490 result
= (int)wxHtmlContentsItem_GetID(arg1
);
8492 wxPyEndAllowThreads(__tstate
);
8493 if (PyErr_Occurred()) SWIG_fail
;
8495 resultobj
= SWIG_PyObj_FromInt((int)result
);
8502 static PyObject
*_wrap_HtmlContentsItem_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8503 PyObject
*resultobj
;
8504 wxHtmlContentsItem
*arg1
= (wxHtmlContentsItem
*) 0 ;
8506 PyObject
* obj0
= 0 ;
8508 (char *) "self", NULL
8511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContentsItem_GetName",kwnames
,&obj0
)) goto fail
;
8512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlContentsItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8515 result
= wxHtmlContentsItem_GetName(arg1
);
8517 wxPyEndAllowThreads(__tstate
);
8518 if (PyErr_Occurred()) SWIG_fail
;
8522 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8524 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8533 static PyObject
*_wrap_HtmlContentsItem_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8534 PyObject
*resultobj
;
8535 wxHtmlContentsItem
*arg1
= (wxHtmlContentsItem
*) 0 ;
8537 PyObject
* obj0
= 0 ;
8539 (char *) "self", NULL
8542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContentsItem_GetPage",kwnames
,&obj0
)) goto fail
;
8543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlContentsItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8546 result
= wxHtmlContentsItem_GetPage(arg1
);
8548 wxPyEndAllowThreads(__tstate
);
8549 if (PyErr_Occurred()) SWIG_fail
;
8553 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8555 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8564 static PyObject
*_wrap_HtmlContentsItem_GetBook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8565 PyObject
*resultobj
;
8566 wxHtmlContentsItem
*arg1
= (wxHtmlContentsItem
*) 0 ;
8567 wxHtmlBookRecord
*result
;
8568 PyObject
* obj0
= 0 ;
8570 (char *) "self", NULL
8573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContentsItem_GetBook",kwnames
,&obj0
)) goto fail
;
8574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlContentsItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8577 result
= (wxHtmlBookRecord
*)wxHtmlContentsItem_GetBook(arg1
);
8579 wxPyEndAllowThreads(__tstate
);
8580 if (PyErr_Occurred()) SWIG_fail
;
8582 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlBookRecord
, 0);
8589 static PyObject
* HtmlContentsItem_swigregister(PyObject
*self
, PyObject
*args
) {
8591 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8592 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContentsItem
, obj
);
8594 return Py_BuildValue((char *)"");
8596 static PyObject
*_wrap_HtmlSearchStatus_Search(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8597 PyObject
*resultobj
;
8598 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
8600 PyObject
* obj0
= 0 ;
8602 (char *) "self", NULL
8605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_Search",kwnames
,&obj0
)) goto fail
;
8606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlSearchStatus
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8609 result
= (bool)(arg1
)->Search();
8611 wxPyEndAllowThreads(__tstate
);
8612 if (PyErr_Occurred()) SWIG_fail
;
8614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8621 static PyObject
*_wrap_HtmlSearchStatus_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8622 PyObject
*resultobj
;
8623 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
8625 PyObject
* obj0
= 0 ;
8627 (char *) "self", NULL
8630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_IsActive",kwnames
,&obj0
)) goto fail
;
8631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlSearchStatus
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8634 result
= (bool)(arg1
)->IsActive();
8636 wxPyEndAllowThreads(__tstate
);
8637 if (PyErr_Occurred()) SWIG_fail
;
8639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8646 static PyObject
*_wrap_HtmlSearchStatus_GetCurIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8647 PyObject
*resultobj
;
8648 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
8650 PyObject
* obj0
= 0 ;
8652 (char *) "self", NULL
8655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_GetCurIndex",kwnames
,&obj0
)) goto fail
;
8656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlSearchStatus
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8659 result
= (int)(arg1
)->GetCurIndex();
8661 wxPyEndAllowThreads(__tstate
);
8662 if (PyErr_Occurred()) SWIG_fail
;
8664 resultobj
= SWIG_PyObj_FromInt((int)result
);
8671 static PyObject
*_wrap_HtmlSearchStatus_GetMaxIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8672 PyObject
*resultobj
;
8673 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
8675 PyObject
* obj0
= 0 ;
8677 (char *) "self", NULL
8680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_GetMaxIndex",kwnames
,&obj0
)) goto fail
;
8681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlSearchStatus
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8684 result
= (int)(arg1
)->GetMaxIndex();
8686 wxPyEndAllowThreads(__tstate
);
8687 if (PyErr_Occurred()) SWIG_fail
;
8689 resultobj
= SWIG_PyObj_FromInt((int)result
);
8696 static PyObject
*_wrap_HtmlSearchStatus_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8697 PyObject
*resultobj
;
8698 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
8700 PyObject
* obj0
= 0 ;
8702 (char *) "self", NULL
8705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_GetName",kwnames
,&obj0
)) goto fail
;
8706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlSearchStatus
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8710 wxString
const &_result_ref
= (arg1
)->GetName();
8711 result
= (wxString
*) &_result_ref
;
8714 wxPyEndAllowThreads(__tstate
);
8715 if (PyErr_Occurred()) SWIG_fail
;
8719 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8721 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8730 static PyObject
*_wrap_HtmlSearchStatus_GetContentsItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8731 PyObject
*resultobj
;
8732 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
8733 wxHtmlContentsItem
*result
;
8734 PyObject
* obj0
= 0 ;
8736 (char *) "self", NULL
8739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_GetContentsItem",kwnames
,&obj0
)) goto fail
;
8740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlSearchStatus
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8743 result
= (wxHtmlContentsItem
*)(arg1
)->GetContentsItem();
8745 wxPyEndAllowThreads(__tstate
);
8746 if (PyErr_Occurred()) SWIG_fail
;
8748 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlContentsItem
, 0);
8755 static PyObject
* HtmlSearchStatus_swigregister(PyObject
*self
, PyObject
*args
) {
8757 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8758 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSearchStatus
, obj
);
8760 return Py_BuildValue((char *)"");
8762 static PyObject
*_wrap_new_HtmlHelpData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8763 PyObject
*resultobj
;
8764 wxHtmlHelpData
*result
;
8769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlHelpData",kwnames
)) goto fail
;
8771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8772 result
= (wxHtmlHelpData
*)new wxHtmlHelpData();
8774 wxPyEndAllowThreads(__tstate
);
8775 if (PyErr_Occurred()) SWIG_fail
;
8777 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlHelpData
, 1);
8784 static PyObject
*_wrap_delete_HtmlHelpData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8785 PyObject
*resultobj
;
8786 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
8787 PyObject
* obj0
= 0 ;
8789 (char *) "self", NULL
8792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlHelpData",kwnames
,&obj0
)) goto fail
;
8793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8798 wxPyEndAllowThreads(__tstate
);
8799 if (PyErr_Occurred()) SWIG_fail
;
8801 Py_INCREF(Py_None
); resultobj
= Py_None
;
8808 static PyObject
*_wrap_HtmlHelpData_SetTempDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8809 PyObject
*resultobj
;
8810 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
8811 wxString
*arg2
= 0 ;
8812 bool temp2
= False
;
8813 PyObject
* obj0
= 0 ;
8814 PyObject
* obj1
= 0 ;
8816 (char *) "self",(char *) "path", NULL
8819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_SetTempDir",kwnames
,&obj0
,&obj1
)) goto fail
;
8820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8822 arg2
= wxString_in_helper(obj1
);
8823 if (arg2
== NULL
) SWIG_fail
;
8827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8828 (arg1
)->SetTempDir((wxString
const &)*arg2
);
8830 wxPyEndAllowThreads(__tstate
);
8831 if (PyErr_Occurred()) SWIG_fail
;
8833 Py_INCREF(Py_None
); resultobj
= Py_None
;
8848 static PyObject
*_wrap_HtmlHelpData_AddBook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8849 PyObject
*resultobj
;
8850 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
8851 wxString
*arg2
= 0 ;
8853 bool temp2
= False
;
8854 PyObject
* obj0
= 0 ;
8855 PyObject
* obj1
= 0 ;
8857 (char *) "self",(char *) "book", NULL
8860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_AddBook",kwnames
,&obj0
,&obj1
)) goto fail
;
8861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8863 arg2
= wxString_in_helper(obj1
);
8864 if (arg2
== NULL
) SWIG_fail
;
8868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8869 result
= (bool)(arg1
)->AddBook((wxString
const &)*arg2
);
8871 wxPyEndAllowThreads(__tstate
);
8872 if (PyErr_Occurred()) SWIG_fail
;
8874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8889 static PyObject
*_wrap_HtmlHelpData_FindPageByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8890 PyObject
*resultobj
;
8891 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
8892 wxString
*arg2
= 0 ;
8894 bool temp2
= False
;
8895 PyObject
* obj0
= 0 ;
8896 PyObject
* obj1
= 0 ;
8898 (char *) "self",(char *) "page", NULL
8901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_FindPageByName",kwnames
,&obj0
,&obj1
)) goto fail
;
8902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8904 arg2
= wxString_in_helper(obj1
);
8905 if (arg2
== NULL
) SWIG_fail
;
8909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8910 result
= (arg1
)->FindPageByName((wxString
const &)*arg2
);
8912 wxPyEndAllowThreads(__tstate
);
8913 if (PyErr_Occurred()) SWIG_fail
;
8917 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8919 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8936 static PyObject
*_wrap_HtmlHelpData_FindPageById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8937 PyObject
*resultobj
;
8938 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
8941 PyObject
* obj0
= 0 ;
8942 PyObject
* obj1
= 0 ;
8944 (char *) "self",(char *) "id", NULL
8947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_FindPageById",kwnames
,&obj0
,&obj1
)) goto fail
;
8948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8950 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8951 if (PyErr_Occurred()) SWIG_fail
;
8954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8955 result
= (arg1
)->FindPageById(arg2
);
8957 wxPyEndAllowThreads(__tstate
);
8958 if (PyErr_Occurred()) SWIG_fail
;
8962 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8964 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8973 static PyObject
*_wrap_HtmlHelpData_GetBookRecArray(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8974 PyObject
*resultobj
;
8975 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
8976 wxHtmlBookRecArray
*result
;
8977 PyObject
* obj0
= 0 ;
8979 (char *) "self", NULL
8982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpData_GetBookRecArray",kwnames
,&obj0
)) goto fail
;
8983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8987 wxHtmlBookRecArray
const &_result_ref
= (arg1
)->GetBookRecArray();
8988 result
= (wxHtmlBookRecArray
*) &_result_ref
;
8991 wxPyEndAllowThreads(__tstate
);
8992 if (PyErr_Occurred()) SWIG_fail
;
8994 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlBookRecArray
, 0);
9001 static PyObject
*_wrap_HtmlHelpData_GetContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9002 PyObject
*resultobj
;
9003 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
9004 wxHtmlContentsItem
*result
;
9005 PyObject
* obj0
= 0 ;
9007 (char *) "self", NULL
9010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpData_GetContents",kwnames
,&obj0
)) goto fail
;
9011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9014 result
= (wxHtmlContentsItem
*)(arg1
)->GetContents();
9016 wxPyEndAllowThreads(__tstate
);
9017 if (PyErr_Occurred()) SWIG_fail
;
9019 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlContentsItem
, 0);
9026 static PyObject
*_wrap_HtmlHelpData_GetContentsCnt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9027 PyObject
*resultobj
;
9028 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
9030 PyObject
* obj0
= 0 ;
9032 (char *) "self", NULL
9035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpData_GetContentsCnt",kwnames
,&obj0
)) goto fail
;
9036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9039 result
= (int)(arg1
)->GetContentsCnt();
9041 wxPyEndAllowThreads(__tstate
);
9042 if (PyErr_Occurred()) SWIG_fail
;
9044 resultobj
= SWIG_PyObj_FromInt((int)result
);
9051 static PyObject
*_wrap_HtmlHelpData_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9052 PyObject
*resultobj
;
9053 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
9054 wxHtmlContentsItem
*result
;
9055 PyObject
* obj0
= 0 ;
9057 (char *) "self", NULL
9060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpData_GetIndex",kwnames
,&obj0
)) goto fail
;
9061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9064 result
= (wxHtmlContentsItem
*)(arg1
)->GetIndex();
9066 wxPyEndAllowThreads(__tstate
);
9067 if (PyErr_Occurred()) SWIG_fail
;
9069 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlContentsItem
, 0);
9076 static PyObject
*_wrap_HtmlHelpData_GetIndexCnt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9077 PyObject
*resultobj
;
9078 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
9080 PyObject
* obj0
= 0 ;
9082 (char *) "self", NULL
9085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpData_GetIndexCnt",kwnames
,&obj0
)) goto fail
;
9086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9089 result
= (int)(arg1
)->GetIndexCnt();
9091 wxPyEndAllowThreads(__tstate
);
9092 if (PyErr_Occurred()) SWIG_fail
;
9094 resultobj
= SWIG_PyObj_FromInt((int)result
);
9101 static PyObject
* HtmlHelpData_swigregister(PyObject
*self
, PyObject
*args
) {
9103 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9104 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpData
, obj
);
9106 return Py_BuildValue((char *)"");
9108 static PyObject
*_wrap_new_HtmlHelpFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9109 PyObject
*resultobj
;
9110 wxWindow
*arg1
= (wxWindow
*) 0 ;
9112 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9113 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9114 int arg4
= (int) wxHF_DEFAULTSTYLE
;
9115 wxHtmlHelpData
*arg5
= (wxHtmlHelpData
*) NULL
;
9116 wxHtmlHelpFrame
*result
;
9117 bool temp3
= False
;
9118 PyObject
* obj0
= 0 ;
9119 PyObject
* obj1
= 0 ;
9120 PyObject
* obj2
= 0 ;
9121 PyObject
* obj3
= 0 ;
9122 PyObject
* obj4
= 0 ;
9124 (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL
9127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9130 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9131 if (PyErr_Occurred()) SWIG_fail
;
9135 arg3
= wxString_in_helper(obj2
);
9136 if (arg3
== NULL
) SWIG_fail
;
9142 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9143 if (PyErr_Occurred()) SWIG_fail
;
9147 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxHtmlHelpData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9151 result
= (wxHtmlHelpFrame
*)new wxHtmlHelpFrame(arg1
,arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
9153 wxPyEndAllowThreads(__tstate
);
9154 if (PyErr_Occurred()) SWIG_fail
;
9156 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlHelpFrame
, 1);
9171 static PyObject
*_wrap_HtmlHelpFrame_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9172 PyObject
*resultobj
;
9173 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
9174 wxHtmlHelpData
*result
;
9175 PyObject
* obj0
= 0 ;
9177 (char *) "self", NULL
9180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpFrame_GetData",kwnames
,&obj0
)) goto fail
;
9181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9184 result
= (wxHtmlHelpData
*)(arg1
)->GetData();
9186 wxPyEndAllowThreads(__tstate
);
9187 if (PyErr_Occurred()) SWIG_fail
;
9189 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlHelpData
, 0);
9196 static PyObject
*_wrap_HtmlHelpFrame_SetTitleFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9197 PyObject
*resultobj
;
9198 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
9199 wxString
*arg2
= 0 ;
9200 bool temp2
= False
;
9201 PyObject
* obj0
= 0 ;
9202 PyObject
* obj1
= 0 ;
9204 (char *) "self",(char *) "format", NULL
9207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
9208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9210 arg2
= wxString_in_helper(obj1
);
9211 if (arg2
== NULL
) SWIG_fail
;
9215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9216 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
9218 wxPyEndAllowThreads(__tstate
);
9219 if (PyErr_Occurred()) SWIG_fail
;
9221 Py_INCREF(Py_None
); resultobj
= Py_None
;
9236 static PyObject
*_wrap_HtmlHelpFrame_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9237 PyObject
*resultobj
;
9238 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
9239 wxString
*arg2
= 0 ;
9240 bool temp2
= False
;
9241 PyObject
* obj0
= 0 ;
9242 PyObject
* obj1
= 0 ;
9244 (char *) "self",(char *) "x", NULL
9247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_Display",kwnames
,&obj0
,&obj1
)) goto fail
;
9248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9250 arg2
= wxString_in_helper(obj1
);
9251 if (arg2
== NULL
) SWIG_fail
;
9255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9256 (arg1
)->Display((wxString
const &)*arg2
);
9258 wxPyEndAllowThreads(__tstate
);
9259 if (PyErr_Occurred()) SWIG_fail
;
9261 Py_INCREF(Py_None
); resultobj
= Py_None
;
9276 static PyObject
*_wrap_HtmlHelpFrame_DisplayID(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9277 PyObject
*resultobj
;
9278 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
9280 PyObject
* obj0
= 0 ;
9281 PyObject
* obj1
= 0 ;
9283 (char *) "self",(char *) "id", NULL
9286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_DisplayID",kwnames
,&obj0
,&obj1
)) goto fail
;
9287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9289 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9290 if (PyErr_Occurred()) SWIG_fail
;
9293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9294 (arg1
)->Display(arg2
);
9296 wxPyEndAllowThreads(__tstate
);
9297 if (PyErr_Occurred()) SWIG_fail
;
9299 Py_INCREF(Py_None
); resultobj
= Py_None
;
9306 static PyObject
*_wrap_HtmlHelpFrame_DisplayContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9307 PyObject
*resultobj
;
9308 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
9309 PyObject
* obj0
= 0 ;
9311 (char *) "self", NULL
9314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpFrame_DisplayContents",kwnames
,&obj0
)) goto fail
;
9315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9318 (arg1
)->DisplayContents();
9320 wxPyEndAllowThreads(__tstate
);
9321 if (PyErr_Occurred()) SWIG_fail
;
9323 Py_INCREF(Py_None
); resultobj
= Py_None
;
9330 static PyObject
*_wrap_HtmlHelpFrame_DisplayIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9331 PyObject
*resultobj
;
9332 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
9333 PyObject
* obj0
= 0 ;
9335 (char *) "self", NULL
9338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpFrame_DisplayIndex",kwnames
,&obj0
)) goto fail
;
9339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9342 (arg1
)->DisplayIndex();
9344 wxPyEndAllowThreads(__tstate
);
9345 if (PyErr_Occurred()) SWIG_fail
;
9347 Py_INCREF(Py_None
); resultobj
= Py_None
;
9354 static PyObject
*_wrap_HtmlHelpFrame_KeywordSearch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9355 PyObject
*resultobj
;
9356 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
9357 wxString
*arg2
= 0 ;
9359 bool temp2
= False
;
9360 PyObject
* obj0
= 0 ;
9361 PyObject
* obj1
= 0 ;
9363 (char *) "self",(char *) "keyword", NULL
9366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_KeywordSearch",kwnames
,&obj0
,&obj1
)) goto fail
;
9367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9369 arg2
= wxString_in_helper(obj1
);
9370 if (arg2
== NULL
) SWIG_fail
;
9374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9375 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
);
9377 wxPyEndAllowThreads(__tstate
);
9378 if (PyErr_Occurred()) SWIG_fail
;
9380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9395 static PyObject
*_wrap_HtmlHelpFrame_UseConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9396 PyObject
*resultobj
;
9397 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
9398 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
9399 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9400 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9401 bool temp3
= False
;
9402 PyObject
* obj0
= 0 ;
9403 PyObject
* obj1
= 0 ;
9404 PyObject
* obj2
= 0 ;
9406 (char *) "self",(char *) "config",(char *) "rootpath", NULL
9409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpFrame_UseConfig",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9411 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9414 arg3
= wxString_in_helper(obj2
);
9415 if (arg3
== NULL
) SWIG_fail
;
9420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9421 (arg1
)->UseConfig(arg2
,(wxString
const &)*arg3
);
9423 wxPyEndAllowThreads(__tstate
);
9424 if (PyErr_Occurred()) SWIG_fail
;
9426 Py_INCREF(Py_None
); resultobj
= Py_None
;
9441 static PyObject
*_wrap_HtmlHelpFrame_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9442 PyObject
*resultobj
;
9443 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
9444 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
9445 wxString arg3
= (wxString
) wxPyEmptyString
;
9446 PyObject
* obj0
= 0 ;
9447 PyObject
* obj1
= 0 ;
9448 PyObject
* obj2
= 0 ;
9450 (char *) "self",(char *) "cfg",(char *) "path", NULL
9453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpFrame_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9455 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9458 wxString
* sptr
= wxString_in_helper(obj2
);
9459 if (sptr
== NULL
) SWIG_fail
;
9465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9466 (arg1
)->ReadCustomization(arg2
,arg3
);
9468 wxPyEndAllowThreads(__tstate
);
9469 if (PyErr_Occurred()) SWIG_fail
;
9471 Py_INCREF(Py_None
); resultobj
= Py_None
;
9478 static PyObject
*_wrap_HtmlHelpFrame_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9479 PyObject
*resultobj
;
9480 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
9481 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
9482 wxString arg3
= (wxString
) wxPyEmptyString
;
9483 PyObject
* obj0
= 0 ;
9484 PyObject
* obj1
= 0 ;
9485 PyObject
* obj2
= 0 ;
9487 (char *) "self",(char *) "cfg",(char *) "path", NULL
9490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpFrame_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9492 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9495 wxString
* sptr
= wxString_in_helper(obj2
);
9496 if (sptr
== NULL
) SWIG_fail
;
9502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9503 (arg1
)->WriteCustomization(arg2
,arg3
);
9505 wxPyEndAllowThreads(__tstate
);
9506 if (PyErr_Occurred()) SWIG_fail
;
9508 Py_INCREF(Py_None
); resultobj
= Py_None
;
9515 static PyObject
* HtmlHelpFrame_swigregister(PyObject
*self
, PyObject
*args
) {
9517 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9518 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpFrame
, obj
);
9520 return Py_BuildValue((char *)"");
9522 static PyObject
*_wrap_new_HtmlHelpController(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9523 PyObject
*resultobj
;
9524 int arg1
= (int) wxHF_DEFAULTSTYLE
;
9525 wxHtmlHelpController
*result
;
9526 PyObject
* obj0
= 0 ;
9528 (char *) "style", NULL
9531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_HtmlHelpController",kwnames
,&obj0
)) goto fail
;
9534 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
9535 if (PyErr_Occurred()) SWIG_fail
;
9539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9540 result
= (wxHtmlHelpController
*)new wxHtmlHelpController(arg1
);
9542 wxPyEndAllowThreads(__tstate
);
9543 if (PyErr_Occurred()) SWIG_fail
;
9545 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlHelpController
, 1);
9552 static PyObject
*_wrap_delete_HtmlHelpController(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9553 PyObject
*resultobj
;
9554 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
9555 PyObject
* obj0
= 0 ;
9557 (char *) "self", NULL
9560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlHelpController",kwnames
,&obj0
)) goto fail
;
9561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpController
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9566 wxPyEndAllowThreads(__tstate
);
9567 if (PyErr_Occurred()) SWIG_fail
;
9569 Py_INCREF(Py_None
); resultobj
= Py_None
;
9576 static PyObject
*_wrap_HtmlHelpController_SetTitleFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9577 PyObject
*resultobj
;
9578 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
9579 wxString
*arg2
= 0 ;
9580 bool temp2
= False
;
9581 PyObject
* obj0
= 0 ;
9582 PyObject
* obj1
= 0 ;
9584 (char *) "self",(char *) "format", NULL
9587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
9588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpController
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9590 arg2
= wxString_in_helper(obj1
);
9591 if (arg2
== NULL
) SWIG_fail
;
9595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9596 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
9598 wxPyEndAllowThreads(__tstate
);
9599 if (PyErr_Occurred()) SWIG_fail
;
9601 Py_INCREF(Py_None
); resultobj
= Py_None
;
9616 static PyObject
*_wrap_HtmlHelpController_SetTempDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9617 PyObject
*resultobj
;
9618 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
9619 wxString
*arg2
= 0 ;
9620 bool temp2
= False
;
9621 PyObject
* obj0
= 0 ;
9622 PyObject
* obj1
= 0 ;
9624 (char *) "self",(char *) "path", NULL
9627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetTempDir",kwnames
,&obj0
,&obj1
)) goto fail
;
9628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpController
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9630 arg2
= wxString_in_helper(obj1
);
9631 if (arg2
== NULL
) SWIG_fail
;
9635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9636 (arg1
)->SetTempDir((wxString
const &)*arg2
);
9638 wxPyEndAllowThreads(__tstate
);
9639 if (PyErr_Occurred()) SWIG_fail
;
9641 Py_INCREF(Py_None
); resultobj
= Py_None
;
9656 static PyObject
*_wrap_HtmlHelpController_AddBook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9657 PyObject
*resultobj
;
9658 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
9659 wxString
*arg2
= 0 ;
9660 int arg3
= (int) False
;
9662 bool temp2
= False
;
9663 PyObject
* obj0
= 0 ;
9664 PyObject
* obj1
= 0 ;
9665 PyObject
* obj2
= 0 ;
9667 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
9670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_AddBook",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpController
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9673 arg2
= wxString_in_helper(obj1
);
9674 if (arg2
== NULL
) SWIG_fail
;
9679 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9680 if (PyErr_Occurred()) SWIG_fail
;
9684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9685 result
= (bool)(arg1
)->AddBook((wxString
const &)*arg2
,arg3
);
9687 wxPyEndAllowThreads(__tstate
);
9688 if (PyErr_Occurred()) SWIG_fail
;
9690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9705 static PyObject
*_wrap_HtmlHelpController_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9706 PyObject
*resultobj
;
9707 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
9708 wxString
*arg2
= 0 ;
9709 bool temp2
= False
;
9710 PyObject
* obj0
= 0 ;
9711 PyObject
* obj1
= 0 ;
9713 (char *) "self",(char *) "x", NULL
9716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_Display",kwnames
,&obj0
,&obj1
)) goto fail
;
9717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpController
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9719 arg2
= wxString_in_helper(obj1
);
9720 if (arg2
== NULL
) SWIG_fail
;
9724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9725 (arg1
)->Display((wxString
const &)*arg2
);
9727 wxPyEndAllowThreads(__tstate
);
9728 if (PyErr_Occurred()) SWIG_fail
;
9730 Py_INCREF(Py_None
); resultobj
= Py_None
;
9745 static PyObject
*_wrap_HtmlHelpController_DisplayID(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9746 PyObject
*resultobj
;
9747 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
9749 PyObject
* obj0
= 0 ;
9750 PyObject
* obj1
= 0 ;
9752 (char *) "self",(char *) "id", NULL
9755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_DisplayID",kwnames
,&obj0
,&obj1
)) goto fail
;
9756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpController
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9758 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9759 if (PyErr_Occurred()) SWIG_fail
;
9762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9763 (arg1
)->Display(arg2
);
9765 wxPyEndAllowThreads(__tstate
);
9766 if (PyErr_Occurred()) SWIG_fail
;
9768 Py_INCREF(Py_None
); resultobj
= Py_None
;
9775 static PyObject
*_wrap_HtmlHelpController_DisplayContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9776 PyObject
*resultobj
;
9777 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
9778 PyObject
* obj0
= 0 ;
9780 (char *) "self", NULL
9783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpController_DisplayContents",kwnames
,&obj0
)) goto fail
;
9784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpController
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9787 (arg1
)->DisplayContents();
9789 wxPyEndAllowThreads(__tstate
);
9790 if (PyErr_Occurred()) SWIG_fail
;
9792 Py_INCREF(Py_None
); resultobj
= Py_None
;
9799 static PyObject
*_wrap_HtmlHelpController_DisplayIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9800 PyObject
*resultobj
;
9801 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
9802 PyObject
* obj0
= 0 ;
9804 (char *) "self", NULL
9807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpController_DisplayIndex",kwnames
,&obj0
)) goto fail
;
9808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpController
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9811 (arg1
)->DisplayIndex();
9813 wxPyEndAllowThreads(__tstate
);
9814 if (PyErr_Occurred()) SWIG_fail
;
9816 Py_INCREF(Py_None
); resultobj
= Py_None
;
9823 static PyObject
*_wrap_HtmlHelpController_KeywordSearch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9824 PyObject
*resultobj
;
9825 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
9826 wxString
*arg2
= 0 ;
9828 bool temp2
= False
;
9829 PyObject
* obj0
= 0 ;
9830 PyObject
* obj1
= 0 ;
9832 (char *) "self",(char *) "keyword", NULL
9835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames
,&obj0
,&obj1
)) goto fail
;
9836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpController
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9838 arg2
= wxString_in_helper(obj1
);
9839 if (arg2
== NULL
) SWIG_fail
;
9843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9844 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
);
9846 wxPyEndAllowThreads(__tstate
);
9847 if (PyErr_Occurred()) SWIG_fail
;
9849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9864 static PyObject
*_wrap_HtmlHelpController_UseConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9865 PyObject
*resultobj
;
9866 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
9867 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
9868 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9869 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9870 bool temp3
= False
;
9871 PyObject
* obj0
= 0 ;
9872 PyObject
* obj1
= 0 ;
9873 PyObject
* obj2
= 0 ;
9875 (char *) "self",(char *) "config",(char *) "rootpath", NULL
9878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpController
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9880 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9883 arg3
= wxString_in_helper(obj2
);
9884 if (arg3
== NULL
) SWIG_fail
;
9889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9890 (arg1
)->UseConfig(arg2
,(wxString
const &)*arg3
);
9892 wxPyEndAllowThreads(__tstate
);
9893 if (PyErr_Occurred()) SWIG_fail
;
9895 Py_INCREF(Py_None
); resultobj
= Py_None
;
9910 static PyObject
*_wrap_HtmlHelpController_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9911 PyObject
*resultobj
;
9912 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
9913 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
9914 wxString arg3
= (wxString
) wxPyEmptyString
;
9915 PyObject
* obj0
= 0 ;
9916 PyObject
* obj1
= 0 ;
9917 PyObject
* obj2
= 0 ;
9919 (char *) "self",(char *) "cfg",(char *) "path", NULL
9922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpController
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9924 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9927 wxString
* sptr
= wxString_in_helper(obj2
);
9928 if (sptr
== NULL
) SWIG_fail
;
9934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9935 (arg1
)->ReadCustomization(arg2
,arg3
);
9937 wxPyEndAllowThreads(__tstate
);
9938 if (PyErr_Occurred()) SWIG_fail
;
9940 Py_INCREF(Py_None
); resultobj
= Py_None
;
9947 static PyObject
*_wrap_HtmlHelpController_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9948 PyObject
*resultobj
;
9949 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
9950 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
9951 wxString arg3
= (wxString
) wxPyEmptyString
;
9952 PyObject
* obj0
= 0 ;
9953 PyObject
* obj1
= 0 ;
9954 PyObject
* obj2
= 0 ;
9956 (char *) "self",(char *) "cfg",(char *) "path", NULL
9959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpController
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9961 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9964 wxString
* sptr
= wxString_in_helper(obj2
);
9965 if (sptr
== NULL
) SWIG_fail
;
9971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9972 (arg1
)->WriteCustomization(arg2
,arg3
);
9974 wxPyEndAllowThreads(__tstate
);
9975 if (PyErr_Occurred()) SWIG_fail
;
9977 Py_INCREF(Py_None
); resultobj
= Py_None
;
9984 static PyObject
*_wrap_HtmlHelpController_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9985 PyObject
*resultobj
;
9986 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
9987 wxHtmlHelpFrame
*result
;
9988 PyObject
* obj0
= 0 ;
9990 (char *) "self", NULL
9993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpController_GetFrame",kwnames
,&obj0
)) goto fail
;
9994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHtmlHelpController
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9997 result
= (wxHtmlHelpFrame
*)(arg1
)->GetFrame();
9999 wxPyEndAllowThreads(__tstate
);
10000 if (PyErr_Occurred()) SWIG_fail
;
10002 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHtmlHelpFrame
, 0);
10009 static PyObject
* HtmlHelpController_swigregister(PyObject
*self
, PyObject
*args
) {
10011 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10012 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpController
, obj
);
10014 return Py_BuildValue((char *)"");
10016 static PyMethodDef SwigMethods
[] = {
10017 { (char *)"new_HtmlLinkInfo", (PyCFunction
) _wrap_new_HtmlLinkInfo
, METH_VARARGS
| METH_KEYWORDS
},
10018 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction
) _wrap_HtmlLinkInfo_GetHref
, METH_VARARGS
| METH_KEYWORDS
},
10019 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction
) _wrap_HtmlLinkInfo_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
10020 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction
) _wrap_HtmlLinkInfo_GetEvent
, METH_VARARGS
| METH_KEYWORDS
},
10021 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction
) _wrap_HtmlLinkInfo_GetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
10022 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction
) _wrap_HtmlLinkInfo_SetEvent
, METH_VARARGS
| METH_KEYWORDS
},
10023 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction
) _wrap_HtmlLinkInfo_SetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
10024 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister
, METH_VARARGS
},
10025 { (char *)"HtmlTag_GetName", (PyCFunction
) _wrap_HtmlTag_GetName
, METH_VARARGS
| METH_KEYWORDS
},
10026 { (char *)"HtmlTag_HasParam", (PyCFunction
) _wrap_HtmlTag_HasParam
, METH_VARARGS
| METH_KEYWORDS
},
10027 { (char *)"HtmlTag_GetParam", (PyCFunction
) _wrap_HtmlTag_GetParam
, METH_VARARGS
| METH_KEYWORDS
},
10028 { (char *)"HtmlTag_GetAllParams", (PyCFunction
) _wrap_HtmlTag_GetAllParams
, METH_VARARGS
| METH_KEYWORDS
},
10029 { (char *)"HtmlTag_HasEnding", (PyCFunction
) _wrap_HtmlTag_HasEnding
, METH_VARARGS
| METH_KEYWORDS
},
10030 { (char *)"HtmlTag_GetBeginPos", (PyCFunction
) _wrap_HtmlTag_GetBeginPos
, METH_VARARGS
| METH_KEYWORDS
},
10031 { (char *)"HtmlTag_GetEndPos1", (PyCFunction
) _wrap_HtmlTag_GetEndPos1
, METH_VARARGS
| METH_KEYWORDS
},
10032 { (char *)"HtmlTag_GetEndPos2", (PyCFunction
) _wrap_HtmlTag_GetEndPos2
, METH_VARARGS
| METH_KEYWORDS
},
10033 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister
, METH_VARARGS
},
10034 { (char *)"HtmlParser_SetFS", (PyCFunction
) _wrap_HtmlParser_SetFS
, METH_VARARGS
| METH_KEYWORDS
},
10035 { (char *)"HtmlParser_GetFS", (PyCFunction
) _wrap_HtmlParser_GetFS
, METH_VARARGS
| METH_KEYWORDS
},
10036 { (char *)"HtmlParser_Parse", (PyCFunction
) _wrap_HtmlParser_Parse
, METH_VARARGS
| METH_KEYWORDS
},
10037 { (char *)"HtmlParser_InitParser", (PyCFunction
) _wrap_HtmlParser_InitParser
, METH_VARARGS
| METH_KEYWORDS
},
10038 { (char *)"HtmlParser_DoneParser", (PyCFunction
) _wrap_HtmlParser_DoneParser
, METH_VARARGS
| METH_KEYWORDS
},
10039 { (char *)"HtmlParser_DoParsing", (PyCFunction
) _wrap_HtmlParser_DoParsing
, METH_VARARGS
| METH_KEYWORDS
},
10040 { (char *)"HtmlParser_StopParsing", (PyCFunction
) _wrap_HtmlParser_StopParsing
, METH_VARARGS
| METH_KEYWORDS
},
10041 { (char *)"HtmlParser_AddTagHandler", (PyCFunction
) _wrap_HtmlParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
10042 { (char *)"HtmlParser_GetSource", (PyCFunction
) _wrap_HtmlParser_GetSource
, METH_VARARGS
| METH_KEYWORDS
},
10043 { (char *)"HtmlParser_PushTagHandler", (PyCFunction
) _wrap_HtmlParser_PushTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
10044 { (char *)"HtmlParser_PopTagHandler", (PyCFunction
) _wrap_HtmlParser_PopTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
10045 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister
, METH_VARARGS
},
10046 { (char *)"new_HtmlWinParser", (PyCFunction
) _wrap_new_HtmlWinParser
, METH_VARARGS
| METH_KEYWORDS
},
10047 { (char *)"HtmlWinParser_SetDC", (PyCFunction
) _wrap_HtmlWinParser_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
10048 { (char *)"HtmlWinParser_GetDC", (PyCFunction
) _wrap_HtmlWinParser_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
10049 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction
) _wrap_HtmlWinParser_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
10050 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction
) _wrap_HtmlWinParser_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
10051 { (char *)"HtmlWinParser_GetWindow", (PyCFunction
) _wrap_HtmlWinParser_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10052 { (char *)"HtmlWinParser_SetFonts", (PyCFunction
) _wrap_HtmlWinParser_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
10053 { (char *)"HtmlWinParser_GetContainer", (PyCFunction
) _wrap_HtmlWinParser_GetContainer
, METH_VARARGS
| METH_KEYWORDS
},
10054 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction
) _wrap_HtmlWinParser_OpenContainer
, METH_VARARGS
| METH_KEYWORDS
},
10055 { (char *)"HtmlWinParser_SetContainer", (PyCFunction
) _wrap_HtmlWinParser_SetContainer
, METH_VARARGS
| METH_KEYWORDS
},
10056 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction
) _wrap_HtmlWinParser_CloseContainer
, METH_VARARGS
| METH_KEYWORDS
},
10057 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction
) _wrap_HtmlWinParser_GetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
10058 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction
) _wrap_HtmlWinParser_SetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
10059 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction
) _wrap_HtmlWinParser_GetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
10060 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction
) _wrap_HtmlWinParser_SetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
10061 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction
) _wrap_HtmlWinParser_GetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
10062 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction
) _wrap_HtmlWinParser_SetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
10063 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction
) _wrap_HtmlWinParser_GetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
10064 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction
) _wrap_HtmlWinParser_SetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
10065 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction
) _wrap_HtmlWinParser_GetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
10066 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction
) _wrap_HtmlWinParser_SetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
10067 { (char *)"HtmlWinParser_GetAlign", (PyCFunction
) _wrap_HtmlWinParser_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
10068 { (char *)"HtmlWinParser_SetAlign", (PyCFunction
) _wrap_HtmlWinParser_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
10069 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction
) _wrap_HtmlWinParser_GetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
10070 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction
) _wrap_HtmlWinParser_SetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
10071 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction
) _wrap_HtmlWinParser_GetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
10072 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction
) _wrap_HtmlWinParser_SetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
10073 { (char *)"HtmlWinParser_SetLink", (PyCFunction
) _wrap_HtmlWinParser_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
10074 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction
) _wrap_HtmlWinParser_CreateCurrentFont
, METH_VARARGS
| METH_KEYWORDS
},
10075 { (char *)"HtmlWinParser_GetLink", (PyCFunction
) _wrap_HtmlWinParser_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
10076 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister
, METH_VARARGS
},
10077 { (char *)"new_HtmlTagHandler", (PyCFunction
) _wrap_new_HtmlTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
10078 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction
) _wrap_HtmlTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10079 { (char *)"HtmlTagHandler_SetParser", (PyCFunction
) _wrap_HtmlTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
10080 { (char *)"HtmlTagHandler_GetParser", (PyCFunction
) _wrap_HtmlTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
10081 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction
) _wrap_HtmlTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
10082 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister
, METH_VARARGS
},
10083 { (char *)"new_HtmlWinTagHandler", (PyCFunction
) _wrap_new_HtmlWinTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
10084 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction
) _wrap_HtmlWinTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10085 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction
) _wrap_HtmlWinTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
10086 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction
) _wrap_HtmlWinTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
10087 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction
) _wrap_HtmlWinTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
10088 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister
, METH_VARARGS
},
10089 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction
) _wrap_HtmlWinParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
10090 { (char *)"new_HtmlSelection", (PyCFunction
) _wrap_new_HtmlSelection
, METH_VARARGS
| METH_KEYWORDS
},
10091 { (char *)"delete_HtmlSelection", (PyCFunction
) _wrap_delete_HtmlSelection
, METH_VARARGS
| METH_KEYWORDS
},
10092 { (char *)"HtmlSelection_Set", (PyCFunction
) _wrap_HtmlSelection_Set
, METH_VARARGS
| METH_KEYWORDS
},
10093 { (char *)"HtmlSelection_SetCells", (PyCFunction
) _wrap_HtmlSelection_SetCells
, METH_VARARGS
| METH_KEYWORDS
},
10094 { (char *)"HtmlSelection_GetFromCell", (PyCFunction
) _wrap_HtmlSelection_GetFromCell
, METH_VARARGS
| METH_KEYWORDS
},
10095 { (char *)"HtmlSelection_GetToCell", (PyCFunction
) _wrap_HtmlSelection_GetToCell
, METH_VARARGS
| METH_KEYWORDS
},
10096 { (char *)"HtmlSelection_GetFromPos", (PyCFunction
) _wrap_HtmlSelection_GetFromPos
, METH_VARARGS
| METH_KEYWORDS
},
10097 { (char *)"HtmlSelection_GetToPos", (PyCFunction
) _wrap_HtmlSelection_GetToPos
, METH_VARARGS
| METH_KEYWORDS
},
10098 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction
) _wrap_HtmlSelection_GetFromPrivPos
, METH_VARARGS
| METH_KEYWORDS
},
10099 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction
) _wrap_HtmlSelection_GetToPrivPos
, METH_VARARGS
| METH_KEYWORDS
},
10100 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction
) _wrap_HtmlSelection_SetFromPrivPos
, METH_VARARGS
| METH_KEYWORDS
},
10101 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction
) _wrap_HtmlSelection_SetToPrivPos
, METH_VARARGS
| METH_KEYWORDS
},
10102 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction
) _wrap_HtmlSelection_ClearPrivPos
, METH_VARARGS
| METH_KEYWORDS
},
10103 { (char *)"HtmlSelection_IsEmpty", (PyCFunction
) _wrap_HtmlSelection_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
10104 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister
, METH_VARARGS
},
10105 { (char *)"new_HtmlRenderingState", (PyCFunction
) _wrap_new_HtmlRenderingState
, METH_VARARGS
| METH_KEYWORDS
},
10106 { (char *)"delete_HtmlRenderingState", (PyCFunction
) _wrap_delete_HtmlRenderingState
, METH_VARARGS
| METH_KEYWORDS
},
10107 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction
) _wrap_HtmlRenderingState_SetSelectionState
, METH_VARARGS
| METH_KEYWORDS
},
10108 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction
) _wrap_HtmlRenderingState_GetSelectionState
, METH_VARARGS
| METH_KEYWORDS
},
10109 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction
) _wrap_HtmlRenderingState_SetFgColour
, METH_VARARGS
| METH_KEYWORDS
},
10110 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction
) _wrap_HtmlRenderingState_GetFgColour
, METH_VARARGS
| METH_KEYWORDS
},
10111 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction
) _wrap_HtmlRenderingState_SetBgColour
, METH_VARARGS
| METH_KEYWORDS
},
10112 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction
) _wrap_HtmlRenderingState_GetBgColour
, METH_VARARGS
| METH_KEYWORDS
},
10113 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister
, METH_VARARGS
},
10114 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction
) _wrap_HtmlRenderingStyle_GetSelectedTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10115 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction
) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour
, METH_VARARGS
| METH_KEYWORDS
},
10116 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister
, METH_VARARGS
},
10117 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextColour", (PyCFunction
) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10118 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction
) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour
, METH_VARARGS
| METH_KEYWORDS
},
10119 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister
, METH_VARARGS
},
10120 { (char *)"new_HtmlRenderingInfo", (PyCFunction
) _wrap_new_HtmlRenderingInfo
, METH_VARARGS
| METH_KEYWORDS
},
10121 { (char *)"delete_HtmlRenderingInfo", (PyCFunction
) _wrap_delete_HtmlRenderingInfo
, METH_VARARGS
| METH_KEYWORDS
},
10122 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction
) _wrap_HtmlRenderingInfo_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10123 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction
) _wrap_HtmlRenderingInfo_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10124 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction
) _wrap_HtmlRenderingInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
10125 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction
) _wrap_HtmlRenderingInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
10126 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction
) _wrap_HtmlRenderingInfo_GetState
, METH_VARARGS
| METH_KEYWORDS
},
10127 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister
, METH_VARARGS
},
10128 { (char *)"new_HtmlCell", (PyCFunction
) _wrap_new_HtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
10129 { (char *)"HtmlCell_GetPosX", (PyCFunction
) _wrap_HtmlCell_GetPosX
, METH_VARARGS
| METH_KEYWORDS
},
10130 { (char *)"HtmlCell_GetPosY", (PyCFunction
) _wrap_HtmlCell_GetPosY
, METH_VARARGS
| METH_KEYWORDS
},
10131 { (char *)"HtmlCell_GetWidth", (PyCFunction
) _wrap_HtmlCell_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
10132 { (char *)"HtmlCell_GetHeight", (PyCFunction
) _wrap_HtmlCell_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
10133 { (char *)"HtmlCell_GetDescent", (PyCFunction
) _wrap_HtmlCell_GetDescent
, METH_VARARGS
| METH_KEYWORDS
},
10134 { (char *)"HtmlCell_GetId", (PyCFunction
) _wrap_HtmlCell_GetId
, METH_VARARGS
| METH_KEYWORDS
},
10135 { (char *)"HtmlCell_SetId", (PyCFunction
) _wrap_HtmlCell_SetId
, METH_VARARGS
| METH_KEYWORDS
},
10136 { (char *)"HtmlCell_GetLink", (PyCFunction
) _wrap_HtmlCell_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
10137 { (char *)"HtmlCell_GetNext", (PyCFunction
) _wrap_HtmlCell_GetNext
, METH_VARARGS
| METH_KEYWORDS
},
10138 { (char *)"HtmlCell_GetParent", (PyCFunction
) _wrap_HtmlCell_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
10139 { (char *)"HtmlCell_GetFirstChild", (PyCFunction
) _wrap_HtmlCell_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
10140 { (char *)"HtmlCell_GetCursor", (PyCFunction
) _wrap_HtmlCell_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
10141 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction
) _wrap_HtmlCell_IsFormattingCell
, METH_VARARGS
| METH_KEYWORDS
},
10142 { (char *)"HtmlCell_SetLink", (PyCFunction
) _wrap_HtmlCell_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
10143 { (char *)"HtmlCell_SetNext", (PyCFunction
) _wrap_HtmlCell_SetNext
, METH_VARARGS
| METH_KEYWORDS
},
10144 { (char *)"HtmlCell_SetParent", (PyCFunction
) _wrap_HtmlCell_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
10145 { (char *)"HtmlCell_SetPos", (PyCFunction
) _wrap_HtmlCell_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
10146 { (char *)"HtmlCell_Layout", (PyCFunction
) _wrap_HtmlCell_Layout
, METH_VARARGS
| METH_KEYWORDS
},
10147 { (char *)"HtmlCell_Draw", (PyCFunction
) _wrap_HtmlCell_Draw
, METH_VARARGS
| METH_KEYWORDS
},
10148 { (char *)"HtmlCell_DrawInvisible", (PyCFunction
) _wrap_HtmlCell_DrawInvisible
, METH_VARARGS
| METH_KEYWORDS
},
10149 { (char *)"HtmlCell_Find", (PyCFunction
) _wrap_HtmlCell_Find
, METH_VARARGS
| METH_KEYWORDS
},
10150 { (char *)"HtmlCell_AdjustPagebreak", (PyCFunction
) _wrap_HtmlCell_AdjustPagebreak
, METH_VARARGS
| METH_KEYWORDS
},
10151 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction
) _wrap_HtmlCell_SetCanLiveOnPagebreak
, METH_VARARGS
| METH_KEYWORDS
},
10152 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction
) _wrap_HtmlCell_IsLinebreakAllowed
, METH_VARARGS
| METH_KEYWORDS
},
10153 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction
) _wrap_HtmlCell_IsTerminalCell
, METH_VARARGS
| METH_KEYWORDS
},
10154 { (char *)"HtmlCell_FindCellByPos", (PyCFunction
) _wrap_HtmlCell_FindCellByPos
, METH_VARARGS
| METH_KEYWORDS
},
10155 { (char *)"HtmlCell_GetAbsPos", (PyCFunction
) _wrap_HtmlCell_GetAbsPos
, METH_VARARGS
| METH_KEYWORDS
},
10156 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction
) _wrap_HtmlCell_GetFirstTerminal
, METH_VARARGS
| METH_KEYWORDS
},
10157 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction
) _wrap_HtmlCell_GetLastTerminal
, METH_VARARGS
| METH_KEYWORDS
},
10158 { (char *)"HtmlCell_GetDepth", (PyCFunction
) _wrap_HtmlCell_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
10159 { (char *)"HtmlCell_IsBefore", (PyCFunction
) _wrap_HtmlCell_IsBefore
, METH_VARARGS
| METH_KEYWORDS
},
10160 { (char *)"HtmlCell_ConvertToText", (PyCFunction
) _wrap_HtmlCell_ConvertToText
, METH_VARARGS
| METH_KEYWORDS
},
10161 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister
, METH_VARARGS
},
10162 { (char *)"new_HtmlWordCell", (PyCFunction
) _wrap_new_HtmlWordCell
, METH_VARARGS
| METH_KEYWORDS
},
10163 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister
, METH_VARARGS
},
10164 { (char *)"new_HtmlContainerCell", (PyCFunction
) _wrap_new_HtmlContainerCell
, METH_VARARGS
| METH_KEYWORDS
},
10165 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction
) _wrap_HtmlContainerCell_InsertCell
, METH_VARARGS
| METH_KEYWORDS
},
10166 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction
) _wrap_HtmlContainerCell_SetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
10167 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction
) _wrap_HtmlContainerCell_GetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
10168 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction
) _wrap_HtmlContainerCell_SetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
10169 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction
) _wrap_HtmlContainerCell_GetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
10170 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction
) _wrap_HtmlContainerCell_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
10171 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction
) _wrap_HtmlContainerCell_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
10172 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction
) _wrap_HtmlContainerCell_GetIndentUnits
, METH_VARARGS
| METH_KEYWORDS
},
10173 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction
) _wrap_HtmlContainerCell_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
10174 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction
) _wrap_HtmlContainerCell_SetWidthFloat
, METH_VARARGS
| METH_KEYWORDS
},
10175 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction
) _wrap_HtmlContainerCell_SetWidthFloatFromTag
, METH_VARARGS
| METH_KEYWORDS
},
10176 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction
) _wrap_HtmlContainerCell_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
10177 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction
) _wrap_HtmlContainerCell_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10178 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction
) _wrap_HtmlContainerCell_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10179 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction
) _wrap_HtmlContainerCell_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
10180 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction
) _wrap_HtmlContainerCell_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
10181 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister
, METH_VARARGS
},
10182 { (char *)"new_HtmlColourCell", (PyCFunction
) _wrap_new_HtmlColourCell
, METH_VARARGS
| METH_KEYWORDS
},
10183 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister
, METH_VARARGS
},
10184 { (char *)"new_HtmlFontCell", (PyCFunction
) _wrap_new_HtmlFontCell
, METH_VARARGS
| METH_KEYWORDS
},
10185 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister
, METH_VARARGS
},
10186 { (char *)"new_HtmlWidgetCell", (PyCFunction
) _wrap_new_HtmlWidgetCell
, METH_VARARGS
| METH_KEYWORDS
},
10187 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister
, METH_VARARGS
},
10188 { (char *)"new_HtmlFilter", (PyCFunction
) _wrap_new_HtmlFilter
, METH_VARARGS
| METH_KEYWORDS
},
10189 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction
) _wrap_HtmlFilter__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10190 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister
, METH_VARARGS
},
10191 { (char *)"new_HtmlWindow", (PyCFunction
) _wrap_new_HtmlWindow
, METH_VARARGS
| METH_KEYWORDS
},
10192 { (char *)"new_PreHtmlWindow", (PyCFunction
) _wrap_new_PreHtmlWindow
, METH_VARARGS
| METH_KEYWORDS
},
10193 { (char *)"HtmlWindow_Create", (PyCFunction
) _wrap_HtmlWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
10194 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction
) _wrap_HtmlWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10195 { (char *)"HtmlWindow_SetPage", (PyCFunction
) _wrap_HtmlWindow_SetPage
, METH_VARARGS
| METH_KEYWORDS
},
10196 { (char *)"HtmlWindow_LoadPage", (PyCFunction
) _wrap_HtmlWindow_LoadPage
, METH_VARARGS
| METH_KEYWORDS
},
10197 { (char *)"HtmlWindow_LoadFile", (PyCFunction
) _wrap_HtmlWindow_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
10198 { (char *)"HtmlWindow_AppendToPage", (PyCFunction
) _wrap_HtmlWindow_AppendToPage
, METH_VARARGS
| METH_KEYWORDS
},
10199 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction
) _wrap_HtmlWindow_GetOpenedPage
, METH_VARARGS
| METH_KEYWORDS
},
10200 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction
) _wrap_HtmlWindow_GetOpenedAnchor
, METH_VARARGS
| METH_KEYWORDS
},
10201 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction
) _wrap_HtmlWindow_GetOpenedPageTitle
, METH_VARARGS
| METH_KEYWORDS
},
10202 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction
) _wrap_HtmlWindow_SetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
10203 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction
) _wrap_HtmlWindow_GetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
10204 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction
) _wrap_HtmlWindow_SetRelatedStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
10205 { (char *)"HtmlWindow_SetFonts", (PyCFunction
) _wrap_HtmlWindow_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
10206 { (char *)"HtmlWindow_SetTitle", (PyCFunction
) _wrap_HtmlWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
10207 { (char *)"HtmlWindow_SetBorders", (PyCFunction
) _wrap_HtmlWindow_SetBorders
, METH_VARARGS
| METH_KEYWORDS
},
10208 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction
) _wrap_HtmlWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
10209 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction
) _wrap_HtmlWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
10210 { (char *)"HtmlWindow_HistoryBack", (PyCFunction
) _wrap_HtmlWindow_HistoryBack
, METH_VARARGS
| METH_KEYWORDS
},
10211 { (char *)"HtmlWindow_HistoryForward", (PyCFunction
) _wrap_HtmlWindow_HistoryForward
, METH_VARARGS
| METH_KEYWORDS
},
10212 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction
) _wrap_HtmlWindow_HistoryCanBack
, METH_VARARGS
| METH_KEYWORDS
},
10213 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction
) _wrap_HtmlWindow_HistoryCanForward
, METH_VARARGS
| METH_KEYWORDS
},
10214 { (char *)"HtmlWindow_HistoryClear", (PyCFunction
) _wrap_HtmlWindow_HistoryClear
, METH_VARARGS
| METH_KEYWORDS
},
10215 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction
) _wrap_HtmlWindow_GetInternalRepresentation
, METH_VARARGS
| METH_KEYWORDS
},
10216 { (char *)"HtmlWindow_GetParser", (PyCFunction
) _wrap_HtmlWindow_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
10217 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction
) _wrap_HtmlWindow_ScrollToAnchor
, METH_VARARGS
| METH_KEYWORDS
},
10218 { (char *)"HtmlWindow_HasAnchor", (PyCFunction
) _wrap_HtmlWindow_HasAnchor
, METH_VARARGS
| METH_KEYWORDS
},
10219 { (char *)"HtmlWindow_AddFilter", (PyCFunction
) _wrap_HtmlWindow_AddFilter
, METH_VARARGS
| METH_KEYWORDS
},
10220 { (char *)"HtmlWindow_base_OnLinkClicked", (PyCFunction
) _wrap_HtmlWindow_base_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
},
10221 { (char *)"HtmlWindow_base_OnSetTitle", (PyCFunction
) _wrap_HtmlWindow_base_OnSetTitle
, METH_VARARGS
| METH_KEYWORDS
},
10222 { (char *)"HtmlWindow_base_OnCellMouseHover", (PyCFunction
) _wrap_HtmlWindow_base_OnCellMouseHover
, METH_VARARGS
| METH_KEYWORDS
},
10223 { (char *)"HtmlWindow_base_OnCellClicked", (PyCFunction
) _wrap_HtmlWindow_base_OnCellClicked
, METH_VARARGS
| METH_KEYWORDS
},
10224 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister
, METH_VARARGS
},
10225 { (char *)"new_HtmlDCRenderer", (PyCFunction
) _wrap_new_HtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
},
10226 { (char *)"delete_HtmlDCRenderer", (PyCFunction
) _wrap_delete_HtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
},
10227 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction
) _wrap_HtmlDCRenderer_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
10228 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction
) _wrap_HtmlDCRenderer_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
10229 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction
) _wrap_HtmlDCRenderer_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
},
10230 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction
) _wrap_HtmlDCRenderer_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
10231 { (char *)"HtmlDCRenderer_Render", (PyCFunction
) _wrap_HtmlDCRenderer_Render
, METH_VARARGS
| METH_KEYWORDS
},
10232 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction
) _wrap_HtmlDCRenderer_GetTotalHeight
, METH_VARARGS
| METH_KEYWORDS
},
10233 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister
, METH_VARARGS
},
10234 { (char *)"new_HtmlPrintout", (PyCFunction
) _wrap_new_HtmlPrintout
, METH_VARARGS
| METH_KEYWORDS
},
10235 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction
) _wrap_HtmlPrintout_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
},
10236 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction
) _wrap_HtmlPrintout_SetHtmlFile
, METH_VARARGS
| METH_KEYWORDS
},
10237 { (char *)"HtmlPrintout_SetHeader", (PyCFunction
) _wrap_HtmlPrintout_SetHeader
, METH_VARARGS
| METH_KEYWORDS
},
10238 { (char *)"HtmlPrintout_SetFooter", (PyCFunction
) _wrap_HtmlPrintout_SetFooter
, METH_VARARGS
| METH_KEYWORDS
},
10239 { (char *)"HtmlPrintout_SetFonts", (PyCFunction
) _wrap_HtmlPrintout_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
10240 { (char *)"HtmlPrintout_SetMargins", (PyCFunction
) _wrap_HtmlPrintout_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
10241 { (char *)"HtmlPrintout_AddFilter", (PyCFunction
) _wrap_HtmlPrintout_AddFilter
, METH_VARARGS
| METH_KEYWORDS
},
10242 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction
) _wrap_HtmlPrintout_CleanUpStatics
, METH_VARARGS
| METH_KEYWORDS
},
10243 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister
, METH_VARARGS
},
10244 { (char *)"new_HtmlEasyPrinting", (PyCFunction
) _wrap_new_HtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
},
10245 { (char *)"delete_HtmlEasyPrinting", (PyCFunction
) _wrap_delete_HtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
},
10246 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction
) _wrap_HtmlEasyPrinting_PreviewFile
, METH_VARARGS
| METH_KEYWORDS
},
10247 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction
) _wrap_HtmlEasyPrinting_PreviewText
, METH_VARARGS
| METH_KEYWORDS
},
10248 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction
) _wrap_HtmlEasyPrinting_PrintFile
, METH_VARARGS
| METH_KEYWORDS
},
10249 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction
) _wrap_HtmlEasyPrinting_PrintText
, METH_VARARGS
| METH_KEYWORDS
},
10250 { (char *)"HtmlEasyPrinting_PrinterSetup", (PyCFunction
) _wrap_HtmlEasyPrinting_PrinterSetup
, METH_VARARGS
| METH_KEYWORDS
},
10251 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction
) _wrap_HtmlEasyPrinting_PageSetup
, METH_VARARGS
| METH_KEYWORDS
},
10252 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction
) _wrap_HtmlEasyPrinting_SetHeader
, METH_VARARGS
| METH_KEYWORDS
},
10253 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction
) _wrap_HtmlEasyPrinting_SetFooter
, METH_VARARGS
| METH_KEYWORDS
},
10254 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction
) _wrap_HtmlEasyPrinting_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
10255 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction
) _wrap_HtmlEasyPrinting_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
10256 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction
) _wrap_HtmlEasyPrinting_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
10257 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister
, METH_VARARGS
},
10258 { (char *)"new_HtmlBookRecord", (PyCFunction
) _wrap_new_HtmlBookRecord
, METH_VARARGS
| METH_KEYWORDS
},
10259 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction
) _wrap_HtmlBookRecord_GetBookFile
, METH_VARARGS
| METH_KEYWORDS
},
10260 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction
) _wrap_HtmlBookRecord_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
10261 { (char *)"HtmlBookRecord_GetStart", (PyCFunction
) _wrap_HtmlBookRecord_GetStart
, METH_VARARGS
| METH_KEYWORDS
},
10262 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction
) _wrap_HtmlBookRecord_GetBasePath
, METH_VARARGS
| METH_KEYWORDS
},
10263 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction
) _wrap_HtmlBookRecord_SetContentsRange
, METH_VARARGS
| METH_KEYWORDS
},
10264 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction
) _wrap_HtmlBookRecord_GetContentsStart
, METH_VARARGS
| METH_KEYWORDS
},
10265 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction
) _wrap_HtmlBookRecord_GetContentsEnd
, METH_VARARGS
| METH_KEYWORDS
},
10266 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction
) _wrap_HtmlBookRecord_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
10267 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction
) _wrap_HtmlBookRecord_SetBasePath
, METH_VARARGS
| METH_KEYWORDS
},
10268 { (char *)"HtmlBookRecord_SetStart", (PyCFunction
) _wrap_HtmlBookRecord_SetStart
, METH_VARARGS
| METH_KEYWORDS
},
10269 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction
) _wrap_HtmlBookRecord_GetFullPath
, METH_VARARGS
| METH_KEYWORDS
},
10270 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister
, METH_VARARGS
},
10271 { (char *)"HtmlContentsItem_GetLevel", (PyCFunction
) _wrap_HtmlContentsItem_GetLevel
, METH_VARARGS
| METH_KEYWORDS
},
10272 { (char *)"HtmlContentsItem_GetID", (PyCFunction
) _wrap_HtmlContentsItem_GetID
, METH_VARARGS
| METH_KEYWORDS
},
10273 { (char *)"HtmlContentsItem_GetName", (PyCFunction
) _wrap_HtmlContentsItem_GetName
, METH_VARARGS
| METH_KEYWORDS
},
10274 { (char *)"HtmlContentsItem_GetPage", (PyCFunction
) _wrap_HtmlContentsItem_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
10275 { (char *)"HtmlContentsItem_GetBook", (PyCFunction
) _wrap_HtmlContentsItem_GetBook
, METH_VARARGS
| METH_KEYWORDS
},
10276 { (char *)"HtmlContentsItem_swigregister", HtmlContentsItem_swigregister
, METH_VARARGS
},
10277 { (char *)"HtmlSearchStatus_Search", (PyCFunction
) _wrap_HtmlSearchStatus_Search
, METH_VARARGS
| METH_KEYWORDS
},
10278 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction
) _wrap_HtmlSearchStatus_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
10279 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction
) _wrap_HtmlSearchStatus_GetCurIndex
, METH_VARARGS
| METH_KEYWORDS
},
10280 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction
) _wrap_HtmlSearchStatus_GetMaxIndex
, METH_VARARGS
| METH_KEYWORDS
},
10281 { (char *)"HtmlSearchStatus_GetName", (PyCFunction
) _wrap_HtmlSearchStatus_GetName
, METH_VARARGS
| METH_KEYWORDS
},
10282 { (char *)"HtmlSearchStatus_GetContentsItem", (PyCFunction
) _wrap_HtmlSearchStatus_GetContentsItem
, METH_VARARGS
| METH_KEYWORDS
},
10283 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister
, METH_VARARGS
},
10284 { (char *)"new_HtmlHelpData", (PyCFunction
) _wrap_new_HtmlHelpData
, METH_VARARGS
| METH_KEYWORDS
},
10285 { (char *)"delete_HtmlHelpData", (PyCFunction
) _wrap_delete_HtmlHelpData
, METH_VARARGS
| METH_KEYWORDS
},
10286 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction
) _wrap_HtmlHelpData_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
},
10287 { (char *)"HtmlHelpData_AddBook", (PyCFunction
) _wrap_HtmlHelpData_AddBook
, METH_VARARGS
| METH_KEYWORDS
},
10288 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction
) _wrap_HtmlHelpData_FindPageByName
, METH_VARARGS
| METH_KEYWORDS
},
10289 { (char *)"HtmlHelpData_FindPageById", (PyCFunction
) _wrap_HtmlHelpData_FindPageById
, METH_VARARGS
| METH_KEYWORDS
},
10290 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction
) _wrap_HtmlHelpData_GetBookRecArray
, METH_VARARGS
| METH_KEYWORDS
},
10291 { (char *)"HtmlHelpData_GetContents", (PyCFunction
) _wrap_HtmlHelpData_GetContents
, METH_VARARGS
| METH_KEYWORDS
},
10292 { (char *)"HtmlHelpData_GetContentsCnt", (PyCFunction
) _wrap_HtmlHelpData_GetContentsCnt
, METH_VARARGS
| METH_KEYWORDS
},
10293 { (char *)"HtmlHelpData_GetIndex", (PyCFunction
) _wrap_HtmlHelpData_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
10294 { (char *)"HtmlHelpData_GetIndexCnt", (PyCFunction
) _wrap_HtmlHelpData_GetIndexCnt
, METH_VARARGS
| METH_KEYWORDS
},
10295 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister
, METH_VARARGS
},
10296 { (char *)"new_HtmlHelpFrame", (PyCFunction
) _wrap_new_HtmlHelpFrame
, METH_VARARGS
| METH_KEYWORDS
},
10297 { (char *)"HtmlHelpFrame_GetData", (PyCFunction
) _wrap_HtmlHelpFrame_GetData
, METH_VARARGS
| METH_KEYWORDS
},
10298 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpFrame_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
},
10299 { (char *)"HtmlHelpFrame_Display", (PyCFunction
) _wrap_HtmlHelpFrame_Display
, METH_VARARGS
| METH_KEYWORDS
},
10300 { (char *)"HtmlHelpFrame_DisplayID", (PyCFunction
) _wrap_HtmlHelpFrame_DisplayID
, METH_VARARGS
| METH_KEYWORDS
},
10301 { (char *)"HtmlHelpFrame_DisplayContents", (PyCFunction
) _wrap_HtmlHelpFrame_DisplayContents
, METH_VARARGS
| METH_KEYWORDS
},
10302 { (char *)"HtmlHelpFrame_DisplayIndex", (PyCFunction
) _wrap_HtmlHelpFrame_DisplayIndex
, METH_VARARGS
| METH_KEYWORDS
},
10303 { (char *)"HtmlHelpFrame_KeywordSearch", (PyCFunction
) _wrap_HtmlHelpFrame_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
},
10304 { (char *)"HtmlHelpFrame_UseConfig", (PyCFunction
) _wrap_HtmlHelpFrame_UseConfig
, METH_VARARGS
| METH_KEYWORDS
},
10305 { (char *)"HtmlHelpFrame_ReadCustomization", (PyCFunction
) _wrap_HtmlHelpFrame_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
10306 { (char *)"HtmlHelpFrame_WriteCustomization", (PyCFunction
) _wrap_HtmlHelpFrame_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
10307 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister
, METH_VARARGS
},
10308 { (char *)"new_HtmlHelpController", (PyCFunction
) _wrap_new_HtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
},
10309 { (char *)"delete_HtmlHelpController", (PyCFunction
) _wrap_delete_HtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
},
10310 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpController_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
},
10311 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction
) _wrap_HtmlHelpController_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
},
10312 { (char *)"HtmlHelpController_AddBook", (PyCFunction
) _wrap_HtmlHelpController_AddBook
, METH_VARARGS
| METH_KEYWORDS
},
10313 { (char *)"HtmlHelpController_Display", (PyCFunction
) _wrap_HtmlHelpController_Display
, METH_VARARGS
| METH_KEYWORDS
},
10314 { (char *)"HtmlHelpController_DisplayID", (PyCFunction
) _wrap_HtmlHelpController_DisplayID
, METH_VARARGS
| METH_KEYWORDS
},
10315 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction
) _wrap_HtmlHelpController_DisplayContents
, METH_VARARGS
| METH_KEYWORDS
},
10316 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction
) _wrap_HtmlHelpController_DisplayIndex
, METH_VARARGS
| METH_KEYWORDS
},
10317 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction
) _wrap_HtmlHelpController_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
},
10318 { (char *)"HtmlHelpController_UseConfig", (PyCFunction
) _wrap_HtmlHelpController_UseConfig
, METH_VARARGS
| METH_KEYWORDS
},
10319 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction
) _wrap_HtmlHelpController_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
10320 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction
) _wrap_HtmlHelpController_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
10321 { (char *)"HtmlHelpController_GetFrame", (PyCFunction
) _wrap_HtmlHelpController_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
10322 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister
, METH_VARARGS
},
10327 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
10329 static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x
) {
10330 return (void *)((wxHtmlRenderingStyle
*) ((wxDefaultHtmlRenderingStyle
*) x
));
10332 static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x
) {
10333 return (void *)((wxHtmlParser
*) ((wxHtmlWinParser
*) x
));
10335 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
10336 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
10338 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
10339 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
10341 static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x
) {
10342 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
10344 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
10345 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
10347 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
10348 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
10350 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
10351 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
10353 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
10354 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
10356 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
10357 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
10359 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
10360 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
10362 static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x
) {
10363 return (void *)((wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
10365 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
10366 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
10368 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
10369 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
10371 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
10372 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
10374 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
10375 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
10377 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
10378 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
10380 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
10381 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
10383 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
10384 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
10386 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
10387 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
10389 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
10390 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
10392 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
10393 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
10395 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
10396 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
10398 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
10399 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
10401 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
10402 return (void *)((wxWindow
*) ((wxPanel
*) x
));
10404 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
10405 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
10407 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
10408 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
10410 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
10411 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
10413 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
10414 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
10416 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
10417 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
10419 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
10420 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
10422 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
10423 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
10425 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
10426 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
10428 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
10429 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
10431 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
10432 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
10434 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
10435 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
10437 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
10438 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
10440 static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x
) {
10441 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
10443 static void *_p_wxControlTo_p_wxWindow(void *x
) {
10444 return (void *)((wxWindow
*) ((wxControl
*) x
));
10446 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
10447 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
10449 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
10450 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
10452 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
10453 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
10455 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
10456 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
10458 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
10459 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
10461 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
10462 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
10464 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
10465 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
10467 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
10468 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
10470 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
10471 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
10473 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
10474 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
10476 static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x
) {
10477 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
10479 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
10480 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
10482 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
10483 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
10485 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
10486 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
10488 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
10489 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
10491 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
10492 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
10494 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
10495 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
10497 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
10498 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
10500 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
10501 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
10503 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
10504 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
10506 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
10507 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
10509 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
10510 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
10512 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
10513 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
10515 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
10516 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
10518 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
10519 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
10521 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
10522 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
10524 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
10525 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
10527 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
10528 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
10530 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
10531 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
10533 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
10534 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
10536 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
10537 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
10539 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
10540 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
10542 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
10543 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
10545 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
10546 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
10548 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
10549 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
10551 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
10552 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
10554 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
10555 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
10557 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
10558 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
10560 static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x
) {
10561 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxHtmlHelpFrame
*) x
));
10563 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
10564 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
10566 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
10567 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
10569 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
10570 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
10572 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
10573 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
10575 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
10576 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
10578 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
10579 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
10581 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
10582 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
10584 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
10585 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
10587 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
10588 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
10590 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
10591 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
10593 static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x
) {
10594 return (void *)((wxObject
*) ((wxHtmlLinkInfo
*) x
));
10596 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
10597 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
10599 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
10600 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
10602 static void *_p_wxSizerTo_p_wxObject(void *x
) {
10603 return (void *)((wxObject
*) ((wxSizer
*) x
));
10605 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
10606 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
10608 static void *_p_wxHtmlFontCellTo_p_wxObject(void *x
) {
10609 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlFontCell
*) x
));
10611 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
10612 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
10614 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
10615 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
10617 static void *_p_wxEventTo_p_wxObject(void *x
) {
10618 return (void *)((wxObject
*) ((wxEvent
*) x
));
10620 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
10621 return (void *)((wxObject
*) ((wxFontData
*) x
));
10623 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
10624 return (void *)((wxObject
*) ((wxPrintData
*) x
));
10626 static void *_p_wxHtmlTagTo_p_wxObject(void *x
) {
10627 return (void *)((wxObject
*) ((wxHtmlTag
*) x
));
10629 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
10630 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
10632 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
10633 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
10635 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
10636 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
10638 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
10639 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
10641 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
10642 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
10644 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
10645 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
10647 static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x
) {
10648 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
10650 static void *_p_wxHtmlCellTo_p_wxObject(void *x
) {
10651 return (void *)((wxObject
*) ((wxHtmlCell
*) x
));
10653 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
10654 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
10656 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
10657 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
10659 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
10660 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
10662 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
10663 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
10665 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
10666 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
10668 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
10669 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
10671 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
10672 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
10674 static void *_p_wxControlTo_p_wxObject(void *x
) {
10675 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
10677 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
10678 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
10680 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
10681 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
10683 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
10684 return (void *)((wxObject
*) ((wxFSFile
*) x
));
10686 static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x
) {
10687 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlWidgetCell
*) x
));
10689 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
10690 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
10692 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
10693 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
10695 static void *_p_wxHtmlColourCellTo_p_wxObject(void *x
) {
10696 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlColourCell
*) x
));
10698 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
10699 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
10701 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
10702 return (void *)((wxObject
*) ((wxColourData
*) x
));
10704 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
10705 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
10707 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
10708 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
10710 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
10711 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
10713 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
10714 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
10716 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
10717 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
10719 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
10720 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
10722 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
10723 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
10725 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
10726 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
10728 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
10729 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
10731 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
10732 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
10734 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
10735 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
10737 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
10738 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
10740 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
10741 return (void *)((wxObject
*) ((wxPrinter
*) x
));
10743 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
10744 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
10746 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
10747 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
10749 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
10750 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
10752 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
10753 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
10755 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
10756 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
10758 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
10759 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
10761 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
10762 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
10764 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
10765 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
10767 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
10768 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
10770 static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x
) {
10771 return (void *)((wxObject
*) ((wxPyHtmlFilter
*) x
));
10773 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
10774 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
10776 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
10777 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
10779 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
10780 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
10782 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
10783 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
10785 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
10786 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
10788 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
10789 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
10791 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
10792 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
10794 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
10795 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
10797 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
10798 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
10800 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
10801 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
10803 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
10804 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
10806 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
10807 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
10809 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
10810 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
10812 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
10813 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
10815 static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x
) {
10816 return (void *)((wxObject
*) ((wxPyHtmlTagHandler
*) x
));
10818 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x
) {
10819 return (void *)((wxObject
*) (wxPyHtmlTagHandler
*) ((wxPyHtmlWinTagHandler
*) x
));
10821 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
10822 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
10824 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
10825 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
10827 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
10828 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
10830 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
10831 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
10833 static void *_p_wxImageTo_p_wxObject(void *x
) {
10834 return (void *)((wxObject
*) ((wxImage
*) x
));
10836 static void *_p_wxFrameTo_p_wxObject(void *x
) {
10837 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
10839 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
10840 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
10842 static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x
) {
10843 return (void *)((wxObject
*) (wxPyPrintout
*) ((wxHtmlPrintout
*) x
));
10845 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
10846 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
10848 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
10849 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
10851 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
10852 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
10854 static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x
) {
10855 return (void *)((wxObject
*) ((wxHtmlDCRenderer
*) x
));
10857 static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x
) {
10858 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlContainerCell
*) x
));
10860 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
10861 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
10863 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
10864 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
10866 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
10867 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
10869 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
10870 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
10872 static void *_p_wxWindowTo_p_wxObject(void *x
) {
10873 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
10875 static void *_p_wxMenuTo_p_wxObject(void *x
) {
10876 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
10878 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
10879 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
10881 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
10882 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
10884 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
10885 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
10887 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
10888 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
10890 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
10891 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
10893 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
10894 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
10896 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
10897 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
10899 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
10900 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
10902 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
10903 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
10905 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
10906 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
10908 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
10909 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
10911 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
10912 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
10914 static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x
) {
10915 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
10917 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
10918 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
10920 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
10921 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
10923 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
10924 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
10926 static void *_p_wxPanelTo_p_wxObject(void *x
) {
10927 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
10929 static void *_p_wxDialogTo_p_wxObject(void *x
) {
10930 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
10932 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
10933 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
10935 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
10936 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
10938 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
10939 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
10941 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
10942 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
10944 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
10945 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
10947 static void *_p_wxHtmlParserTo_p_wxObject(void *x
) {
10948 return (void *)((wxObject
*) ((wxHtmlParser
*) x
));
10950 static void *_p_wxHtmlWinParserTo_p_wxObject(void *x
) {
10951 return (void *)((wxObject
*) (wxHtmlParser
*) ((wxHtmlWinParser
*) x
));
10953 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
10954 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
10956 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
10957 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
10959 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
10960 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
10962 static void *_p_wxHtmlWordCellTo_p_wxObject(void *x
) {
10963 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlWordCell
*) x
));
10965 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
10966 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
10968 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
10969 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
10971 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
10972 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
10974 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
10975 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
10977 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
10978 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
10980 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
10981 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
10983 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
10984 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
10986 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
10987 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
10989 static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x
) {
10990 return (void *)((wxObject
*) ((wxHtmlEasyPrinting
*) x
));
10992 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
10993 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
10995 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
10996 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
10998 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
10999 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
11001 static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x
) {
11002 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxHtmlHelpController
*) x
));
11004 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
11005 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
11007 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
11008 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
11010 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
11011 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
11013 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
11014 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
11016 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
11017 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
11019 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x
) {
11020 return (void *)((wxPyHtmlTagHandler
*) ((wxPyHtmlWinTagHandler
*) x
));
11022 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
11023 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
11025 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
11026 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
11028 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
11029 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
11031 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
11032 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
11034 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
11035 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
11037 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
11038 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
11040 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
11041 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
11043 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
11044 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
11046 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
11047 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
11049 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
11050 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
11052 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
11053 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
11055 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
11056 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
11058 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
11059 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
11061 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
11062 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
11064 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
11065 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
11067 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
11068 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
11070 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
11071 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
11073 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
11074 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
11076 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
11077 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
11079 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
11080 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
11082 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
11083 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
11085 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
11086 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
11088 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
11089 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
11091 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
11092 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
11094 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
11095 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
11097 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
11098 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
11100 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
11101 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
11103 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
11104 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
11106 static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x
) {
11107 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
11109 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
11110 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
11112 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
11113 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
11115 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
11116 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
11118 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
11119 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
11121 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
11122 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
11124 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
11125 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
11127 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
11128 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
11130 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
11131 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
11133 static void *_p_wxHtmlHelpControllerTo_p_wxEvtHandler(void *x
) {
11134 return (void *)((wxEvtHandler
*) ((wxHtmlHelpController
*) x
));
11136 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
11137 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
11139 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
11140 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
11142 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
11143 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
11145 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
11146 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
11148 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
11149 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
11151 static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x
) {
11152 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
11154 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
11155 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
11157 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
11158 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
11160 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
11161 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
11163 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
11164 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
11166 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
11167 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
11169 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
11170 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
11172 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
11173 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
11175 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
11176 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
11178 static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x
) {
11179 return (void *)((wxPyPrintout
*) ((wxHtmlPrintout
*) x
));
11181 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
11182 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
11184 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
11185 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
11187 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
11188 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
11190 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
11191 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
11193 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
11194 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
11196 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
11197 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
11199 static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x
) {
11200 return (void *)((wxFrame
*) ((wxHtmlHelpFrame
*) x
));
11202 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
11203 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
11205 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
11206 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
11208 static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x
) {
11209 return (void *)((wxHtmlCell
*) ((wxHtmlContainerCell
*) x
));
11211 static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x
) {
11212 return (void *)((wxHtmlCell
*) ((wxHtmlWidgetCell
*) x
));
11214 static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x
) {
11215 return (void *)((wxHtmlCell
*) ((wxHtmlColourCell
*) x
));
11217 static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x
) {
11218 return (void *)((wxHtmlCell
*) ((wxHtmlWordCell
*) x
));
11220 static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x
) {
11221 return (void *)((wxHtmlCell
*) ((wxHtmlFontCell
*) x
));
11223 static swig_type_info _swigt__p_wxHtmlDCRenderer
[] = {{"_p_wxHtmlDCRenderer", 0, "wxHtmlDCRenderer *", 0},{"_p_wxHtmlDCRenderer"},{0}};
11224 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
11225 static swig_type_info _swigt__p_wxPageSetupDialogData
[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
11226 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
11227 static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle
[] = {{"_p_wxDefaultHtmlRenderingStyle", 0, "wxDefaultHtmlRenderingStyle *", 0},{"_p_wxDefaultHtmlRenderingStyle"},{0}};
11228 static swig_type_info _swigt__p_wxHtmlRenderingStyle
[] = {{"_p_wxHtmlRenderingStyle", 0, "wxHtmlRenderingStyle *", 0},{"_p_wxHtmlRenderingStyle"},{"_p_wxDefaultHtmlRenderingStyle", _p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle
},{0}};
11229 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
11230 static swig_type_info _swigt__p_wxHtmlWordCell
[] = {{"_p_wxHtmlWordCell", 0, "wxHtmlWordCell *", 0},{"_p_wxHtmlWordCell"},{0}};
11231 static swig_type_info _swigt__p_wxHtmlHelpData
[] = {{"_p_wxHtmlHelpData", 0, "wxHtmlHelpData *", 0},{"_p_wxHtmlHelpData"},{0}};
11232 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
11233 static swig_type_info _swigt__p_wxHtmlWinParser
[] = {{"_p_wxHtmlWinParser", 0, "wxHtmlWinParser *", 0},{"_p_wxHtmlWinParser"},{0}};
11234 static swig_type_info _swigt__p_wxHtmlParser
[] = {{"_p_wxHtmlParser", 0, "wxHtmlParser *", 0},{"_p_wxHtmlParser"},{"_p_wxHtmlWinParser", _p_wxHtmlWinParserTo_p_wxHtmlParser
},{0}};
11235 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}};
11236 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
11237 static swig_type_info _swigt__p_wxHtmlColourCell
[] = {{"_p_wxHtmlColourCell", 0, "wxHtmlColourCell *", 0},{"_p_wxHtmlColourCell"},{0}};
11238 static swig_type_info _swigt__p_wxPyHtmlWindow
[] = {{"_p_wxPyHtmlWindow", 0, "wxPyHtmlWindow *", 0},{"_p_wxPyHtmlWindow"},{0}};
11239 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}};
11240 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_wxTipWindow", _p_wxTipWindowTo_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_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_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow
},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_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}};
11241 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_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow
},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow
},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow
},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow
},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow
},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow
},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow
},{"_p_wxTipWindow", _p_wxTipWindowTo_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_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_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow
},{0}};
11242 static swig_type_info _swigt__p_wxHtmlFontCell
[] = {{"_p_wxHtmlFontCell", 0, "wxHtmlFontCell *", 0},{"_p_wxHtmlFontCell"},{0}};
11243 static swig_type_info _swigt__p_wxHtmlEasyPrinting
[] = {{"_p_wxHtmlEasyPrinting", 0, "wxHtmlEasyPrinting *", 0},{"_p_wxHtmlEasyPrinting"},{0}};
11244 static swig_type_info _swigt__p_wxHtmlSelection
[] = {{"_p_wxHtmlSelection", 0, "wxHtmlSelection *", 0},{"_p_wxHtmlSelection"},{0}};
11245 static swig_type_info _swigt__p_wxHtmlRenderingInfo
[] = {{"_p_wxHtmlRenderingInfo", 0, "wxHtmlRenderingInfo *", 0},{"_p_wxHtmlRenderingInfo"},{0}};
11246 static swig_type_info _swigt__p_wxHtmlWidgetCell
[] = {{"_p_wxHtmlWidgetCell", 0, "wxHtmlWidgetCell *", 0},{"_p_wxHtmlWidgetCell"},{0}};
11247 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_wxTipWindow", _p_wxTipWindowTo_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_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}};
11248 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
11249 static swig_type_info _swigt__p_wxPyHtmlWinTagHandler
[] = {{"_p_wxPyHtmlWinTagHandler", 0, "wxPyHtmlWinTagHandler *", 0},{"_p_wxPyHtmlWinTagHandler"},{0}};
11250 static swig_type_info _swigt__p_wxHtmlTagHandler
[] = {{"_p_wxHtmlTagHandler", 0, "wxHtmlTagHandler *", 0},{"_p_wxHtmlTagHandler"},{0}};
11251 static swig_type_info _swigt__p_wxPyHtmlTagHandler
[] = {{"_p_wxPyHtmlTagHandler", 0, "wxPyHtmlTagHandler *", 0},{"_p_wxPyHtmlTagHandler"},{"_p_wxPyHtmlWinTagHandler", _p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler
},{0}};
11252 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_wxTipWindow", _p_wxTipWindowTo_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_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_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler
},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_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}};
11253 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
11254 static swig_type_info _swigt__p_wxHtmlHelpController
[] = {{"_p_wxHtmlHelpController", 0, "wxHtmlHelpController *", 0},{"_p_wxHtmlHelpController"},{0}};
11255 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
11256 static swig_type_info _swigt__p_wxFileSystem
[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0},{"_p_wxFileSystem"},{0}};
11257 static swig_type_info _swigt__p_wxHtmlBookRecArray
[] = {{"_p_wxHtmlBookRecArray", 0, "wxHtmlBookRecArray *", 0},{"_p_wxHtmlBookRecArray"},{0}};
11258 static swig_type_info _swigt__p_wxPyPrintout
[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{"_p_wxHtmlPrintout", _p_wxHtmlPrintoutTo_p_wxPyPrintout
},{0}};
11259 static swig_type_info _swigt__p_wxHtmlPrintout
[] = {{"_p_wxHtmlPrintout", 0, "wxHtmlPrintout *", 0},{"_p_wxHtmlPrintout"},{0}};
11260 static swig_type_info _swigt__p_wxHtmlSearchStatus
[] = {{"_p_wxHtmlSearchStatus", 0, "wxHtmlSearchStatus *", 0},{"_p_wxHtmlSearchStatus"},{0}};
11261 static swig_type_info _swigt__p_wxHtmlContentsItem
[] = {{"_p_wxHtmlContentsItem", 0, "wxHtmlContentsItem *", 0},{"_p_wxHtmlContentsItem"},{0}};
11262 static swig_type_info _swigt__p_wxConfigBase
[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0},{"_p_wxConfigBase"},{0}};
11263 static swig_type_info _swigt__p_wxPrintData
[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
11264 static swig_type_info _swigt__p_wxHtmlHelpFrame
[] = {{"_p_wxHtmlHelpFrame", 0, "wxHtmlHelpFrame *", 0},{"_p_wxHtmlHelpFrame"},{0}};
11265 static swig_type_info _swigt__p_wxHtmlRenderingState
[] = {{"_p_wxHtmlRenderingState", 0, "wxHtmlRenderingState *", 0},{"_p_wxHtmlRenderingState"},{0}};
11266 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_wxTipWindow", _p_wxTipWindowTo_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}};
11267 static swig_type_info _swigt__p_wxPyHtmlFilter
[] = {{"_p_wxPyHtmlFilter", 0, "wxPyHtmlFilter *", 0},{"_p_wxPyHtmlFilter"},{0}};
11268 static swig_type_info _swigt__p_wxHtmlFilter
[] = {{"_p_wxHtmlFilter", 0, "wxHtmlFilter *", 0},{"_p_wxHtmlFilter"},{0}};
11269 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}};
11270 static swig_type_info _swigt__p_wxHtmlContainerCell
[] = {{"_p_wxHtmlContainerCell", 0, "wxHtmlContainerCell *", 0},{"_p_wxHtmlContainerCell"},{0}};
11271 static swig_type_info _swigt__p_wxHtmlTag
[] = {{"_p_wxHtmlTag", 0, "wxHtmlTag *", 0},{"_p_wxHtmlTag"},{0}};
11272 static swig_type_info _swigt__p_wxHtmlLinkInfo
[] = {{"_p_wxHtmlLinkInfo", 0, "wxHtmlLinkInfo *", 0},{"_p_wxHtmlLinkInfo"},{0}};
11273 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
11274 static swig_type_info _swigt__p_wxHtmlBookRecord
[] = {{"_p_wxHtmlBookRecord", 0, "wxHtmlBookRecord *", 0},{"_p_wxHtmlBookRecord"},{0}};
11276 static swig_type_info
*swig_types_initial
[] = {
11277 _swigt__p_wxHtmlDCRenderer
,
11278 _swigt__p_wxColour
,
11279 _swigt__p_wxPageSetupDialogData
,
11281 _swigt__p_wxDefaultHtmlRenderingStyle
,
11282 _swigt__p_wxHtmlRenderingStyle
,
11283 _swigt__p_wxMouseEvent
,
11284 _swigt__p_wxHtmlWordCell
,
11285 _swigt__p_wxHtmlHelpData
,
11287 _swigt__p_wxHtmlWinParser
,
11288 _swigt__p_wxHtmlParser
,
11291 _swigt__p_wxHtmlColourCell
,
11292 _swigt__p_wxPyHtmlWindow
,
11293 _swigt__p_wxScrolledWindow
,
11294 _swigt__p_wxWindow
,
11295 _swigt__p_wxTopLevelWindow
,
11296 _swigt__p_wxHtmlFontCell
,
11297 _swigt__p_wxHtmlEasyPrinting
,
11298 _swigt__p_wxHtmlSelection
,
11299 _swigt__p_wxHtmlRenderingInfo
,
11300 _swigt__p_wxHtmlWidgetCell
,
11301 _swigt__p_wxObject
,
11302 _swigt__p_wxString
,
11303 _swigt__p_wxPyHtmlWinTagHandler
,
11304 _swigt__p_wxHtmlTagHandler
,
11305 _swigt__p_wxPyHtmlTagHandler
,
11306 _swigt__p_wxEvtHandler
,
11308 _swigt__p_wxHtmlHelpController
,
11309 _swigt__p_wxCursor
,
11310 _swigt__p_wxFileSystem
,
11311 _swigt__p_wxHtmlBookRecArray
,
11312 _swigt__p_wxPyPrintout
,
11313 _swigt__p_wxHtmlPrintout
,
11314 _swigt__p_wxHtmlSearchStatus
,
11315 _swigt__p_wxHtmlContentsItem
,
11316 _swigt__p_wxConfigBase
,
11317 _swigt__p_wxPrintData
,
11318 _swigt__p_wxHtmlHelpFrame
,
11319 _swigt__p_wxHtmlRenderingState
,
11321 _swigt__p_wxPyHtmlFilter
,
11322 _swigt__p_wxHtmlFilter
,
11323 _swigt__p_wxHtmlCell
,
11324 _swigt__p_wxHtmlContainerCell
,
11325 _swigt__p_wxHtmlTag
,
11326 _swigt__p_wxHtmlLinkInfo
,
11328 _swigt__p_wxHtmlBookRecord
,
11333 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
11335 static swig_const_info swig_const_table
[] = {
11345 SWIGEXPORT(void) SWIG_init(void) {
11346 static PyObject
*SWIG_globals
= 0;
11347 static int typeinit
= 0;
11350 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
11351 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
11352 d
= PyModule_GetDict(m
);
11355 for (i
= 0; swig_types_initial
[i
]; i
++) {
11356 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
11360 SWIG_InstallConstants(d
,swig_const_table
);
11362 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
11363 SWIG_addvarlink(SWIG_globals
,(char*)"HtmlWindowNameStr",_wrap_HtmlWindowNameStr_get
, _wrap_HtmlWindowNameStr_set
);
11364 SWIG_addvarlink(SWIG_globals
,(char*)"HtmlPrintoutTitleStr",_wrap_HtmlPrintoutTitleStr_get
, _wrap_HtmlPrintoutTitleStr_set
);
11365 SWIG_addvarlink(SWIG_globals
,(char*)"HtmlPrintingTitleStr",_wrap_HtmlPrintingTitleStr_get
, _wrap_HtmlPrintingTitleStr_set
);
11366 PyDict_SetItemString(d
,"HTML_ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxHTML_ALIGN_LEFT
));
11367 PyDict_SetItemString(d
,"HTML_ALIGN_CENTER", SWIG_PyObj_FromInt((int)wxHTML_ALIGN_CENTER
));
11368 PyDict_SetItemString(d
,"HTML_ALIGN_RIGHT", SWIG_PyObj_FromInt((int)wxHTML_ALIGN_RIGHT
));
11369 PyDict_SetItemString(d
,"HTML_ALIGN_BOTTOM", SWIG_PyObj_FromInt((int)wxHTML_ALIGN_BOTTOM
));
11370 PyDict_SetItemString(d
,"HTML_ALIGN_TOP", SWIG_PyObj_FromInt((int)wxHTML_ALIGN_TOP
));
11371 PyDict_SetItemString(d
,"HTML_CLR_FOREGROUND", SWIG_PyObj_FromInt((int)wxHTML_CLR_FOREGROUND
));
11372 PyDict_SetItemString(d
,"HTML_CLR_BACKGROUND", SWIG_PyObj_FromInt((int)wxHTML_CLR_BACKGROUND
));
11373 PyDict_SetItemString(d
,"HTML_UNITS_PIXELS", SWIG_PyObj_FromInt((int)wxHTML_UNITS_PIXELS
));
11374 PyDict_SetItemString(d
,"HTML_UNITS_PERCENT", SWIG_PyObj_FromInt((int)wxHTML_UNITS_PERCENT
));
11375 PyDict_SetItemString(d
,"HTML_INDENT_LEFT", SWIG_PyObj_FromInt((int)wxHTML_INDENT_LEFT
));
11376 PyDict_SetItemString(d
,"HTML_INDENT_RIGHT", SWIG_PyObj_FromInt((int)wxHTML_INDENT_RIGHT
));
11377 PyDict_SetItemString(d
,"HTML_INDENT_TOP", SWIG_PyObj_FromInt((int)wxHTML_INDENT_TOP
));
11378 PyDict_SetItemString(d
,"HTML_INDENT_BOTTOM", SWIG_PyObj_FromInt((int)wxHTML_INDENT_BOTTOM
));
11379 PyDict_SetItemString(d
,"HTML_INDENT_HORIZONTAL", SWIG_PyObj_FromInt((int)wxHTML_INDENT_HORIZONTAL
));
11380 PyDict_SetItemString(d
,"HTML_INDENT_VERTICAL", SWIG_PyObj_FromInt((int)wxHTML_INDENT_VERTICAL
));
11381 PyDict_SetItemString(d
,"HTML_INDENT_ALL", SWIG_PyObj_FromInt((int)wxHTML_INDENT_ALL
));
11382 PyDict_SetItemString(d
,"HTML_COND_ISANCHOR", SWIG_PyObj_FromInt((int)wxHTML_COND_ISANCHOR
));
11383 PyDict_SetItemString(d
,"HTML_COND_ISIMAGEMAP", SWIG_PyObj_FromInt((int)wxHTML_COND_ISIMAGEMAP
));
11384 PyDict_SetItemString(d
,"HTML_COND_USER", SWIG_PyObj_FromInt((int)wxHTML_COND_USER
));
11385 PyDict_SetItemString(d
,"HTML_FONT_SIZE_1", SWIG_PyObj_FromInt((int)wxHTML_FONT_SIZE_1
));
11386 PyDict_SetItemString(d
,"HTML_FONT_SIZE_2", SWIG_PyObj_FromInt((int)wxHTML_FONT_SIZE_2
));
11387 PyDict_SetItemString(d
,"HTML_FONT_SIZE_3", SWIG_PyObj_FromInt((int)wxHTML_FONT_SIZE_3
));
11388 PyDict_SetItemString(d
,"HTML_FONT_SIZE_4", SWIG_PyObj_FromInt((int)wxHTML_FONT_SIZE_4
));
11389 PyDict_SetItemString(d
,"HTML_FONT_SIZE_5", SWIG_PyObj_FromInt((int)wxHTML_FONT_SIZE_5
));
11390 PyDict_SetItemString(d
,"HTML_FONT_SIZE_6", SWIG_PyObj_FromInt((int)wxHTML_FONT_SIZE_6
));
11391 PyDict_SetItemString(d
,"HTML_FONT_SIZE_7", SWIG_PyObj_FromInt((int)wxHTML_FONT_SIZE_7
));
11392 PyDict_SetItemString(d
,"HW_SCROLLBAR_NEVER", SWIG_PyObj_FromInt((int)wxHW_SCROLLBAR_NEVER
));
11393 PyDict_SetItemString(d
,"HW_SCROLLBAR_AUTO", SWIG_PyObj_FromInt((int)wxHW_SCROLLBAR_AUTO
));
11394 PyDict_SetItemString(d
,"HW_NO_SELECTION", SWIG_PyObj_FromInt((int)wxHW_NO_SELECTION
));
11395 PyDict_SetItemString(d
,"HW_DEFAULT_STYLE", SWIG_PyObj_FromInt((int)wxHW_DEFAULT_STYLE
));
11396 PyDict_SetItemString(d
,"HTML_OPEN", SWIG_PyObj_FromInt((int)wxHTML_OPEN
));
11397 PyDict_SetItemString(d
,"HTML_BLOCK", SWIG_PyObj_FromInt((int)wxHTML_BLOCK
));
11398 PyDict_SetItemString(d
,"HTML_REDIRECT", SWIG_PyObj_FromInt((int)wxHTML_REDIRECT
));
11399 PyDict_SetItemString(d
,"HTML_URL_PAGE", SWIG_PyObj_FromInt((int)wxHTML_URL_PAGE
));
11400 PyDict_SetItemString(d
,"HTML_URL_IMAGE", SWIG_PyObj_FromInt((int)wxHTML_URL_IMAGE
));
11401 PyDict_SetItemString(d
,"HTML_URL_OTHER", SWIG_PyObj_FromInt((int)wxHTML_URL_OTHER
));
11402 PyDict_SetItemString(d
,"HTML_SEL_OUT", SWIG_PyObj_FromInt((int)wxHTML_SEL_OUT
));
11403 PyDict_SetItemString(d
,"HTML_SEL_IN", SWIG_PyObj_FromInt((int)wxHTML_SEL_IN
));
11404 PyDict_SetItemString(d
,"HTML_SEL_CHANGING", SWIG_PyObj_FromInt((int)wxHTML_SEL_CHANGING
));
11405 PyDict_SetItemString(d
,"HTML_FIND_EXACT", SWIG_PyObj_FromInt((int)wxHTML_FIND_EXACT
));
11406 PyDict_SetItemString(d
,"HTML_FIND_NEAREST_BEFORE", SWIG_PyObj_FromInt((int)wxHTML_FIND_NEAREST_BEFORE
));
11407 PyDict_SetItemString(d
,"HTML_FIND_NEAREST_AFTER", SWIG_PyObj_FromInt((int)wxHTML_FIND_NEAREST_AFTER
));
11408 PyDict_SetItemString(d
,"PAGE_ODD", SWIG_PyObj_FromInt((int)wxPAGE_ODD
));
11409 PyDict_SetItemString(d
,"PAGE_EVEN", SWIG_PyObj_FromInt((int)wxPAGE_EVEN
));
11410 PyDict_SetItemString(d
,"PAGE_ALL", SWIG_PyObj_FromInt((int)wxPAGE_ALL
));
11411 PyDict_SetItemString(d
,"HF_TOOLBAR", SWIG_PyObj_FromInt((int)wxHF_TOOLBAR
));
11412 PyDict_SetItemString(d
,"HF_FLATTOOLBAR", SWIG_PyObj_FromInt((int)wxHF_FLATTOOLBAR
));
11413 PyDict_SetItemString(d
,"HF_CONTENTS", SWIG_PyObj_FromInt((int)wxHF_CONTENTS
));
11414 PyDict_SetItemString(d
,"HF_INDEX", SWIG_PyObj_FromInt((int)wxHF_INDEX
));
11415 PyDict_SetItemString(d
,"HF_SEARCH", SWIG_PyObj_FromInt((int)wxHF_SEARCH
));
11416 PyDict_SetItemString(d
,"HF_BOOKMARKS", SWIG_PyObj_FromInt((int)wxHF_BOOKMARKS
));
11417 PyDict_SetItemString(d
,"HF_OPENFILES", SWIG_PyObj_FromInt((int)wxHF_OPENFILES
));
11418 PyDict_SetItemString(d
,"HF_PRINT", SWIG_PyObj_FromInt((int)wxHF_PRINT
));
11419 PyDict_SetItemString(d
,"HF_DEFAULTSTYLE", SWIG_PyObj_FromInt((int)wxHF_DEFAULTSTYLE
));
11421 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
11422 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
11423 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
11424 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");