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_TypePrettyName SWIG_Python_TypePrettyName
47 #define SWIG_TypeQuery SWIG_Python_TypeQuery
48 #define SWIG_TypeClientData SWIG_Python_TypeClientData
49 #define SWIG_PackData SWIG_Python_PackData
50 #define SWIG_UnpackData SWIG_Python_UnpackData
53 /***********************************************************************
54 * common.swg for wxPython
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
61 ************************************************************************/
65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66 # if defined(_MSC_VER) || defined(__GNUC__)
67 # if defined(STATIC_LINKED)
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) extern a
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
91 # define SWIGRUNTIME(a) static a
98 typedef void *(*swig_converter_func
)(void *);
99 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
101 typedef struct swig_type_info
{
103 swig_converter_func converter
;
106 swig_dycast_func dcast
;
107 struct swig_type_info
*next
;
108 struct swig_type_info
*prev
;
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info
*);
118 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
129 /***********************************************************************
130 * pyrun.swg for wxPython
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
137 ************************************************************************/
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
[]);
199 /* Contract support */
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
209 /* -------- TYPES TABLE (BEGIN) -------- */
211 #define SWIGTYPE_p_wxHtmlDCRenderer swig_types[0]
212 #define SWIGTYPE_p_wxColour swig_types[1]
213 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[2]
214 #define SWIGTYPE_p_wxDC swig_types[3]
215 #define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[4]
216 #define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[5]
217 #define SWIGTYPE_p_wxMouseEvent swig_types[6]
218 #define SWIGTYPE_p_wxHtmlWordCell swig_types[7]
219 #define SWIGTYPE_p_wxVisualAttributes swig_types[8]
220 #define SWIGTYPE_p_wxHtmlHelpData swig_types[9]
221 #define SWIGTYPE_p_char swig_types[10]
222 #define SWIGTYPE_p_wxHtmlWinParser swig_types[11]
223 #define SWIGTYPE_p_wxHtmlParser swig_types[12]
224 #define SWIGTYPE_p_wxPanel swig_types[13]
225 #define SWIGTYPE_p_wxFont swig_types[14]
226 #define SWIGTYPE_p_wxPyHtmlWindow swig_types[15]
227 #define SWIGTYPE_p_wxScrolledWindow swig_types[16]
228 #define SWIGTYPE_p_wxWindow swig_types[17]
229 #define SWIGTYPE_p_wxTopLevelWindow swig_types[18]
230 #define SWIGTYPE_p_wxHtmlColourCell swig_types[19]
231 #define SWIGTYPE_p_wxHtmlFontCell swig_types[20]
232 #define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[21]
233 #define SWIGTYPE_p_wxHtmlSelection swig_types[22]
234 #define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[23]
235 #define SWIGTYPE_p_wxHtmlWidgetCell swig_types[24]
236 #define SWIGTYPE_p_wxObject swig_types[25]
237 #define SWIGTYPE_p_wxString swig_types[26]
238 #define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[27]
239 #define SWIGTYPE_p_wxHtmlTagHandler swig_types[28]
240 #define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[29]
241 #define SWIGTYPE_p_wxEvtHandler swig_types[30]
242 #define SWIGTYPE_p_wxPoint swig_types[31]
243 #define SWIGTYPE_p_wxHtmlHelpController swig_types[32]
244 #define SWIGTYPE_p_wxCursor swig_types[33]
245 #define SWIGTYPE_p_wxFileSystem swig_types[34]
246 #define SWIGTYPE_p_wxHtmlBookRecArray swig_types[35]
247 #define SWIGTYPE_p_wxPyPrintout swig_types[36]
248 #define SWIGTYPE_p_wxHtmlPrintout swig_types[37]
249 #define SWIGTYPE_p_wxHtmlSearchStatus swig_types[38]
250 #define SWIGTYPE_p_wxHtmlContentsItem swig_types[39]
251 #define SWIGTYPE_p_wxConfigBase swig_types[40]
252 #define SWIGTYPE_p_wxPrintData swig_types[41]
253 #define SWIGTYPE_p_wxHtmlHelpFrame swig_types[42]
254 #define SWIGTYPE_p_wxHtmlRenderingState swig_types[43]
255 #define SWIGTYPE_p_wxFrame swig_types[44]
256 #define SWIGTYPE_p_wxPyHtmlFilter swig_types[45]
257 #define SWIGTYPE_p_wxHtmlFilter swig_types[46]
258 #define SWIGTYPE_p_wxHtmlCell swig_types[47]
259 #define SWIGTYPE_p_wxHtmlContainerCell swig_types[48]
260 #define SWIGTYPE_p_wxHtmlTag swig_types[49]
261 #define SWIGTYPE_p_int swig_types[50]
262 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[51]
263 #define SWIGTYPE_p_wxHtmlBookRecord swig_types[52]
264 static swig_type_info
*swig_types
[54];
266 /* -------- TYPES TABLE (END) -------- */
269 /*-----------------------------------------------
271 ------------------------------------------------*/
272 #define SWIG_init init_html
274 #define SWIG_name "_html"
276 /* Auxiliar swig macros that appear in the header */
278 #define SWIG_OLDOBJ 1
279 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
280 #define SWIG_PYSTR SWIG_NEWOBJ + 1
283 #define SWIGSTATICINLINE(a) static inline a
284 #define SWIGSTATIC(a) static a
285 #define swig_new_array(size,Type) (new Type[(size)])
286 #define swig_delete(cptr) delete cptr
287 #define swig_delete_array(cptr) delete[] cptr
288 #define swig_const_cast(a,Type) const_cast<Type >(a)
289 #define swig_static_cast(a,Type) static_cast<Type >(a)
290 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
291 #define swig_new_copy(ptr,Type) (new Type(*ptr))
292 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
296 #define SWIGSTATICINLINE(a) static a
297 #define SWIGSTATIC(a) static a
298 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
299 #define swig_delete(cptr) free((char*)cptr)
300 #define swig_delete_array(cptr) free((char*)cptr)
301 #define swig_const_cast(a,Type) (Type)(a)
302 #define swig_static_cast(a,Type) (Type)(a)
303 #define swig_reinterpret_cast(a,Type) (Type)(a)
304 #define swig_numeric_cast(a,Type) (Type)(a)
305 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
307 #endif /* __cplusplus */
310 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
311 #define SWIG_From_signed_SS_char PyInt_FromLong
313 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
314 #define SWIG_From_unsigned_SS_char PyInt_FromLong
316 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
317 #define SWIG_From_short PyInt_FromLong
319 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
320 #define SWIG_From_unsigned_SS_short PyInt_FromLong
322 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
323 #define SWIG_From_int PyInt_FromLong
325 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
326 #define SWIG_From_long PyInt_FromLong
328 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
329 #define SWIG_From_float PyFloat_FromDouble
331 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
332 #define SWIG_From_double PyFloat_FromDouble
336 #include "wx/wxPython/wxPython.h"
337 #include "wx/wxPython/pyclasses.h"
338 #include "wx/wxPython/pyistream.h"
339 #include "wx/wxPython/printfw.h"
341 #include <wx/html/htmlwin.h>
342 #include <wx/html/htmprint.h>
343 #include <wx/html/helpctrl.h>
346 static const wxString
wxPyEmptyString(wxEmptyString
);
347 static const wxString
wxPyHtmlWindowNameStr(wxT("htmlWindow"));
348 static const wxString
wxPyHtmlPrintoutTitleStr(wxT("Printout"));
349 static const wxString
wxPyHtmlPrintingTitleStr(wxT("Printing"));
354 SWIGSTATICINLINE(int)
355 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
358 if (value
< min_value
) {
360 PyErr_Format(PyExc_OverflowError
,
361 "value %ld is less than '%s' minimum %ld",
362 value
, errmsg
, min_value
);
365 } else if (value
> max_value
) {
367 PyErr_Format(PyExc_OverflowError
,
368 "value %ld is greater than '%s' maximum %ld",
369 value
, errmsg
, max_value
);
377 // See my_fragments.i
378 SWIGSTATICINLINE(int)
379 SWIG_AsVal_long(PyObject
* obj
, long* val
)
381 if (PyNumber_Check(obj
)) {
382 if (val
) *val
= PyInt_AsLong(obj
);
386 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
387 obj
->ob_type
->tp_name
);
388 PyErr_SetObject(PyExc_TypeError
, errmsg
);
395 #if INT_MAX != LONG_MAX
396 SWIGSTATICINLINE(int)
397 SWIG_AsVal_int(PyObject
*obj
, int *val
)
399 const char* errmsg
= val
? "int" : 0;
401 if (SWIG_AsVal_long(obj
, &v
)) {
402 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
403 if (val
) *val
= swig_numeric_cast(v
, int);
412 PyErr_SetString(PyExc_TypeError
, "an int is expected");
417 SWIGSTATICINLINE(int)
418 SWIG_AsVal_int(PyObject
*obj
, int *val
)
420 return SWIG_AsVal_long(obj
,(long*)val
);
425 SWIGSTATICINLINE(int)
426 SWIG_As_int(PyObject
* obj
)
429 if (!SWIG_AsVal_int(obj
, &v
)) {
431 this is needed to make valgrind/purify happier. the other
432 solution is throw an exception, but since this code should work
435 memset((void*)&v
, 0, sizeof(int));
441 SWIGSTATICINLINE(int)
442 SWIG_Check_int(PyObject
* obj
)
444 return SWIG_AsVal_int(obj
, (int*)0);
447 void wxHtmlWinParser_SetFonts(wxHtmlWinParser
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
){
449 if (sizes
) temp
= int_LIST_helper(sizes
);
450 self
->SetFonts(normal_face
, fixed_face
, temp
);
455 class wxPyHtmlTagHandler
: public wxHtmlTagHandler
{
456 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler
);
458 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
460 wxHtmlParser
* GetParser() { return m_Parser
; }
461 void ParseInner(const wxHtmlTag
& tag
) { wxHtmlTagHandler::ParseInner(tag
); }
463 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
464 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
469 IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler
, wxHtmlTagHandler
);
471 IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, GetSupportedTags
);
472 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, HandleTag
);
475 class wxPyHtmlWinTagHandler
: public wxHtmlWinTagHandler
{
476 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler
);
478 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
480 wxHtmlWinParser
* GetParser() { return m_WParser
; }
481 void ParseInner(const wxHtmlTag
& tag
)
482 { wxHtmlWinTagHandler::ParseInner(tag
); }
484 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
485 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
490 IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
);
492 IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, GetSupportedTags
);
493 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, HandleTag
);
497 class wxPyHtmlTagsModule
: public wxHtmlTagsModule
{
499 wxPyHtmlTagsModule(PyObject
* thc
) : wxHtmlTagsModule() {
500 m_tagHandlerClass
= thc
;
501 Py_INCREF(m_tagHandlerClass
);
502 RegisterModule(this);
503 wxHtmlWinParser::AddModule(this);
507 bool blocked
= wxPyBeginBlockThreads();
508 Py_DECREF(m_tagHandlerClass
);
509 m_tagHandlerClass
= NULL
;
510 for (size_t x
=0; x
< m_objArray
.GetCount(); x
++) {
511 PyObject
* obj
= (PyObject
*)m_objArray
.Item(x
);
514 wxPyEndBlockThreads(blocked
);
517 void FillHandlersTable(wxHtmlWinParser
*parser
) {
518 // Wave our magic wand... (if it works it's a miracle! ;-)
520 // First, make a new instance of the tag handler
521 bool blocked
= wxPyBeginBlockThreads();
522 PyObject
* arg
= PyTuple_New(0);
523 PyObject
* obj
= PyObject_CallObject(m_tagHandlerClass
, arg
);
526 // now figure out where it's C++ object is...
527 wxPyHtmlWinTagHandler
* thPtr
;
528 if (! wxPyConvertSwigPtr(obj
, (void **)&thPtr
, wxT("wxPyHtmlWinTagHandler"))) {
529 wxPyEndBlockThreads(blocked
);
532 wxPyEndBlockThreads(blocked
);
535 parser
->AddTagHandler(thPtr
);
542 PyObject
* m_tagHandlerClass
;
543 wxArrayPtrVoid m_objArray
;
548 void wxHtmlWinParser_AddTagHandler(PyObject
* tagHandlerClass
) {
549 // Dynamically create a new wxModule. Refcounts tagHandlerClass
550 // and adds itself to the wxModules list and to the wxHtmlWinParser.
551 new wxPyHtmlTagsModule(tagHandlerClass
);
555 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
561 } else if (target
== Py_None
) {
565 if (!PyTuple_Check(target
)) {
567 target
= PyTuple_New(1);
568 PyTuple_SetItem(target
, 0, o2
);
571 PyTuple_SetItem(o3
, 0, o
);
574 target
= PySequence_Concat(o2
, o3
);
583 SWIGSTATICINLINE(int)
584 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
586 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
587 if (obj
== Py_True
) {
588 if (val
) *val
= true;
591 if (obj
== Py_False
) {
592 if (val
) *val
= false;
596 if (SWIG_AsVal_int(obj
, &res
)) {
597 if (val
) *val
= (bool)res
;
601 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
607 SWIGSTATICINLINE(bool)
608 SWIG_As_bool(PyObject
* obj
)
611 if (!SWIG_AsVal_bool(obj
, &v
)) {
613 this is needed to make valgrind/purify happier. the other
614 solution is throw an exception, but since this code should work
617 memset((void*)&v
, 0, sizeof(bool));
623 SWIGSTATICINLINE(int)
624 SWIG_Check_bool(PyObject
* obj
)
626 return SWIG_AsVal_bool(obj
, (bool*)0);
630 SWIGSTATICINLINE(int)
631 SWIG_CheckUnsignedLongInRange(unsigned long value
,
632 unsigned long max_value
,
635 if (value
> max_value
) {
637 PyErr_Format(PyExc_OverflowError
,
638 "value %ld is greater than '%s' minimum %ld",
639 value
, errmsg
, max_value
);
647 // See my_fragments.i
648 SWIGSTATICINLINE(int)
649 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
652 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
653 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
657 *val
= (unsigned long)v
;
662 #if UINT_MAX != ULONG_MAX
663 SWIGSTATICINLINE(int)
664 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
666 const char* errmsg
= val
? "unsigned int" : 0;
668 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
669 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
670 if (val
) *val
= swig_numeric_cast(v
, unsigned int);
677 PyErr_SetString(PyExc_TypeError
, "an unsigned int is expected");
682 SWIGSTATICINLINE(unsigned int)
683 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
685 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
690 SWIGSTATICINLINE(unsigned int)
691 SWIG_As_unsigned_SS_int(PyObject
* obj
)
694 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
696 this is needed to make valgrind/purify happier. the other
697 solution is throw an exception, but since this code should work
700 memset((void*)&v
, 0, sizeof(unsigned int));
706 SWIGSTATICINLINE(int)
707 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
709 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
713 SWIGSTATICINLINE(PyObject
* )
714 SWIG_From_unsigned_SS_long(unsigned long value
)
716 return (value
> LONG_MAX
) ?
717 PyLong_FromUnsignedLong(value
)
718 : PyInt_FromLong(swig_numeric_cast(value
,long));
722 #if UINT_MAX < LONG_MAX
723 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
724 #define SWIG_From_unsigned_SS_int SWIG_From_long
727 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
728 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
732 // here's the C++ version
733 class wxPyHtmlFilter
: public wxHtmlFilter
{
734 DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter
);
736 wxPyHtmlFilter() : wxHtmlFilter() {}
738 // returns True if this filter is able to open&read given file
739 virtual bool CanRead(const wxFSFile
& file
) const {
742 bool blocked
= wxPyBeginBlockThreads();
743 if ((found
= wxPyCBH_findCallback(m_myInst
, "CanRead"))) {
744 PyObject
* obj
= wxPyMake_wxObject((wxFSFile
*)&file
,false); // cast away const
745 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
748 wxPyEndBlockThreads(blocked
);
753 // Reads given file and returns HTML document.
754 // Returns empty string if opening failed
755 virtual wxString
ReadFile(const wxFSFile
& file
) const {
758 bool blocked
= wxPyBeginBlockThreads();
759 if ((found
= wxPyCBH_findCallback(m_myInst
, "ReadFile"))) {
760 PyObject
* obj
= wxPyMake_wxObject((wxFSFile
*)&file
,false); // cast away const
762 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(O)", obj
));
765 rval
= Py2wxString(ro
);
769 wxPyEndBlockThreads(blocked
);
776 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter
, wxHtmlFilter
);
779 class wxPyHtmlWindow
: public wxHtmlWindow
{
780 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow
);
782 wxPyHtmlWindow(wxWindow
*parent
, wxWindowID id
= -1,
783 const wxPoint
& pos
= wxDefaultPosition
,
784 const wxSize
& size
= wxDefaultSize
,
785 long style
= wxHW_DEFAULT_STYLE
,
786 const wxString
& name
= wxPyHtmlWindowNameStr
)
787 : wxHtmlWindow(parent
, id
, pos
, size
, style
, name
) {};
788 wxPyHtmlWindow() : wxHtmlWindow() {};
790 bool ScrollToAnchor(const wxString
& anchor
) {
791 return wxHtmlWindow::ScrollToAnchor(anchor
);
794 bool HasAnchor(const wxString
& anchor
) {
795 const wxHtmlCell
*c
= m_Cell
->Find(wxHTML_COND_ISANCHOR
, &anchor
);
799 void OnLinkClicked(const wxHtmlLinkInfo
& link
);
800 void base_OnLinkClicked(const wxHtmlLinkInfo
& link
);
802 wxHtmlOpeningStatus
OnOpeningURL(wxHtmlURLType type
,
804 wxString
*redirect
) const;
806 DEC_PYCALLBACK__STRING(OnSetTitle
);
807 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover
);
808 DEC_PYCALLBACK__CELLINTINTME(OnCellClicked
);
812 IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow
, wxHtmlWindow
);
813 IMP_PYCALLBACK__STRING(wxPyHtmlWindow
, wxHtmlWindow
, OnSetTitle
);
814 IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow
, wxHtmlWindow
, OnCellMouseHover
);
815 IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow
, wxHtmlWindow
, OnCellClicked
);
818 void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo
& link
) {
820 bool blocked
= wxPyBeginBlockThreads();
821 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
822 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
823 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
826 wxPyEndBlockThreads(blocked
);
828 wxHtmlWindow::OnLinkClicked(link
);
830 void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo
& link
) {
831 wxHtmlWindow::OnLinkClicked(link
);
835 wxHtmlOpeningStatus
wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type
,
837 wxString
*redirect
) const {
839 wxHtmlOpeningStatus rval
;
840 bool blocked
= wxPyBeginBlockThreads();
841 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnOpeningURL"))) {
843 PyObject
* s
= wx2PyString(url
);
844 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(iO)", type
, s
));
846 if (PyString_Check(ro
)
847 #if PYTHON_API_VERSION >= 1009
848 || PyUnicode_Check(ro
)
851 *redirect
= Py2wxString(ro
);
852 rval
= wxHTML_REDIRECT
;
855 PyObject
* num
= PyNumber_Int(ro
);
856 rval
= (wxHtmlOpeningStatus
)PyInt_AsLong(num
);
861 wxPyEndBlockThreads(blocked
);
863 rval
= wxHtmlWindow::OnOpeningURL(type
, url
, redirect
);
869 void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
){
871 if (sizes
) temp
= int_LIST_helper(sizes
);
872 self
->SetFonts(normal_face
, fixed_face
, temp
);
876 void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
){
878 if (sizes
) temp
= int_LIST_helper(sizes
);
879 self
->SetFonts(normal_face
, fixed_face
, temp
);
883 void wxHtmlPrintout_SetFonts(wxHtmlPrintout
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
){
885 if (sizes
) temp
= int_LIST_helper(sizes
);
886 self
->SetFonts(normal_face
, fixed_face
, temp
);
892 SWIGSTATICINLINE(int)
893 SWIG_CheckDoubleInRange(double value
, double min_value
,
894 double max_value
, const char* errmsg
)
896 if (value
< min_value
) {
898 PyErr_Format(PyExc_OverflowError
,
899 "value %g is less than %s minimum %g",
900 value
, errmsg
, min_value
);
903 } else if (value
> max_value
) {
905 PyErr_Format(PyExc_OverflowError
,
906 "value %g is greater than %s maximum %g",
907 value
, errmsg
, max_value
);
915 // See my_fragments.i
916 SWIGSTATICINLINE(int)
917 SWIG_AsVal_double(PyObject
*obj
, double* val
)
919 if (PyNumber_Check(obj
)) {
920 if (val
) *val
= PyFloat_AsDouble(obj
);
924 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
925 obj
->ob_type
->tp_name
);
926 PyErr_SetObject(PyExc_TypeError
, errmsg
);
933 SWIGSTATICINLINE(int)
934 SWIG_AsVal_float(PyObject
*obj
, float *val
)
936 const char* errmsg
= val
? "float" : 0;
938 if (SWIG_AsVal_double(obj
, &v
)) {
939 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
949 PyErr_SetString(PyExc_TypeError
, "a float is expected");
955 SWIGSTATICINLINE(float)
956 SWIG_As_float(PyObject
* obj
)
959 if (!SWIG_AsVal_float(obj
, &v
)) {
961 this is needed to make valgrind/purify happier. the other
962 solution is throw an exception, but since this code should work
965 memset((void*)&v
, 0, sizeof(float));
971 SWIGSTATICINLINE(int)
972 SWIG_Check_float(PyObject
* obj
)
974 return SWIG_AsVal_float(obj
, (float*)0);
977 void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
){
979 if (sizes
) temp
= int_LIST_helper(sizes
);
980 self
->SetFonts(normal_face
, fixed_face
, temp
);
984 int wxHtmlContentsItem_GetLevel(wxHtmlContentsItem
*self
){ return self
->m_Level
; }
985 int wxHtmlContentsItem_GetID(wxHtmlContentsItem
*self
){ return self
->m_ID
; }
986 wxString
wxHtmlContentsItem_GetName(wxHtmlContentsItem
*self
){ return self
->m_Name
; }
987 wxString
wxHtmlContentsItem_GetPage(wxHtmlContentsItem
*self
){ return self
->m_Page
; }
988 wxHtmlBookRecord
*wxHtmlContentsItem_GetBook(wxHtmlContentsItem
*self
){ return self
->m_Book
; }
992 static int _wrap_HtmlWindowNameStr_set(PyObject
*) {
993 PyErr_SetString(PyExc_TypeError
,"Variable HtmlWindowNameStr is read-only.");
998 static PyObject
*_wrap_HtmlWindowNameStr_get() {
1003 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr
)->c_str(), (&wxPyHtmlWindowNameStr
)->Len());
1005 pyobj
= PyString_FromStringAndSize((&wxPyHtmlWindowNameStr
)->c_str(), (&wxPyHtmlWindowNameStr
)->Len());
1012 static int _wrap_HtmlPrintoutTitleStr_set(PyObject
*) {
1013 PyErr_SetString(PyExc_TypeError
,"Variable HtmlPrintoutTitleStr is read-only.");
1018 static PyObject
*_wrap_HtmlPrintoutTitleStr_get() {
1023 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr
)->c_str(), (&wxPyHtmlPrintoutTitleStr
)->Len());
1025 pyobj
= PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr
)->c_str(), (&wxPyHtmlPrintoutTitleStr
)->Len());
1032 static int _wrap_HtmlPrintingTitleStr_set(PyObject
*) {
1033 PyErr_SetString(PyExc_TypeError
,"Variable HtmlPrintingTitleStr is read-only.");
1038 static PyObject
*_wrap_HtmlPrintingTitleStr_get() {
1043 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr
)->c_str(), (&wxPyHtmlPrintingTitleStr
)->Len());
1045 pyobj
= PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr
)->c_str(), (&wxPyHtmlPrintingTitleStr
)->Len());
1052 static PyObject
*_wrap_new_HtmlLinkInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1053 PyObject
*resultobj
;
1054 wxString
*arg1
= 0 ;
1055 wxString
const &arg2_defvalue
= wxPyEmptyString
;
1056 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
1057 wxHtmlLinkInfo
*result
;
1058 bool temp1
= false ;
1059 bool temp2
= false ;
1060 PyObject
* obj0
= 0 ;
1061 PyObject
* obj1
= 0 ;
1063 (char *) "href",(char *) "target", NULL
1066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlLinkInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
1068 arg1
= wxString_in_helper(obj0
);
1069 if (arg1
== NULL
) SWIG_fail
;
1074 arg2
= wxString_in_helper(obj1
);
1075 if (arg2
== NULL
) SWIG_fail
;
1080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1081 result
= (wxHtmlLinkInfo
*)new wxHtmlLinkInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1083 wxPyEndAllowThreads(__tstate
);
1084 if (PyErr_Occurred()) SWIG_fail
;
1086 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlLinkInfo
, 1);
1109 static PyObject
*_wrap_HtmlLinkInfo_GetHref(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1110 PyObject
*resultobj
;
1111 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
1113 PyObject
* obj0
= 0 ;
1115 (char *) "self", NULL
1118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlLinkInfo_GetHref",kwnames
,&obj0
)) goto fail
;
1119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlLinkInfo
,
1120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1123 result
= (arg1
)->GetHref();
1125 wxPyEndAllowThreads(__tstate
);
1126 if (PyErr_Occurred()) SWIG_fail
;
1130 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1132 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1141 static PyObject
*_wrap_HtmlLinkInfo_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1142 PyObject
*resultobj
;
1143 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
1145 PyObject
* obj0
= 0 ;
1147 (char *) "self", NULL
1150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlLinkInfo_GetTarget",kwnames
,&obj0
)) goto fail
;
1151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlLinkInfo
,
1152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1155 result
= (arg1
)->GetTarget();
1157 wxPyEndAllowThreads(__tstate
);
1158 if (PyErr_Occurred()) SWIG_fail
;
1162 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1164 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1173 static PyObject
*_wrap_HtmlLinkInfo_GetEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1174 PyObject
*resultobj
;
1175 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
1176 wxMouseEvent
*result
;
1177 PyObject
* obj0
= 0 ;
1179 (char *) "self", NULL
1182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlLinkInfo_GetEvent",kwnames
,&obj0
)) goto fail
;
1183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlLinkInfo
,
1184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1187 result
= (wxMouseEvent
*)(arg1
)->GetEvent();
1189 wxPyEndAllowThreads(__tstate
);
1190 if (PyErr_Occurred()) SWIG_fail
;
1193 resultobj
= wxPyMake_wxObject(result
, 0);
1201 static PyObject
*_wrap_HtmlLinkInfo_GetHtmlCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1202 PyObject
*resultobj
;
1203 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
1205 PyObject
* obj0
= 0 ;
1207 (char *) "self", NULL
1210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlLinkInfo_GetHtmlCell",kwnames
,&obj0
)) goto fail
;
1211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlLinkInfo
,
1212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1215 result
= (wxHtmlCell
*)(arg1
)->GetHtmlCell();
1217 wxPyEndAllowThreads(__tstate
);
1218 if (PyErr_Occurred()) SWIG_fail
;
1220 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
1227 static PyObject
*_wrap_HtmlLinkInfo_SetEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1228 PyObject
*resultobj
;
1229 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
1230 wxMouseEvent
*arg2
= (wxMouseEvent
*) 0 ;
1231 PyObject
* obj0
= 0 ;
1232 PyObject
* obj1
= 0 ;
1234 (char *) "self",(char *) "e", NULL
1237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
1238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlLinkInfo
,
1239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1240 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
1241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1244 (arg1
)->SetEvent((wxMouseEvent
const *)arg2
);
1246 wxPyEndAllowThreads(__tstate
);
1247 if (PyErr_Occurred()) SWIG_fail
;
1249 Py_INCREF(Py_None
); resultobj
= Py_None
;
1256 static PyObject
*_wrap_HtmlLinkInfo_SetHtmlCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1257 PyObject
*resultobj
;
1258 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
1259 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
1260 PyObject
* obj0
= 0 ;
1261 PyObject
* obj1
= 0 ;
1263 (char *) "self",(char *) "e", NULL
1266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames
,&obj0
,&obj1
)) goto fail
;
1267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlLinkInfo
,
1268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1269 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlCell
,
1270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1273 (arg1
)->SetHtmlCell((wxHtmlCell
const *)arg2
);
1275 wxPyEndAllowThreads(__tstate
);
1276 if (PyErr_Occurred()) SWIG_fail
;
1278 Py_INCREF(Py_None
); resultobj
= Py_None
;
1285 static PyObject
* HtmlLinkInfo_swigregister(PyObject
*, PyObject
*args
) {
1287 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1288 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlLinkInfo
, obj
);
1290 return Py_BuildValue((char *)"");
1292 static PyObject
*_wrap_HtmlTag_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1293 PyObject
*resultobj
;
1294 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
1296 PyObject
* obj0
= 0 ;
1298 (char *) "self", NULL
1301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_GetName",kwnames
,&obj0
)) goto fail
;
1302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlTag
,
1303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1306 result
= (arg1
)->GetName();
1308 wxPyEndAllowThreads(__tstate
);
1309 if (PyErr_Occurred()) SWIG_fail
;
1313 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1315 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1324 static PyObject
*_wrap_HtmlTag_HasParam(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1325 PyObject
*resultobj
;
1326 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
1327 wxString
*arg2
= 0 ;
1329 bool temp2
= false ;
1330 PyObject
* obj0
= 0 ;
1331 PyObject
* obj1
= 0 ;
1333 (char *) "self",(char *) "par", NULL
1336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTag_HasParam",kwnames
,&obj0
,&obj1
)) goto fail
;
1337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlTag
,
1338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1340 arg2
= wxString_in_helper(obj1
);
1341 if (arg2
== NULL
) SWIG_fail
;
1345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1346 result
= (bool)(arg1
)->HasParam((wxString
const &)*arg2
);
1348 wxPyEndAllowThreads(__tstate
);
1349 if (PyErr_Occurred()) SWIG_fail
;
1352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1368 static PyObject
*_wrap_HtmlTag_GetParam(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1369 PyObject
*resultobj
;
1370 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
1371 wxString
*arg2
= 0 ;
1372 int arg3
= (int) false ;
1374 bool temp2
= false ;
1375 PyObject
* obj0
= 0 ;
1376 PyObject
* obj1
= 0 ;
1377 PyObject
* obj2
= 0 ;
1379 (char *) "self",(char *) "par",(char *) "with_commas", NULL
1382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlTag_GetParam",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlTag
,
1384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1386 arg2
= wxString_in_helper(obj1
);
1387 if (arg2
== NULL
) SWIG_fail
;
1391 arg3
= (int)SWIG_As_int(obj2
);
1392 if (PyErr_Occurred()) SWIG_fail
;
1395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1396 result
= (arg1
)->GetParam((wxString
const &)*arg2
,arg3
);
1398 wxPyEndAllowThreads(__tstate
);
1399 if (PyErr_Occurred()) SWIG_fail
;
1403 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1405 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1422 static PyObject
*_wrap_HtmlTag_GetAllParams(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1423 PyObject
*resultobj
;
1424 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
1426 PyObject
* obj0
= 0 ;
1428 (char *) "self", NULL
1431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_GetAllParams",kwnames
,&obj0
)) goto fail
;
1432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlTag
,
1433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1436 result
= (arg1
)->GetAllParams();
1438 wxPyEndAllowThreads(__tstate
);
1439 if (PyErr_Occurred()) SWIG_fail
;
1443 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1445 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1454 static PyObject
*_wrap_HtmlTag_HasEnding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1455 PyObject
*resultobj
;
1456 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
1458 PyObject
* obj0
= 0 ;
1460 (char *) "self", NULL
1463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_HasEnding",kwnames
,&obj0
)) goto fail
;
1464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlTag
,
1465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1468 result
= (bool)(arg1
)->HasEnding();
1470 wxPyEndAllowThreads(__tstate
);
1471 if (PyErr_Occurred()) SWIG_fail
;
1474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1482 static PyObject
*_wrap_HtmlTag_GetBeginPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1483 PyObject
*resultobj
;
1484 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
1486 PyObject
* obj0
= 0 ;
1488 (char *) "self", NULL
1491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_GetBeginPos",kwnames
,&obj0
)) goto fail
;
1492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlTag
,
1493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1496 result
= (int)(arg1
)->GetBeginPos();
1498 wxPyEndAllowThreads(__tstate
);
1499 if (PyErr_Occurred()) SWIG_fail
;
1501 resultobj
= SWIG_From_int((int)result
);
1508 static PyObject
*_wrap_HtmlTag_GetEndPos1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1509 PyObject
*resultobj
;
1510 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
1512 PyObject
* obj0
= 0 ;
1514 (char *) "self", NULL
1517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_GetEndPos1",kwnames
,&obj0
)) goto fail
;
1518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlTag
,
1519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1522 result
= (int)(arg1
)->GetEndPos1();
1524 wxPyEndAllowThreads(__tstate
);
1525 if (PyErr_Occurred()) SWIG_fail
;
1527 resultobj
= SWIG_From_int((int)result
);
1534 static PyObject
*_wrap_HtmlTag_GetEndPos2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1535 PyObject
*resultobj
;
1536 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
1538 PyObject
* obj0
= 0 ;
1540 (char *) "self", NULL
1543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_GetEndPos2",kwnames
,&obj0
)) goto fail
;
1544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlTag
,
1545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1548 result
= (int)(arg1
)->GetEndPos2();
1550 wxPyEndAllowThreads(__tstate
);
1551 if (PyErr_Occurred()) SWIG_fail
;
1553 resultobj
= SWIG_From_int((int)result
);
1560 static PyObject
* HtmlTag_swigregister(PyObject
*, PyObject
*args
) {
1562 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1563 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlTag
, obj
);
1565 return Py_BuildValue((char *)"");
1567 static PyObject
*_wrap_HtmlParser_SetFS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1568 PyObject
*resultobj
;
1569 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1570 wxFileSystem
*arg2
= (wxFileSystem
*) 0 ;
1571 PyObject
* obj0
= 0 ;
1572 PyObject
* obj1
= 0 ;
1574 (char *) "self",(char *) "fs", NULL
1577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_SetFS",kwnames
,&obj0
,&obj1
)) goto fail
;
1578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlParser
,
1579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1580 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
1581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1584 (arg1
)->SetFS(arg2
);
1586 wxPyEndAllowThreads(__tstate
);
1587 if (PyErr_Occurred()) SWIG_fail
;
1589 Py_INCREF(Py_None
); resultobj
= Py_None
;
1596 static PyObject
*_wrap_HtmlParser_GetFS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1597 PyObject
*resultobj
;
1598 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1599 wxFileSystem
*result
;
1600 PyObject
* obj0
= 0 ;
1602 (char *) "self", NULL
1605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlParser_GetFS",kwnames
,&obj0
)) goto fail
;
1606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlParser
,
1607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1610 result
= (wxFileSystem
*)(arg1
)->GetFS();
1612 wxPyEndAllowThreads(__tstate
);
1613 if (PyErr_Occurred()) SWIG_fail
;
1616 resultobj
= wxPyMake_wxObject(result
, 0);
1624 static PyObject
*_wrap_HtmlParser_Parse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1625 PyObject
*resultobj
;
1626 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1627 wxString
*arg2
= 0 ;
1629 bool temp2
= false ;
1630 PyObject
* obj0
= 0 ;
1631 PyObject
* obj1
= 0 ;
1633 (char *) "self",(char *) "source", NULL
1636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_Parse",kwnames
,&obj0
,&obj1
)) goto fail
;
1637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlParser
,
1638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1640 arg2
= wxString_in_helper(obj1
);
1641 if (arg2
== NULL
) SWIG_fail
;
1645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1646 result
= (wxObject
*)(arg1
)->Parse((wxString
const &)*arg2
);
1648 wxPyEndAllowThreads(__tstate
);
1649 if (PyErr_Occurred()) SWIG_fail
;
1652 resultobj
= wxPyMake_wxObject(result
, 0);
1668 static PyObject
*_wrap_HtmlParser_InitParser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1669 PyObject
*resultobj
;
1670 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1671 wxString
*arg2
= 0 ;
1672 bool temp2
= false ;
1673 PyObject
* obj0
= 0 ;
1674 PyObject
* obj1
= 0 ;
1676 (char *) "self",(char *) "source", NULL
1679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_InitParser",kwnames
,&obj0
,&obj1
)) goto fail
;
1680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlParser
,
1681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1683 arg2
= wxString_in_helper(obj1
);
1684 if (arg2
== NULL
) SWIG_fail
;
1688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1689 (arg1
)->InitParser((wxString
const &)*arg2
);
1691 wxPyEndAllowThreads(__tstate
);
1692 if (PyErr_Occurred()) SWIG_fail
;
1694 Py_INCREF(Py_None
); resultobj
= Py_None
;
1709 static PyObject
*_wrap_HtmlParser_DoneParser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1710 PyObject
*resultobj
;
1711 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1712 PyObject
* obj0
= 0 ;
1714 (char *) "self", NULL
1717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlParser_DoneParser",kwnames
,&obj0
)) goto fail
;
1718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlParser
,
1719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1722 (arg1
)->DoneParser();
1724 wxPyEndAllowThreads(__tstate
);
1725 if (PyErr_Occurred()) SWIG_fail
;
1727 Py_INCREF(Py_None
); resultobj
= Py_None
;
1734 static PyObject
*_wrap_HtmlParser_DoParsing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1735 PyObject
*resultobj
;
1736 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1739 PyObject
* obj0
= 0 ;
1740 PyObject
* obj1
= 0 ;
1741 PyObject
* obj2
= 0 ;
1743 (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
1746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlParser_DoParsing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlParser
,
1748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1749 arg2
= (int)SWIG_As_int(obj1
);
1750 if (PyErr_Occurred()) SWIG_fail
;
1751 arg3
= (int)SWIG_As_int(obj2
);
1752 if (PyErr_Occurred()) SWIG_fail
;
1754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1755 (arg1
)->DoParsing(arg2
,arg3
);
1757 wxPyEndAllowThreads(__tstate
);
1758 if (PyErr_Occurred()) SWIG_fail
;
1760 Py_INCREF(Py_None
); resultobj
= Py_None
;
1767 static PyObject
*_wrap_HtmlParser_StopParsing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1768 PyObject
*resultobj
;
1769 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1770 PyObject
* obj0
= 0 ;
1772 (char *) "self", NULL
1775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlParser_StopParsing",kwnames
,&obj0
)) goto fail
;
1776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlParser
,
1777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1780 (arg1
)->StopParsing();
1782 wxPyEndAllowThreads(__tstate
);
1783 if (PyErr_Occurred()) SWIG_fail
;
1785 Py_INCREF(Py_None
); resultobj
= Py_None
;
1792 static PyObject
*_wrap_HtmlParser_AddTagHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1793 PyObject
*resultobj
;
1794 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1795 wxHtmlTagHandler
*arg2
= (wxHtmlTagHandler
*) 0 ;
1796 PyObject
* obj0
= 0 ;
1797 PyObject
* obj1
= 0 ;
1799 (char *) "self",(char *) "handler", NULL
1802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_AddTagHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
1803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlParser
,
1804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1805 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlTagHandler
,
1806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1809 (arg1
)->AddTagHandler(arg2
);
1811 wxPyEndAllowThreads(__tstate
);
1812 if (PyErr_Occurred()) SWIG_fail
;
1814 Py_INCREF(Py_None
); resultobj
= Py_None
;
1821 static PyObject
*_wrap_HtmlParser_GetSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1822 PyObject
*resultobj
;
1823 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1825 PyObject
* obj0
= 0 ;
1827 (char *) "self", NULL
1830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlParser_GetSource",kwnames
,&obj0
)) goto fail
;
1831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlParser
,
1832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1835 result
= (wxString
*)(arg1
)->GetSource();
1837 wxPyEndAllowThreads(__tstate
);
1838 if (PyErr_Occurred()) SWIG_fail
;
1842 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
1844 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
1853 static PyObject
*_wrap_HtmlParser_PushTagHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1854 PyObject
*resultobj
;
1855 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1856 wxHtmlTagHandler
*arg2
= (wxHtmlTagHandler
*) 0 ;
1858 PyObject
* obj0
= 0 ;
1859 PyObject
* obj1
= 0 ;
1860 PyObject
* obj2
= 0 ;
1862 (char *) "self",(char *) "handler",(char *) "tags", NULL
1865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlParser_PushTagHandler",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlParser
,
1867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1868 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlTagHandler
,
1869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1871 wxString
* sptr
= wxString_in_helper(obj2
);
1872 if (sptr
== NULL
) SWIG_fail
;
1877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1878 (arg1
)->PushTagHandler(arg2
,arg3
);
1880 wxPyEndAllowThreads(__tstate
);
1881 if (PyErr_Occurred()) SWIG_fail
;
1883 Py_INCREF(Py_None
); resultobj
= Py_None
;
1890 static PyObject
*_wrap_HtmlParser_PopTagHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1891 PyObject
*resultobj
;
1892 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1893 PyObject
* obj0
= 0 ;
1895 (char *) "self", NULL
1898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlParser_PopTagHandler",kwnames
,&obj0
)) goto fail
;
1899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlParser
,
1900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1903 (arg1
)->PopTagHandler();
1905 wxPyEndAllowThreads(__tstate
);
1906 if (PyErr_Occurred()) SWIG_fail
;
1908 Py_INCREF(Py_None
); resultobj
= Py_None
;
1915 static PyObject
* HtmlParser_swigregister(PyObject
*, PyObject
*args
) {
1917 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1918 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlParser
, obj
);
1920 return Py_BuildValue((char *)"");
1922 static PyObject
*_wrap_new_HtmlWinParser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1923 PyObject
*resultobj
;
1924 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) NULL
;
1925 wxHtmlWinParser
*result
;
1926 PyObject
* obj0
= 0 ;
1928 (char *) "wnd", NULL
1931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_HtmlWinParser",kwnames
,&obj0
)) goto fail
;
1933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
1934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1938 result
= (wxHtmlWinParser
*)new wxHtmlWinParser(arg1
);
1940 wxPyEndAllowThreads(__tstate
);
1941 if (PyErr_Occurred()) SWIG_fail
;
1943 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlWinParser
, 1);
1950 static PyObject
*_wrap_HtmlWinParser_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1951 PyObject
*resultobj
;
1952 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
1953 wxDC
*arg2
= (wxDC
*) 0 ;
1954 PyObject
* obj0
= 0 ;
1955 PyObject
* obj1
= 0 ;
1957 (char *) "self",(char *) "dc", NULL
1960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
1961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
1962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1963 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
1964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1967 (arg1
)->SetDC(arg2
);
1969 wxPyEndAllowThreads(__tstate
);
1970 if (PyErr_Occurred()) SWIG_fail
;
1972 Py_INCREF(Py_None
); resultobj
= Py_None
;
1979 static PyObject
*_wrap_HtmlWinParser_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1980 PyObject
*resultobj
;
1981 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
1983 PyObject
* obj0
= 0 ;
1985 (char *) "self", NULL
1988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetDC",kwnames
,&obj0
)) goto fail
;
1989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
1990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1993 result
= (wxDC
*)(arg1
)->GetDC();
1995 wxPyEndAllowThreads(__tstate
);
1996 if (PyErr_Occurred()) SWIG_fail
;
1999 resultobj
= wxPyMake_wxObject(result
, 0);
2007 static PyObject
*_wrap_HtmlWinParser_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2008 PyObject
*resultobj
;
2009 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2011 PyObject
* obj0
= 0 ;
2013 (char *) "self", NULL
2016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetCharHeight",kwnames
,&obj0
)) goto fail
;
2017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2021 result
= (int)(arg1
)->GetCharHeight();
2023 wxPyEndAllowThreads(__tstate
);
2024 if (PyErr_Occurred()) SWIG_fail
;
2026 resultobj
= SWIG_From_int((int)result
);
2033 static PyObject
*_wrap_HtmlWinParser_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2034 PyObject
*resultobj
;
2035 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2037 PyObject
* obj0
= 0 ;
2039 (char *) "self", NULL
2042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetCharWidth",kwnames
,&obj0
)) goto fail
;
2043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2047 result
= (int)(arg1
)->GetCharWidth();
2049 wxPyEndAllowThreads(__tstate
);
2050 if (PyErr_Occurred()) SWIG_fail
;
2052 resultobj
= SWIG_From_int((int)result
);
2059 static PyObject
*_wrap_HtmlWinParser_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2060 PyObject
*resultobj
;
2061 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2062 wxPyHtmlWindow
*result
;
2063 PyObject
* obj0
= 0 ;
2065 (char *) "self", NULL
2068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetWindow",kwnames
,&obj0
)) goto fail
;
2069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2073 result
= (wxPyHtmlWindow
*)(arg1
)->GetWindow();
2075 wxPyEndAllowThreads(__tstate
);
2076 if (PyErr_Occurred()) SWIG_fail
;
2079 resultobj
= wxPyMake_wxObject(result
, 0);
2087 static PyObject
*_wrap_HtmlWinParser_SetFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2088 PyObject
*resultobj
;
2089 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2092 PyObject
*arg4
= (PyObject
*) NULL
;
2093 PyObject
* obj0
= 0 ;
2094 PyObject
* obj1
= 0 ;
2095 PyObject
* obj2
= 0 ;
2096 PyObject
* obj3
= 0 ;
2098 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
2101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2105 wxString
* sptr
= wxString_in_helper(obj1
);
2106 if (sptr
== NULL
) SWIG_fail
;
2111 wxString
* sptr
= wxString_in_helper(obj2
);
2112 if (sptr
== NULL
) SWIG_fail
;
2120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2121 wxHtmlWinParser_SetFonts(arg1
,arg2
,arg3
,arg4
);
2123 wxPyEndAllowThreads(__tstate
);
2124 if (PyErr_Occurred()) SWIG_fail
;
2126 Py_INCREF(Py_None
); resultobj
= Py_None
;
2133 static PyObject
*_wrap_HtmlWinParser_SetStandardFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2134 PyObject
*resultobj
;
2135 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2136 int arg2
= (int) -1 ;
2137 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2138 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2139 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2140 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2141 bool temp3
= false ;
2142 bool temp4
= false ;
2143 PyObject
* obj0
= 0 ;
2144 PyObject
* obj1
= 0 ;
2145 PyObject
* obj2
= 0 ;
2146 PyObject
* obj3
= 0 ;
2148 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
2151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlWinParser_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2155 arg2
= (int)SWIG_As_int(obj1
);
2156 if (PyErr_Occurred()) SWIG_fail
;
2160 arg3
= wxString_in_helper(obj2
);
2161 if (arg3
== NULL
) SWIG_fail
;
2167 arg4
= wxString_in_helper(obj3
);
2168 if (arg4
== NULL
) SWIG_fail
;
2173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2174 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
2176 wxPyEndAllowThreads(__tstate
);
2177 if (PyErr_Occurred()) SWIG_fail
;
2179 Py_INCREF(Py_None
); resultobj
= Py_None
;
2202 static PyObject
*_wrap_HtmlWinParser_GetContainer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2203 PyObject
*resultobj
;
2204 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2205 wxHtmlContainerCell
*result
;
2206 PyObject
* obj0
= 0 ;
2208 (char *) "self", NULL
2211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetContainer",kwnames
,&obj0
)) goto fail
;
2212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2216 result
= (wxHtmlContainerCell
*)(arg1
)->GetContainer();
2218 wxPyEndAllowThreads(__tstate
);
2219 if (PyErr_Occurred()) SWIG_fail
;
2221 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0);
2228 static PyObject
*_wrap_HtmlWinParser_OpenContainer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2229 PyObject
*resultobj
;
2230 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2231 wxHtmlContainerCell
*result
;
2232 PyObject
* obj0
= 0 ;
2234 (char *) "self", NULL
2237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_OpenContainer",kwnames
,&obj0
)) goto fail
;
2238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2242 result
= (wxHtmlContainerCell
*)(arg1
)->OpenContainer();
2244 wxPyEndAllowThreads(__tstate
);
2245 if (PyErr_Occurred()) SWIG_fail
;
2247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0);
2254 static PyObject
*_wrap_HtmlWinParser_SetContainer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2255 PyObject
*resultobj
;
2256 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2257 wxHtmlContainerCell
*arg2
= (wxHtmlContainerCell
*) 0 ;
2258 wxHtmlContainerCell
*result
;
2259 PyObject
* obj0
= 0 ;
2260 PyObject
* obj1
= 0 ;
2262 (char *) "self",(char *) "c", NULL
2265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetContainer",kwnames
,&obj0
,&obj1
)) goto fail
;
2266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2268 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlContainerCell
,
2269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2272 result
= (wxHtmlContainerCell
*)(arg1
)->SetContainer(arg2
);
2274 wxPyEndAllowThreads(__tstate
);
2275 if (PyErr_Occurred()) SWIG_fail
;
2277 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0);
2284 static PyObject
*_wrap_HtmlWinParser_CloseContainer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2285 PyObject
*resultobj
;
2286 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2287 wxHtmlContainerCell
*result
;
2288 PyObject
* obj0
= 0 ;
2290 (char *) "self", NULL
2293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_CloseContainer",kwnames
,&obj0
)) goto fail
;
2294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2298 result
= (wxHtmlContainerCell
*)(arg1
)->CloseContainer();
2300 wxPyEndAllowThreads(__tstate
);
2301 if (PyErr_Occurred()) SWIG_fail
;
2303 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0);
2310 static PyObject
*_wrap_HtmlWinParser_GetFontSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2311 PyObject
*resultobj
;
2312 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2314 PyObject
* obj0
= 0 ;
2316 (char *) "self", NULL
2319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetFontSize",kwnames
,&obj0
)) goto fail
;
2320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2324 result
= (int)(arg1
)->GetFontSize();
2326 wxPyEndAllowThreads(__tstate
);
2327 if (PyErr_Occurred()) SWIG_fail
;
2329 resultobj
= SWIG_From_int((int)result
);
2336 static PyObject
*_wrap_HtmlWinParser_SetFontSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2337 PyObject
*resultobj
;
2338 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2340 PyObject
* obj0
= 0 ;
2341 PyObject
* obj1
= 0 ;
2343 (char *) "self",(char *) "s", NULL
2346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontSize",kwnames
,&obj0
,&obj1
)) goto fail
;
2347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2349 arg2
= (int)SWIG_As_int(obj1
);
2350 if (PyErr_Occurred()) SWIG_fail
;
2352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2353 (arg1
)->SetFontSize(arg2
);
2355 wxPyEndAllowThreads(__tstate
);
2356 if (PyErr_Occurred()) SWIG_fail
;
2358 Py_INCREF(Py_None
); resultobj
= Py_None
;
2365 static PyObject
*_wrap_HtmlWinParser_GetFontBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2366 PyObject
*resultobj
;
2367 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2369 PyObject
* obj0
= 0 ;
2371 (char *) "self", NULL
2374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetFontBold",kwnames
,&obj0
)) goto fail
;
2375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2379 result
= (int)(arg1
)->GetFontBold();
2381 wxPyEndAllowThreads(__tstate
);
2382 if (PyErr_Occurred()) SWIG_fail
;
2384 resultobj
= SWIG_From_int((int)result
);
2391 static PyObject
*_wrap_HtmlWinParser_SetFontBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2392 PyObject
*resultobj
;
2393 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2395 PyObject
* obj0
= 0 ;
2396 PyObject
* obj1
= 0 ;
2398 (char *) "self",(char *) "x", NULL
2401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontBold",kwnames
,&obj0
,&obj1
)) goto fail
;
2402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2404 arg2
= (int)SWIG_As_int(obj1
);
2405 if (PyErr_Occurred()) SWIG_fail
;
2407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2408 (arg1
)->SetFontBold(arg2
);
2410 wxPyEndAllowThreads(__tstate
);
2411 if (PyErr_Occurred()) SWIG_fail
;
2413 Py_INCREF(Py_None
); resultobj
= Py_None
;
2420 static PyObject
*_wrap_HtmlWinParser_GetFontItalic(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2421 PyObject
*resultobj
;
2422 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2424 PyObject
* obj0
= 0 ;
2426 (char *) "self", NULL
2429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetFontItalic",kwnames
,&obj0
)) goto fail
;
2430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2434 result
= (int)(arg1
)->GetFontItalic();
2436 wxPyEndAllowThreads(__tstate
);
2437 if (PyErr_Occurred()) SWIG_fail
;
2439 resultobj
= SWIG_From_int((int)result
);
2446 static PyObject
*_wrap_HtmlWinParser_SetFontItalic(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2447 PyObject
*resultobj
;
2448 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2450 PyObject
* obj0
= 0 ;
2451 PyObject
* obj1
= 0 ;
2453 (char *) "self",(char *) "x", NULL
2456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames
,&obj0
,&obj1
)) goto fail
;
2457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2459 arg2
= (int)SWIG_As_int(obj1
);
2460 if (PyErr_Occurred()) SWIG_fail
;
2462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2463 (arg1
)->SetFontItalic(arg2
);
2465 wxPyEndAllowThreads(__tstate
);
2466 if (PyErr_Occurred()) SWIG_fail
;
2468 Py_INCREF(Py_None
); resultobj
= Py_None
;
2475 static PyObject
*_wrap_HtmlWinParser_GetFontUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2476 PyObject
*resultobj
;
2477 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2479 PyObject
* obj0
= 0 ;
2481 (char *) "self", NULL
2484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetFontUnderlined",kwnames
,&obj0
)) goto fail
;
2485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2489 result
= (int)(arg1
)->GetFontUnderlined();
2491 wxPyEndAllowThreads(__tstate
);
2492 if (PyErr_Occurred()) SWIG_fail
;
2494 resultobj
= SWIG_From_int((int)result
);
2501 static PyObject
*_wrap_HtmlWinParser_SetFontUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2502 PyObject
*resultobj
;
2503 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2505 PyObject
* obj0
= 0 ;
2506 PyObject
* obj1
= 0 ;
2508 (char *) "self",(char *) "x", NULL
2511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
2512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2514 arg2
= (int)SWIG_As_int(obj1
);
2515 if (PyErr_Occurred()) SWIG_fail
;
2517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2518 (arg1
)->SetFontUnderlined(arg2
);
2520 wxPyEndAllowThreads(__tstate
);
2521 if (PyErr_Occurred()) SWIG_fail
;
2523 Py_INCREF(Py_None
); resultobj
= Py_None
;
2530 static PyObject
*_wrap_HtmlWinParser_GetFontFixed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2531 PyObject
*resultobj
;
2532 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2534 PyObject
* obj0
= 0 ;
2536 (char *) "self", NULL
2539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetFontFixed",kwnames
,&obj0
)) goto fail
;
2540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2544 result
= (int)(arg1
)->GetFontFixed();
2546 wxPyEndAllowThreads(__tstate
);
2547 if (PyErr_Occurred()) SWIG_fail
;
2549 resultobj
= SWIG_From_int((int)result
);
2556 static PyObject
*_wrap_HtmlWinParser_SetFontFixed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2557 PyObject
*resultobj
;
2558 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2560 PyObject
* obj0
= 0 ;
2561 PyObject
* obj1
= 0 ;
2563 (char *) "self",(char *) "x", NULL
2566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames
,&obj0
,&obj1
)) goto fail
;
2567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2569 arg2
= (int)SWIG_As_int(obj1
);
2570 if (PyErr_Occurred()) SWIG_fail
;
2572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2573 (arg1
)->SetFontFixed(arg2
);
2575 wxPyEndAllowThreads(__tstate
);
2576 if (PyErr_Occurred()) SWIG_fail
;
2578 Py_INCREF(Py_None
); resultobj
= Py_None
;
2585 static PyObject
*_wrap_HtmlWinParser_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2586 PyObject
*resultobj
;
2587 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2589 PyObject
* obj0
= 0 ;
2591 (char *) "self", NULL
2594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetAlign",kwnames
,&obj0
)) goto fail
;
2595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2599 result
= (int)(arg1
)->GetAlign();
2601 wxPyEndAllowThreads(__tstate
);
2602 if (PyErr_Occurred()) SWIG_fail
;
2604 resultobj
= SWIG_From_int((int)result
);
2611 static PyObject
*_wrap_HtmlWinParser_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2612 PyObject
*resultobj
;
2613 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2615 PyObject
* obj0
= 0 ;
2616 PyObject
* obj1
= 0 ;
2618 (char *) "self",(char *) "a", NULL
2621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
2622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2624 arg2
= (int)SWIG_As_int(obj1
);
2625 if (PyErr_Occurred()) SWIG_fail
;
2627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2628 (arg1
)->SetAlign(arg2
);
2630 wxPyEndAllowThreads(__tstate
);
2631 if (PyErr_Occurred()) SWIG_fail
;
2633 Py_INCREF(Py_None
); resultobj
= Py_None
;
2640 static PyObject
*_wrap_HtmlWinParser_GetLinkColor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2641 PyObject
*resultobj
;
2642 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2644 PyObject
* obj0
= 0 ;
2646 (char *) "self", NULL
2649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetLinkColor",kwnames
,&obj0
)) goto fail
;
2650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2654 result
= (arg1
)->GetLinkColor();
2656 wxPyEndAllowThreads(__tstate
);
2657 if (PyErr_Occurred()) SWIG_fail
;
2660 wxColour
* resultptr
;
2661 resultptr
= new wxColour((wxColour
&) result
);
2662 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2670 static PyObject
*_wrap_HtmlWinParser_SetLinkColor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2671 PyObject
*resultobj
;
2672 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2673 wxColour
*arg2
= 0 ;
2675 PyObject
* obj0
= 0 ;
2676 PyObject
* obj1
= 0 ;
2678 (char *) "self",(char *) "clr", NULL
2681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames
,&obj0
,&obj1
)) goto fail
;
2682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2686 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2690 (arg1
)->SetLinkColor((wxColour
const &)*arg2
);
2692 wxPyEndAllowThreads(__tstate
);
2693 if (PyErr_Occurred()) SWIG_fail
;
2695 Py_INCREF(Py_None
); resultobj
= Py_None
;
2702 static PyObject
*_wrap_HtmlWinParser_GetActualColor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2703 PyObject
*resultobj
;
2704 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2706 PyObject
* obj0
= 0 ;
2708 (char *) "self", NULL
2711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetActualColor",kwnames
,&obj0
)) goto fail
;
2712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2716 result
= (arg1
)->GetActualColor();
2718 wxPyEndAllowThreads(__tstate
);
2719 if (PyErr_Occurred()) SWIG_fail
;
2722 wxColour
* resultptr
;
2723 resultptr
= new wxColour((wxColour
&) result
);
2724 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2732 static PyObject
*_wrap_HtmlWinParser_SetActualColor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2733 PyObject
*resultobj
;
2734 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2735 wxColour
*arg2
= 0 ;
2737 PyObject
* obj0
= 0 ;
2738 PyObject
* obj1
= 0 ;
2740 (char *) "self",(char *) "clr", NULL
2743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetActualColor",kwnames
,&obj0
,&obj1
)) goto fail
;
2744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2748 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2752 (arg1
)->SetActualColor((wxColour
const &)*arg2
);
2754 wxPyEndAllowThreads(__tstate
);
2755 if (PyErr_Occurred()) SWIG_fail
;
2757 Py_INCREF(Py_None
); resultobj
= Py_None
;
2764 static PyObject
*_wrap_HtmlWinParser_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2765 PyObject
*resultobj
;
2766 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2767 wxString
*arg2
= 0 ;
2768 bool temp2
= false ;
2769 PyObject
* obj0
= 0 ;
2770 PyObject
* obj1
= 0 ;
2772 (char *) "self",(char *) "link", NULL
2775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
2776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2779 arg2
= wxString_in_helper(obj1
);
2780 if (arg2
== NULL
) SWIG_fail
;
2784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2785 (arg1
)->SetLink((wxString
const &)*arg2
);
2787 wxPyEndAllowThreads(__tstate
);
2788 if (PyErr_Occurred()) SWIG_fail
;
2790 Py_INCREF(Py_None
); resultobj
= Py_None
;
2805 static PyObject
*_wrap_HtmlWinParser_CreateCurrentFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2806 PyObject
*resultobj
;
2807 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2809 PyObject
* obj0
= 0 ;
2811 (char *) "self", NULL
2814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_CreateCurrentFont",kwnames
,&obj0
)) goto fail
;
2815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2819 result
= (wxFont
*)(arg1
)->CreateCurrentFont();
2821 wxPyEndAllowThreads(__tstate
);
2822 if (PyErr_Occurred()) SWIG_fail
;
2824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
2831 static PyObject
*_wrap_HtmlWinParser_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2832 PyObject
*resultobj
;
2833 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2834 SwigValueWrapper
< wxHtmlLinkInfo
> result
;
2835 PyObject
* obj0
= 0 ;
2837 (char *) "self", NULL
2840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetLink",kwnames
,&obj0
)) goto fail
;
2841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2845 result
= (arg1
)->GetLink();
2847 wxPyEndAllowThreads(__tstate
);
2848 if (PyErr_Occurred()) SWIG_fail
;
2851 wxHtmlLinkInfo
* resultptr
;
2852 resultptr
= new wxHtmlLinkInfo((wxHtmlLinkInfo
&) result
);
2853 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxHtmlLinkInfo
, 1);
2861 static PyObject
* HtmlWinParser_swigregister(PyObject
*, PyObject
*args
) {
2863 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2864 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWinParser
, obj
);
2866 return Py_BuildValue((char *)"");
2868 static PyObject
*_wrap_new_HtmlTagHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2869 PyObject
*resultobj
;
2870 wxPyHtmlTagHandler
*result
;
2875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlTagHandler",kwnames
)) goto fail
;
2877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2878 result
= (wxPyHtmlTagHandler
*)new wxPyHtmlTagHandler();
2880 wxPyEndAllowThreads(__tstate
);
2881 if (PyErr_Occurred()) SWIG_fail
;
2883 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlTagHandler
, 1);
2890 static PyObject
*_wrap_HtmlTagHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2891 PyObject
*resultobj
;
2892 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
2893 PyObject
*arg2
= (PyObject
*) 0 ;
2894 PyObject
*arg3
= (PyObject
*) 0 ;
2895 PyObject
* obj0
= 0 ;
2896 PyObject
* obj1
= 0 ;
2897 PyObject
* obj2
= 0 ;
2899 (char *) "self",(char *) "self",(char *) "_class", NULL
2902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlTagHandler
,
2904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2909 (arg1
)->_setCallbackInfo(arg2
,arg3
);
2911 wxPyEndAllowThreads(__tstate
);
2912 if (PyErr_Occurred()) SWIG_fail
;
2914 Py_INCREF(Py_None
); resultobj
= Py_None
;
2921 static PyObject
*_wrap_HtmlTagHandler_SetParser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2922 PyObject
*resultobj
;
2923 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
2924 wxHtmlParser
*arg2
= (wxHtmlParser
*) 0 ;
2925 PyObject
* obj0
= 0 ;
2926 PyObject
* obj1
= 0 ;
2928 (char *) "self",(char *) "parser", NULL
2931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTagHandler_SetParser",kwnames
,&obj0
,&obj1
)) goto fail
;
2932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlTagHandler
,
2933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2934 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlParser
,
2935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2938 (arg1
)->SetParser(arg2
);
2940 wxPyEndAllowThreads(__tstate
);
2941 if (PyErr_Occurred()) SWIG_fail
;
2943 Py_INCREF(Py_None
); resultobj
= Py_None
;
2950 static PyObject
*_wrap_HtmlTagHandler_GetParser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2951 PyObject
*resultobj
;
2952 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
2953 wxHtmlParser
*result
;
2954 PyObject
* obj0
= 0 ;
2956 (char *) "self", NULL
2959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTagHandler_GetParser",kwnames
,&obj0
)) goto fail
;
2960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlTagHandler
,
2961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2964 result
= (wxHtmlParser
*)(arg1
)->GetParser();
2966 wxPyEndAllowThreads(__tstate
);
2967 if (PyErr_Occurred()) SWIG_fail
;
2969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlParser
, 0);
2976 static PyObject
*_wrap_HtmlTagHandler_ParseInner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2977 PyObject
*resultobj
;
2978 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
2979 wxHtmlTag
*arg2
= 0 ;
2980 PyObject
* obj0
= 0 ;
2981 PyObject
* obj1
= 0 ;
2983 (char *) "self",(char *) "tag", NULL
2986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTagHandler_ParseInner",kwnames
,&obj0
,&obj1
)) goto fail
;
2987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlTagHandler
,
2988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2989 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlTag
,
2990 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2993 PyErr_SetString(PyExc_TypeError
,"null reference");
2997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2998 (arg1
)->ParseInner((wxHtmlTag
const &)*arg2
);
3000 wxPyEndAllowThreads(__tstate
);
3001 if (PyErr_Occurred()) SWIG_fail
;
3003 Py_INCREF(Py_None
); resultobj
= Py_None
;
3010 static PyObject
* HtmlTagHandler_swigregister(PyObject
*, PyObject
*args
) {
3012 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3013 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlTagHandler
, obj
);
3015 return Py_BuildValue((char *)"");
3017 static PyObject
*_wrap_new_HtmlWinTagHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3018 PyObject
*resultobj
;
3019 wxPyHtmlWinTagHandler
*result
;
3024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlWinTagHandler",kwnames
)) goto fail
;
3026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3027 result
= (wxPyHtmlWinTagHandler
*)new wxPyHtmlWinTagHandler();
3029 wxPyEndAllowThreads(__tstate
);
3030 if (PyErr_Occurred()) SWIG_fail
;
3032 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlWinTagHandler
, 1);
3039 static PyObject
*_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3040 PyObject
*resultobj
;
3041 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
3042 PyObject
*arg2
= (PyObject
*) 0 ;
3043 PyObject
*arg3
= (PyObject
*) 0 ;
3044 PyObject
* obj0
= 0 ;
3045 PyObject
* obj1
= 0 ;
3046 PyObject
* obj2
= 0 ;
3048 (char *) "self",(char *) "self",(char *) "_class", NULL
3051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWinTagHandler
,
3053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3058 (arg1
)->_setCallbackInfo(arg2
,arg3
);
3060 wxPyEndAllowThreads(__tstate
);
3061 if (PyErr_Occurred()) SWIG_fail
;
3063 Py_INCREF(Py_None
); resultobj
= Py_None
;
3070 static PyObject
*_wrap_HtmlWinTagHandler_SetParser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3071 PyObject
*resultobj
;
3072 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
3073 wxHtmlParser
*arg2
= (wxHtmlParser
*) 0 ;
3074 PyObject
* obj0
= 0 ;
3075 PyObject
* obj1
= 0 ;
3077 (char *) "self",(char *) "parser", NULL
3080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames
,&obj0
,&obj1
)) goto fail
;
3081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWinTagHandler
,
3082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3083 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlParser
,
3084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3087 (arg1
)->SetParser(arg2
);
3089 wxPyEndAllowThreads(__tstate
);
3090 if (PyErr_Occurred()) SWIG_fail
;
3092 Py_INCREF(Py_None
); resultobj
= Py_None
;
3099 static PyObject
*_wrap_HtmlWinTagHandler_GetParser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3100 PyObject
*resultobj
;
3101 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
3102 wxHtmlWinParser
*result
;
3103 PyObject
* obj0
= 0 ;
3105 (char *) "self", NULL
3108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinTagHandler_GetParser",kwnames
,&obj0
)) goto fail
;
3109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWinTagHandler
,
3110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3113 result
= (wxHtmlWinParser
*)(arg1
)->GetParser();
3115 wxPyEndAllowThreads(__tstate
);
3116 if (PyErr_Occurred()) SWIG_fail
;
3118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlWinParser
, 0);
3125 static PyObject
*_wrap_HtmlWinTagHandler_ParseInner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3126 PyObject
*resultobj
;
3127 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
3128 wxHtmlTag
*arg2
= 0 ;
3129 PyObject
* obj0
= 0 ;
3130 PyObject
* obj1
= 0 ;
3132 (char *) "self",(char *) "tag", NULL
3135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames
,&obj0
,&obj1
)) goto fail
;
3136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWinTagHandler
,
3137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3138 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlTag
,
3139 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3142 PyErr_SetString(PyExc_TypeError
,"null reference");
3146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3147 (arg1
)->ParseInner((wxHtmlTag
const &)*arg2
);
3149 wxPyEndAllowThreads(__tstate
);
3150 if (PyErr_Occurred()) SWIG_fail
;
3152 Py_INCREF(Py_None
); resultobj
= Py_None
;
3159 static PyObject
* HtmlWinTagHandler_swigregister(PyObject
*, PyObject
*args
) {
3161 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3162 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler
, obj
);
3164 return Py_BuildValue((char *)"");
3166 static PyObject
*_wrap_HtmlWinParser_AddTagHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3167 PyObject
*resultobj
;
3168 PyObject
*arg1
= (PyObject
*) 0 ;
3169 PyObject
* obj0
= 0 ;
3171 (char *) "tagHandlerClass", NULL
3174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_AddTagHandler",kwnames
,&obj0
)) goto fail
;
3177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3178 wxHtmlWinParser_AddTagHandler(arg1
);
3180 wxPyEndAllowThreads(__tstate
);
3181 if (PyErr_Occurred()) SWIG_fail
;
3183 Py_INCREF(Py_None
); resultobj
= Py_None
;
3190 static PyObject
*_wrap_new_HtmlSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3191 PyObject
*resultobj
;
3192 wxHtmlSelection
*result
;
3197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlSelection",kwnames
)) goto fail
;
3199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3200 result
= (wxHtmlSelection
*)new wxHtmlSelection();
3202 wxPyEndAllowThreads(__tstate
);
3203 if (PyErr_Occurred()) SWIG_fail
;
3205 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlSelection
, 1);
3212 static PyObject
*_wrap_delete_HtmlSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3213 PyObject
*resultobj
;
3214 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3215 PyObject
* obj0
= 0 ;
3217 (char *) "self", NULL
3220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlSelection",kwnames
,&obj0
)) goto fail
;
3221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSelection
,
3222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3227 wxPyEndAllowThreads(__tstate
);
3228 if (PyErr_Occurred()) SWIG_fail
;
3230 Py_INCREF(Py_None
); resultobj
= Py_None
;
3237 static PyObject
*_wrap_HtmlSelection_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3238 PyObject
*resultobj
;
3239 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3241 wxHtmlCell
*arg3
= (wxHtmlCell
*) 0 ;
3243 wxHtmlCell
*arg5
= (wxHtmlCell
*) 0 ;
3246 PyObject
* obj0
= 0 ;
3247 PyObject
* obj1
= 0 ;
3248 PyObject
* obj2
= 0 ;
3249 PyObject
* obj3
= 0 ;
3250 PyObject
* obj4
= 0 ;
3252 (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
3255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlSelection_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSelection
,
3257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3260 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3262 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxHtmlCell
,
3263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3266 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3268 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxHtmlCell
,
3269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3272 (arg1
)->Set((wxPoint
const &)*arg2
,(wxHtmlCell
const *)arg3
,(wxPoint
const &)*arg4
,(wxHtmlCell
const *)arg5
);
3274 wxPyEndAllowThreads(__tstate
);
3275 if (PyErr_Occurred()) SWIG_fail
;
3277 Py_INCREF(Py_None
); resultobj
= Py_None
;
3284 static PyObject
*_wrap_HtmlSelection_SetCells(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3285 PyObject
*resultobj
;
3286 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3287 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
3288 wxHtmlCell
*arg3
= (wxHtmlCell
*) 0 ;
3289 PyObject
* obj0
= 0 ;
3290 PyObject
* obj1
= 0 ;
3291 PyObject
* obj2
= 0 ;
3293 (char *) "self",(char *) "fromCell",(char *) "toCell", NULL
3296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlSelection_SetCells",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSelection
,
3298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3299 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlCell
,
3300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3301 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxHtmlCell
,
3302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3305 (arg1
)->Set((wxHtmlCell
const *)arg2
,(wxHtmlCell
const *)arg3
);
3307 wxPyEndAllowThreads(__tstate
);
3308 if (PyErr_Occurred()) SWIG_fail
;
3310 Py_INCREF(Py_None
); resultobj
= Py_None
;
3317 static PyObject
*_wrap_HtmlSelection_GetFromCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3318 PyObject
*resultobj
;
3319 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3321 PyObject
* obj0
= 0 ;
3323 (char *) "self", NULL
3326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetFromCell",kwnames
,&obj0
)) goto fail
;
3327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSelection
,
3328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3331 result
= (wxHtmlCell
*)((wxHtmlSelection
const *)arg1
)->GetFromCell();
3333 wxPyEndAllowThreads(__tstate
);
3334 if (PyErr_Occurred()) SWIG_fail
;
3336 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
3343 static PyObject
*_wrap_HtmlSelection_GetToCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3344 PyObject
*resultobj
;
3345 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3347 PyObject
* obj0
= 0 ;
3349 (char *) "self", NULL
3352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetToCell",kwnames
,&obj0
)) goto fail
;
3353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSelection
,
3354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3357 result
= (wxHtmlCell
*)((wxHtmlSelection
const *)arg1
)->GetToCell();
3359 wxPyEndAllowThreads(__tstate
);
3360 if (PyErr_Occurred()) SWIG_fail
;
3362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
3369 static PyObject
*_wrap_HtmlSelection_GetFromPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3370 PyObject
*resultobj
;
3371 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3373 PyObject
* obj0
= 0 ;
3375 (char *) "self", NULL
3378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetFromPos",kwnames
,&obj0
)) goto fail
;
3379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSelection
,
3380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3384 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetFromPos();
3385 result
= (wxPoint
*) &_result_ref
;
3388 wxPyEndAllowThreads(__tstate
);
3389 if (PyErr_Occurred()) SWIG_fail
;
3391 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3398 static PyObject
*_wrap_HtmlSelection_GetToPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3399 PyObject
*resultobj
;
3400 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3402 PyObject
* obj0
= 0 ;
3404 (char *) "self", NULL
3407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetToPos",kwnames
,&obj0
)) goto fail
;
3408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSelection
,
3409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3413 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetToPos();
3414 result
= (wxPoint
*) &_result_ref
;
3417 wxPyEndAllowThreads(__tstate
);
3418 if (PyErr_Occurred()) SWIG_fail
;
3420 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3427 static PyObject
*_wrap_HtmlSelection_GetFromPrivPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3428 PyObject
*resultobj
;
3429 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3431 PyObject
* obj0
= 0 ;
3433 (char *) "self", NULL
3436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetFromPrivPos",kwnames
,&obj0
)) goto fail
;
3437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSelection
,
3438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3442 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetFromPrivPos();
3443 result
= (wxPoint
*) &_result_ref
;
3446 wxPyEndAllowThreads(__tstate
);
3447 if (PyErr_Occurred()) SWIG_fail
;
3449 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3456 static PyObject
*_wrap_HtmlSelection_GetToPrivPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3457 PyObject
*resultobj
;
3458 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3460 PyObject
* obj0
= 0 ;
3462 (char *) "self", NULL
3465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetToPrivPos",kwnames
,&obj0
)) goto fail
;
3466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSelection
,
3467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3471 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetToPrivPos();
3472 result
= (wxPoint
*) &_result_ref
;
3475 wxPyEndAllowThreads(__tstate
);
3476 if (PyErr_Occurred()) SWIG_fail
;
3478 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3485 static PyObject
*_wrap_HtmlSelection_SetFromPrivPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3486 PyObject
*resultobj
;
3487 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3490 PyObject
* obj0
= 0 ;
3491 PyObject
* obj1
= 0 ;
3493 (char *) "self",(char *) "pos", NULL
3496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames
,&obj0
,&obj1
)) goto fail
;
3497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSelection
,
3498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3501 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3505 (arg1
)->SetFromPrivPos((wxPoint
const &)*arg2
);
3507 wxPyEndAllowThreads(__tstate
);
3508 if (PyErr_Occurred()) SWIG_fail
;
3510 Py_INCREF(Py_None
); resultobj
= Py_None
;
3517 static PyObject
*_wrap_HtmlSelection_SetToPrivPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3518 PyObject
*resultobj
;
3519 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3522 PyObject
* obj0
= 0 ;
3523 PyObject
* obj1
= 0 ;
3525 (char *) "self",(char *) "pos", NULL
3528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames
,&obj0
,&obj1
)) goto fail
;
3529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSelection
,
3530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3533 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3537 (arg1
)->SetToPrivPos((wxPoint
const &)*arg2
);
3539 wxPyEndAllowThreads(__tstate
);
3540 if (PyErr_Occurred()) SWIG_fail
;
3542 Py_INCREF(Py_None
); resultobj
= Py_None
;
3549 static PyObject
*_wrap_HtmlSelection_ClearPrivPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3550 PyObject
*resultobj
;
3551 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3552 PyObject
* obj0
= 0 ;
3554 (char *) "self", NULL
3557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_ClearPrivPos",kwnames
,&obj0
)) goto fail
;
3558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSelection
,
3559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3562 (arg1
)->ClearPrivPos();
3564 wxPyEndAllowThreads(__tstate
);
3565 if (PyErr_Occurred()) SWIG_fail
;
3567 Py_INCREF(Py_None
); resultobj
= Py_None
;
3574 static PyObject
*_wrap_HtmlSelection_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3575 PyObject
*resultobj
;
3576 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3578 PyObject
* obj0
= 0 ;
3580 (char *) "self", NULL
3583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_IsEmpty",kwnames
,&obj0
)) goto fail
;
3584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSelection
,
3585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3588 result
= (bool)((wxHtmlSelection
const *)arg1
)->IsEmpty();
3590 wxPyEndAllowThreads(__tstate
);
3591 if (PyErr_Occurred()) SWIG_fail
;
3594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3602 static PyObject
* HtmlSelection_swigregister(PyObject
*, PyObject
*args
) {
3604 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3605 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSelection
, obj
);
3607 return Py_BuildValue((char *)"");
3609 static PyObject
*_wrap_new_HtmlRenderingState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3610 PyObject
*resultobj
;
3611 wxHtmlRenderingState
*result
;
3616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlRenderingState",kwnames
)) goto fail
;
3618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3619 result
= (wxHtmlRenderingState
*)new wxHtmlRenderingState();
3621 wxPyEndAllowThreads(__tstate
);
3622 if (PyErr_Occurred()) SWIG_fail
;
3624 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlRenderingState
, 1);
3631 static PyObject
*_wrap_delete_HtmlRenderingState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3632 PyObject
*resultobj
;
3633 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
3634 PyObject
* obj0
= 0 ;
3636 (char *) "self", NULL
3639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlRenderingState",kwnames
,&obj0
)) goto fail
;
3640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlRenderingState
,
3641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3646 wxPyEndAllowThreads(__tstate
);
3647 if (PyErr_Occurred()) SWIG_fail
;
3649 Py_INCREF(Py_None
); resultobj
= Py_None
;
3656 static PyObject
*_wrap_HtmlRenderingState_SetSelectionState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3657 PyObject
*resultobj
;
3658 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
3660 PyObject
* obj0
= 0 ;
3661 PyObject
* obj1
= 0 ;
3663 (char *) "self",(char *) "s", NULL
3666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames
,&obj0
,&obj1
)) goto fail
;
3667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlRenderingState
,
3668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3669 arg2
= (int)SWIG_As_int(obj1
);
3670 if (PyErr_Occurred()) SWIG_fail
;
3672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3673 (arg1
)->SetSelectionState((wxHtmlSelectionState
)arg2
);
3675 wxPyEndAllowThreads(__tstate
);
3676 if (PyErr_Occurred()) SWIG_fail
;
3678 Py_INCREF(Py_None
); resultobj
= Py_None
;
3685 static PyObject
*_wrap_HtmlRenderingState_GetSelectionState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3686 PyObject
*resultobj
;
3687 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
3689 PyObject
* obj0
= 0 ;
3691 (char *) "self", NULL
3694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingState_GetSelectionState",kwnames
,&obj0
)) goto fail
;
3695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlRenderingState
,
3696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3699 result
= (int)((wxHtmlRenderingState
const *)arg1
)->GetSelectionState();
3701 wxPyEndAllowThreads(__tstate
);
3702 if (PyErr_Occurred()) SWIG_fail
;
3704 resultobj
= SWIG_From_int((int)result
);
3711 static PyObject
*_wrap_HtmlRenderingState_SetFgColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3712 PyObject
*resultobj
;
3713 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
3714 wxColour
*arg2
= 0 ;
3716 PyObject
* obj0
= 0 ;
3717 PyObject
* obj1
= 0 ;
3719 (char *) "self",(char *) "c", NULL
3722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlRenderingState
,
3724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3727 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3731 (arg1
)->SetFgColour((wxColour
const &)*arg2
);
3733 wxPyEndAllowThreads(__tstate
);
3734 if (PyErr_Occurred()) SWIG_fail
;
3736 Py_INCREF(Py_None
); resultobj
= Py_None
;
3743 static PyObject
*_wrap_HtmlRenderingState_GetFgColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3744 PyObject
*resultobj
;
3745 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
3747 PyObject
* obj0
= 0 ;
3749 (char *) "self", NULL
3752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingState_GetFgColour",kwnames
,&obj0
)) goto fail
;
3753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlRenderingState
,
3754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3758 wxColour
const &_result_ref
= ((wxHtmlRenderingState
const *)arg1
)->GetFgColour();
3759 result
= (wxColour
*) &_result_ref
;
3762 wxPyEndAllowThreads(__tstate
);
3763 if (PyErr_Occurred()) SWIG_fail
;
3765 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
3772 static PyObject
*_wrap_HtmlRenderingState_SetBgColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3773 PyObject
*resultobj
;
3774 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
3775 wxColour
*arg2
= 0 ;
3777 PyObject
* obj0
= 0 ;
3778 PyObject
* obj1
= 0 ;
3780 (char *) "self",(char *) "c", NULL
3783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlRenderingState
,
3785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3788 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3792 (arg1
)->SetBgColour((wxColour
const &)*arg2
);
3794 wxPyEndAllowThreads(__tstate
);
3795 if (PyErr_Occurred()) SWIG_fail
;
3797 Py_INCREF(Py_None
); resultobj
= Py_None
;
3804 static PyObject
*_wrap_HtmlRenderingState_GetBgColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3805 PyObject
*resultobj
;
3806 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
3808 PyObject
* obj0
= 0 ;
3810 (char *) "self", NULL
3813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingState_GetBgColour",kwnames
,&obj0
)) goto fail
;
3814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlRenderingState
,
3815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3819 wxColour
const &_result_ref
= ((wxHtmlRenderingState
const *)arg1
)->GetBgColour();
3820 result
= (wxColour
*) &_result_ref
;
3823 wxPyEndAllowThreads(__tstate
);
3824 if (PyErr_Occurred()) SWIG_fail
;
3826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
3833 static PyObject
* HtmlRenderingState_swigregister(PyObject
*, PyObject
*args
) {
3835 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3836 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingState
, obj
);
3838 return Py_BuildValue((char *)"");
3840 static PyObject
*_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3841 PyObject
*resultobj
;
3842 wxHtmlRenderingStyle
*arg1
= (wxHtmlRenderingStyle
*) 0 ;
3843 wxColour
*arg2
= 0 ;
3846 PyObject
* obj0
= 0 ;
3847 PyObject
* obj1
= 0 ;
3849 (char *) "self",(char *) "clr", NULL
3852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlRenderingStyle
,
3854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3857 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3861 result
= (arg1
)->GetSelectedTextColour((wxColour
const &)*arg2
);
3863 wxPyEndAllowThreads(__tstate
);
3864 if (PyErr_Occurred()) SWIG_fail
;
3867 wxColour
* resultptr
;
3868 resultptr
= new wxColour((wxColour
&) result
);
3869 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3877 static PyObject
*_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3878 PyObject
*resultobj
;
3879 wxHtmlRenderingStyle
*arg1
= (wxHtmlRenderingStyle
*) 0 ;
3880 wxColour
*arg2
= 0 ;
3883 PyObject
* obj0
= 0 ;
3884 PyObject
* obj1
= 0 ;
3886 (char *) "self",(char *) "clr", NULL
3889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlRenderingStyle
,
3891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3894 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3898 result
= (arg1
)->GetSelectedTextBgColour((wxColour
const &)*arg2
);
3900 wxPyEndAllowThreads(__tstate
);
3901 if (PyErr_Occurred()) SWIG_fail
;
3904 wxColour
* resultptr
;
3905 resultptr
= new wxColour((wxColour
&) result
);
3906 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3914 static PyObject
* HtmlRenderingStyle_swigregister(PyObject
*, PyObject
*args
) {
3916 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3917 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingStyle
, obj
);
3919 return Py_BuildValue((char *)"");
3921 static PyObject
*_wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3922 PyObject
*resultobj
;
3923 wxDefaultHtmlRenderingStyle
*arg1
= (wxDefaultHtmlRenderingStyle
*) 0 ;
3924 wxColour
*arg2
= 0 ;
3927 PyObject
* obj0
= 0 ;
3928 PyObject
* obj1
= 0 ;
3930 (char *) "self",(char *) "clr", NULL
3933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDefaultHtmlRenderingStyle
,
3935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3938 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3942 result
= (arg1
)->GetSelectedTextColour((wxColour
const &)*arg2
);
3944 wxPyEndAllowThreads(__tstate
);
3945 if (PyErr_Occurred()) SWIG_fail
;
3948 wxColour
* resultptr
;
3949 resultptr
= new wxColour((wxColour
&) result
);
3950 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3958 static PyObject
*_wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3959 PyObject
*resultobj
;
3960 wxDefaultHtmlRenderingStyle
*arg1
= (wxDefaultHtmlRenderingStyle
*) 0 ;
3961 wxColour
*arg2
= 0 ;
3964 PyObject
* obj0
= 0 ;
3965 PyObject
* obj1
= 0 ;
3967 (char *) "self",(char *) "clr", NULL
3970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextBgColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDefaultHtmlRenderingStyle
,
3972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3975 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3979 result
= (arg1
)->GetSelectedTextBgColour((wxColour
const &)*arg2
);
3981 wxPyEndAllowThreads(__tstate
);
3982 if (PyErr_Occurred()) SWIG_fail
;
3985 wxColour
* resultptr
;
3986 resultptr
= new wxColour((wxColour
&) result
);
3987 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3995 static PyObject
* DefaultHtmlRenderingStyle_swigregister(PyObject
*, PyObject
*args
) {
3997 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3998 SWIG_TypeClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle
, obj
);
4000 return Py_BuildValue((char *)"");
4002 static PyObject
*_wrap_new_HtmlRenderingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4003 PyObject
*resultobj
;
4004 wxHtmlRenderingInfo
*result
;
4009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlRenderingInfo",kwnames
)) goto fail
;
4011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4012 result
= (wxHtmlRenderingInfo
*)new wxHtmlRenderingInfo();
4014 wxPyEndAllowThreads(__tstate
);
4015 if (PyErr_Occurred()) SWIG_fail
;
4017 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlRenderingInfo
, 1);
4024 static PyObject
*_wrap_delete_HtmlRenderingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4025 PyObject
*resultobj
;
4026 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
4027 PyObject
* obj0
= 0 ;
4029 (char *) "self", NULL
4032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlRenderingInfo",kwnames
,&obj0
)) goto fail
;
4033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlRenderingInfo
,
4034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4039 wxPyEndAllowThreads(__tstate
);
4040 if (PyErr_Occurred()) SWIG_fail
;
4042 Py_INCREF(Py_None
); resultobj
= Py_None
;
4049 static PyObject
*_wrap_HtmlRenderingInfo_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4050 PyObject
*resultobj
;
4051 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
4052 wxHtmlSelection
*arg2
= (wxHtmlSelection
*) 0 ;
4053 PyObject
* obj0
= 0 ;
4054 PyObject
* obj1
= 0 ;
4056 (char *) "self",(char *) "s", NULL
4059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlRenderingInfo
,
4061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4062 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlSelection
,
4063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4066 (arg1
)->SetSelection(arg2
);
4068 wxPyEndAllowThreads(__tstate
);
4069 if (PyErr_Occurred()) SWIG_fail
;
4071 Py_INCREF(Py_None
); resultobj
= Py_None
;
4078 static PyObject
*_wrap_HtmlRenderingInfo_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4079 PyObject
*resultobj
;
4080 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
4081 wxHtmlSelection
*result
;
4082 PyObject
* obj0
= 0 ;
4084 (char *) "self", NULL
4087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingInfo_GetSelection",kwnames
,&obj0
)) goto fail
;
4088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlRenderingInfo
,
4089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4092 result
= (wxHtmlSelection
*)((wxHtmlRenderingInfo
const *)arg1
)->GetSelection();
4094 wxPyEndAllowThreads(__tstate
);
4095 if (PyErr_Occurred()) SWIG_fail
;
4097 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlSelection
, 0);
4104 static PyObject
*_wrap_HtmlRenderingInfo_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4105 PyObject
*resultobj
;
4106 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
4107 wxHtmlRenderingStyle
*arg2
= (wxHtmlRenderingStyle
*) 0 ;
4108 PyObject
* obj0
= 0 ;
4109 PyObject
* obj1
= 0 ;
4111 (char *) "self",(char *) "style", NULL
4114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
4115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlRenderingInfo
,
4116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4117 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlRenderingStyle
,
4118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4121 (arg1
)->SetStyle(arg2
);
4123 wxPyEndAllowThreads(__tstate
);
4124 if (PyErr_Occurred()) SWIG_fail
;
4126 Py_INCREF(Py_None
); resultobj
= Py_None
;
4133 static PyObject
*_wrap_HtmlRenderingInfo_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4134 PyObject
*resultobj
;
4135 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
4136 wxHtmlRenderingStyle
*result
;
4137 PyObject
* obj0
= 0 ;
4139 (char *) "self", NULL
4142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
4143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlRenderingInfo
,
4144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4148 wxHtmlRenderingStyle
&_result_ref
= (arg1
)->GetStyle();
4149 result
= (wxHtmlRenderingStyle
*) &_result_ref
;
4152 wxPyEndAllowThreads(__tstate
);
4153 if (PyErr_Occurred()) SWIG_fail
;
4155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlRenderingStyle
, 0);
4162 static PyObject
*_wrap_HtmlRenderingInfo_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4163 PyObject
*resultobj
;
4164 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
4165 wxHtmlRenderingState
*result
;
4166 PyObject
* obj0
= 0 ;
4168 (char *) "self", NULL
4171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingInfo_GetState",kwnames
,&obj0
)) goto fail
;
4172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlRenderingInfo
,
4173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4177 wxHtmlRenderingState
&_result_ref
= (arg1
)->GetState();
4178 result
= (wxHtmlRenderingState
*) &_result_ref
;
4181 wxPyEndAllowThreads(__tstate
);
4182 if (PyErr_Occurred()) SWIG_fail
;
4184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlRenderingState
, 0);
4191 static PyObject
* HtmlRenderingInfo_swigregister(PyObject
*, PyObject
*args
) {
4193 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4194 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingInfo
, obj
);
4196 return Py_BuildValue((char *)"");
4198 static PyObject
*_wrap_new_HtmlCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4199 PyObject
*resultobj
;
4205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlCell",kwnames
)) goto fail
;
4207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4208 result
= (wxHtmlCell
*)new wxHtmlCell();
4210 wxPyEndAllowThreads(__tstate
);
4211 if (PyErr_Occurred()) SWIG_fail
;
4213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 1);
4220 static PyObject
*_wrap_HtmlCell_GetPosX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4221 PyObject
*resultobj
;
4222 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4224 PyObject
* obj0
= 0 ;
4226 (char *) "self", NULL
4229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetPosX",kwnames
,&obj0
)) goto fail
;
4230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4234 result
= (int)(arg1
)->GetPosX();
4236 wxPyEndAllowThreads(__tstate
);
4237 if (PyErr_Occurred()) SWIG_fail
;
4239 resultobj
= SWIG_From_int((int)result
);
4246 static PyObject
*_wrap_HtmlCell_GetPosY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4247 PyObject
*resultobj
;
4248 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4250 PyObject
* obj0
= 0 ;
4252 (char *) "self", NULL
4255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetPosY",kwnames
,&obj0
)) goto fail
;
4256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4260 result
= (int)(arg1
)->GetPosY();
4262 wxPyEndAllowThreads(__tstate
);
4263 if (PyErr_Occurred()) SWIG_fail
;
4265 resultobj
= SWIG_From_int((int)result
);
4272 static PyObject
*_wrap_HtmlCell_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4273 PyObject
*resultobj
;
4274 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4276 PyObject
* obj0
= 0 ;
4278 (char *) "self", NULL
4281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetWidth",kwnames
,&obj0
)) goto fail
;
4282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4286 result
= (int)(arg1
)->GetWidth();
4288 wxPyEndAllowThreads(__tstate
);
4289 if (PyErr_Occurred()) SWIG_fail
;
4291 resultobj
= SWIG_From_int((int)result
);
4298 static PyObject
*_wrap_HtmlCell_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4299 PyObject
*resultobj
;
4300 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4302 PyObject
* obj0
= 0 ;
4304 (char *) "self", NULL
4307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetHeight",kwnames
,&obj0
)) goto fail
;
4308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4312 result
= (int)(arg1
)->GetHeight();
4314 wxPyEndAllowThreads(__tstate
);
4315 if (PyErr_Occurred()) SWIG_fail
;
4317 resultobj
= SWIG_From_int((int)result
);
4324 static PyObject
*_wrap_HtmlCell_GetDescent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4325 PyObject
*resultobj
;
4326 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4328 PyObject
* obj0
= 0 ;
4330 (char *) "self", NULL
4333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetDescent",kwnames
,&obj0
)) goto fail
;
4334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4338 result
= (int)(arg1
)->GetDescent();
4340 wxPyEndAllowThreads(__tstate
);
4341 if (PyErr_Occurred()) SWIG_fail
;
4343 resultobj
= SWIG_From_int((int)result
);
4350 static PyObject
*_wrap_HtmlCell_GetMaxTotalWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4351 PyObject
*resultobj
;
4352 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4354 PyObject
* obj0
= 0 ;
4356 (char *) "self", NULL
4359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetMaxTotalWidth",kwnames
,&obj0
)) goto fail
;
4360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4364 result
= (int)((wxHtmlCell
const *)arg1
)->GetMaxTotalWidth();
4366 wxPyEndAllowThreads(__tstate
);
4367 if (PyErr_Occurred()) SWIG_fail
;
4369 resultobj
= SWIG_From_int((int)result
);
4376 static PyObject
*_wrap_HtmlCell_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4377 PyObject
*resultobj
;
4378 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4380 PyObject
* obj0
= 0 ;
4382 (char *) "self", NULL
4385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetId",kwnames
,&obj0
)) goto fail
;
4386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4391 wxString
const &_result_ref
= ((wxHtmlCell
const *)arg1
)->GetId();
4392 result
= (wxString
*) &_result_ref
;
4395 wxPyEndAllowThreads(__tstate
);
4396 if (PyErr_Occurred()) SWIG_fail
;
4400 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4402 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4411 static PyObject
*_wrap_HtmlCell_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4412 PyObject
*resultobj
;
4413 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4414 wxString
*arg2
= 0 ;
4415 bool temp2
= false ;
4416 PyObject
* obj0
= 0 ;
4417 PyObject
* obj1
= 0 ;
4419 (char *) "self",(char *) "id", NULL
4422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
4423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4426 arg2
= wxString_in_helper(obj1
);
4427 if (arg2
== NULL
) SWIG_fail
;
4431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4432 (arg1
)->SetId((wxString
const &)*arg2
);
4434 wxPyEndAllowThreads(__tstate
);
4435 if (PyErr_Occurred()) SWIG_fail
;
4437 Py_INCREF(Py_None
); resultobj
= Py_None
;
4452 static PyObject
*_wrap_HtmlCell_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4453 PyObject
*resultobj
;
4454 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4455 int arg2
= (int) 0 ;
4456 int arg3
= (int) 0 ;
4457 wxHtmlLinkInfo
*result
;
4458 PyObject
* obj0
= 0 ;
4459 PyObject
* obj1
= 0 ;
4460 PyObject
* obj2
= 0 ;
4462 (char *) "self",(char *) "x",(char *) "y", NULL
4465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:HtmlCell_GetLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4469 arg2
= (int)SWIG_As_int(obj1
);
4470 if (PyErr_Occurred()) SWIG_fail
;
4473 arg3
= (int)SWIG_As_int(obj2
);
4474 if (PyErr_Occurred()) SWIG_fail
;
4477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4478 result
= (wxHtmlLinkInfo
*)(arg1
)->GetLink(arg2
,arg3
);
4480 wxPyEndAllowThreads(__tstate
);
4481 if (PyErr_Occurred()) SWIG_fail
;
4483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlLinkInfo
, 0);
4490 static PyObject
*_wrap_HtmlCell_GetNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4491 PyObject
*resultobj
;
4492 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4494 PyObject
* obj0
= 0 ;
4496 (char *) "self", NULL
4499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetNext",kwnames
,&obj0
)) goto fail
;
4500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4504 result
= (wxHtmlCell
*)(arg1
)->GetNext();
4506 wxPyEndAllowThreads(__tstate
);
4507 if (PyErr_Occurred()) SWIG_fail
;
4509 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
4516 static PyObject
*_wrap_HtmlCell_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4517 PyObject
*resultobj
;
4518 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4519 wxHtmlContainerCell
*result
;
4520 PyObject
* obj0
= 0 ;
4522 (char *) "self", NULL
4525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetParent",kwnames
,&obj0
)) goto fail
;
4526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4530 result
= (wxHtmlContainerCell
*)(arg1
)->GetParent();
4532 wxPyEndAllowThreads(__tstate
);
4533 if (PyErr_Occurred()) SWIG_fail
;
4535 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0);
4542 static PyObject
*_wrap_HtmlCell_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4543 PyObject
*resultobj
;
4544 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4546 PyObject
* obj0
= 0 ;
4548 (char *) "self", NULL
4551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetFirstChild",kwnames
,&obj0
)) goto fail
;
4552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4556 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetFirstChild();
4558 wxPyEndAllowThreads(__tstate
);
4559 if (PyErr_Occurred()) SWIG_fail
;
4561 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
4568 static PyObject
*_wrap_HtmlCell_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4569 PyObject
*resultobj
;
4570 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4572 PyObject
* obj0
= 0 ;
4574 (char *) "self", NULL
4577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetCursor",kwnames
,&obj0
)) goto fail
;
4578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4582 result
= ((wxHtmlCell
const *)arg1
)->GetCursor();
4584 wxPyEndAllowThreads(__tstate
);
4585 if (PyErr_Occurred()) SWIG_fail
;
4588 wxCursor
* resultptr
;
4589 resultptr
= new wxCursor((wxCursor
&) result
);
4590 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
4598 static PyObject
*_wrap_HtmlCell_IsFormattingCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4599 PyObject
*resultobj
;
4600 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4602 PyObject
* obj0
= 0 ;
4604 (char *) "self", NULL
4607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_IsFormattingCell",kwnames
,&obj0
)) goto fail
;
4608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4612 result
= (bool)((wxHtmlCell
const *)arg1
)->IsFormattingCell();
4614 wxPyEndAllowThreads(__tstate
);
4615 if (PyErr_Occurred()) SWIG_fail
;
4618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4626 static PyObject
*_wrap_HtmlCell_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4627 PyObject
*resultobj
;
4628 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4629 wxHtmlLinkInfo
*arg2
= 0 ;
4630 PyObject
* obj0
= 0 ;
4631 PyObject
* obj1
= 0 ;
4633 (char *) "self",(char *) "link", NULL
4636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
4637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4639 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlLinkInfo
,
4640 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4643 PyErr_SetString(PyExc_TypeError
,"null reference");
4647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4648 (arg1
)->SetLink((wxHtmlLinkInfo
const &)*arg2
);
4650 wxPyEndAllowThreads(__tstate
);
4651 if (PyErr_Occurred()) SWIG_fail
;
4653 Py_INCREF(Py_None
); resultobj
= Py_None
;
4660 static PyObject
*_wrap_HtmlCell_SetNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4661 PyObject
*resultobj
;
4662 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4663 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
4664 PyObject
* obj0
= 0 ;
4665 PyObject
* obj1
= 0 ;
4667 (char *) "self",(char *) "cell", NULL
4670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetNext",kwnames
,&obj0
,&obj1
)) goto fail
;
4671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4673 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlCell
,
4674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4677 (arg1
)->SetNext(arg2
);
4679 wxPyEndAllowThreads(__tstate
);
4680 if (PyErr_Occurred()) SWIG_fail
;
4682 Py_INCREF(Py_None
); resultobj
= Py_None
;
4689 static PyObject
*_wrap_HtmlCell_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4690 PyObject
*resultobj
;
4691 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4692 wxHtmlContainerCell
*arg2
= (wxHtmlContainerCell
*) 0 ;
4693 PyObject
* obj0
= 0 ;
4694 PyObject
* obj1
= 0 ;
4696 (char *) "self",(char *) "p", NULL
4699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
4700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4702 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlContainerCell
,
4703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4706 (arg1
)->SetParent(arg2
);
4708 wxPyEndAllowThreads(__tstate
);
4709 if (PyErr_Occurred()) SWIG_fail
;
4711 Py_INCREF(Py_None
); resultobj
= Py_None
;
4718 static PyObject
*_wrap_HtmlCell_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4719 PyObject
*resultobj
;
4720 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4723 PyObject
* obj0
= 0 ;
4724 PyObject
* obj1
= 0 ;
4725 PyObject
* obj2
= 0 ;
4727 (char *) "self",(char *) "x",(char *) "y", NULL
4730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlCell_SetPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4733 arg2
= (int)SWIG_As_int(obj1
);
4734 if (PyErr_Occurred()) SWIG_fail
;
4735 arg3
= (int)SWIG_As_int(obj2
);
4736 if (PyErr_Occurred()) SWIG_fail
;
4738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4739 (arg1
)->SetPos(arg2
,arg3
);
4741 wxPyEndAllowThreads(__tstate
);
4742 if (PyErr_Occurred()) SWIG_fail
;
4744 Py_INCREF(Py_None
); resultobj
= Py_None
;
4751 static PyObject
*_wrap_HtmlCell_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4752 PyObject
*resultobj
;
4753 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4755 PyObject
* obj0
= 0 ;
4756 PyObject
* obj1
= 0 ;
4758 (char *) "self",(char *) "w", NULL
4761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_Layout",kwnames
,&obj0
,&obj1
)) goto fail
;
4762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4764 arg2
= (int)SWIG_As_int(obj1
);
4765 if (PyErr_Occurred()) SWIG_fail
;
4767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4768 (arg1
)->Layout(arg2
);
4770 wxPyEndAllowThreads(__tstate
);
4771 if (PyErr_Occurred()) SWIG_fail
;
4773 Py_INCREF(Py_None
); resultobj
= Py_None
;
4780 static PyObject
*_wrap_HtmlCell_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4781 PyObject
*resultobj
;
4782 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4788 wxHtmlRenderingInfo
*arg7
= 0 ;
4789 PyObject
* obj0
= 0 ;
4790 PyObject
* obj1
= 0 ;
4791 PyObject
* obj2
= 0 ;
4792 PyObject
* obj3
= 0 ;
4793 PyObject
* obj4
= 0 ;
4794 PyObject
* obj5
= 0 ;
4795 PyObject
* obj6
= 0 ;
4797 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
4800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:HtmlCell_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4803 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
4804 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4807 PyErr_SetString(PyExc_TypeError
,"null reference");
4810 arg3
= (int)SWIG_As_int(obj2
);
4811 if (PyErr_Occurred()) SWIG_fail
;
4812 arg4
= (int)SWIG_As_int(obj3
);
4813 if (PyErr_Occurred()) SWIG_fail
;
4814 arg5
= (int)SWIG_As_int(obj4
);
4815 if (PyErr_Occurred()) SWIG_fail
;
4816 arg6
= (int)SWIG_As_int(obj5
);
4817 if (PyErr_Occurred()) SWIG_fail
;
4818 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxHtmlRenderingInfo
,
4819 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4822 PyErr_SetString(PyExc_TypeError
,"null reference");
4826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4827 (arg1
)->Draw(*arg2
,arg3
,arg4
,arg5
,arg6
,*arg7
);
4829 wxPyEndAllowThreads(__tstate
);
4830 if (PyErr_Occurred()) SWIG_fail
;
4832 Py_INCREF(Py_None
); resultobj
= Py_None
;
4839 static PyObject
*_wrap_HtmlCell_DrawInvisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4840 PyObject
*resultobj
;
4841 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4845 wxHtmlRenderingInfo
*arg5
= 0 ;
4846 PyObject
* obj0
= 0 ;
4847 PyObject
* obj1
= 0 ;
4848 PyObject
* obj2
= 0 ;
4849 PyObject
* obj3
= 0 ;
4850 PyObject
* obj4
= 0 ;
4852 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
4855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4858 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
4859 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4862 PyErr_SetString(PyExc_TypeError
,"null reference");
4865 arg3
= (int)SWIG_As_int(obj2
);
4866 if (PyErr_Occurred()) SWIG_fail
;
4867 arg4
= (int)SWIG_As_int(obj3
);
4868 if (PyErr_Occurred()) SWIG_fail
;
4869 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxHtmlRenderingInfo
,
4870 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4873 PyErr_SetString(PyExc_TypeError
,"null reference");
4877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4878 (arg1
)->DrawInvisible(*arg2
,arg3
,arg4
,*arg5
);
4880 wxPyEndAllowThreads(__tstate
);
4881 if (PyErr_Occurred()) SWIG_fail
;
4883 Py_INCREF(Py_None
); resultobj
= Py_None
;
4890 static PyObject
*_wrap_HtmlCell_Find(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4891 PyObject
*resultobj
;
4892 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4894 void *arg3
= (void *) 0 ;
4896 PyObject
* obj0
= 0 ;
4897 PyObject
* obj1
= 0 ;
4898 PyObject
* obj2
= 0 ;
4900 (char *) "self",(char *) "condition",(char *) "param", NULL
4903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlCell_Find",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4906 arg2
= (int)SWIG_As_int(obj1
);
4907 if (PyErr_Occurred()) SWIG_fail
;
4908 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4911 result
= (wxHtmlCell
*)(arg1
)->Find(arg2
,(void const *)arg3
);
4913 wxPyEndAllowThreads(__tstate
);
4914 if (PyErr_Occurred()) SWIG_fail
;
4916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
4923 static PyObject
*_wrap_HtmlCell_AdjustPagebreak(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4924 PyObject
*resultobj
;
4925 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4926 int *arg2
= (int *) 0 ;
4930 PyObject
* obj0
= 0 ;
4931 PyObject
* obj1
= 0 ;
4933 (char *) "self",(char *) "INOUT", NULL
4936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_AdjustPagebreak",kwnames
,&obj0
,&obj1
)) goto fail
;
4937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4940 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
4941 temp2
= SWIG_As_int(obj1
);
4942 if (PyErr_Occurred()) SWIG_fail
;
4948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4949 result
= (bool)(arg1
)->AdjustPagebreak(arg2
);
4951 wxPyEndAllowThreads(__tstate
);
4952 if (PyErr_Occurred()) SWIG_fail
;
4955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4957 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4958 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4965 static PyObject
*_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4966 PyObject
*resultobj
;
4967 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4969 PyObject
* obj0
= 0 ;
4970 PyObject
* obj1
= 0 ;
4972 (char *) "self",(char *) "can", NULL
4975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames
,&obj0
,&obj1
)) goto fail
;
4976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4978 arg2
= (bool)SWIG_As_bool(obj1
);
4979 if (PyErr_Occurred()) SWIG_fail
;
4981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4982 (arg1
)->SetCanLiveOnPagebreak(arg2
);
4984 wxPyEndAllowThreads(__tstate
);
4985 if (PyErr_Occurred()) SWIG_fail
;
4987 Py_INCREF(Py_None
); resultobj
= Py_None
;
4994 static PyObject
*_wrap_HtmlCell_IsLinebreakAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4995 PyObject
*resultobj
;
4996 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4998 PyObject
* obj0
= 0 ;
5000 (char *) "self", NULL
5003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_IsLinebreakAllowed",kwnames
,&obj0
)) goto fail
;
5004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
5005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5008 result
= (bool)((wxHtmlCell
const *)arg1
)->IsLinebreakAllowed();
5010 wxPyEndAllowThreads(__tstate
);
5011 if (PyErr_Occurred()) SWIG_fail
;
5014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5022 static PyObject
*_wrap_HtmlCell_IsTerminalCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5023 PyObject
*resultobj
;
5024 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5026 PyObject
* obj0
= 0 ;
5028 (char *) "self", NULL
5031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_IsTerminalCell",kwnames
,&obj0
)) goto fail
;
5032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
5033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5036 result
= (bool)((wxHtmlCell
const *)arg1
)->IsTerminalCell();
5038 wxPyEndAllowThreads(__tstate
);
5039 if (PyErr_Occurred()) SWIG_fail
;
5042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5050 static PyObject
*_wrap_HtmlCell_FindCellByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5051 PyObject
*resultobj
;
5052 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5055 unsigned int arg4
= (unsigned int) wxHTML_FIND_EXACT
;
5057 PyObject
* obj0
= 0 ;
5058 PyObject
* obj1
= 0 ;
5059 PyObject
* obj2
= 0 ;
5060 PyObject
* obj3
= 0 ;
5062 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
5065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
5067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5068 arg2
= (int)SWIG_As_int(obj1
);
5069 if (PyErr_Occurred()) SWIG_fail
;
5070 arg3
= (int)SWIG_As_int(obj2
);
5071 if (PyErr_Occurred()) SWIG_fail
;
5073 arg4
= (unsigned int)SWIG_As_unsigned_SS_int(obj3
);
5074 if (PyErr_Occurred()) SWIG_fail
;
5077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5078 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->FindCellByPos(arg2
,arg3
,arg4
);
5080 wxPyEndAllowThreads(__tstate
);
5081 if (PyErr_Occurred()) SWIG_fail
;
5083 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
5090 static PyObject
*_wrap_HtmlCell_GetAbsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5091 PyObject
*resultobj
;
5092 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5094 PyObject
* obj0
= 0 ;
5096 (char *) "self", NULL
5099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetAbsPos",kwnames
,&obj0
)) goto fail
;
5100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
5101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5104 result
= ((wxHtmlCell
const *)arg1
)->GetAbsPos();
5106 wxPyEndAllowThreads(__tstate
);
5107 if (PyErr_Occurred()) SWIG_fail
;
5110 wxPoint
* resultptr
;
5111 resultptr
= new wxPoint((wxPoint
&) result
);
5112 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5120 static PyObject
*_wrap_HtmlCell_GetFirstTerminal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5121 PyObject
*resultobj
;
5122 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5124 PyObject
* obj0
= 0 ;
5126 (char *) "self", NULL
5129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetFirstTerminal",kwnames
,&obj0
)) goto fail
;
5130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
5131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5134 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetFirstTerminal();
5136 wxPyEndAllowThreads(__tstate
);
5137 if (PyErr_Occurred()) SWIG_fail
;
5139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
5146 static PyObject
*_wrap_HtmlCell_GetLastTerminal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5147 PyObject
*resultobj
;
5148 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5150 PyObject
* obj0
= 0 ;
5152 (char *) "self", NULL
5155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetLastTerminal",kwnames
,&obj0
)) goto fail
;
5156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
5157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5160 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetLastTerminal();
5162 wxPyEndAllowThreads(__tstate
);
5163 if (PyErr_Occurred()) SWIG_fail
;
5165 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
5172 static PyObject
*_wrap_HtmlCell_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5173 PyObject
*resultobj
;
5174 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5175 unsigned int result
;
5176 PyObject
* obj0
= 0 ;
5178 (char *) "self", NULL
5181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetDepth",kwnames
,&obj0
)) goto fail
;
5182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
5183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5186 result
= (unsigned int)((wxHtmlCell
const *)arg1
)->GetDepth();
5188 wxPyEndAllowThreads(__tstate
);
5189 if (PyErr_Occurred()) SWIG_fail
;
5191 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
5198 static PyObject
*_wrap_HtmlCell_IsBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5199 PyObject
*resultobj
;
5200 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5201 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
5203 PyObject
* obj0
= 0 ;
5204 PyObject
* obj1
= 0 ;
5206 (char *) "self",(char *) "cell", NULL
5209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_IsBefore",kwnames
,&obj0
,&obj1
)) goto fail
;
5210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
5211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5212 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlCell
,
5213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5216 result
= (bool)((wxHtmlCell
const *)arg1
)->IsBefore(arg2
);
5218 wxPyEndAllowThreads(__tstate
);
5219 if (PyErr_Occurred()) SWIG_fail
;
5222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5230 static PyObject
*_wrap_HtmlCell_ConvertToText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5231 PyObject
*resultobj
;
5232 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5233 wxHtmlSelection
*arg2
= (wxHtmlSelection
*) 0 ;
5235 PyObject
* obj0
= 0 ;
5236 PyObject
* obj1
= 0 ;
5238 (char *) "self",(char *) "sel", NULL
5241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_ConvertToText",kwnames
,&obj0
,&obj1
)) goto fail
;
5242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
5243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5244 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlSelection
,
5245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5248 result
= ((wxHtmlCell
const *)arg1
)->ConvertToText(arg2
);
5250 wxPyEndAllowThreads(__tstate
);
5251 if (PyErr_Occurred()) SWIG_fail
;
5255 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5257 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5266 static PyObject
* HtmlCell_swigregister(PyObject
*, PyObject
*args
) {
5268 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5269 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlCell
, obj
);
5271 return Py_BuildValue((char *)"");
5273 static PyObject
*_wrap_new_HtmlWordCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5274 PyObject
*resultobj
;
5275 wxString
*arg1
= 0 ;
5277 wxHtmlWordCell
*result
;
5278 bool temp1
= false ;
5279 PyObject
* obj0
= 0 ;
5280 PyObject
* obj1
= 0 ;
5282 (char *) "word",(char *) "dc", NULL
5285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_HtmlWordCell",kwnames
,&obj0
,&obj1
)) goto fail
;
5287 arg1
= wxString_in_helper(obj0
);
5288 if (arg1
== NULL
) SWIG_fail
;
5291 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5292 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5295 PyErr_SetString(PyExc_TypeError
,"null reference");
5299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5300 result
= (wxHtmlWordCell
*)new wxHtmlWordCell((wxString
const &)*arg1
,*arg2
);
5302 wxPyEndAllowThreads(__tstate
);
5303 if (PyErr_Occurred()) SWIG_fail
;
5305 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlWordCell
, 1);
5320 static PyObject
* HtmlWordCell_swigregister(PyObject
*, PyObject
*args
) {
5322 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5323 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWordCell
, obj
);
5325 return Py_BuildValue((char *)"");
5327 static PyObject
*_wrap_new_HtmlContainerCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5328 PyObject
*resultobj
;
5329 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5330 wxHtmlContainerCell
*result
;
5331 PyObject
* obj0
= 0 ;
5333 (char *) "parent", NULL
5336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_HtmlContainerCell",kwnames
,&obj0
)) goto fail
;
5337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5341 result
= (wxHtmlContainerCell
*)new wxHtmlContainerCell(arg1
);
5343 wxPyEndAllowThreads(__tstate
);
5344 if (PyErr_Occurred()) SWIG_fail
;
5346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContainerCell
, 1);
5353 static PyObject
*_wrap_HtmlContainerCell_InsertCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5354 PyObject
*resultobj
;
5355 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5356 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
5357 PyObject
* obj0
= 0 ;
5358 PyObject
* obj1
= 0 ;
5360 (char *) "self",(char *) "cell", NULL
5363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_InsertCell",kwnames
,&obj0
,&obj1
)) goto fail
;
5364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5366 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlCell
,
5367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5370 (arg1
)->InsertCell(arg2
);
5372 wxPyEndAllowThreads(__tstate
);
5373 if (PyErr_Occurred()) SWIG_fail
;
5375 Py_INCREF(Py_None
); resultobj
= Py_None
;
5382 static PyObject
*_wrap_HtmlContainerCell_SetAlignHor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5383 PyObject
*resultobj
;
5384 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5386 PyObject
* obj0
= 0 ;
5387 PyObject
* obj1
= 0 ;
5389 (char *) "self",(char *) "al", NULL
5392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames
,&obj0
,&obj1
)) goto fail
;
5393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5395 arg2
= (int)SWIG_As_int(obj1
);
5396 if (PyErr_Occurred()) SWIG_fail
;
5398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5399 (arg1
)->SetAlignHor(arg2
);
5401 wxPyEndAllowThreads(__tstate
);
5402 if (PyErr_Occurred()) SWIG_fail
;
5404 Py_INCREF(Py_None
); resultobj
= Py_None
;
5411 static PyObject
*_wrap_HtmlContainerCell_GetAlignHor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5412 PyObject
*resultobj
;
5413 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5415 PyObject
* obj0
= 0 ;
5417 (char *) "self", NULL
5420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContainerCell_GetAlignHor",kwnames
,&obj0
)) goto fail
;
5421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5425 result
= (int)(arg1
)->GetAlignHor();
5427 wxPyEndAllowThreads(__tstate
);
5428 if (PyErr_Occurred()) SWIG_fail
;
5430 resultobj
= SWIG_From_int((int)result
);
5437 static PyObject
*_wrap_HtmlContainerCell_SetAlignVer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5438 PyObject
*resultobj
;
5439 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5441 PyObject
* obj0
= 0 ;
5442 PyObject
* obj1
= 0 ;
5444 (char *) "self",(char *) "al", NULL
5447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames
,&obj0
,&obj1
)) goto fail
;
5448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5450 arg2
= (int)SWIG_As_int(obj1
);
5451 if (PyErr_Occurred()) SWIG_fail
;
5453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5454 (arg1
)->SetAlignVer(arg2
);
5456 wxPyEndAllowThreads(__tstate
);
5457 if (PyErr_Occurred()) SWIG_fail
;
5459 Py_INCREF(Py_None
); resultobj
= Py_None
;
5466 static PyObject
*_wrap_HtmlContainerCell_GetAlignVer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5467 PyObject
*resultobj
;
5468 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5470 PyObject
* obj0
= 0 ;
5472 (char *) "self", NULL
5475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContainerCell_GetAlignVer",kwnames
,&obj0
)) goto fail
;
5476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5480 result
= (int)(arg1
)->GetAlignVer();
5482 wxPyEndAllowThreads(__tstate
);
5483 if (PyErr_Occurred()) SWIG_fail
;
5485 resultobj
= SWIG_From_int((int)result
);
5492 static PyObject
*_wrap_HtmlContainerCell_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5493 PyObject
*resultobj
;
5494 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5497 int arg4
= (int) wxHTML_UNITS_PIXELS
;
5498 PyObject
* obj0
= 0 ;
5499 PyObject
* obj1
= 0 ;
5500 PyObject
* obj2
= 0 ;
5501 PyObject
* obj3
= 0 ;
5503 (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
5506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5509 arg2
= (int)SWIG_As_int(obj1
);
5510 if (PyErr_Occurred()) SWIG_fail
;
5511 arg3
= (int)SWIG_As_int(obj2
);
5512 if (PyErr_Occurred()) SWIG_fail
;
5514 arg4
= (int)SWIG_As_int(obj3
);
5515 if (PyErr_Occurred()) SWIG_fail
;
5518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5519 (arg1
)->SetIndent(arg2
,arg3
,arg4
);
5521 wxPyEndAllowThreads(__tstate
);
5522 if (PyErr_Occurred()) SWIG_fail
;
5524 Py_INCREF(Py_None
); resultobj
= Py_None
;
5531 static PyObject
*_wrap_HtmlContainerCell_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5532 PyObject
*resultobj
;
5533 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5536 PyObject
* obj0
= 0 ;
5537 PyObject
* obj1
= 0 ;
5539 (char *) "self",(char *) "ind", NULL
5542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_GetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
5543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5545 arg2
= (int)SWIG_As_int(obj1
);
5546 if (PyErr_Occurred()) SWIG_fail
;
5548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5549 result
= (int)(arg1
)->GetIndent(arg2
);
5551 wxPyEndAllowThreads(__tstate
);
5552 if (PyErr_Occurred()) SWIG_fail
;
5554 resultobj
= SWIG_From_int((int)result
);
5561 static PyObject
*_wrap_HtmlContainerCell_GetIndentUnits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5562 PyObject
*resultobj
;
5563 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5566 PyObject
* obj0
= 0 ;
5567 PyObject
* obj1
= 0 ;
5569 (char *) "self",(char *) "ind", NULL
5572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames
,&obj0
,&obj1
)) goto fail
;
5573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5575 arg2
= (int)SWIG_As_int(obj1
);
5576 if (PyErr_Occurred()) SWIG_fail
;
5578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5579 result
= (int)(arg1
)->GetIndentUnits(arg2
);
5581 wxPyEndAllowThreads(__tstate
);
5582 if (PyErr_Occurred()) SWIG_fail
;
5584 resultobj
= SWIG_From_int((int)result
);
5591 static PyObject
*_wrap_HtmlContainerCell_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5592 PyObject
*resultobj
;
5593 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5594 wxHtmlTag
*arg2
= 0 ;
5595 PyObject
* obj0
= 0 ;
5596 PyObject
* obj1
= 0 ;
5598 (char *) "self",(char *) "tag", NULL
5601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
5602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5604 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlTag
,
5605 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5608 PyErr_SetString(PyExc_TypeError
,"null reference");
5612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5613 (arg1
)->SetAlign((wxHtmlTag
const &)*arg2
);
5615 wxPyEndAllowThreads(__tstate
);
5616 if (PyErr_Occurred()) SWIG_fail
;
5618 Py_INCREF(Py_None
); resultobj
= Py_None
;
5625 static PyObject
*_wrap_HtmlContainerCell_SetWidthFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5626 PyObject
*resultobj
;
5627 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5630 PyObject
* obj0
= 0 ;
5631 PyObject
* obj1
= 0 ;
5632 PyObject
* obj2
= 0 ;
5634 (char *) "self",(char *) "w",(char *) "units", NULL
5637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5640 arg2
= (int)SWIG_As_int(obj1
);
5641 if (PyErr_Occurred()) SWIG_fail
;
5642 arg3
= (int)SWIG_As_int(obj2
);
5643 if (PyErr_Occurred()) SWIG_fail
;
5645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5646 (arg1
)->SetWidthFloat(arg2
,arg3
);
5648 wxPyEndAllowThreads(__tstate
);
5649 if (PyErr_Occurred()) SWIG_fail
;
5651 Py_INCREF(Py_None
); resultobj
= Py_None
;
5658 static PyObject
*_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5659 PyObject
*resultobj
;
5660 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5661 wxHtmlTag
*arg2
= 0 ;
5662 PyObject
* obj0
= 0 ;
5663 PyObject
* obj1
= 0 ;
5665 (char *) "self",(char *) "tag", NULL
5668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames
,&obj0
,&obj1
)) goto fail
;
5669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5671 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlTag
,
5672 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5675 PyErr_SetString(PyExc_TypeError
,"null reference");
5679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5680 (arg1
)->SetWidthFloat((wxHtmlTag
const &)*arg2
);
5682 wxPyEndAllowThreads(__tstate
);
5683 if (PyErr_Occurred()) SWIG_fail
;
5685 Py_INCREF(Py_None
); resultobj
= Py_None
;
5692 static PyObject
*_wrap_HtmlContainerCell_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5693 PyObject
*resultobj
;
5694 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5696 int arg3
= (int) wxHTML_ALIGN_TOP
;
5697 PyObject
* obj0
= 0 ;
5698 PyObject
* obj1
= 0 ;
5699 PyObject
* obj2
= 0 ;
5701 (char *) "self",(char *) "h",(char *) "align", NULL
5704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5707 arg2
= (int)SWIG_As_int(obj1
);
5708 if (PyErr_Occurred()) SWIG_fail
;
5710 arg3
= (int)SWIG_As_int(obj2
);
5711 if (PyErr_Occurred()) SWIG_fail
;
5714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5715 (arg1
)->SetMinHeight(arg2
,arg3
);
5717 wxPyEndAllowThreads(__tstate
);
5718 if (PyErr_Occurred()) SWIG_fail
;
5720 Py_INCREF(Py_None
); resultobj
= Py_None
;
5727 static PyObject
*_wrap_HtmlContainerCell_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5728 PyObject
*resultobj
;
5729 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5730 wxColour
*arg2
= 0 ;
5732 PyObject
* obj0
= 0 ;
5733 PyObject
* obj1
= 0 ;
5735 (char *) "self",(char *) "clr", NULL
5738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5743 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5747 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
5749 wxPyEndAllowThreads(__tstate
);
5750 if (PyErr_Occurred()) SWIG_fail
;
5752 Py_INCREF(Py_None
); resultobj
= Py_None
;
5759 static PyObject
*_wrap_HtmlContainerCell_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5760 PyObject
*resultobj
;
5761 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5763 PyObject
* obj0
= 0 ;
5765 (char *) "self", NULL
5768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContainerCell_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
5769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5773 result
= (arg1
)->GetBackgroundColour();
5775 wxPyEndAllowThreads(__tstate
);
5776 if (PyErr_Occurred()) SWIG_fail
;
5779 wxColour
* resultptr
;
5780 resultptr
= new wxColour((wxColour
&) result
);
5781 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
5789 static PyObject
*_wrap_HtmlContainerCell_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5790 PyObject
*resultobj
;
5791 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5792 wxColour
*arg2
= 0 ;
5793 wxColour
*arg3
= 0 ;
5796 PyObject
* obj0
= 0 ;
5797 PyObject
* obj1
= 0 ;
5798 PyObject
* obj2
= 0 ;
5800 (char *) "self",(char *) "clr1",(char *) "clr2", NULL
5803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5808 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5812 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5816 (arg1
)->SetBorder((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
5818 wxPyEndAllowThreads(__tstate
);
5819 if (PyErr_Occurred()) SWIG_fail
;
5821 Py_INCREF(Py_None
); resultobj
= Py_None
;
5828 static PyObject
*_wrap_HtmlContainerCell_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5829 PyObject
*resultobj
;
5830 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5832 PyObject
* obj0
= 0 ;
5834 (char *) "self", NULL
5837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContainerCell_GetFirstChild",kwnames
,&obj0
)) goto fail
;
5838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5842 result
= (wxHtmlCell
*)(arg1
)->GetFirstChild();
5844 wxPyEndAllowThreads(__tstate
);
5845 if (PyErr_Occurred()) SWIG_fail
;
5847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
5854 static PyObject
* HtmlContainerCell_swigregister(PyObject
*, PyObject
*args
) {
5856 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5857 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContainerCell
, obj
);
5859 return Py_BuildValue((char *)"");
5861 static PyObject
*_wrap_new_HtmlColourCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5862 PyObject
*resultobj
;
5864 int arg2
= (int) wxHTML_CLR_FOREGROUND
;
5865 wxHtmlColourCell
*result
;
5867 PyObject
* obj0
= 0 ;
5868 PyObject
* obj1
= 0 ;
5870 (char *) "clr",(char *) "flags", NULL
5873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlColourCell",kwnames
,&obj0
,&obj1
)) goto fail
;
5874 if ((SWIG_ConvertPtr(obj0
,(void **)(&argp1
),SWIGTYPE_p_wxColour
,
5875 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
5878 arg2
= (int)SWIG_As_int(obj1
);
5879 if (PyErr_Occurred()) SWIG_fail
;
5882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5883 result
= (wxHtmlColourCell
*)new wxHtmlColourCell(arg1
,arg2
);
5885 wxPyEndAllowThreads(__tstate
);
5886 if (PyErr_Occurred()) SWIG_fail
;
5888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlColourCell
, 1);
5895 static PyObject
* HtmlColourCell_swigregister(PyObject
*, PyObject
*args
) {
5897 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5898 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlColourCell
, obj
);
5900 return Py_BuildValue((char *)"");
5902 static PyObject
*_wrap_new_HtmlFontCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5903 PyObject
*resultobj
;
5904 wxFont
*arg1
= (wxFont
*) 0 ;
5905 wxHtmlFontCell
*result
;
5906 PyObject
* obj0
= 0 ;
5908 (char *) "font", NULL
5911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_HtmlFontCell",kwnames
,&obj0
)) goto fail
;
5912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
5913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5916 result
= (wxHtmlFontCell
*)new wxHtmlFontCell(arg1
);
5918 wxPyEndAllowThreads(__tstate
);
5919 if (PyErr_Occurred()) SWIG_fail
;
5921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlFontCell
, 1);
5928 static PyObject
* HtmlFontCell_swigregister(PyObject
*, PyObject
*args
) {
5930 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5931 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlFontCell
, obj
);
5933 return Py_BuildValue((char *)"");
5935 static PyObject
*_wrap_new_HtmlWidgetCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5936 PyObject
*resultobj
;
5937 wxWindow
*arg1
= (wxWindow
*) 0 ;
5938 int arg2
= (int) 0 ;
5939 wxHtmlWidgetCell
*result
;
5940 PyObject
* obj0
= 0 ;
5941 PyObject
* obj1
= 0 ;
5943 (char *) "wnd",(char *) "w", NULL
5946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlWidgetCell",kwnames
,&obj0
,&obj1
)) goto fail
;
5947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5950 arg2
= (int)SWIG_As_int(obj1
);
5951 if (PyErr_Occurred()) SWIG_fail
;
5954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5955 result
= (wxHtmlWidgetCell
*)new wxHtmlWidgetCell(arg1
,arg2
);
5957 wxPyEndAllowThreads(__tstate
);
5958 if (PyErr_Occurred()) SWIG_fail
;
5960 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlWidgetCell
, 1);
5967 static PyObject
* HtmlWidgetCell_swigregister(PyObject
*, PyObject
*args
) {
5969 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5970 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWidgetCell
, obj
);
5972 return Py_BuildValue((char *)"");
5974 static PyObject
*_wrap_new_HtmlFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5975 PyObject
*resultobj
;
5976 wxPyHtmlFilter
*result
;
5981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlFilter",kwnames
)) goto fail
;
5983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5984 result
= (wxPyHtmlFilter
*)new wxPyHtmlFilter();
5986 wxPyEndAllowThreads(__tstate
);
5987 if (PyErr_Occurred()) SWIG_fail
;
5989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlFilter
, 1);
5996 static PyObject
*_wrap_HtmlFilter__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5997 PyObject
*resultobj
;
5998 wxPyHtmlFilter
*arg1
= (wxPyHtmlFilter
*) 0 ;
5999 PyObject
*arg2
= (PyObject
*) 0 ;
6000 PyObject
*arg3
= (PyObject
*) 0 ;
6001 PyObject
* obj0
= 0 ;
6002 PyObject
* obj1
= 0 ;
6003 PyObject
* obj2
= 0 ;
6005 (char *) "self",(char *) "self",(char *) "_class", NULL
6008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlFilter
,
6010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6015 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6017 wxPyEndAllowThreads(__tstate
);
6018 if (PyErr_Occurred()) SWIG_fail
;
6020 Py_INCREF(Py_None
); resultobj
= Py_None
;
6027 static PyObject
* HtmlFilter_swigregister(PyObject
*, PyObject
*args
) {
6029 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6030 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlFilter
, obj
);
6032 return Py_BuildValue((char *)"");
6034 static PyObject
*_wrap_new_HtmlWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6035 PyObject
*resultobj
;
6036 wxWindow
*arg1
= (wxWindow
*) 0 ;
6037 int arg2
= (int) -1 ;
6038 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6039 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6040 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6041 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6042 int arg5
= (int) wxHW_DEFAULT_STYLE
;
6043 wxString
const &arg6_defvalue
= wxPyHtmlWindowNameStr
;
6044 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6045 wxPyHtmlWindow
*result
;
6048 bool temp6
= false ;
6049 PyObject
* obj0
= 0 ;
6050 PyObject
* obj1
= 0 ;
6051 PyObject
* obj2
= 0 ;
6052 PyObject
* obj3
= 0 ;
6053 PyObject
* obj4
= 0 ;
6054 PyObject
* obj5
= 0 ;
6056 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6063 arg2
= (int)SWIG_As_int(obj1
);
6064 if (PyErr_Occurred()) SWIG_fail
;
6069 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6075 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6079 arg5
= (int)SWIG_As_int(obj4
);
6080 if (PyErr_Occurred()) SWIG_fail
;
6084 arg6
= wxString_in_helper(obj5
);
6085 if (arg6
== NULL
) SWIG_fail
;
6090 if (!wxPyCheckForApp()) SWIG_fail
;
6091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6092 result
= (wxPyHtmlWindow
*)new wxPyHtmlWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6094 wxPyEndAllowThreads(__tstate
);
6095 if (PyErr_Occurred()) SWIG_fail
;
6097 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlWindow
, 1);
6112 static PyObject
*_wrap_new_PreHtmlWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6113 PyObject
*resultobj
;
6114 wxPyHtmlWindow
*result
;
6119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlWindow",kwnames
)) goto fail
;
6121 if (!wxPyCheckForApp()) SWIG_fail
;
6122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6123 result
= (wxPyHtmlWindow
*)new wxPyHtmlWindow();
6125 wxPyEndAllowThreads(__tstate
);
6126 if (PyErr_Occurred()) SWIG_fail
;
6128 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlWindow
, 1);
6135 static PyObject
*_wrap_HtmlWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6136 PyObject
*resultobj
;
6137 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6138 wxWindow
*arg2
= (wxWindow
*) 0 ;
6139 int arg3
= (int) -1 ;
6140 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6141 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6142 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6143 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6144 int arg6
= (int) wxHW_SCROLLBAR_AUTO
;
6145 wxString
const &arg7_defvalue
= wxPyHtmlWindowNameStr
;
6146 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6150 bool temp7
= false ;
6151 PyObject
* obj0
= 0 ;
6152 PyObject
* obj1
= 0 ;
6153 PyObject
* obj2
= 0 ;
6154 PyObject
* obj3
= 0 ;
6155 PyObject
* obj4
= 0 ;
6156 PyObject
* obj5
= 0 ;
6157 PyObject
* obj6
= 0 ;
6159 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6165 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6168 arg3
= (int)SWIG_As_int(obj2
);
6169 if (PyErr_Occurred()) SWIG_fail
;
6174 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6180 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6184 arg6
= (int)SWIG_As_int(obj5
);
6185 if (PyErr_Occurred()) SWIG_fail
;
6189 arg7
= wxString_in_helper(obj6
);
6190 if (arg7
== NULL
) SWIG_fail
;
6195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6196 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6198 wxPyEndAllowThreads(__tstate
);
6199 if (PyErr_Occurred()) SWIG_fail
;
6202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6218 static PyObject
*_wrap_HtmlWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6219 PyObject
*resultobj
;
6220 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6221 PyObject
*arg2
= (PyObject
*) 0 ;
6222 PyObject
*arg3
= (PyObject
*) 0 ;
6223 PyObject
* obj0
= 0 ;
6224 PyObject
* obj1
= 0 ;
6225 PyObject
* obj2
= 0 ;
6227 (char *) "self",(char *) "self",(char *) "_class", NULL
6230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6237 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6239 wxPyEndAllowThreads(__tstate
);
6240 if (PyErr_Occurred()) SWIG_fail
;
6242 Py_INCREF(Py_None
); resultobj
= Py_None
;
6249 static PyObject
*_wrap_HtmlWindow_SetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6250 PyObject
*resultobj
;
6251 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6252 wxString
*arg2
= 0 ;
6254 bool temp2
= false ;
6255 PyObject
* obj0
= 0 ;
6256 PyObject
* obj1
= 0 ;
6258 (char *) "self",(char *) "source", NULL
6261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
6262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6265 arg2
= wxString_in_helper(obj1
);
6266 if (arg2
== NULL
) SWIG_fail
;
6270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6271 result
= (bool)(arg1
)->SetPage((wxString
const &)*arg2
);
6273 wxPyEndAllowThreads(__tstate
);
6274 if (PyErr_Occurred()) SWIG_fail
;
6277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6293 static PyObject
*_wrap_HtmlWindow_LoadPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6294 PyObject
*resultobj
;
6295 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6296 wxString
*arg2
= 0 ;
6298 bool temp2
= false ;
6299 PyObject
* obj0
= 0 ;
6300 PyObject
* obj1
= 0 ;
6302 (char *) "self",(char *) "location", NULL
6305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_LoadPage",kwnames
,&obj0
,&obj1
)) goto fail
;
6306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6309 arg2
= wxString_in_helper(obj1
);
6310 if (arg2
== NULL
) SWIG_fail
;
6314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6315 result
= (bool)(arg1
)->LoadPage((wxString
const &)*arg2
);
6317 wxPyEndAllowThreads(__tstate
);
6318 if (PyErr_Occurred()) SWIG_fail
;
6321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6337 static PyObject
*_wrap_HtmlWindow_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6338 PyObject
*resultobj
;
6339 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6340 wxString
*arg2
= 0 ;
6342 bool temp2
= false ;
6343 PyObject
* obj0
= 0 ;
6344 PyObject
* obj1
= 0 ;
6346 (char *) "self",(char *) "filename", NULL
6349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6353 arg2
= wxString_in_helper(obj1
);
6354 if (arg2
== NULL
) SWIG_fail
;
6358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6359 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
6361 wxPyEndAllowThreads(__tstate
);
6362 if (PyErr_Occurred()) SWIG_fail
;
6365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6381 static PyObject
*_wrap_HtmlWindow_AppendToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6382 PyObject
*resultobj
;
6383 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6384 wxString
*arg2
= 0 ;
6386 bool temp2
= false ;
6387 PyObject
* obj0
= 0 ;
6388 PyObject
* obj1
= 0 ;
6390 (char *) "self",(char *) "source", NULL
6393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_AppendToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
6394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6397 arg2
= wxString_in_helper(obj1
);
6398 if (arg2
== NULL
) SWIG_fail
;
6402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6403 result
= (bool)(arg1
)->AppendToPage((wxString
const &)*arg2
);
6405 wxPyEndAllowThreads(__tstate
);
6406 if (PyErr_Occurred()) SWIG_fail
;
6409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6425 static PyObject
*_wrap_HtmlWindow_GetOpenedPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6426 PyObject
*resultobj
;
6427 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6429 PyObject
* obj0
= 0 ;
6431 (char *) "self", NULL
6434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetOpenedPage",kwnames
,&obj0
)) goto fail
;
6435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6439 result
= (arg1
)->GetOpenedPage();
6441 wxPyEndAllowThreads(__tstate
);
6442 if (PyErr_Occurred()) SWIG_fail
;
6446 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6448 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6457 static PyObject
*_wrap_HtmlWindow_GetOpenedAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6458 PyObject
*resultobj
;
6459 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6461 PyObject
* obj0
= 0 ;
6463 (char *) "self", NULL
6466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetOpenedAnchor",kwnames
,&obj0
)) goto fail
;
6467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6471 result
= (arg1
)->GetOpenedAnchor();
6473 wxPyEndAllowThreads(__tstate
);
6474 if (PyErr_Occurred()) SWIG_fail
;
6478 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6480 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6489 static PyObject
*_wrap_HtmlWindow_GetOpenedPageTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6490 PyObject
*resultobj
;
6491 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6493 PyObject
* obj0
= 0 ;
6495 (char *) "self", NULL
6498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetOpenedPageTitle",kwnames
,&obj0
)) goto fail
;
6499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6503 result
= (arg1
)->GetOpenedPageTitle();
6505 wxPyEndAllowThreads(__tstate
);
6506 if (PyErr_Occurred()) SWIG_fail
;
6510 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6512 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6521 static PyObject
*_wrap_HtmlWindow_SetRelatedFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6522 PyObject
*resultobj
;
6523 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6524 wxFrame
*arg2
= (wxFrame
*) 0 ;
6525 wxString
*arg3
= 0 ;
6526 bool temp3
= false ;
6527 PyObject
* obj0
= 0 ;
6528 PyObject
* obj1
= 0 ;
6529 PyObject
* obj2
= 0 ;
6531 (char *) "self",(char *) "frame",(char *) "format", NULL
6534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6537 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
6538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6540 arg3
= wxString_in_helper(obj2
);
6541 if (arg3
== NULL
) SWIG_fail
;
6545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6546 (arg1
)->SetRelatedFrame(arg2
,(wxString
const &)*arg3
);
6548 wxPyEndAllowThreads(__tstate
);
6549 if (PyErr_Occurred()) SWIG_fail
;
6551 Py_INCREF(Py_None
); resultobj
= Py_None
;
6566 static PyObject
*_wrap_HtmlWindow_GetRelatedFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6567 PyObject
*resultobj
;
6568 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6570 PyObject
* obj0
= 0 ;
6572 (char *) "self", NULL
6575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetRelatedFrame",kwnames
,&obj0
)) goto fail
;
6576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6580 result
= (wxFrame
*)(arg1
)->GetRelatedFrame();
6582 wxPyEndAllowThreads(__tstate
);
6583 if (PyErr_Occurred()) SWIG_fail
;
6586 resultobj
= wxPyMake_wxObject(result
, 0);
6594 static PyObject
*_wrap_HtmlWindow_SetRelatedStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6595 PyObject
*resultobj
;
6596 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6598 PyObject
* obj0
= 0 ;
6599 PyObject
* obj1
= 0 ;
6601 (char *) "self",(char *) "bar", NULL
6604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
6605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6607 arg2
= (int)SWIG_As_int(obj1
);
6608 if (PyErr_Occurred()) SWIG_fail
;
6610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6611 (arg1
)->SetRelatedStatusBar(arg2
);
6613 wxPyEndAllowThreads(__tstate
);
6614 if (PyErr_Occurred()) SWIG_fail
;
6616 Py_INCREF(Py_None
); resultobj
= Py_None
;
6623 static PyObject
*_wrap_HtmlWindow_SetFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6624 PyObject
*resultobj
;
6625 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6628 PyObject
*arg4
= (PyObject
*) NULL
;
6629 PyObject
* obj0
= 0 ;
6630 PyObject
* obj1
= 0 ;
6631 PyObject
* obj2
= 0 ;
6632 PyObject
* obj3
= 0 ;
6634 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
6637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6641 wxString
* sptr
= wxString_in_helper(obj1
);
6642 if (sptr
== NULL
) SWIG_fail
;
6647 wxString
* sptr
= wxString_in_helper(obj2
);
6648 if (sptr
== NULL
) SWIG_fail
;
6656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6657 wxPyHtmlWindow_SetFonts(arg1
,arg2
,arg3
,arg4
);
6659 wxPyEndAllowThreads(__tstate
);
6660 if (PyErr_Occurred()) SWIG_fail
;
6662 Py_INCREF(Py_None
); resultobj
= Py_None
;
6669 static PyObject
*_wrap_HtmlWindow_SetStandardFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6670 PyObject
*resultobj
;
6671 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6672 int arg2
= (int) -1 ;
6673 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6674 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6675 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6676 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6677 bool temp3
= false ;
6678 bool temp4
= false ;
6679 PyObject
* obj0
= 0 ;
6680 PyObject
* obj1
= 0 ;
6681 PyObject
* obj2
= 0 ;
6682 PyObject
* obj3
= 0 ;
6684 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
6687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlWindow_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6691 arg2
= (int)SWIG_As_int(obj1
);
6692 if (PyErr_Occurred()) SWIG_fail
;
6696 arg3
= wxString_in_helper(obj2
);
6697 if (arg3
== NULL
) SWIG_fail
;
6703 arg4
= wxString_in_helper(obj3
);
6704 if (arg4
== NULL
) SWIG_fail
;
6709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6710 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
6712 wxPyEndAllowThreads(__tstate
);
6713 if (PyErr_Occurred()) SWIG_fail
;
6715 Py_INCREF(Py_None
); resultobj
= Py_None
;
6738 static PyObject
*_wrap_HtmlWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6739 PyObject
*resultobj
;
6740 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6741 wxString
*arg2
= 0 ;
6742 bool temp2
= false ;
6743 PyObject
* obj0
= 0 ;
6744 PyObject
* obj1
= 0 ;
6746 (char *) "self",(char *) "title", NULL
6749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
6750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6753 arg2
= wxString_in_helper(obj1
);
6754 if (arg2
== NULL
) SWIG_fail
;
6758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6759 (arg1
)->SetTitle((wxString
const &)*arg2
);
6761 wxPyEndAllowThreads(__tstate
);
6762 if (PyErr_Occurred()) SWIG_fail
;
6764 Py_INCREF(Py_None
); resultobj
= Py_None
;
6779 static PyObject
*_wrap_HtmlWindow_SetBorders(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6780 PyObject
*resultobj
;
6781 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6783 PyObject
* obj0
= 0 ;
6784 PyObject
* obj1
= 0 ;
6786 (char *) "self",(char *) "b", NULL
6789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetBorders",kwnames
,&obj0
,&obj1
)) goto fail
;
6790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6792 arg2
= (int)SWIG_As_int(obj1
);
6793 if (PyErr_Occurred()) SWIG_fail
;
6795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6796 (arg1
)->SetBorders(arg2
);
6798 wxPyEndAllowThreads(__tstate
);
6799 if (PyErr_Occurred()) SWIG_fail
;
6801 Py_INCREF(Py_None
); resultobj
= Py_None
;
6808 static PyObject
*_wrap_HtmlWindow_ReadCustomization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6809 PyObject
*resultobj
;
6810 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6811 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
6812 wxString arg3
= (wxString
) wxPyEmptyString
;
6813 PyObject
* obj0
= 0 ;
6814 PyObject
* obj1
= 0 ;
6815 PyObject
* obj2
= 0 ;
6817 (char *) "self",(char *) "cfg",(char *) "path", NULL
6820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6823 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
6824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6827 wxString
* sptr
= wxString_in_helper(obj2
);
6828 if (sptr
== NULL
) SWIG_fail
;
6834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6835 (arg1
)->ReadCustomization(arg2
,arg3
);
6837 wxPyEndAllowThreads(__tstate
);
6838 if (PyErr_Occurred()) SWIG_fail
;
6840 Py_INCREF(Py_None
); resultobj
= Py_None
;
6847 static PyObject
*_wrap_HtmlWindow_WriteCustomization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6848 PyObject
*resultobj
;
6849 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6850 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
6851 wxString arg3
= (wxString
) wxPyEmptyString
;
6852 PyObject
* obj0
= 0 ;
6853 PyObject
* obj1
= 0 ;
6854 PyObject
* obj2
= 0 ;
6856 (char *) "self",(char *) "cfg",(char *) "path", NULL
6859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6862 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
6863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6866 wxString
* sptr
= wxString_in_helper(obj2
);
6867 if (sptr
== NULL
) SWIG_fail
;
6873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6874 (arg1
)->WriteCustomization(arg2
,arg3
);
6876 wxPyEndAllowThreads(__tstate
);
6877 if (PyErr_Occurred()) SWIG_fail
;
6879 Py_INCREF(Py_None
); resultobj
= Py_None
;
6886 static PyObject
*_wrap_HtmlWindow_HistoryBack(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6887 PyObject
*resultobj
;
6888 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6890 PyObject
* obj0
= 0 ;
6892 (char *) "self", NULL
6895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_HistoryBack",kwnames
,&obj0
)) goto fail
;
6896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6900 result
= (bool)(arg1
)->HistoryBack();
6902 wxPyEndAllowThreads(__tstate
);
6903 if (PyErr_Occurred()) SWIG_fail
;
6906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6914 static PyObject
*_wrap_HtmlWindow_HistoryForward(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6915 PyObject
*resultobj
;
6916 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6918 PyObject
* obj0
= 0 ;
6920 (char *) "self", NULL
6923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_HistoryForward",kwnames
,&obj0
)) goto fail
;
6924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6928 result
= (bool)(arg1
)->HistoryForward();
6930 wxPyEndAllowThreads(__tstate
);
6931 if (PyErr_Occurred()) SWIG_fail
;
6934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6942 static PyObject
*_wrap_HtmlWindow_HistoryCanBack(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6943 PyObject
*resultobj
;
6944 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6946 PyObject
* obj0
= 0 ;
6948 (char *) "self", NULL
6951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_HistoryCanBack",kwnames
,&obj0
)) goto fail
;
6952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6956 result
= (bool)(arg1
)->HistoryCanBack();
6958 wxPyEndAllowThreads(__tstate
);
6959 if (PyErr_Occurred()) SWIG_fail
;
6962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6970 static PyObject
*_wrap_HtmlWindow_HistoryCanForward(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6971 PyObject
*resultobj
;
6972 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6974 PyObject
* obj0
= 0 ;
6976 (char *) "self", NULL
6979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_HistoryCanForward",kwnames
,&obj0
)) goto fail
;
6980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6984 result
= (bool)(arg1
)->HistoryCanForward();
6986 wxPyEndAllowThreads(__tstate
);
6987 if (PyErr_Occurred()) SWIG_fail
;
6990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6998 static PyObject
*_wrap_HtmlWindow_HistoryClear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6999 PyObject
*resultobj
;
7000 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7001 PyObject
* obj0
= 0 ;
7003 (char *) "self", NULL
7006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_HistoryClear",kwnames
,&obj0
)) goto fail
;
7007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
7008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7011 (arg1
)->HistoryClear();
7013 wxPyEndAllowThreads(__tstate
);
7014 if (PyErr_Occurred()) SWIG_fail
;
7016 Py_INCREF(Py_None
); resultobj
= Py_None
;
7023 static PyObject
*_wrap_HtmlWindow_GetInternalRepresentation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7024 PyObject
*resultobj
;
7025 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7026 wxHtmlContainerCell
*result
;
7027 PyObject
* obj0
= 0 ;
7029 (char *) "self", NULL
7032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetInternalRepresentation",kwnames
,&obj0
)) goto fail
;
7033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
7034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7037 result
= (wxHtmlContainerCell
*)(arg1
)->GetInternalRepresentation();
7039 wxPyEndAllowThreads(__tstate
);
7040 if (PyErr_Occurred()) SWIG_fail
;
7042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0);
7049 static PyObject
*_wrap_HtmlWindow_GetParser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7050 PyObject
*resultobj
;
7051 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7052 wxHtmlWinParser
*result
;
7053 PyObject
* obj0
= 0 ;
7055 (char *) "self", NULL
7058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetParser",kwnames
,&obj0
)) goto fail
;
7059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
7060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7063 result
= (wxHtmlWinParser
*)(arg1
)->GetParser();
7065 wxPyEndAllowThreads(__tstate
);
7066 if (PyErr_Occurred()) SWIG_fail
;
7068 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlWinParser
, 0);
7075 static PyObject
*_wrap_HtmlWindow_ScrollToAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7076 PyObject
*resultobj
;
7077 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7078 wxString
*arg2
= 0 ;
7080 bool temp2
= false ;
7081 PyObject
* obj0
= 0 ;
7082 PyObject
* obj1
= 0 ;
7084 (char *) "self",(char *) "anchor", NULL
7087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
7088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
7089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7091 arg2
= wxString_in_helper(obj1
);
7092 if (arg2
== NULL
) SWIG_fail
;
7096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7097 result
= (bool)(arg1
)->ScrollToAnchor((wxString
const &)*arg2
);
7099 wxPyEndAllowThreads(__tstate
);
7100 if (PyErr_Occurred()) SWIG_fail
;
7103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7119 static PyObject
*_wrap_HtmlWindow_HasAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7120 PyObject
*resultobj
;
7121 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7122 wxString
*arg2
= 0 ;
7124 bool temp2
= false ;
7125 PyObject
* obj0
= 0 ;
7126 PyObject
* obj1
= 0 ;
7128 (char *) "self",(char *) "anchor", NULL
7131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_HasAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
7132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
7133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7135 arg2
= wxString_in_helper(obj1
);
7136 if (arg2
== NULL
) SWIG_fail
;
7140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7141 result
= (bool)(arg1
)->HasAnchor((wxString
const &)*arg2
);
7143 wxPyEndAllowThreads(__tstate
);
7144 if (PyErr_Occurred()) SWIG_fail
;
7147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7163 static PyObject
*_wrap_HtmlWindow_AddFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7164 PyObject
*resultobj
;
7165 wxPyHtmlFilter
*arg1
= (wxPyHtmlFilter
*) 0 ;
7166 PyObject
* obj0
= 0 ;
7168 (char *) "filter", NULL
7171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_AddFilter",kwnames
,&obj0
)) goto fail
;
7172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlFilter
,
7173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7176 wxPyHtmlWindow::AddFilter(arg1
);
7178 wxPyEndAllowThreads(__tstate
);
7179 if (PyErr_Occurred()) SWIG_fail
;
7181 Py_INCREF(Py_None
); resultobj
= Py_None
;
7188 static PyObject
*_wrap_HtmlWindow_SelectWord(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7189 PyObject
*resultobj
;
7190 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7193 PyObject
* obj0
= 0 ;
7194 PyObject
* obj1
= 0 ;
7196 (char *) "self",(char *) "pos", NULL
7199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SelectWord",kwnames
,&obj0
,&obj1
)) goto fail
;
7200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
7201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7204 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7208 (arg1
)->SelectWord((wxPoint
const &)*arg2
);
7210 wxPyEndAllowThreads(__tstate
);
7211 if (PyErr_Occurred()) SWIG_fail
;
7213 Py_INCREF(Py_None
); resultobj
= Py_None
;
7220 static PyObject
*_wrap_HtmlWindow_SelectLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7221 PyObject
*resultobj
;
7222 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7225 PyObject
* obj0
= 0 ;
7226 PyObject
* obj1
= 0 ;
7228 (char *) "self",(char *) "pos", NULL
7231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SelectLine",kwnames
,&obj0
,&obj1
)) goto fail
;
7232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
7233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7236 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7240 (arg1
)->SelectLine((wxPoint
const &)*arg2
);
7242 wxPyEndAllowThreads(__tstate
);
7243 if (PyErr_Occurred()) SWIG_fail
;
7245 Py_INCREF(Py_None
); resultobj
= Py_None
;
7252 static PyObject
*_wrap_HtmlWindow_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7253 PyObject
*resultobj
;
7254 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7255 PyObject
* obj0
= 0 ;
7257 (char *) "self", NULL
7260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_SelectAll",kwnames
,&obj0
)) goto fail
;
7261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
7262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7265 (arg1
)->SelectAll();
7267 wxPyEndAllowThreads(__tstate
);
7268 if (PyErr_Occurred()) SWIG_fail
;
7270 Py_INCREF(Py_None
); resultobj
= Py_None
;
7277 static PyObject
*_wrap_HtmlWindow_SelectionToText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7278 PyObject
*resultobj
;
7279 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7281 PyObject
* obj0
= 0 ;
7283 (char *) "self", NULL
7286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_SelectionToText",kwnames
,&obj0
)) goto fail
;
7287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
7288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7291 result
= (arg1
)->SelectionToText();
7293 wxPyEndAllowThreads(__tstate
);
7294 if (PyErr_Occurred()) SWIG_fail
;
7298 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7300 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7309 static PyObject
*_wrap_HtmlWindow_ToText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7310 PyObject
*resultobj
;
7311 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7313 PyObject
* obj0
= 0 ;
7315 (char *) "self", NULL
7318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_ToText",kwnames
,&obj0
)) goto fail
;
7319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
7320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7323 result
= (arg1
)->ToText();
7325 wxPyEndAllowThreads(__tstate
);
7326 if (PyErr_Occurred()) SWIG_fail
;
7330 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7332 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7341 static PyObject
*_wrap_HtmlWindow_base_OnLinkClicked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7342 PyObject
*resultobj
;
7343 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7344 wxHtmlLinkInfo
*arg2
= 0 ;
7345 PyObject
* obj0
= 0 ;
7346 PyObject
* obj1
= 0 ;
7348 (char *) "self",(char *) "link", NULL
7351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_base_OnLinkClicked",kwnames
,&obj0
,&obj1
)) goto fail
;
7352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
7353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7354 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlLinkInfo
,
7355 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7358 PyErr_SetString(PyExc_TypeError
,"null reference");
7362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7363 (arg1
)->base_OnLinkClicked((wxHtmlLinkInfo
const &)*arg2
);
7365 wxPyEndAllowThreads(__tstate
);
7366 if (PyErr_Occurred()) SWIG_fail
;
7368 Py_INCREF(Py_None
); resultobj
= Py_None
;
7375 static PyObject
*_wrap_HtmlWindow_base_OnSetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7376 PyObject
*resultobj
;
7377 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7378 wxString
*arg2
= 0 ;
7379 bool temp2
= false ;
7380 PyObject
* obj0
= 0 ;
7381 PyObject
* obj1
= 0 ;
7383 (char *) "self",(char *) "title", NULL
7386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_base_OnSetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
7387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
7388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7390 arg2
= wxString_in_helper(obj1
);
7391 if (arg2
== NULL
) SWIG_fail
;
7395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7396 (arg1
)->base_OnSetTitle((wxString
const &)*arg2
);
7398 wxPyEndAllowThreads(__tstate
);
7399 if (PyErr_Occurred()) SWIG_fail
;
7401 Py_INCREF(Py_None
); resultobj
= Py_None
;
7416 static PyObject
*_wrap_HtmlWindow_base_OnCellMouseHover(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7417 PyObject
*resultobj
;
7418 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7419 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
7422 PyObject
* obj0
= 0 ;
7423 PyObject
* obj1
= 0 ;
7424 PyObject
* obj2
= 0 ;
7425 PyObject
* obj3
= 0 ;
7427 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
7430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HtmlWindow_base_OnCellMouseHover",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
7432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7433 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlCell
,
7434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7435 arg3
= (int)SWIG_As_int(obj2
);
7436 if (PyErr_Occurred()) SWIG_fail
;
7437 arg4
= (int)SWIG_As_int(obj3
);
7438 if (PyErr_Occurred()) SWIG_fail
;
7440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7441 (arg1
)->base_OnCellMouseHover(arg2
,arg3
,arg4
);
7443 wxPyEndAllowThreads(__tstate
);
7444 if (PyErr_Occurred()) SWIG_fail
;
7446 Py_INCREF(Py_None
); resultobj
= Py_None
;
7453 static PyObject
*_wrap_HtmlWindow_base_OnCellClicked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7454 PyObject
*resultobj
;
7455 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7456 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
7459 wxMouseEvent
*arg5
= 0 ;
7460 PyObject
* obj0
= 0 ;
7461 PyObject
* obj1
= 0 ;
7462 PyObject
* obj2
= 0 ;
7463 PyObject
* obj3
= 0 ;
7464 PyObject
* obj4
= 0 ;
7466 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
7469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlWindow_base_OnCellClicked",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
7471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7472 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlCell
,
7473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7474 arg3
= (int)SWIG_As_int(obj2
);
7475 if (PyErr_Occurred()) SWIG_fail
;
7476 arg4
= (int)SWIG_As_int(obj3
);
7477 if (PyErr_Occurred()) SWIG_fail
;
7478 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMouseEvent
,
7479 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7482 PyErr_SetString(PyExc_TypeError
,"null reference");
7486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7487 (arg1
)->base_OnCellClicked(arg2
,arg3
,arg4
,(wxMouseEvent
const &)*arg5
);
7489 wxPyEndAllowThreads(__tstate
);
7490 if (PyErr_Occurred()) SWIG_fail
;
7492 Py_INCREF(Py_None
); resultobj
= Py_None
;
7499 static PyObject
*_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7500 PyObject
*resultobj
;
7501 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
7502 wxVisualAttributes result
;
7503 PyObject
* obj0
= 0 ;
7505 (char *) "variant", NULL
7508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7510 arg1
= (int)SWIG_As_int(obj0
);
7511 if (PyErr_Occurred()) SWIG_fail
;
7514 if (!wxPyCheckForApp()) SWIG_fail
;
7515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7516 result
= wxPyHtmlWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
7518 wxPyEndAllowThreads(__tstate
);
7519 if (PyErr_Occurred()) SWIG_fail
;
7522 wxVisualAttributes
* resultptr
;
7523 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
7524 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7532 static PyObject
* HtmlWindow_swigregister(PyObject
*, PyObject
*args
) {
7534 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7535 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWindow
, obj
);
7537 return Py_BuildValue((char *)"");
7539 static PyObject
*_wrap_new_HtmlDCRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7540 PyObject
*resultobj
;
7541 wxHtmlDCRenderer
*result
;
7546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlDCRenderer",kwnames
)) goto fail
;
7548 if (!wxPyCheckForApp()) SWIG_fail
;
7549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7550 result
= (wxHtmlDCRenderer
*)new wxHtmlDCRenderer();
7552 wxPyEndAllowThreads(__tstate
);
7553 if (PyErr_Occurred()) SWIG_fail
;
7555 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlDCRenderer
, 1);
7562 static PyObject
*_wrap_delete_HtmlDCRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7563 PyObject
*resultobj
;
7564 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
7565 PyObject
* obj0
= 0 ;
7567 (char *) "self", NULL
7570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlDCRenderer",kwnames
,&obj0
)) goto fail
;
7571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlDCRenderer
,
7572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7577 wxPyEndAllowThreads(__tstate
);
7578 if (PyErr_Occurred()) SWIG_fail
;
7580 Py_INCREF(Py_None
); resultobj
= Py_None
;
7587 static PyObject
*_wrap_HtmlDCRenderer_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7588 PyObject
*resultobj
;
7589 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
7590 wxDC
*arg2
= (wxDC
*) 0 ;
7592 PyObject
* obj0
= 0 ;
7593 PyObject
* obj1
= 0 ;
7594 PyObject
* obj2
= 0 ;
7596 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
7599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlDCRenderer
,
7601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7602 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
7603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7604 arg3
= (int)SWIG_As_int(obj2
);
7605 if (PyErr_Occurred()) SWIG_fail
;
7607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7608 (arg1
)->SetDC(arg2
,arg3
);
7610 wxPyEndAllowThreads(__tstate
);
7611 if (PyErr_Occurred()) SWIG_fail
;
7613 Py_INCREF(Py_None
); resultobj
= Py_None
;
7620 static PyObject
*_wrap_HtmlDCRenderer_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7621 PyObject
*resultobj
;
7622 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
7625 PyObject
* obj0
= 0 ;
7626 PyObject
* obj1
= 0 ;
7627 PyObject
* obj2
= 0 ;
7629 (char *) "self",(char *) "width",(char *) "height", NULL
7632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlDCRenderer
,
7634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7635 arg2
= (int)SWIG_As_int(obj1
);
7636 if (PyErr_Occurred()) SWIG_fail
;
7637 arg3
= (int)SWIG_As_int(obj2
);
7638 if (PyErr_Occurred()) SWIG_fail
;
7640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7641 (arg1
)->SetSize(arg2
,arg3
);
7643 wxPyEndAllowThreads(__tstate
);
7644 if (PyErr_Occurred()) SWIG_fail
;
7646 Py_INCREF(Py_None
); resultobj
= Py_None
;
7653 static PyObject
*_wrap_HtmlDCRenderer_SetHtmlText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7654 PyObject
*resultobj
;
7655 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
7656 wxString
*arg2
= 0 ;
7657 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7658 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7659 bool arg4
= (bool) true ;
7660 bool temp2
= false ;
7661 bool temp3
= false ;
7662 PyObject
* obj0
= 0 ;
7663 PyObject
* obj1
= 0 ;
7664 PyObject
* obj2
= 0 ;
7665 PyObject
* obj3
= 0 ;
7667 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
7670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlDCRenderer
,
7672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7674 arg2
= wxString_in_helper(obj1
);
7675 if (arg2
== NULL
) SWIG_fail
;
7680 arg3
= wxString_in_helper(obj2
);
7681 if (arg3
== NULL
) SWIG_fail
;
7686 arg4
= (bool)SWIG_As_bool(obj3
);
7687 if (PyErr_Occurred()) SWIG_fail
;
7690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7691 (arg1
)->SetHtmlText((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
7693 wxPyEndAllowThreads(__tstate
);
7694 if (PyErr_Occurred()) SWIG_fail
;
7696 Py_INCREF(Py_None
); resultobj
= Py_None
;
7719 static PyObject
*_wrap_HtmlDCRenderer_SetFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7720 PyObject
*resultobj
;
7721 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
7724 PyObject
*arg4
= (PyObject
*) NULL
;
7725 PyObject
* obj0
= 0 ;
7726 PyObject
* obj1
= 0 ;
7727 PyObject
* obj2
= 0 ;
7728 PyObject
* obj3
= 0 ;
7730 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
7733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlDCRenderer
,
7735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7737 wxString
* sptr
= wxString_in_helper(obj1
);
7738 if (sptr
== NULL
) SWIG_fail
;
7743 wxString
* sptr
= wxString_in_helper(obj2
);
7744 if (sptr
== NULL
) SWIG_fail
;
7752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7753 wxHtmlDCRenderer_SetFonts(arg1
,arg2
,arg3
,arg4
);
7755 wxPyEndAllowThreads(__tstate
);
7756 if (PyErr_Occurred()) SWIG_fail
;
7758 Py_INCREF(Py_None
); resultobj
= Py_None
;
7765 static PyObject
*_wrap_HtmlDCRenderer_SetStandardFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7766 PyObject
*resultobj
;
7767 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
7768 int arg2
= (int) -1 ;
7769 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7770 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7771 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7772 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7773 bool temp3
= false ;
7774 bool temp4
= false ;
7775 PyObject
* obj0
= 0 ;
7776 PyObject
* obj1
= 0 ;
7777 PyObject
* obj2
= 0 ;
7778 PyObject
* obj3
= 0 ;
7780 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
7783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlDCRenderer_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlDCRenderer
,
7785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7787 arg2
= (int)SWIG_As_int(obj1
);
7788 if (PyErr_Occurred()) SWIG_fail
;
7792 arg3
= wxString_in_helper(obj2
);
7793 if (arg3
== NULL
) SWIG_fail
;
7799 arg4
= wxString_in_helper(obj3
);
7800 if (arg4
== NULL
) SWIG_fail
;
7805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7806 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
7808 wxPyEndAllowThreads(__tstate
);
7809 if (PyErr_Occurred()) SWIG_fail
;
7811 Py_INCREF(Py_None
); resultobj
= Py_None
;
7834 static PyObject
*_wrap_HtmlDCRenderer_Render(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7835 PyObject
*resultobj
;
7836 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
7839 int arg4
= (int) 0 ;
7840 int arg5
= (int) false ;
7841 int arg6
= (int) INT_MAX
;
7842 int *arg7
= (int *) NULL
;
7843 int arg8
= (int) 0 ;
7845 PyObject
* obj0
= 0 ;
7846 PyObject
* obj1
= 0 ;
7847 PyObject
* obj2
= 0 ;
7848 PyObject
* obj3
= 0 ;
7849 PyObject
* obj4
= 0 ;
7850 PyObject
* obj5
= 0 ;
7851 PyObject
* obj6
= 0 ;
7852 PyObject
* obj7
= 0 ;
7854 (char *) "self",(char *) "x",(char *) "y",(char *) "from",(char *) "dont_render",(char *) "to",(char *) "choices",(char *) "LCOUNT", NULL
7857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:HtmlDCRenderer_Render",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlDCRenderer
,
7859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7860 arg2
= (int)SWIG_As_int(obj1
);
7861 if (PyErr_Occurred()) SWIG_fail
;
7862 arg3
= (int)SWIG_As_int(obj2
);
7863 if (PyErr_Occurred()) SWIG_fail
;
7865 arg4
= (int)SWIG_As_int(obj3
);
7866 if (PyErr_Occurred()) SWIG_fail
;
7869 arg5
= (int)SWIG_As_int(obj4
);
7870 if (PyErr_Occurred()) SWIG_fail
;
7873 arg6
= (int)SWIG_As_int(obj5
);
7874 if (PyErr_Occurred()) SWIG_fail
;
7877 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_int
,
7878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7881 arg8
= (int)SWIG_As_int(obj7
);
7882 if (PyErr_Occurred()) SWIG_fail
;
7885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7886 result
= (int)(arg1
)->Render(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
7888 wxPyEndAllowThreads(__tstate
);
7889 if (PyErr_Occurred()) SWIG_fail
;
7891 resultobj
= SWIG_From_int((int)result
);
7898 static PyObject
*_wrap_HtmlDCRenderer_GetTotalHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7899 PyObject
*resultobj
;
7900 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
7902 PyObject
* obj0
= 0 ;
7904 (char *) "self", NULL
7907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlDCRenderer_GetTotalHeight",kwnames
,&obj0
)) goto fail
;
7908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlDCRenderer
,
7909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7912 result
= (int)(arg1
)->GetTotalHeight();
7914 wxPyEndAllowThreads(__tstate
);
7915 if (PyErr_Occurred()) SWIG_fail
;
7917 resultobj
= SWIG_From_int((int)result
);
7924 static PyObject
* HtmlDCRenderer_swigregister(PyObject
*, PyObject
*args
) {
7926 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7927 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlDCRenderer
, obj
);
7929 return Py_BuildValue((char *)"");
7931 static PyObject
*_wrap_new_HtmlPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7932 PyObject
*resultobj
;
7933 wxString
const &arg1_defvalue
= wxPyHtmlPrintoutTitleStr
;
7934 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
7935 wxHtmlPrintout
*result
;
7936 bool temp1
= false ;
7937 PyObject
* obj0
= 0 ;
7939 (char *) "title", NULL
7942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_HtmlPrintout",kwnames
,&obj0
)) goto fail
;
7945 arg1
= wxString_in_helper(obj0
);
7946 if (arg1
== NULL
) SWIG_fail
;
7951 if (!wxPyCheckForApp()) SWIG_fail
;
7952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7953 result
= (wxHtmlPrintout
*)new wxHtmlPrintout((wxString
const &)*arg1
);
7955 wxPyEndAllowThreads(__tstate
);
7956 if (PyErr_Occurred()) SWIG_fail
;
7958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlPrintout
, 1);
7973 static PyObject
*_wrap_HtmlPrintout_SetHtmlText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7974 PyObject
*resultobj
;
7975 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
7976 wxString
*arg2
= 0 ;
7977 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7978 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7979 bool arg4
= (bool) true ;
7980 bool temp2
= false ;
7981 bool temp3
= false ;
7982 PyObject
* obj0
= 0 ;
7983 PyObject
* obj1
= 0 ;
7984 PyObject
* obj2
= 0 ;
7985 PyObject
* obj3
= 0 ;
7987 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
7990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlPrintout
,
7992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7994 arg2
= wxString_in_helper(obj1
);
7995 if (arg2
== NULL
) SWIG_fail
;
8000 arg3
= wxString_in_helper(obj2
);
8001 if (arg3
== NULL
) SWIG_fail
;
8006 arg4
= (bool)SWIG_As_bool(obj3
);
8007 if (PyErr_Occurred()) SWIG_fail
;
8010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8011 (arg1
)->SetHtmlText((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
8013 wxPyEndAllowThreads(__tstate
);
8014 if (PyErr_Occurred()) SWIG_fail
;
8016 Py_INCREF(Py_None
); resultobj
= Py_None
;
8039 static PyObject
*_wrap_HtmlPrintout_SetHtmlFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8040 PyObject
*resultobj
;
8041 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
8042 wxString
*arg2
= 0 ;
8043 bool temp2
= false ;
8044 PyObject
* obj0
= 0 ;
8045 PyObject
* obj1
= 0 ;
8047 (char *) "self",(char *) "htmlfile", NULL
8050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlPrintout
,
8052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8054 arg2
= wxString_in_helper(obj1
);
8055 if (arg2
== NULL
) SWIG_fail
;
8059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8060 (arg1
)->SetHtmlFile((wxString
const &)*arg2
);
8062 wxPyEndAllowThreads(__tstate
);
8063 if (PyErr_Occurred()) SWIG_fail
;
8065 Py_INCREF(Py_None
); resultobj
= Py_None
;
8080 static PyObject
*_wrap_HtmlPrintout_SetHeader(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8081 PyObject
*resultobj
;
8082 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
8083 wxString
*arg2
= 0 ;
8084 int arg3
= (int) wxPAGE_ALL
;
8085 bool temp2
= false ;
8086 PyObject
* obj0
= 0 ;
8087 PyObject
* obj1
= 0 ;
8088 PyObject
* obj2
= 0 ;
8090 (char *) "self",(char *) "header",(char *) "pg", NULL
8093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlPrintout
,
8095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8097 arg2
= wxString_in_helper(obj1
);
8098 if (arg2
== NULL
) SWIG_fail
;
8102 arg3
= (int)SWIG_As_int(obj2
);
8103 if (PyErr_Occurred()) SWIG_fail
;
8106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8107 (arg1
)->SetHeader((wxString
const &)*arg2
,arg3
);
8109 wxPyEndAllowThreads(__tstate
);
8110 if (PyErr_Occurred()) SWIG_fail
;
8112 Py_INCREF(Py_None
); resultobj
= Py_None
;
8127 static PyObject
*_wrap_HtmlPrintout_SetFooter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8128 PyObject
*resultobj
;
8129 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
8130 wxString
*arg2
= 0 ;
8131 int arg3
= (int) wxPAGE_ALL
;
8132 bool temp2
= false ;
8133 PyObject
* obj0
= 0 ;
8134 PyObject
* obj1
= 0 ;
8135 PyObject
* obj2
= 0 ;
8137 (char *) "self",(char *) "footer",(char *) "pg", NULL
8140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlPrintout
,
8142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8144 arg2
= wxString_in_helper(obj1
);
8145 if (arg2
== NULL
) SWIG_fail
;
8149 arg3
= (int)SWIG_As_int(obj2
);
8150 if (PyErr_Occurred()) SWIG_fail
;
8153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8154 (arg1
)->SetFooter((wxString
const &)*arg2
,arg3
);
8156 wxPyEndAllowThreads(__tstate
);
8157 if (PyErr_Occurred()) SWIG_fail
;
8159 Py_INCREF(Py_None
); resultobj
= Py_None
;
8174 static PyObject
*_wrap_HtmlPrintout_SetFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8175 PyObject
*resultobj
;
8176 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
8179 PyObject
*arg4
= (PyObject
*) NULL
;
8180 PyObject
* obj0
= 0 ;
8181 PyObject
* obj1
= 0 ;
8182 PyObject
* obj2
= 0 ;
8183 PyObject
* obj3
= 0 ;
8185 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
8188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlPrintout
,
8190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8192 wxString
* sptr
= wxString_in_helper(obj1
);
8193 if (sptr
== NULL
) SWIG_fail
;
8198 wxString
* sptr
= wxString_in_helper(obj2
);
8199 if (sptr
== NULL
) SWIG_fail
;
8207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8208 wxHtmlPrintout_SetFonts(arg1
,arg2
,arg3
,arg4
);
8210 wxPyEndAllowThreads(__tstate
);
8211 if (PyErr_Occurred()) SWIG_fail
;
8213 Py_INCREF(Py_None
); resultobj
= Py_None
;
8220 static PyObject
*_wrap_HtmlPrintout_SetStandardFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8221 PyObject
*resultobj
;
8222 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
8223 int arg2
= (int) -1 ;
8224 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8225 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8226 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8227 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8228 bool temp3
= false ;
8229 bool temp4
= false ;
8230 PyObject
* obj0
= 0 ;
8231 PyObject
* obj1
= 0 ;
8232 PyObject
* obj2
= 0 ;
8233 PyObject
* obj3
= 0 ;
8235 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
8238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlPrintout_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlPrintout
,
8240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8242 arg2
= (int)SWIG_As_int(obj1
);
8243 if (PyErr_Occurred()) SWIG_fail
;
8247 arg3
= wxString_in_helper(obj2
);
8248 if (arg3
== NULL
) SWIG_fail
;
8254 arg4
= wxString_in_helper(obj3
);
8255 if (arg4
== NULL
) SWIG_fail
;
8260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8261 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
8263 wxPyEndAllowThreads(__tstate
);
8264 if (PyErr_Occurred()) SWIG_fail
;
8266 Py_INCREF(Py_None
); resultobj
= Py_None
;
8289 static PyObject
*_wrap_HtmlPrintout_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8290 PyObject
*resultobj
;
8291 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
8292 float arg2
= (float) 25.2 ;
8293 float arg3
= (float) 25.2 ;
8294 float arg4
= (float) 25.2 ;
8295 float arg5
= (float) 25.2 ;
8296 float arg6
= (float) 5 ;
8297 PyObject
* obj0
= 0 ;
8298 PyObject
* obj1
= 0 ;
8299 PyObject
* obj2
= 0 ;
8300 PyObject
* obj3
= 0 ;
8301 PyObject
* obj4
= 0 ;
8302 PyObject
* obj5
= 0 ;
8304 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
8307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlPrintout
,
8309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8311 arg2
= (float)SWIG_As_float(obj1
);
8312 if (PyErr_Occurred()) SWIG_fail
;
8315 arg3
= (float)SWIG_As_float(obj2
);
8316 if (PyErr_Occurred()) SWIG_fail
;
8319 arg4
= (float)SWIG_As_float(obj3
);
8320 if (PyErr_Occurred()) SWIG_fail
;
8323 arg5
= (float)SWIG_As_float(obj4
);
8324 if (PyErr_Occurred()) SWIG_fail
;
8327 arg6
= (float)SWIG_As_float(obj5
);
8328 if (PyErr_Occurred()) SWIG_fail
;
8331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8332 (arg1
)->SetMargins(arg2
,arg3
,arg4
,arg5
,arg6
);
8334 wxPyEndAllowThreads(__tstate
);
8335 if (PyErr_Occurred()) SWIG_fail
;
8337 Py_INCREF(Py_None
); resultobj
= Py_None
;
8344 static PyObject
*_wrap_HtmlPrintout_AddFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8345 PyObject
*resultobj
;
8346 wxHtmlFilter
*arg1
= (wxHtmlFilter
*) 0 ;
8347 PyObject
* obj0
= 0 ;
8349 (char *) "filter", NULL
8352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlPrintout_AddFilter",kwnames
,&obj0
)) goto fail
;
8353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlFilter
,
8354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8357 wxHtmlPrintout::AddFilter(arg1
);
8359 wxPyEndAllowThreads(__tstate
);
8360 if (PyErr_Occurred()) SWIG_fail
;
8362 Py_INCREF(Py_None
); resultobj
= Py_None
;
8369 static PyObject
*_wrap_HtmlPrintout_CleanUpStatics(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8370 PyObject
*resultobj
;
8375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HtmlPrintout_CleanUpStatics",kwnames
)) goto fail
;
8377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8378 wxHtmlPrintout::CleanUpStatics();
8380 wxPyEndAllowThreads(__tstate
);
8381 if (PyErr_Occurred()) SWIG_fail
;
8383 Py_INCREF(Py_None
); resultobj
= Py_None
;
8390 static PyObject
* HtmlPrintout_swigregister(PyObject
*, PyObject
*args
) {
8392 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8393 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlPrintout
, obj
);
8395 return Py_BuildValue((char *)"");
8397 static PyObject
*_wrap_new_HtmlEasyPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8398 PyObject
*resultobj
;
8399 wxString
const &arg1_defvalue
= wxPyHtmlPrintingTitleStr
;
8400 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
8401 wxWindow
*arg2
= (wxWindow
*) NULL
;
8402 wxHtmlEasyPrinting
*result
;
8403 bool temp1
= false ;
8404 PyObject
* obj0
= 0 ;
8405 PyObject
* obj1
= 0 ;
8407 (char *) "name",(char *) "parentWindow", NULL
8410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_HtmlEasyPrinting",kwnames
,&obj0
,&obj1
)) goto fail
;
8413 arg1
= wxString_in_helper(obj0
);
8414 if (arg1
== NULL
) SWIG_fail
;
8419 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8423 if (!wxPyCheckForApp()) SWIG_fail
;
8424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8425 result
= (wxHtmlEasyPrinting
*)new wxHtmlEasyPrinting((wxString
const &)*arg1
,arg2
);
8427 wxPyEndAllowThreads(__tstate
);
8428 if (PyErr_Occurred()) SWIG_fail
;
8430 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlEasyPrinting
, 1);
8445 static PyObject
*_wrap_delete_HtmlEasyPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8446 PyObject
*resultobj
;
8447 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
8448 PyObject
* obj0
= 0 ;
8450 (char *) "self", NULL
8453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlEasyPrinting",kwnames
,&obj0
)) goto fail
;
8454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlEasyPrinting
,
8455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8460 wxPyEndAllowThreads(__tstate
);
8461 if (PyErr_Occurred()) SWIG_fail
;
8463 Py_INCREF(Py_None
); resultobj
= Py_None
;
8470 static PyObject
*_wrap_HtmlEasyPrinting_PreviewFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8471 PyObject
*resultobj
;
8472 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
8473 wxString
*arg2
= 0 ;
8474 bool temp2
= false ;
8475 PyObject
* obj0
= 0 ;
8476 PyObject
* obj1
= 0 ;
8478 (char *) "self",(char *) "htmlfile", NULL
8481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlEasyPrinting
,
8483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8485 arg2
= wxString_in_helper(obj1
);
8486 if (arg2
== NULL
) SWIG_fail
;
8490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8491 (arg1
)->PreviewFile((wxString
const &)*arg2
);
8493 wxPyEndAllowThreads(__tstate
);
8494 if (PyErr_Occurred()) SWIG_fail
;
8496 Py_INCREF(Py_None
); resultobj
= Py_None
;
8511 static PyObject
*_wrap_HtmlEasyPrinting_PreviewText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8512 PyObject
*resultobj
;
8513 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
8514 wxString
*arg2
= 0 ;
8515 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8516 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8517 bool temp2
= false ;
8518 bool temp3
= false ;
8519 PyObject
* obj0
= 0 ;
8520 PyObject
* obj1
= 0 ;
8521 PyObject
* obj2
= 0 ;
8523 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
8526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlEasyPrinting
,
8528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8530 arg2
= wxString_in_helper(obj1
);
8531 if (arg2
== NULL
) SWIG_fail
;
8536 arg3
= wxString_in_helper(obj2
);
8537 if (arg3
== NULL
) SWIG_fail
;
8542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8543 (arg1
)->PreviewText((wxString
const &)*arg2
,(wxString
const &)*arg3
);
8545 wxPyEndAllowThreads(__tstate
);
8546 if (PyErr_Occurred()) SWIG_fail
;
8548 Py_INCREF(Py_None
); resultobj
= Py_None
;
8571 static PyObject
*_wrap_HtmlEasyPrinting_PrintFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8572 PyObject
*resultobj
;
8573 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
8574 wxString
*arg2
= 0 ;
8575 bool temp2
= false ;
8576 PyObject
* obj0
= 0 ;
8577 PyObject
* obj1
= 0 ;
8579 (char *) "self",(char *) "htmlfile", NULL
8582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlEasyPrinting
,
8584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8586 arg2
= wxString_in_helper(obj1
);
8587 if (arg2
== NULL
) SWIG_fail
;
8591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8592 (arg1
)->PrintFile((wxString
const &)*arg2
);
8594 wxPyEndAllowThreads(__tstate
);
8595 if (PyErr_Occurred()) SWIG_fail
;
8597 Py_INCREF(Py_None
); resultobj
= Py_None
;
8612 static PyObject
*_wrap_HtmlEasyPrinting_PrintText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8613 PyObject
*resultobj
;
8614 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
8615 wxString
*arg2
= 0 ;
8616 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8617 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8618 bool temp2
= false ;
8619 bool temp3
= false ;
8620 PyObject
* obj0
= 0 ;
8621 PyObject
* obj1
= 0 ;
8622 PyObject
* obj2
= 0 ;
8624 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
8627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlEasyPrinting
,
8629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8631 arg2
= wxString_in_helper(obj1
);
8632 if (arg2
== NULL
) SWIG_fail
;
8637 arg3
= wxString_in_helper(obj2
);
8638 if (arg3
== NULL
) SWIG_fail
;
8643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8644 (arg1
)->PrintText((wxString
const &)*arg2
,(wxString
const &)*arg3
);
8646 wxPyEndAllowThreads(__tstate
);
8647 if (PyErr_Occurred()) SWIG_fail
;
8649 Py_INCREF(Py_None
); resultobj
= Py_None
;
8672 static PyObject
*_wrap_HtmlEasyPrinting_PageSetup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8673 PyObject
*resultobj
;
8674 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
8675 PyObject
* obj0
= 0 ;
8677 (char *) "self", NULL
8680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlEasyPrinting_PageSetup",kwnames
,&obj0
)) goto fail
;
8681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlEasyPrinting
,
8682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8685 (arg1
)->PageSetup();
8687 wxPyEndAllowThreads(__tstate
);
8688 if (PyErr_Occurred()) SWIG_fail
;
8690 Py_INCREF(Py_None
); resultobj
= Py_None
;
8697 static PyObject
*_wrap_HtmlEasyPrinting_SetHeader(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8698 PyObject
*resultobj
;
8699 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
8700 wxString
*arg2
= 0 ;
8701 int arg3
= (int) wxPAGE_ALL
;
8702 bool temp2
= false ;
8703 PyObject
* obj0
= 0 ;
8704 PyObject
* obj1
= 0 ;
8705 PyObject
* obj2
= 0 ;
8707 (char *) "self",(char *) "header",(char *) "pg", NULL
8710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlEasyPrinting
,
8712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8714 arg2
= wxString_in_helper(obj1
);
8715 if (arg2
== NULL
) SWIG_fail
;
8719 arg3
= (int)SWIG_As_int(obj2
);
8720 if (PyErr_Occurred()) SWIG_fail
;
8723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8724 (arg1
)->SetHeader((wxString
const &)*arg2
,arg3
);
8726 wxPyEndAllowThreads(__tstate
);
8727 if (PyErr_Occurred()) SWIG_fail
;
8729 Py_INCREF(Py_None
); resultobj
= Py_None
;
8744 static PyObject
*_wrap_HtmlEasyPrinting_SetFooter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8745 PyObject
*resultobj
;
8746 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
8747 wxString
*arg2
= 0 ;
8748 int arg3
= (int) wxPAGE_ALL
;
8749 bool temp2
= false ;
8750 PyObject
* obj0
= 0 ;
8751 PyObject
* obj1
= 0 ;
8752 PyObject
* obj2
= 0 ;
8754 (char *) "self",(char *) "footer",(char *) "pg", NULL
8757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlEasyPrinting
,
8759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8761 arg2
= wxString_in_helper(obj1
);
8762 if (arg2
== NULL
) SWIG_fail
;
8766 arg3
= (int)SWIG_As_int(obj2
);
8767 if (PyErr_Occurred()) SWIG_fail
;
8770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8771 (arg1
)->SetFooter((wxString
const &)*arg2
,arg3
);
8773 wxPyEndAllowThreads(__tstate
);
8774 if (PyErr_Occurred()) SWIG_fail
;
8776 Py_INCREF(Py_None
); resultobj
= Py_None
;
8791 static PyObject
*_wrap_HtmlEasyPrinting_SetFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8792 PyObject
*resultobj
;
8793 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
8796 PyObject
*arg4
= (PyObject
*) NULL
;
8797 PyObject
* obj0
= 0 ;
8798 PyObject
* obj1
= 0 ;
8799 PyObject
* obj2
= 0 ;
8800 PyObject
* obj3
= 0 ;
8802 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
8805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlEasyPrinting
,
8807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8809 wxString
* sptr
= wxString_in_helper(obj1
);
8810 if (sptr
== NULL
) SWIG_fail
;
8815 wxString
* sptr
= wxString_in_helper(obj2
);
8816 if (sptr
== NULL
) SWIG_fail
;
8824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8825 wxHtmlEasyPrinting_SetFonts(arg1
,arg2
,arg3
,arg4
);
8827 wxPyEndAllowThreads(__tstate
);
8828 if (PyErr_Occurred()) SWIG_fail
;
8830 Py_INCREF(Py_None
); resultobj
= Py_None
;
8837 static PyObject
*_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8838 PyObject
*resultobj
;
8839 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
8840 int arg2
= (int) -1 ;
8841 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8842 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8843 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8844 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8845 bool temp3
= false ;
8846 bool temp4
= false ;
8847 PyObject
* obj0
= 0 ;
8848 PyObject
* obj1
= 0 ;
8849 PyObject
* obj2
= 0 ;
8850 PyObject
* obj3
= 0 ;
8852 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
8855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlEasyPrinting_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlEasyPrinting
,
8857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8859 arg2
= (int)SWIG_As_int(obj1
);
8860 if (PyErr_Occurred()) SWIG_fail
;
8864 arg3
= wxString_in_helper(obj2
);
8865 if (arg3
== NULL
) SWIG_fail
;
8871 arg4
= wxString_in_helper(obj3
);
8872 if (arg4
== NULL
) SWIG_fail
;
8877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8878 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
8880 wxPyEndAllowThreads(__tstate
);
8881 if (PyErr_Occurred()) SWIG_fail
;
8883 Py_INCREF(Py_None
); resultobj
= Py_None
;
8906 static PyObject
*_wrap_HtmlEasyPrinting_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8907 PyObject
*resultobj
;
8908 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
8909 wxPrintData
*result
;
8910 PyObject
* obj0
= 0 ;
8912 (char *) "self", NULL
8915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlEasyPrinting_GetPrintData",kwnames
,&obj0
)) goto fail
;
8916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlEasyPrinting
,
8917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8920 result
= (wxPrintData
*)(arg1
)->GetPrintData();
8922 wxPyEndAllowThreads(__tstate
);
8923 if (PyErr_Occurred()) SWIG_fail
;
8925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
8932 static PyObject
*_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8933 PyObject
*resultobj
;
8934 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
8935 wxPageSetupDialogData
*result
;
8936 PyObject
* obj0
= 0 ;
8938 (char *) "self", NULL
8941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlEasyPrinting_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
8942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlEasyPrinting
,
8943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8946 result
= (wxPageSetupDialogData
*)(arg1
)->GetPageSetupData();
8948 wxPyEndAllowThreads(__tstate
);
8949 if (PyErr_Occurred()) SWIG_fail
;
8951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
8958 static PyObject
* HtmlEasyPrinting_swigregister(PyObject
*, PyObject
*args
) {
8960 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8961 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlEasyPrinting
, obj
);
8963 return Py_BuildValue((char *)"");
8965 static PyObject
*_wrap_new_HtmlBookRecord(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8966 PyObject
*resultobj
;
8967 wxString
*arg1
= 0 ;
8968 wxString
*arg2
= 0 ;
8969 wxString
*arg3
= 0 ;
8970 wxString
*arg4
= 0 ;
8971 wxHtmlBookRecord
*result
;
8972 bool temp1
= false ;
8973 bool temp2
= false ;
8974 bool temp3
= false ;
8975 bool temp4
= false ;
8976 PyObject
* obj0
= 0 ;
8977 PyObject
* obj1
= 0 ;
8978 PyObject
* obj2
= 0 ;
8979 PyObject
* obj3
= 0 ;
8981 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
8984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_HtmlBookRecord",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8986 arg1
= wxString_in_helper(obj0
);
8987 if (arg1
== NULL
) SWIG_fail
;
8991 arg2
= wxString_in_helper(obj1
);
8992 if (arg2
== NULL
) SWIG_fail
;
8996 arg3
= wxString_in_helper(obj2
);
8997 if (arg3
== NULL
) SWIG_fail
;
9001 arg4
= wxString_in_helper(obj3
);
9002 if (arg4
== NULL
) SWIG_fail
;
9006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9007 result
= (wxHtmlBookRecord
*)new wxHtmlBookRecord((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
9009 wxPyEndAllowThreads(__tstate
);
9010 if (PyErr_Occurred()) SWIG_fail
;
9012 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlBookRecord
, 1);
9051 static PyObject
*_wrap_HtmlBookRecord_GetBookFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9052 PyObject
*resultobj
;
9053 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
9055 PyObject
* obj0
= 0 ;
9057 (char *) "self", NULL
9060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetBookFile",kwnames
,&obj0
)) goto fail
;
9061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlBookRecord
,
9062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9065 result
= (arg1
)->GetBookFile();
9067 wxPyEndAllowThreads(__tstate
);
9068 if (PyErr_Occurred()) SWIG_fail
;
9072 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9074 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9083 static PyObject
*_wrap_HtmlBookRecord_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9084 PyObject
*resultobj
;
9085 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
9087 PyObject
* obj0
= 0 ;
9089 (char *) "self", NULL
9092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetTitle",kwnames
,&obj0
)) goto fail
;
9093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlBookRecord
,
9094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9097 result
= (arg1
)->GetTitle();
9099 wxPyEndAllowThreads(__tstate
);
9100 if (PyErr_Occurred()) SWIG_fail
;
9104 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9106 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9115 static PyObject
*_wrap_HtmlBookRecord_GetStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9116 PyObject
*resultobj
;
9117 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
9119 PyObject
* obj0
= 0 ;
9121 (char *) "self", NULL
9124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetStart",kwnames
,&obj0
)) goto fail
;
9125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlBookRecord
,
9126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9129 result
= (arg1
)->GetStart();
9131 wxPyEndAllowThreads(__tstate
);
9132 if (PyErr_Occurred()) SWIG_fail
;
9136 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9138 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9147 static PyObject
*_wrap_HtmlBookRecord_GetBasePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9148 PyObject
*resultobj
;
9149 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
9151 PyObject
* obj0
= 0 ;
9153 (char *) "self", NULL
9156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetBasePath",kwnames
,&obj0
)) goto fail
;
9157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlBookRecord
,
9158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9161 result
= (arg1
)->GetBasePath();
9163 wxPyEndAllowThreads(__tstate
);
9164 if (PyErr_Occurred()) SWIG_fail
;
9168 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9170 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9179 static PyObject
*_wrap_HtmlBookRecord_SetContentsRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9180 PyObject
*resultobj
;
9181 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
9184 PyObject
* obj0
= 0 ;
9185 PyObject
* obj1
= 0 ;
9186 PyObject
* obj2
= 0 ;
9188 (char *) "self",(char *) "start",(char *) "end", NULL
9191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlBookRecord
,
9193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9194 arg2
= (int)SWIG_As_int(obj1
);
9195 if (PyErr_Occurred()) SWIG_fail
;
9196 arg3
= (int)SWIG_As_int(obj2
);
9197 if (PyErr_Occurred()) SWIG_fail
;
9199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9200 (arg1
)->SetContentsRange(arg2
,arg3
);
9202 wxPyEndAllowThreads(__tstate
);
9203 if (PyErr_Occurred()) SWIG_fail
;
9205 Py_INCREF(Py_None
); resultobj
= Py_None
;
9212 static PyObject
*_wrap_HtmlBookRecord_GetContentsStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9213 PyObject
*resultobj
;
9214 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
9216 PyObject
* obj0
= 0 ;
9218 (char *) "self", NULL
9221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetContentsStart",kwnames
,&obj0
)) goto fail
;
9222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlBookRecord
,
9223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9226 result
= (int)(arg1
)->GetContentsStart();
9228 wxPyEndAllowThreads(__tstate
);
9229 if (PyErr_Occurred()) SWIG_fail
;
9231 resultobj
= SWIG_From_int((int)result
);
9238 static PyObject
*_wrap_HtmlBookRecord_GetContentsEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9239 PyObject
*resultobj
;
9240 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
9242 PyObject
* obj0
= 0 ;
9244 (char *) "self", NULL
9247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetContentsEnd",kwnames
,&obj0
)) goto fail
;
9248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlBookRecord
,
9249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9252 result
= (int)(arg1
)->GetContentsEnd();
9254 wxPyEndAllowThreads(__tstate
);
9255 if (PyErr_Occurred()) SWIG_fail
;
9257 resultobj
= SWIG_From_int((int)result
);
9264 static PyObject
*_wrap_HtmlBookRecord_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9265 PyObject
*resultobj
;
9266 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
9267 wxString
*arg2
= 0 ;
9268 bool temp2
= false ;
9269 PyObject
* obj0
= 0 ;
9270 PyObject
* obj1
= 0 ;
9272 (char *) "self",(char *) "title", NULL
9275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
9276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlBookRecord
,
9277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9279 arg2
= wxString_in_helper(obj1
);
9280 if (arg2
== NULL
) SWIG_fail
;
9284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9285 (arg1
)->SetTitle((wxString
const &)*arg2
);
9287 wxPyEndAllowThreads(__tstate
);
9288 if (PyErr_Occurred()) SWIG_fail
;
9290 Py_INCREF(Py_None
); resultobj
= Py_None
;
9305 static PyObject
*_wrap_HtmlBookRecord_SetBasePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9306 PyObject
*resultobj
;
9307 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
9308 wxString
*arg2
= 0 ;
9309 bool temp2
= false ;
9310 PyObject
* obj0
= 0 ;
9311 PyObject
* obj1
= 0 ;
9313 (char *) "self",(char *) "path", NULL
9316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames
,&obj0
,&obj1
)) goto fail
;
9317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlBookRecord
,
9318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9320 arg2
= wxString_in_helper(obj1
);
9321 if (arg2
== NULL
) SWIG_fail
;
9325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9326 (arg1
)->SetBasePath((wxString
const &)*arg2
);
9328 wxPyEndAllowThreads(__tstate
);
9329 if (PyErr_Occurred()) SWIG_fail
;
9331 Py_INCREF(Py_None
); resultobj
= Py_None
;
9346 static PyObject
*_wrap_HtmlBookRecord_SetStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9347 PyObject
*resultobj
;
9348 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
9349 wxString
*arg2
= 0 ;
9350 bool temp2
= false ;
9351 PyObject
* obj0
= 0 ;
9352 PyObject
* obj1
= 0 ;
9354 (char *) "self",(char *) "start", NULL
9357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetStart",kwnames
,&obj0
,&obj1
)) goto fail
;
9358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlBookRecord
,
9359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9361 arg2
= wxString_in_helper(obj1
);
9362 if (arg2
== NULL
) SWIG_fail
;
9366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9367 (arg1
)->SetStart((wxString
const &)*arg2
);
9369 wxPyEndAllowThreads(__tstate
);
9370 if (PyErr_Occurred()) SWIG_fail
;
9372 Py_INCREF(Py_None
); resultobj
= Py_None
;
9387 static PyObject
*_wrap_HtmlBookRecord_GetFullPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9388 PyObject
*resultobj
;
9389 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
9390 wxString
*arg2
= 0 ;
9392 bool temp2
= false ;
9393 PyObject
* obj0
= 0 ;
9394 PyObject
* obj1
= 0 ;
9396 (char *) "self",(char *) "page", NULL
9399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames
,&obj0
,&obj1
)) goto fail
;
9400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlBookRecord
,
9401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9403 arg2
= wxString_in_helper(obj1
);
9404 if (arg2
== NULL
) SWIG_fail
;
9408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9409 result
= ((wxHtmlBookRecord
const *)arg1
)->GetFullPath((wxString
const &)*arg2
);
9411 wxPyEndAllowThreads(__tstate
);
9412 if (PyErr_Occurred()) SWIG_fail
;
9416 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9418 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9435 static PyObject
* HtmlBookRecord_swigregister(PyObject
*, PyObject
*args
) {
9437 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9438 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlBookRecord
, obj
);
9440 return Py_BuildValue((char *)"");
9442 static PyObject
*_wrap_HtmlContentsItem_GetLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9443 PyObject
*resultobj
;
9444 wxHtmlContentsItem
*arg1
= (wxHtmlContentsItem
*) 0 ;
9446 PyObject
* obj0
= 0 ;
9448 (char *) "self", NULL
9451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContentsItem_GetLevel",kwnames
,&obj0
)) goto fail
;
9452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContentsItem
,
9453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9456 result
= (int)wxHtmlContentsItem_GetLevel(arg1
);
9458 wxPyEndAllowThreads(__tstate
);
9459 if (PyErr_Occurred()) SWIG_fail
;
9461 resultobj
= SWIG_From_int((int)result
);
9468 static PyObject
*_wrap_HtmlContentsItem_GetID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9469 PyObject
*resultobj
;
9470 wxHtmlContentsItem
*arg1
= (wxHtmlContentsItem
*) 0 ;
9472 PyObject
* obj0
= 0 ;
9474 (char *) "self", NULL
9477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContentsItem_GetID",kwnames
,&obj0
)) goto fail
;
9478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContentsItem
,
9479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9482 result
= (int)wxHtmlContentsItem_GetID(arg1
);
9484 wxPyEndAllowThreads(__tstate
);
9485 if (PyErr_Occurred()) SWIG_fail
;
9487 resultobj
= SWIG_From_int((int)result
);
9494 static PyObject
*_wrap_HtmlContentsItem_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9495 PyObject
*resultobj
;
9496 wxHtmlContentsItem
*arg1
= (wxHtmlContentsItem
*) 0 ;
9498 PyObject
* obj0
= 0 ;
9500 (char *) "self", NULL
9503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContentsItem_GetName",kwnames
,&obj0
)) goto fail
;
9504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContentsItem
,
9505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9508 result
= wxHtmlContentsItem_GetName(arg1
);
9510 wxPyEndAllowThreads(__tstate
);
9511 if (PyErr_Occurred()) SWIG_fail
;
9515 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9517 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9526 static PyObject
*_wrap_HtmlContentsItem_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9527 PyObject
*resultobj
;
9528 wxHtmlContentsItem
*arg1
= (wxHtmlContentsItem
*) 0 ;
9530 PyObject
* obj0
= 0 ;
9532 (char *) "self", NULL
9535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContentsItem_GetPage",kwnames
,&obj0
)) goto fail
;
9536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContentsItem
,
9537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9540 result
= wxHtmlContentsItem_GetPage(arg1
);
9542 wxPyEndAllowThreads(__tstate
);
9543 if (PyErr_Occurred()) SWIG_fail
;
9547 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9549 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9558 static PyObject
*_wrap_HtmlContentsItem_GetBook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9559 PyObject
*resultobj
;
9560 wxHtmlContentsItem
*arg1
= (wxHtmlContentsItem
*) 0 ;
9561 wxHtmlBookRecord
*result
;
9562 PyObject
* obj0
= 0 ;
9564 (char *) "self", NULL
9567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContentsItem_GetBook",kwnames
,&obj0
)) goto fail
;
9568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContentsItem
,
9569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9572 result
= (wxHtmlBookRecord
*)wxHtmlContentsItem_GetBook(arg1
);
9574 wxPyEndAllowThreads(__tstate
);
9575 if (PyErr_Occurred()) SWIG_fail
;
9577 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlBookRecord
, 0);
9584 static PyObject
* HtmlContentsItem_swigregister(PyObject
*, PyObject
*args
) {
9586 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9587 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContentsItem
, obj
);
9589 return Py_BuildValue((char *)"");
9591 static PyObject
*_wrap_HtmlSearchStatus_Search(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9592 PyObject
*resultobj
;
9593 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
9595 PyObject
* obj0
= 0 ;
9597 (char *) "self", NULL
9600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_Search",kwnames
,&obj0
)) goto fail
;
9601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSearchStatus
,
9602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9605 result
= (bool)(arg1
)->Search();
9607 wxPyEndAllowThreads(__tstate
);
9608 if (PyErr_Occurred()) SWIG_fail
;
9611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9619 static PyObject
*_wrap_HtmlSearchStatus_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9620 PyObject
*resultobj
;
9621 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
9623 PyObject
* obj0
= 0 ;
9625 (char *) "self", NULL
9628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_IsActive",kwnames
,&obj0
)) goto fail
;
9629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSearchStatus
,
9630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9633 result
= (bool)(arg1
)->IsActive();
9635 wxPyEndAllowThreads(__tstate
);
9636 if (PyErr_Occurred()) SWIG_fail
;
9639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9647 static PyObject
*_wrap_HtmlSearchStatus_GetCurIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9648 PyObject
*resultobj
;
9649 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
9651 PyObject
* obj0
= 0 ;
9653 (char *) "self", NULL
9656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_GetCurIndex",kwnames
,&obj0
)) goto fail
;
9657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSearchStatus
,
9658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9661 result
= (int)(arg1
)->GetCurIndex();
9663 wxPyEndAllowThreads(__tstate
);
9664 if (PyErr_Occurred()) SWIG_fail
;
9666 resultobj
= SWIG_From_int((int)result
);
9673 static PyObject
*_wrap_HtmlSearchStatus_GetMaxIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9674 PyObject
*resultobj
;
9675 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
9677 PyObject
* obj0
= 0 ;
9679 (char *) "self", NULL
9682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_GetMaxIndex",kwnames
,&obj0
)) goto fail
;
9683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSearchStatus
,
9684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9687 result
= (int)(arg1
)->GetMaxIndex();
9689 wxPyEndAllowThreads(__tstate
);
9690 if (PyErr_Occurred()) SWIG_fail
;
9692 resultobj
= SWIG_From_int((int)result
);
9699 static PyObject
*_wrap_HtmlSearchStatus_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9700 PyObject
*resultobj
;
9701 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
9703 PyObject
* obj0
= 0 ;
9705 (char *) "self", NULL
9708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_GetName",kwnames
,&obj0
)) goto fail
;
9709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSearchStatus
,
9710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9714 wxString
const &_result_ref
= (arg1
)->GetName();
9715 result
= (wxString
*) &_result_ref
;
9718 wxPyEndAllowThreads(__tstate
);
9719 if (PyErr_Occurred()) SWIG_fail
;
9723 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9725 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9734 static PyObject
*_wrap_HtmlSearchStatus_GetContentsItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9735 PyObject
*resultobj
;
9736 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
9737 wxHtmlContentsItem
*result
;
9738 PyObject
* obj0
= 0 ;
9740 (char *) "self", NULL
9743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_GetContentsItem",kwnames
,&obj0
)) goto fail
;
9744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSearchStatus
,
9745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9748 result
= (wxHtmlContentsItem
*)(arg1
)->GetContentsItem();
9750 wxPyEndAllowThreads(__tstate
);
9751 if (PyErr_Occurred()) SWIG_fail
;
9753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContentsItem
, 0);
9760 static PyObject
* HtmlSearchStatus_swigregister(PyObject
*, PyObject
*args
) {
9762 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9763 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSearchStatus
, obj
);
9765 return Py_BuildValue((char *)"");
9767 static PyObject
*_wrap_new_HtmlHelpData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9768 PyObject
*resultobj
;
9769 wxHtmlHelpData
*result
;
9774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlHelpData",kwnames
)) goto fail
;
9776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9777 result
= (wxHtmlHelpData
*)new wxHtmlHelpData();
9779 wxPyEndAllowThreads(__tstate
);
9780 if (PyErr_Occurred()) SWIG_fail
;
9782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpData
, 1);
9789 static PyObject
*_wrap_delete_HtmlHelpData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9790 PyObject
*resultobj
;
9791 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
9792 PyObject
* obj0
= 0 ;
9794 (char *) "self", NULL
9797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlHelpData",kwnames
,&obj0
)) goto fail
;
9798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpData
,
9799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9804 wxPyEndAllowThreads(__tstate
);
9805 if (PyErr_Occurred()) SWIG_fail
;
9807 Py_INCREF(Py_None
); resultobj
= Py_None
;
9814 static PyObject
*_wrap_HtmlHelpData_SetTempDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9815 PyObject
*resultobj
;
9816 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
9817 wxString
*arg2
= 0 ;
9818 bool temp2
= false ;
9819 PyObject
* obj0
= 0 ;
9820 PyObject
* obj1
= 0 ;
9822 (char *) "self",(char *) "path", NULL
9825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_SetTempDir",kwnames
,&obj0
,&obj1
)) goto fail
;
9826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpData
,
9827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9829 arg2
= wxString_in_helper(obj1
);
9830 if (arg2
== NULL
) SWIG_fail
;
9834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9835 (arg1
)->SetTempDir((wxString
const &)*arg2
);
9837 wxPyEndAllowThreads(__tstate
);
9838 if (PyErr_Occurred()) SWIG_fail
;
9840 Py_INCREF(Py_None
); resultobj
= Py_None
;
9855 static PyObject
*_wrap_HtmlHelpData_AddBook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9856 PyObject
*resultobj
;
9857 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
9858 wxString
*arg2
= 0 ;
9860 bool temp2
= false ;
9861 PyObject
* obj0
= 0 ;
9862 PyObject
* obj1
= 0 ;
9864 (char *) "self",(char *) "book", NULL
9867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_AddBook",kwnames
,&obj0
,&obj1
)) goto fail
;
9868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpData
,
9869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9871 arg2
= wxString_in_helper(obj1
);
9872 if (arg2
== NULL
) SWIG_fail
;
9876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9877 result
= (bool)(arg1
)->AddBook((wxString
const &)*arg2
);
9879 wxPyEndAllowThreads(__tstate
);
9880 if (PyErr_Occurred()) SWIG_fail
;
9883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9899 static PyObject
*_wrap_HtmlHelpData_FindPageByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9900 PyObject
*resultobj
;
9901 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
9902 wxString
*arg2
= 0 ;
9904 bool temp2
= false ;
9905 PyObject
* obj0
= 0 ;
9906 PyObject
* obj1
= 0 ;
9908 (char *) "self",(char *) "page", NULL
9911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_FindPageByName",kwnames
,&obj0
,&obj1
)) goto fail
;
9912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpData
,
9913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9915 arg2
= wxString_in_helper(obj1
);
9916 if (arg2
== NULL
) SWIG_fail
;
9920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9921 result
= (arg1
)->FindPageByName((wxString
const &)*arg2
);
9923 wxPyEndAllowThreads(__tstate
);
9924 if (PyErr_Occurred()) SWIG_fail
;
9928 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9930 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9947 static PyObject
*_wrap_HtmlHelpData_FindPageById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9948 PyObject
*resultobj
;
9949 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
9952 PyObject
* obj0
= 0 ;
9953 PyObject
* obj1
= 0 ;
9955 (char *) "self",(char *) "id", NULL
9958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_FindPageById",kwnames
,&obj0
,&obj1
)) goto fail
;
9959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpData
,
9960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9961 arg2
= (int)SWIG_As_int(obj1
);
9962 if (PyErr_Occurred()) SWIG_fail
;
9964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9965 result
= (arg1
)->FindPageById(arg2
);
9967 wxPyEndAllowThreads(__tstate
);
9968 if (PyErr_Occurred()) SWIG_fail
;
9972 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9974 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9983 static PyObject
*_wrap_HtmlHelpData_GetBookRecArray(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9984 PyObject
*resultobj
;
9985 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
9986 wxHtmlBookRecArray
*result
;
9987 PyObject
* obj0
= 0 ;
9989 (char *) "self", NULL
9992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpData_GetBookRecArray",kwnames
,&obj0
)) goto fail
;
9993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpData
,
9994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9998 wxHtmlBookRecArray
const &_result_ref
= (arg1
)->GetBookRecArray();
9999 result
= (wxHtmlBookRecArray
*) &_result_ref
;
10002 wxPyEndAllowThreads(__tstate
);
10003 if (PyErr_Occurred()) SWIG_fail
;
10005 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlBookRecArray
, 0);
10012 static PyObject
*_wrap_HtmlHelpData_GetContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10013 PyObject
*resultobj
;
10014 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
10015 wxHtmlContentsItem
*result
;
10016 PyObject
* obj0
= 0 ;
10017 char *kwnames
[] = {
10018 (char *) "self", NULL
10021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpData_GetContents",kwnames
,&obj0
)) goto fail
;
10022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpData
,
10023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10026 result
= (wxHtmlContentsItem
*)(arg1
)->GetContents();
10028 wxPyEndAllowThreads(__tstate
);
10029 if (PyErr_Occurred()) SWIG_fail
;
10031 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContentsItem
, 0);
10038 static PyObject
*_wrap_HtmlHelpData_GetContentsCnt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10039 PyObject
*resultobj
;
10040 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
10042 PyObject
* obj0
= 0 ;
10043 char *kwnames
[] = {
10044 (char *) "self", NULL
10047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpData_GetContentsCnt",kwnames
,&obj0
)) goto fail
;
10048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpData
,
10049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10052 result
= (int)(arg1
)->GetContentsCnt();
10054 wxPyEndAllowThreads(__tstate
);
10055 if (PyErr_Occurred()) SWIG_fail
;
10057 resultobj
= SWIG_From_int((int)result
);
10064 static PyObject
*_wrap_HtmlHelpData_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10065 PyObject
*resultobj
;
10066 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
10067 wxHtmlContentsItem
*result
;
10068 PyObject
* obj0
= 0 ;
10069 char *kwnames
[] = {
10070 (char *) "self", NULL
10073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpData_GetIndex",kwnames
,&obj0
)) goto fail
;
10074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpData
,
10075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10078 result
= (wxHtmlContentsItem
*)(arg1
)->GetIndex();
10080 wxPyEndAllowThreads(__tstate
);
10081 if (PyErr_Occurred()) SWIG_fail
;
10083 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContentsItem
, 0);
10090 static PyObject
*_wrap_HtmlHelpData_GetIndexCnt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10091 PyObject
*resultobj
;
10092 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
10094 PyObject
* obj0
= 0 ;
10095 char *kwnames
[] = {
10096 (char *) "self", NULL
10099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpData_GetIndexCnt",kwnames
,&obj0
)) goto fail
;
10100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpData
,
10101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10104 result
= (int)(arg1
)->GetIndexCnt();
10106 wxPyEndAllowThreads(__tstate
);
10107 if (PyErr_Occurred()) SWIG_fail
;
10109 resultobj
= SWIG_From_int((int)result
);
10116 static PyObject
* HtmlHelpData_swigregister(PyObject
*, PyObject
*args
) {
10118 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10119 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpData
, obj
);
10121 return Py_BuildValue((char *)"");
10123 static PyObject
*_wrap_new_HtmlHelpFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10124 PyObject
*resultobj
;
10125 wxWindow
*arg1
= (wxWindow
*) 0 ;
10127 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10128 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10129 int arg4
= (int) wxHF_DEFAULTSTYLE
;
10130 wxHtmlHelpData
*arg5
= (wxHtmlHelpData
*) NULL
;
10131 wxHtmlHelpFrame
*result
;
10132 bool temp3
= false ;
10133 PyObject
* obj0
= 0 ;
10134 PyObject
* obj1
= 0 ;
10135 PyObject
* obj2
= 0 ;
10136 PyObject
* obj3
= 0 ;
10137 PyObject
* obj4
= 0 ;
10138 char *kwnames
[] = {
10139 (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL
10142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10145 arg2
= (int)SWIG_As_int(obj1
);
10146 if (PyErr_Occurred()) SWIG_fail
;
10149 arg3
= wxString_in_helper(obj2
);
10150 if (arg3
== NULL
) SWIG_fail
;
10155 arg4
= (int)SWIG_As_int(obj3
);
10156 if (PyErr_Occurred()) SWIG_fail
;
10159 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxHtmlHelpData
,
10160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10163 if (!wxPyCheckForApp()) SWIG_fail
;
10164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10165 result
= (wxHtmlHelpFrame
*)new wxHtmlHelpFrame(arg1
,arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
10167 wxPyEndAllowThreads(__tstate
);
10168 if (PyErr_Occurred()) SWIG_fail
;
10170 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpFrame
, 1);
10185 static PyObject
*_wrap_HtmlHelpFrame_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10186 PyObject
*resultobj
;
10187 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
10188 wxHtmlHelpData
*result
;
10189 PyObject
* obj0
= 0 ;
10190 char *kwnames
[] = {
10191 (char *) "self", NULL
10194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpFrame_GetData",kwnames
,&obj0
)) goto fail
;
10195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpFrame
,
10196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10199 result
= (wxHtmlHelpData
*)(arg1
)->GetData();
10201 wxPyEndAllowThreads(__tstate
);
10202 if (PyErr_Occurred()) SWIG_fail
;
10204 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpData
, 0);
10211 static PyObject
*_wrap_HtmlHelpFrame_SetTitleFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10212 PyObject
*resultobj
;
10213 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
10214 wxString
*arg2
= 0 ;
10215 bool temp2
= false ;
10216 PyObject
* obj0
= 0 ;
10217 PyObject
* obj1
= 0 ;
10218 char *kwnames
[] = {
10219 (char *) "self",(char *) "format", NULL
10222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
10223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpFrame
,
10224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10226 arg2
= wxString_in_helper(obj1
);
10227 if (arg2
== NULL
) SWIG_fail
;
10231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10232 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
10234 wxPyEndAllowThreads(__tstate
);
10235 if (PyErr_Occurred()) SWIG_fail
;
10237 Py_INCREF(Py_None
); resultobj
= Py_None
;
10252 static PyObject
*_wrap_HtmlHelpFrame_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10253 PyObject
*resultobj
;
10254 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
10255 wxString
*arg2
= 0 ;
10256 bool temp2
= false ;
10257 PyObject
* obj0
= 0 ;
10258 PyObject
* obj1
= 0 ;
10259 char *kwnames
[] = {
10260 (char *) "self",(char *) "x", NULL
10263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_Display",kwnames
,&obj0
,&obj1
)) goto fail
;
10264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpFrame
,
10265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10267 arg2
= wxString_in_helper(obj1
);
10268 if (arg2
== NULL
) SWIG_fail
;
10272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10273 (arg1
)->Display((wxString
const &)*arg2
);
10275 wxPyEndAllowThreads(__tstate
);
10276 if (PyErr_Occurred()) SWIG_fail
;
10278 Py_INCREF(Py_None
); resultobj
= Py_None
;
10293 static PyObject
*_wrap_HtmlHelpFrame_DisplayID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10294 PyObject
*resultobj
;
10295 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
10297 PyObject
* obj0
= 0 ;
10298 PyObject
* obj1
= 0 ;
10299 char *kwnames
[] = {
10300 (char *) "self",(char *) "id", NULL
10303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_DisplayID",kwnames
,&obj0
,&obj1
)) goto fail
;
10304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpFrame
,
10305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10306 arg2
= (int)SWIG_As_int(obj1
);
10307 if (PyErr_Occurred()) SWIG_fail
;
10309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10310 (arg1
)->Display(arg2
);
10312 wxPyEndAllowThreads(__tstate
);
10313 if (PyErr_Occurred()) SWIG_fail
;
10315 Py_INCREF(Py_None
); resultobj
= Py_None
;
10322 static PyObject
*_wrap_HtmlHelpFrame_DisplayContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10323 PyObject
*resultobj
;
10324 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
10325 PyObject
* obj0
= 0 ;
10326 char *kwnames
[] = {
10327 (char *) "self", NULL
10330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpFrame_DisplayContents",kwnames
,&obj0
)) goto fail
;
10331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpFrame
,
10332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10335 (arg1
)->DisplayContents();
10337 wxPyEndAllowThreads(__tstate
);
10338 if (PyErr_Occurred()) SWIG_fail
;
10340 Py_INCREF(Py_None
); resultobj
= Py_None
;
10347 static PyObject
*_wrap_HtmlHelpFrame_DisplayIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10348 PyObject
*resultobj
;
10349 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
10350 PyObject
* obj0
= 0 ;
10351 char *kwnames
[] = {
10352 (char *) "self", NULL
10355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpFrame_DisplayIndex",kwnames
,&obj0
)) goto fail
;
10356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpFrame
,
10357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10360 (arg1
)->DisplayIndex();
10362 wxPyEndAllowThreads(__tstate
);
10363 if (PyErr_Occurred()) SWIG_fail
;
10365 Py_INCREF(Py_None
); resultobj
= Py_None
;
10372 static PyObject
*_wrap_HtmlHelpFrame_KeywordSearch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10373 PyObject
*resultobj
;
10374 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
10375 wxString
*arg2
= 0 ;
10377 bool temp2
= false ;
10378 PyObject
* obj0
= 0 ;
10379 PyObject
* obj1
= 0 ;
10380 char *kwnames
[] = {
10381 (char *) "self",(char *) "keyword", NULL
10384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_KeywordSearch",kwnames
,&obj0
,&obj1
)) goto fail
;
10385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpFrame
,
10386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10388 arg2
= wxString_in_helper(obj1
);
10389 if (arg2
== NULL
) SWIG_fail
;
10393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10394 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
);
10396 wxPyEndAllowThreads(__tstate
);
10397 if (PyErr_Occurred()) SWIG_fail
;
10400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10416 static PyObject
*_wrap_HtmlHelpFrame_UseConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10417 PyObject
*resultobj
;
10418 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
10419 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
10420 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10421 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10422 bool temp3
= false ;
10423 PyObject
* obj0
= 0 ;
10424 PyObject
* obj1
= 0 ;
10425 PyObject
* obj2
= 0 ;
10426 char *kwnames
[] = {
10427 (char *) "self",(char *) "config",(char *) "rootpath", NULL
10430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpFrame_UseConfig",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpFrame
,
10432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10433 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
10434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10437 arg3
= wxString_in_helper(obj2
);
10438 if (arg3
== NULL
) SWIG_fail
;
10443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10444 (arg1
)->UseConfig(arg2
,(wxString
const &)*arg3
);
10446 wxPyEndAllowThreads(__tstate
);
10447 if (PyErr_Occurred()) SWIG_fail
;
10449 Py_INCREF(Py_None
); resultobj
= Py_None
;
10464 static PyObject
*_wrap_HtmlHelpFrame_ReadCustomization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10465 PyObject
*resultobj
;
10466 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
10467 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
10468 wxString arg3
= (wxString
) wxPyEmptyString
;
10469 PyObject
* obj0
= 0 ;
10470 PyObject
* obj1
= 0 ;
10471 PyObject
* obj2
= 0 ;
10472 char *kwnames
[] = {
10473 (char *) "self",(char *) "cfg",(char *) "path", NULL
10476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpFrame_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpFrame
,
10478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10479 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
10480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10483 wxString
* sptr
= wxString_in_helper(obj2
);
10484 if (sptr
== NULL
) SWIG_fail
;
10490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10491 (arg1
)->ReadCustomization(arg2
,arg3
);
10493 wxPyEndAllowThreads(__tstate
);
10494 if (PyErr_Occurred()) SWIG_fail
;
10496 Py_INCREF(Py_None
); resultobj
= Py_None
;
10503 static PyObject
*_wrap_HtmlHelpFrame_WriteCustomization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10504 PyObject
*resultobj
;
10505 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
10506 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
10507 wxString arg3
= (wxString
) wxPyEmptyString
;
10508 PyObject
* obj0
= 0 ;
10509 PyObject
* obj1
= 0 ;
10510 PyObject
* obj2
= 0 ;
10511 char *kwnames
[] = {
10512 (char *) "self",(char *) "cfg",(char *) "path", NULL
10515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpFrame_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpFrame
,
10517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10518 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
10519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10522 wxString
* sptr
= wxString_in_helper(obj2
);
10523 if (sptr
== NULL
) SWIG_fail
;
10529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10530 (arg1
)->WriteCustomization(arg2
,arg3
);
10532 wxPyEndAllowThreads(__tstate
);
10533 if (PyErr_Occurred()) SWIG_fail
;
10535 Py_INCREF(Py_None
); resultobj
= Py_None
;
10542 static PyObject
* HtmlHelpFrame_swigregister(PyObject
*, PyObject
*args
) {
10544 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10545 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpFrame
, obj
);
10547 return Py_BuildValue((char *)"");
10549 static PyObject
*_wrap_new_HtmlHelpController(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10550 PyObject
*resultobj
;
10551 int arg1
= (int) wxHF_DEFAULTSTYLE
;
10552 wxHtmlHelpController
*result
;
10553 PyObject
* obj0
= 0 ;
10554 char *kwnames
[] = {
10555 (char *) "style", NULL
10558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_HtmlHelpController",kwnames
,&obj0
)) goto fail
;
10560 arg1
= (int)SWIG_As_int(obj0
);
10561 if (PyErr_Occurred()) SWIG_fail
;
10564 if (!wxPyCheckForApp()) SWIG_fail
;
10565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10566 result
= (wxHtmlHelpController
*)new wxHtmlHelpController(arg1
);
10568 wxPyEndAllowThreads(__tstate
);
10569 if (PyErr_Occurred()) SWIG_fail
;
10571 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpController
, 1);
10578 static PyObject
*_wrap_delete_HtmlHelpController(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10579 PyObject
*resultobj
;
10580 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
10581 PyObject
* obj0
= 0 ;
10582 char *kwnames
[] = {
10583 (char *) "self", NULL
10586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlHelpController",kwnames
,&obj0
)) goto fail
;
10587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
10588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10593 wxPyEndAllowThreads(__tstate
);
10594 if (PyErr_Occurred()) SWIG_fail
;
10596 Py_INCREF(Py_None
); resultobj
= Py_None
;
10603 static PyObject
*_wrap_HtmlHelpController_SetTitleFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10604 PyObject
*resultobj
;
10605 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
10606 wxString
*arg2
= 0 ;
10607 bool temp2
= false ;
10608 PyObject
* obj0
= 0 ;
10609 PyObject
* obj1
= 0 ;
10610 char *kwnames
[] = {
10611 (char *) "self",(char *) "format", NULL
10614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
10615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
10616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10618 arg2
= wxString_in_helper(obj1
);
10619 if (arg2
== NULL
) SWIG_fail
;
10623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10624 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
10626 wxPyEndAllowThreads(__tstate
);
10627 if (PyErr_Occurred()) SWIG_fail
;
10629 Py_INCREF(Py_None
); resultobj
= Py_None
;
10644 static PyObject
*_wrap_HtmlHelpController_SetTempDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10645 PyObject
*resultobj
;
10646 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
10647 wxString
*arg2
= 0 ;
10648 bool temp2
= false ;
10649 PyObject
* obj0
= 0 ;
10650 PyObject
* obj1
= 0 ;
10651 char *kwnames
[] = {
10652 (char *) "self",(char *) "path", NULL
10655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetTempDir",kwnames
,&obj0
,&obj1
)) goto fail
;
10656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
10657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10659 arg2
= wxString_in_helper(obj1
);
10660 if (arg2
== NULL
) SWIG_fail
;
10664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10665 (arg1
)->SetTempDir((wxString
const &)*arg2
);
10667 wxPyEndAllowThreads(__tstate
);
10668 if (PyErr_Occurred()) SWIG_fail
;
10670 Py_INCREF(Py_None
); resultobj
= Py_None
;
10685 static PyObject
*_wrap_HtmlHelpController_AddBook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10686 PyObject
*resultobj
;
10687 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
10688 wxString
*arg2
= 0 ;
10689 int arg3
= (int) false ;
10691 bool temp2
= false ;
10692 PyObject
* obj0
= 0 ;
10693 PyObject
* obj1
= 0 ;
10694 PyObject
* obj2
= 0 ;
10695 char *kwnames
[] = {
10696 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
10699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_AddBook",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
10701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10703 arg2
= wxString_in_helper(obj1
);
10704 if (arg2
== NULL
) SWIG_fail
;
10708 arg3
= (int)SWIG_As_int(obj2
);
10709 if (PyErr_Occurred()) SWIG_fail
;
10712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10713 result
= (bool)(arg1
)->AddBook((wxString
const &)*arg2
,arg3
);
10715 wxPyEndAllowThreads(__tstate
);
10716 if (PyErr_Occurred()) SWIG_fail
;
10719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10735 static PyObject
*_wrap_HtmlHelpController_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10736 PyObject
*resultobj
;
10737 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
10738 wxString
*arg2
= 0 ;
10739 bool temp2
= false ;
10740 PyObject
* obj0
= 0 ;
10741 PyObject
* obj1
= 0 ;
10742 char *kwnames
[] = {
10743 (char *) "self",(char *) "x", NULL
10746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_Display",kwnames
,&obj0
,&obj1
)) goto fail
;
10747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
10748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10750 arg2
= wxString_in_helper(obj1
);
10751 if (arg2
== NULL
) SWIG_fail
;
10755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10756 (arg1
)->Display((wxString
const &)*arg2
);
10758 wxPyEndAllowThreads(__tstate
);
10759 if (PyErr_Occurred()) SWIG_fail
;
10761 Py_INCREF(Py_None
); resultobj
= Py_None
;
10776 static PyObject
*_wrap_HtmlHelpController_DisplayID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10777 PyObject
*resultobj
;
10778 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
10780 PyObject
* obj0
= 0 ;
10781 PyObject
* obj1
= 0 ;
10782 char *kwnames
[] = {
10783 (char *) "self",(char *) "id", NULL
10786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_DisplayID",kwnames
,&obj0
,&obj1
)) goto fail
;
10787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
10788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10789 arg2
= (int)SWIG_As_int(obj1
);
10790 if (PyErr_Occurred()) SWIG_fail
;
10792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10793 (arg1
)->Display(arg2
);
10795 wxPyEndAllowThreads(__tstate
);
10796 if (PyErr_Occurred()) SWIG_fail
;
10798 Py_INCREF(Py_None
); resultobj
= Py_None
;
10805 static PyObject
*_wrap_HtmlHelpController_DisplayContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10806 PyObject
*resultobj
;
10807 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
10808 PyObject
* obj0
= 0 ;
10809 char *kwnames
[] = {
10810 (char *) "self", NULL
10813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpController_DisplayContents",kwnames
,&obj0
)) goto fail
;
10814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
10815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10818 (arg1
)->DisplayContents();
10820 wxPyEndAllowThreads(__tstate
);
10821 if (PyErr_Occurred()) SWIG_fail
;
10823 Py_INCREF(Py_None
); resultobj
= Py_None
;
10830 static PyObject
*_wrap_HtmlHelpController_DisplayIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10831 PyObject
*resultobj
;
10832 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
10833 PyObject
* obj0
= 0 ;
10834 char *kwnames
[] = {
10835 (char *) "self", NULL
10838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpController_DisplayIndex",kwnames
,&obj0
)) goto fail
;
10839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
10840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10843 (arg1
)->DisplayIndex();
10845 wxPyEndAllowThreads(__tstate
);
10846 if (PyErr_Occurred()) SWIG_fail
;
10848 Py_INCREF(Py_None
); resultobj
= Py_None
;
10855 static PyObject
*_wrap_HtmlHelpController_KeywordSearch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10856 PyObject
*resultobj
;
10857 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
10858 wxString
*arg2
= 0 ;
10860 bool temp2
= false ;
10861 PyObject
* obj0
= 0 ;
10862 PyObject
* obj1
= 0 ;
10863 char *kwnames
[] = {
10864 (char *) "self",(char *) "keyword", NULL
10867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames
,&obj0
,&obj1
)) goto fail
;
10868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
10869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10871 arg2
= wxString_in_helper(obj1
);
10872 if (arg2
== NULL
) SWIG_fail
;
10876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10877 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
);
10879 wxPyEndAllowThreads(__tstate
);
10880 if (PyErr_Occurred()) SWIG_fail
;
10883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10899 static PyObject
*_wrap_HtmlHelpController_UseConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10900 PyObject
*resultobj
;
10901 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
10902 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
10903 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10904 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10905 bool temp3
= false ;
10906 PyObject
* obj0
= 0 ;
10907 PyObject
* obj1
= 0 ;
10908 PyObject
* obj2
= 0 ;
10909 char *kwnames
[] = {
10910 (char *) "self",(char *) "config",(char *) "rootpath", NULL
10913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
10915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10916 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
10917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10920 arg3
= wxString_in_helper(obj2
);
10921 if (arg3
== NULL
) SWIG_fail
;
10926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10927 (arg1
)->UseConfig(arg2
,(wxString
const &)*arg3
);
10929 wxPyEndAllowThreads(__tstate
);
10930 if (PyErr_Occurred()) SWIG_fail
;
10932 Py_INCREF(Py_None
); resultobj
= Py_None
;
10947 static PyObject
*_wrap_HtmlHelpController_ReadCustomization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10948 PyObject
*resultobj
;
10949 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
10950 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
10951 wxString arg3
= (wxString
) wxPyEmptyString
;
10952 PyObject
* obj0
= 0 ;
10953 PyObject
* obj1
= 0 ;
10954 PyObject
* obj2
= 0 ;
10955 char *kwnames
[] = {
10956 (char *) "self",(char *) "cfg",(char *) "path", NULL
10959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
10961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10962 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
10963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10966 wxString
* sptr
= wxString_in_helper(obj2
);
10967 if (sptr
== NULL
) SWIG_fail
;
10973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10974 (arg1
)->ReadCustomization(arg2
,arg3
);
10976 wxPyEndAllowThreads(__tstate
);
10977 if (PyErr_Occurred()) SWIG_fail
;
10979 Py_INCREF(Py_None
); resultobj
= Py_None
;
10986 static PyObject
*_wrap_HtmlHelpController_WriteCustomization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10987 PyObject
*resultobj
;
10988 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
10989 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
10990 wxString arg3
= (wxString
) wxPyEmptyString
;
10991 PyObject
* obj0
= 0 ;
10992 PyObject
* obj1
= 0 ;
10993 PyObject
* obj2
= 0 ;
10994 char *kwnames
[] = {
10995 (char *) "self",(char *) "cfg",(char *) "path", NULL
10998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
11000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11001 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
11002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11005 wxString
* sptr
= wxString_in_helper(obj2
);
11006 if (sptr
== NULL
) SWIG_fail
;
11012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11013 (arg1
)->WriteCustomization(arg2
,arg3
);
11015 wxPyEndAllowThreads(__tstate
);
11016 if (PyErr_Occurred()) SWIG_fail
;
11018 Py_INCREF(Py_None
); resultobj
= Py_None
;
11025 static PyObject
*_wrap_HtmlHelpController_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11026 PyObject
*resultobj
;
11027 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
11028 wxHtmlHelpFrame
*result
;
11029 PyObject
* obj0
= 0 ;
11030 char *kwnames
[] = {
11031 (char *) "self", NULL
11034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpController_GetFrame",kwnames
,&obj0
)) goto fail
;
11035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
11036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11039 result
= (wxHtmlHelpFrame
*)(arg1
)->GetFrame();
11041 wxPyEndAllowThreads(__tstate
);
11042 if (PyErr_Occurred()) SWIG_fail
;
11044 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpFrame
, 0);
11051 static PyObject
* HtmlHelpController_swigregister(PyObject
*, PyObject
*args
) {
11053 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11054 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpController
, obj
);
11056 return Py_BuildValue((char *)"");
11058 static PyMethodDef SwigMethods
[] = {
11059 { (char *)"new_HtmlLinkInfo", (PyCFunction
) _wrap_new_HtmlLinkInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11060 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction
) _wrap_HtmlLinkInfo_GetHref
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11061 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction
) _wrap_HtmlLinkInfo_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11062 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction
) _wrap_HtmlLinkInfo_GetEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11063 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction
) _wrap_HtmlLinkInfo_GetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11064 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction
) _wrap_HtmlLinkInfo_SetEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11065 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction
) _wrap_HtmlLinkInfo_SetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11066 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister
, METH_VARARGS
, NULL
},
11067 { (char *)"HtmlTag_GetName", (PyCFunction
) _wrap_HtmlTag_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11068 { (char *)"HtmlTag_HasParam", (PyCFunction
) _wrap_HtmlTag_HasParam
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11069 { (char *)"HtmlTag_GetParam", (PyCFunction
) _wrap_HtmlTag_GetParam
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11070 { (char *)"HtmlTag_GetAllParams", (PyCFunction
) _wrap_HtmlTag_GetAllParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11071 { (char *)"HtmlTag_HasEnding", (PyCFunction
) _wrap_HtmlTag_HasEnding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11072 { (char *)"HtmlTag_GetBeginPos", (PyCFunction
) _wrap_HtmlTag_GetBeginPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11073 { (char *)"HtmlTag_GetEndPos1", (PyCFunction
) _wrap_HtmlTag_GetEndPos1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11074 { (char *)"HtmlTag_GetEndPos2", (PyCFunction
) _wrap_HtmlTag_GetEndPos2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11075 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister
, METH_VARARGS
, NULL
},
11076 { (char *)"HtmlParser_SetFS", (PyCFunction
) _wrap_HtmlParser_SetFS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11077 { (char *)"HtmlParser_GetFS", (PyCFunction
) _wrap_HtmlParser_GetFS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11078 { (char *)"HtmlParser_Parse", (PyCFunction
) _wrap_HtmlParser_Parse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11079 { (char *)"HtmlParser_InitParser", (PyCFunction
) _wrap_HtmlParser_InitParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11080 { (char *)"HtmlParser_DoneParser", (PyCFunction
) _wrap_HtmlParser_DoneParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11081 { (char *)"HtmlParser_DoParsing", (PyCFunction
) _wrap_HtmlParser_DoParsing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11082 { (char *)"HtmlParser_StopParsing", (PyCFunction
) _wrap_HtmlParser_StopParsing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11083 { (char *)"HtmlParser_AddTagHandler", (PyCFunction
) _wrap_HtmlParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11084 { (char *)"HtmlParser_GetSource", (PyCFunction
) _wrap_HtmlParser_GetSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11085 { (char *)"HtmlParser_PushTagHandler", (PyCFunction
) _wrap_HtmlParser_PushTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11086 { (char *)"HtmlParser_PopTagHandler", (PyCFunction
) _wrap_HtmlParser_PopTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11087 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister
, METH_VARARGS
, NULL
},
11088 { (char *)"new_HtmlWinParser", (PyCFunction
) _wrap_new_HtmlWinParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11089 { (char *)"HtmlWinParser_SetDC", (PyCFunction
) _wrap_HtmlWinParser_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11090 { (char *)"HtmlWinParser_GetDC", (PyCFunction
) _wrap_HtmlWinParser_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11091 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction
) _wrap_HtmlWinParser_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11092 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction
) _wrap_HtmlWinParser_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11093 { (char *)"HtmlWinParser_GetWindow", (PyCFunction
) _wrap_HtmlWinParser_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11094 { (char *)"HtmlWinParser_SetFonts", (PyCFunction
) _wrap_HtmlWinParser_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11095 { (char *)"HtmlWinParser_SetStandardFonts", (PyCFunction
) _wrap_HtmlWinParser_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11096 { (char *)"HtmlWinParser_GetContainer", (PyCFunction
) _wrap_HtmlWinParser_GetContainer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11097 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction
) _wrap_HtmlWinParser_OpenContainer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11098 { (char *)"HtmlWinParser_SetContainer", (PyCFunction
) _wrap_HtmlWinParser_SetContainer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11099 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction
) _wrap_HtmlWinParser_CloseContainer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11100 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction
) _wrap_HtmlWinParser_GetFontSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11101 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction
) _wrap_HtmlWinParser_SetFontSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11102 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction
) _wrap_HtmlWinParser_GetFontBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11103 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction
) _wrap_HtmlWinParser_SetFontBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11104 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction
) _wrap_HtmlWinParser_GetFontItalic
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11105 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction
) _wrap_HtmlWinParser_SetFontItalic
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11106 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction
) _wrap_HtmlWinParser_GetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11107 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction
) _wrap_HtmlWinParser_SetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11108 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction
) _wrap_HtmlWinParser_GetFontFixed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11109 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction
) _wrap_HtmlWinParser_SetFontFixed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11110 { (char *)"HtmlWinParser_GetAlign", (PyCFunction
) _wrap_HtmlWinParser_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11111 { (char *)"HtmlWinParser_SetAlign", (PyCFunction
) _wrap_HtmlWinParser_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11112 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction
) _wrap_HtmlWinParser_GetLinkColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11113 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction
) _wrap_HtmlWinParser_SetLinkColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11114 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction
) _wrap_HtmlWinParser_GetActualColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11115 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction
) _wrap_HtmlWinParser_SetActualColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11116 { (char *)"HtmlWinParser_SetLink", (PyCFunction
) _wrap_HtmlWinParser_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11117 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction
) _wrap_HtmlWinParser_CreateCurrentFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11118 { (char *)"HtmlWinParser_GetLink", (PyCFunction
) _wrap_HtmlWinParser_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11119 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister
, METH_VARARGS
, NULL
},
11120 { (char *)"new_HtmlTagHandler", (PyCFunction
) _wrap_new_HtmlTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11121 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction
) _wrap_HtmlTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11122 { (char *)"HtmlTagHandler_SetParser", (PyCFunction
) _wrap_HtmlTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11123 { (char *)"HtmlTagHandler_GetParser", (PyCFunction
) _wrap_HtmlTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11124 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction
) _wrap_HtmlTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11125 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister
, METH_VARARGS
, NULL
},
11126 { (char *)"new_HtmlWinTagHandler", (PyCFunction
) _wrap_new_HtmlWinTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11127 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction
) _wrap_HtmlWinTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11128 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction
) _wrap_HtmlWinTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11129 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction
) _wrap_HtmlWinTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11130 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction
) _wrap_HtmlWinTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11131 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister
, METH_VARARGS
, NULL
},
11132 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction
) _wrap_HtmlWinParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11133 { (char *)"new_HtmlSelection", (PyCFunction
) _wrap_new_HtmlSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11134 { (char *)"delete_HtmlSelection", (PyCFunction
) _wrap_delete_HtmlSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11135 { (char *)"HtmlSelection_Set", (PyCFunction
) _wrap_HtmlSelection_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11136 { (char *)"HtmlSelection_SetCells", (PyCFunction
) _wrap_HtmlSelection_SetCells
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11137 { (char *)"HtmlSelection_GetFromCell", (PyCFunction
) _wrap_HtmlSelection_GetFromCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11138 { (char *)"HtmlSelection_GetToCell", (PyCFunction
) _wrap_HtmlSelection_GetToCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11139 { (char *)"HtmlSelection_GetFromPos", (PyCFunction
) _wrap_HtmlSelection_GetFromPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11140 { (char *)"HtmlSelection_GetToPos", (PyCFunction
) _wrap_HtmlSelection_GetToPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11141 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction
) _wrap_HtmlSelection_GetFromPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11142 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction
) _wrap_HtmlSelection_GetToPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11143 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction
) _wrap_HtmlSelection_SetFromPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11144 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction
) _wrap_HtmlSelection_SetToPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11145 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction
) _wrap_HtmlSelection_ClearPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11146 { (char *)"HtmlSelection_IsEmpty", (PyCFunction
) _wrap_HtmlSelection_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11147 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister
, METH_VARARGS
, NULL
},
11148 { (char *)"new_HtmlRenderingState", (PyCFunction
) _wrap_new_HtmlRenderingState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11149 { (char *)"delete_HtmlRenderingState", (PyCFunction
) _wrap_delete_HtmlRenderingState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11150 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction
) _wrap_HtmlRenderingState_SetSelectionState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11151 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction
) _wrap_HtmlRenderingState_GetSelectionState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11152 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction
) _wrap_HtmlRenderingState_SetFgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11153 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction
) _wrap_HtmlRenderingState_GetFgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11154 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction
) _wrap_HtmlRenderingState_SetBgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11155 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction
) _wrap_HtmlRenderingState_GetBgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11156 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister
, METH_VARARGS
, NULL
},
11157 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction
) _wrap_HtmlRenderingStyle_GetSelectedTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11158 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction
) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11159 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister
, METH_VARARGS
, NULL
},
11160 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextColour", (PyCFunction
) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11161 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction
) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11162 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister
, METH_VARARGS
, NULL
},
11163 { (char *)"new_HtmlRenderingInfo", (PyCFunction
) _wrap_new_HtmlRenderingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11164 { (char *)"delete_HtmlRenderingInfo", (PyCFunction
) _wrap_delete_HtmlRenderingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11165 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction
) _wrap_HtmlRenderingInfo_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11166 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction
) _wrap_HtmlRenderingInfo_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11167 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction
) _wrap_HtmlRenderingInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11168 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction
) _wrap_HtmlRenderingInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11169 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction
) _wrap_HtmlRenderingInfo_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11170 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister
, METH_VARARGS
, NULL
},
11171 { (char *)"new_HtmlCell", (PyCFunction
) _wrap_new_HtmlCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11172 { (char *)"HtmlCell_GetPosX", (PyCFunction
) _wrap_HtmlCell_GetPosX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11173 { (char *)"HtmlCell_GetPosY", (PyCFunction
) _wrap_HtmlCell_GetPosY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11174 { (char *)"HtmlCell_GetWidth", (PyCFunction
) _wrap_HtmlCell_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11175 { (char *)"HtmlCell_GetHeight", (PyCFunction
) _wrap_HtmlCell_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11176 { (char *)"HtmlCell_GetDescent", (PyCFunction
) _wrap_HtmlCell_GetDescent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11177 { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction
) _wrap_HtmlCell_GetMaxTotalWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11178 { (char *)"HtmlCell_GetId", (PyCFunction
) _wrap_HtmlCell_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11179 { (char *)"HtmlCell_SetId", (PyCFunction
) _wrap_HtmlCell_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11180 { (char *)"HtmlCell_GetLink", (PyCFunction
) _wrap_HtmlCell_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11181 { (char *)"HtmlCell_GetNext", (PyCFunction
) _wrap_HtmlCell_GetNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11182 { (char *)"HtmlCell_GetParent", (PyCFunction
) _wrap_HtmlCell_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11183 { (char *)"HtmlCell_GetFirstChild", (PyCFunction
) _wrap_HtmlCell_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11184 { (char *)"HtmlCell_GetCursor", (PyCFunction
) _wrap_HtmlCell_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11185 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction
) _wrap_HtmlCell_IsFormattingCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11186 { (char *)"HtmlCell_SetLink", (PyCFunction
) _wrap_HtmlCell_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11187 { (char *)"HtmlCell_SetNext", (PyCFunction
) _wrap_HtmlCell_SetNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11188 { (char *)"HtmlCell_SetParent", (PyCFunction
) _wrap_HtmlCell_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11189 { (char *)"HtmlCell_SetPos", (PyCFunction
) _wrap_HtmlCell_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11190 { (char *)"HtmlCell_Layout", (PyCFunction
) _wrap_HtmlCell_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11191 { (char *)"HtmlCell_Draw", (PyCFunction
) _wrap_HtmlCell_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11192 { (char *)"HtmlCell_DrawInvisible", (PyCFunction
) _wrap_HtmlCell_DrawInvisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11193 { (char *)"HtmlCell_Find", (PyCFunction
) _wrap_HtmlCell_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11194 { (char *)"HtmlCell_AdjustPagebreak", (PyCFunction
) _wrap_HtmlCell_AdjustPagebreak
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11195 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction
) _wrap_HtmlCell_SetCanLiveOnPagebreak
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11196 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction
) _wrap_HtmlCell_IsLinebreakAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11197 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction
) _wrap_HtmlCell_IsTerminalCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11198 { (char *)"HtmlCell_FindCellByPos", (PyCFunction
) _wrap_HtmlCell_FindCellByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11199 { (char *)"HtmlCell_GetAbsPos", (PyCFunction
) _wrap_HtmlCell_GetAbsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11200 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction
) _wrap_HtmlCell_GetFirstTerminal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11201 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction
) _wrap_HtmlCell_GetLastTerminal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11202 { (char *)"HtmlCell_GetDepth", (PyCFunction
) _wrap_HtmlCell_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11203 { (char *)"HtmlCell_IsBefore", (PyCFunction
) _wrap_HtmlCell_IsBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11204 { (char *)"HtmlCell_ConvertToText", (PyCFunction
) _wrap_HtmlCell_ConvertToText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11205 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister
, METH_VARARGS
, NULL
},
11206 { (char *)"new_HtmlWordCell", (PyCFunction
) _wrap_new_HtmlWordCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11207 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister
, METH_VARARGS
, NULL
},
11208 { (char *)"new_HtmlContainerCell", (PyCFunction
) _wrap_new_HtmlContainerCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11209 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction
) _wrap_HtmlContainerCell_InsertCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11210 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction
) _wrap_HtmlContainerCell_SetAlignHor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11211 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction
) _wrap_HtmlContainerCell_GetAlignHor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11212 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction
) _wrap_HtmlContainerCell_SetAlignVer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11213 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction
) _wrap_HtmlContainerCell_GetAlignVer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11214 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction
) _wrap_HtmlContainerCell_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11215 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction
) _wrap_HtmlContainerCell_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11216 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction
) _wrap_HtmlContainerCell_GetIndentUnits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11217 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction
) _wrap_HtmlContainerCell_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11218 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction
) _wrap_HtmlContainerCell_SetWidthFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11219 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction
) _wrap_HtmlContainerCell_SetWidthFloatFromTag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11220 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction
) _wrap_HtmlContainerCell_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11221 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction
) _wrap_HtmlContainerCell_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11222 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction
) _wrap_HtmlContainerCell_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11223 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction
) _wrap_HtmlContainerCell_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11224 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction
) _wrap_HtmlContainerCell_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11225 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister
, METH_VARARGS
, NULL
},
11226 { (char *)"new_HtmlColourCell", (PyCFunction
) _wrap_new_HtmlColourCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11227 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister
, METH_VARARGS
, NULL
},
11228 { (char *)"new_HtmlFontCell", (PyCFunction
) _wrap_new_HtmlFontCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11229 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister
, METH_VARARGS
, NULL
},
11230 { (char *)"new_HtmlWidgetCell", (PyCFunction
) _wrap_new_HtmlWidgetCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11231 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister
, METH_VARARGS
, NULL
},
11232 { (char *)"new_HtmlFilter", (PyCFunction
) _wrap_new_HtmlFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11233 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction
) _wrap_HtmlFilter__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11234 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister
, METH_VARARGS
, NULL
},
11235 { (char *)"new_HtmlWindow", (PyCFunction
) _wrap_new_HtmlWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11236 { (char *)"new_PreHtmlWindow", (PyCFunction
) _wrap_new_PreHtmlWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11237 { (char *)"HtmlWindow_Create", (PyCFunction
) _wrap_HtmlWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11238 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction
) _wrap_HtmlWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11239 { (char *)"HtmlWindow_SetPage", (PyCFunction
) _wrap_HtmlWindow_SetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11240 { (char *)"HtmlWindow_LoadPage", (PyCFunction
) _wrap_HtmlWindow_LoadPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11241 { (char *)"HtmlWindow_LoadFile", (PyCFunction
) _wrap_HtmlWindow_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11242 { (char *)"HtmlWindow_AppendToPage", (PyCFunction
) _wrap_HtmlWindow_AppendToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11243 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction
) _wrap_HtmlWindow_GetOpenedPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11244 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction
) _wrap_HtmlWindow_GetOpenedAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11245 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction
) _wrap_HtmlWindow_GetOpenedPageTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11246 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction
) _wrap_HtmlWindow_SetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11247 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction
) _wrap_HtmlWindow_GetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11248 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction
) _wrap_HtmlWindow_SetRelatedStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11249 { (char *)"HtmlWindow_SetFonts", (PyCFunction
) _wrap_HtmlWindow_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11250 { (char *)"HtmlWindow_SetStandardFonts", (PyCFunction
) _wrap_HtmlWindow_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11251 { (char *)"HtmlWindow_SetTitle", (PyCFunction
) _wrap_HtmlWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11252 { (char *)"HtmlWindow_SetBorders", (PyCFunction
) _wrap_HtmlWindow_SetBorders
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11253 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction
) _wrap_HtmlWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11254 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction
) _wrap_HtmlWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11255 { (char *)"HtmlWindow_HistoryBack", (PyCFunction
) _wrap_HtmlWindow_HistoryBack
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11256 { (char *)"HtmlWindow_HistoryForward", (PyCFunction
) _wrap_HtmlWindow_HistoryForward
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11257 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction
) _wrap_HtmlWindow_HistoryCanBack
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11258 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction
) _wrap_HtmlWindow_HistoryCanForward
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11259 { (char *)"HtmlWindow_HistoryClear", (PyCFunction
) _wrap_HtmlWindow_HistoryClear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11260 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction
) _wrap_HtmlWindow_GetInternalRepresentation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11261 { (char *)"HtmlWindow_GetParser", (PyCFunction
) _wrap_HtmlWindow_GetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11262 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction
) _wrap_HtmlWindow_ScrollToAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11263 { (char *)"HtmlWindow_HasAnchor", (PyCFunction
) _wrap_HtmlWindow_HasAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11264 { (char *)"HtmlWindow_AddFilter", (PyCFunction
) _wrap_HtmlWindow_AddFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11265 { (char *)"HtmlWindow_SelectWord", (PyCFunction
) _wrap_HtmlWindow_SelectWord
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11266 { (char *)"HtmlWindow_SelectLine", (PyCFunction
) _wrap_HtmlWindow_SelectLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11267 { (char *)"HtmlWindow_SelectAll", (PyCFunction
) _wrap_HtmlWindow_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11268 { (char *)"HtmlWindow_SelectionToText", (PyCFunction
) _wrap_HtmlWindow_SelectionToText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11269 { (char *)"HtmlWindow_ToText", (PyCFunction
) _wrap_HtmlWindow_ToText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11270 { (char *)"HtmlWindow_base_OnLinkClicked", (PyCFunction
) _wrap_HtmlWindow_base_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11271 { (char *)"HtmlWindow_base_OnSetTitle", (PyCFunction
) _wrap_HtmlWindow_base_OnSetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11272 { (char *)"HtmlWindow_base_OnCellMouseHover", (PyCFunction
) _wrap_HtmlWindow_base_OnCellMouseHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11273 { (char *)"HtmlWindow_base_OnCellClicked", (PyCFunction
) _wrap_HtmlWindow_base_OnCellClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11274 { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_HtmlWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11275 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister
, METH_VARARGS
, NULL
},
11276 { (char *)"new_HtmlDCRenderer", (PyCFunction
) _wrap_new_HtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11277 { (char *)"delete_HtmlDCRenderer", (PyCFunction
) _wrap_delete_HtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11278 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction
) _wrap_HtmlDCRenderer_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11279 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction
) _wrap_HtmlDCRenderer_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11280 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction
) _wrap_HtmlDCRenderer_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11281 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction
) _wrap_HtmlDCRenderer_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11282 { (char *)"HtmlDCRenderer_SetStandardFonts", (PyCFunction
) _wrap_HtmlDCRenderer_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11283 { (char *)"HtmlDCRenderer_Render", (PyCFunction
) _wrap_HtmlDCRenderer_Render
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11284 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction
) _wrap_HtmlDCRenderer_GetTotalHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11285 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister
, METH_VARARGS
, NULL
},
11286 { (char *)"new_HtmlPrintout", (PyCFunction
) _wrap_new_HtmlPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11287 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction
) _wrap_HtmlPrintout_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11288 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction
) _wrap_HtmlPrintout_SetHtmlFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11289 { (char *)"HtmlPrintout_SetHeader", (PyCFunction
) _wrap_HtmlPrintout_SetHeader
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11290 { (char *)"HtmlPrintout_SetFooter", (PyCFunction
) _wrap_HtmlPrintout_SetFooter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11291 { (char *)"HtmlPrintout_SetFonts", (PyCFunction
) _wrap_HtmlPrintout_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11292 { (char *)"HtmlPrintout_SetStandardFonts", (PyCFunction
) _wrap_HtmlPrintout_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11293 { (char *)"HtmlPrintout_SetMargins", (PyCFunction
) _wrap_HtmlPrintout_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11294 { (char *)"HtmlPrintout_AddFilter", (PyCFunction
) _wrap_HtmlPrintout_AddFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11295 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction
) _wrap_HtmlPrintout_CleanUpStatics
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11296 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister
, METH_VARARGS
, NULL
},
11297 { (char *)"new_HtmlEasyPrinting", (PyCFunction
) _wrap_new_HtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11298 { (char *)"delete_HtmlEasyPrinting", (PyCFunction
) _wrap_delete_HtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11299 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction
) _wrap_HtmlEasyPrinting_PreviewFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11300 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction
) _wrap_HtmlEasyPrinting_PreviewText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11301 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction
) _wrap_HtmlEasyPrinting_PrintFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11302 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction
) _wrap_HtmlEasyPrinting_PrintText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11303 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction
) _wrap_HtmlEasyPrinting_PageSetup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11304 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction
) _wrap_HtmlEasyPrinting_SetHeader
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11305 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction
) _wrap_HtmlEasyPrinting_SetFooter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11306 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction
) _wrap_HtmlEasyPrinting_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11307 { (char *)"HtmlEasyPrinting_SetStandardFonts", (PyCFunction
) _wrap_HtmlEasyPrinting_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11308 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction
) _wrap_HtmlEasyPrinting_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11309 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction
) _wrap_HtmlEasyPrinting_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11310 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister
, METH_VARARGS
, NULL
},
11311 { (char *)"new_HtmlBookRecord", (PyCFunction
) _wrap_new_HtmlBookRecord
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11312 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction
) _wrap_HtmlBookRecord_GetBookFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11313 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction
) _wrap_HtmlBookRecord_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11314 { (char *)"HtmlBookRecord_GetStart", (PyCFunction
) _wrap_HtmlBookRecord_GetStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11315 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction
) _wrap_HtmlBookRecord_GetBasePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11316 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction
) _wrap_HtmlBookRecord_SetContentsRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11317 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction
) _wrap_HtmlBookRecord_GetContentsStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11318 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction
) _wrap_HtmlBookRecord_GetContentsEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11319 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction
) _wrap_HtmlBookRecord_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11320 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction
) _wrap_HtmlBookRecord_SetBasePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11321 { (char *)"HtmlBookRecord_SetStart", (PyCFunction
) _wrap_HtmlBookRecord_SetStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11322 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction
) _wrap_HtmlBookRecord_GetFullPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11323 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister
, METH_VARARGS
, NULL
},
11324 { (char *)"HtmlContentsItem_GetLevel", (PyCFunction
) _wrap_HtmlContentsItem_GetLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11325 { (char *)"HtmlContentsItem_GetID", (PyCFunction
) _wrap_HtmlContentsItem_GetID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11326 { (char *)"HtmlContentsItem_GetName", (PyCFunction
) _wrap_HtmlContentsItem_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11327 { (char *)"HtmlContentsItem_GetPage", (PyCFunction
) _wrap_HtmlContentsItem_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11328 { (char *)"HtmlContentsItem_GetBook", (PyCFunction
) _wrap_HtmlContentsItem_GetBook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11329 { (char *)"HtmlContentsItem_swigregister", HtmlContentsItem_swigregister
, METH_VARARGS
, NULL
},
11330 { (char *)"HtmlSearchStatus_Search", (PyCFunction
) _wrap_HtmlSearchStatus_Search
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11331 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction
) _wrap_HtmlSearchStatus_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11332 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction
) _wrap_HtmlSearchStatus_GetCurIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11333 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction
) _wrap_HtmlSearchStatus_GetMaxIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11334 { (char *)"HtmlSearchStatus_GetName", (PyCFunction
) _wrap_HtmlSearchStatus_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11335 { (char *)"HtmlSearchStatus_GetContentsItem", (PyCFunction
) _wrap_HtmlSearchStatus_GetContentsItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11336 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister
, METH_VARARGS
, NULL
},
11337 { (char *)"new_HtmlHelpData", (PyCFunction
) _wrap_new_HtmlHelpData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11338 { (char *)"delete_HtmlHelpData", (PyCFunction
) _wrap_delete_HtmlHelpData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11339 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction
) _wrap_HtmlHelpData_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11340 { (char *)"HtmlHelpData_AddBook", (PyCFunction
) _wrap_HtmlHelpData_AddBook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11341 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction
) _wrap_HtmlHelpData_FindPageByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11342 { (char *)"HtmlHelpData_FindPageById", (PyCFunction
) _wrap_HtmlHelpData_FindPageById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11343 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction
) _wrap_HtmlHelpData_GetBookRecArray
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11344 { (char *)"HtmlHelpData_GetContents", (PyCFunction
) _wrap_HtmlHelpData_GetContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11345 { (char *)"HtmlHelpData_GetContentsCnt", (PyCFunction
) _wrap_HtmlHelpData_GetContentsCnt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11346 { (char *)"HtmlHelpData_GetIndex", (PyCFunction
) _wrap_HtmlHelpData_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11347 { (char *)"HtmlHelpData_GetIndexCnt", (PyCFunction
) _wrap_HtmlHelpData_GetIndexCnt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11348 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister
, METH_VARARGS
, NULL
},
11349 { (char *)"new_HtmlHelpFrame", (PyCFunction
) _wrap_new_HtmlHelpFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11350 { (char *)"HtmlHelpFrame_GetData", (PyCFunction
) _wrap_HtmlHelpFrame_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11351 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpFrame_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11352 { (char *)"HtmlHelpFrame_Display", (PyCFunction
) _wrap_HtmlHelpFrame_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11353 { (char *)"HtmlHelpFrame_DisplayID", (PyCFunction
) _wrap_HtmlHelpFrame_DisplayID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11354 { (char *)"HtmlHelpFrame_DisplayContents", (PyCFunction
) _wrap_HtmlHelpFrame_DisplayContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11355 { (char *)"HtmlHelpFrame_DisplayIndex", (PyCFunction
) _wrap_HtmlHelpFrame_DisplayIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11356 { (char *)"HtmlHelpFrame_KeywordSearch", (PyCFunction
) _wrap_HtmlHelpFrame_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11357 { (char *)"HtmlHelpFrame_UseConfig", (PyCFunction
) _wrap_HtmlHelpFrame_UseConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11358 { (char *)"HtmlHelpFrame_ReadCustomization", (PyCFunction
) _wrap_HtmlHelpFrame_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11359 { (char *)"HtmlHelpFrame_WriteCustomization", (PyCFunction
) _wrap_HtmlHelpFrame_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11360 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister
, METH_VARARGS
, NULL
},
11361 { (char *)"new_HtmlHelpController", (PyCFunction
) _wrap_new_HtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11362 { (char *)"delete_HtmlHelpController", (PyCFunction
) _wrap_delete_HtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11363 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpController_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11364 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction
) _wrap_HtmlHelpController_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11365 { (char *)"HtmlHelpController_AddBook", (PyCFunction
) _wrap_HtmlHelpController_AddBook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11366 { (char *)"HtmlHelpController_Display", (PyCFunction
) _wrap_HtmlHelpController_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11367 { (char *)"HtmlHelpController_DisplayID", (PyCFunction
) _wrap_HtmlHelpController_DisplayID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11368 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction
) _wrap_HtmlHelpController_DisplayContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11369 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction
) _wrap_HtmlHelpController_DisplayIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11370 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction
) _wrap_HtmlHelpController_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11371 { (char *)"HtmlHelpController_UseConfig", (PyCFunction
) _wrap_HtmlHelpController_UseConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11372 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction
) _wrap_HtmlHelpController_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11373 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction
) _wrap_HtmlHelpController_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11374 { (char *)"HtmlHelpController_GetFrame", (PyCFunction
) _wrap_HtmlHelpController_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11375 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister
, METH_VARARGS
, NULL
},
11376 { NULL
, NULL
, 0, NULL
}
11380 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
11382 static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x
) {
11383 return (void *)((wxHtmlRenderingStyle
*) ((wxDefaultHtmlRenderingStyle
*) x
));
11385 static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x
) {
11386 return (void *)((wxHtmlParser
*) ((wxHtmlWinParser
*) x
));
11388 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
11389 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
11391 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
11392 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
11394 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
11395 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
11397 static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x
) {
11398 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
11400 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
11401 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
11403 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
11404 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
11406 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
11407 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
11409 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
11410 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
11412 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
11413 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
11415 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
11416 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
11418 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
11419 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
11421 static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x
) {
11422 return (void *)((wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
11424 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
11425 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
11427 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
11428 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
11430 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
11431 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
11433 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
11434 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
11436 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
11437 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
11439 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
11440 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
11442 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
11443 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
11445 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
11446 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
11448 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
11449 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
11451 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
11452 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
11454 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
11455 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
11457 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
11458 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
11460 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
11461 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
11463 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
11464 return (void *)((wxWindow
*) ((wxPanel
*) x
));
11466 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
11467 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
11469 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
11470 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
11472 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
11473 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
11475 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
11476 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
11478 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
11479 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
11481 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
11482 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
11484 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
11485 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
11487 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
11488 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
11490 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
11491 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
11493 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
11494 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
11496 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
11497 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
11499 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
11500 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
11502 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
11503 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
11505 static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x
) {
11506 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
11508 static void *_p_wxControlTo_p_wxWindow(void *x
) {
11509 return (void *)((wxWindow
*) ((wxControl
*) x
));
11511 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
11512 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
11514 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
11515 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
11517 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
11518 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
11520 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
11521 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
11523 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
11524 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
11526 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
11527 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
11529 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
11530 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
11532 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
11533 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
11535 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
11536 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
11538 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
11539 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
11541 static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x
) {
11542 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
11544 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
11545 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
11547 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
11548 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
11550 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
11551 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
11553 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
11554 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
11556 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
11557 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
11559 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
11560 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
11562 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
11563 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
11565 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
11566 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
11568 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
11569 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
11571 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
11572 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
11574 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
11575 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
11577 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
11578 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
11580 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
11581 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
11583 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
11584 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
11586 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
11587 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
11589 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
11590 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
11592 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
11593 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
11595 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
11596 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
11598 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
11599 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
11601 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
11602 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
11604 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
11605 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
11607 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
11608 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
11610 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
11611 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
11613 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
11614 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
11616 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
11617 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
11619 static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x
) {
11620 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxHtmlHelpFrame
*) x
));
11622 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
11623 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
11625 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
11626 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
11628 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
11629 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
11631 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
11632 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
11634 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
11635 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
11637 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
11638 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
11640 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
11641 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
11643 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
11644 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
11646 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
11647 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
11649 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
11650 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
11652 static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x
) {
11653 return (void *)((wxObject
*) ((wxHtmlLinkInfo
*) x
));
11655 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
11656 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
11658 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
11659 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
11661 static void *_p_wxSizerTo_p_wxObject(void *x
) {
11662 return (void *)((wxObject
*) ((wxSizer
*) x
));
11664 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
11665 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
11667 static void *_p_wxHtmlFontCellTo_p_wxObject(void *x
) {
11668 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlFontCell
*) x
));
11670 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
11671 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
11673 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
11674 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
11676 static void *_p_wxEventTo_p_wxObject(void *x
) {
11677 return (void *)((wxObject
*) ((wxEvent
*) x
));
11679 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
11680 return (void *)((wxObject
*) ((wxFontData
*) x
));
11682 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
11683 return (void *)((wxObject
*) ((wxPrintData
*) x
));
11685 static void *_p_wxHtmlTagTo_p_wxObject(void *x
) {
11686 return (void *)((wxObject
*) ((wxHtmlTag
*) x
));
11688 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
11689 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
11691 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
11692 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
11694 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
11695 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
11697 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
11698 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
11700 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
11701 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
11703 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
11704 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
11706 static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x
) {
11707 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
11709 static void *_p_wxHtmlCellTo_p_wxObject(void *x
) {
11710 return (void *)((wxObject
*) ((wxHtmlCell
*) x
));
11712 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
11713 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
11715 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
11716 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
11718 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
11719 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
11721 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
11722 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
11724 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
11725 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
11727 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
11728 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
11730 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
11731 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
11733 static void *_p_wxControlTo_p_wxObject(void *x
) {
11734 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
11736 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
11737 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
11739 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
11740 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
11742 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
11743 return (void *)((wxObject
*) ((wxFSFile
*) x
));
11745 static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x
) {
11746 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlWidgetCell
*) x
));
11748 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
11749 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
11751 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
11752 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
11754 static void *_p_wxHtmlColourCellTo_p_wxObject(void *x
) {
11755 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlColourCell
*) x
));
11757 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
11758 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
11760 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
11761 return (void *)((wxObject
*) ((wxColourData
*) x
));
11763 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
11764 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
11766 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
11767 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
11769 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
11770 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
11772 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
11773 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
11775 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
11776 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
11778 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
11779 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
11781 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
11782 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
11784 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
11785 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
11787 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
11788 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
11790 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
11791 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
11793 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
11794 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
11796 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
11797 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
11799 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
11800 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
11802 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
11803 return (void *)((wxObject
*) ((wxPrinter
*) x
));
11805 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
11806 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
11808 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
11809 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
11811 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
11812 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
11814 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
11815 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
11817 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
11818 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
11820 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
11821 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
11823 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
11824 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
11826 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
11827 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
11829 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
11830 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
11832 static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x
) {
11833 return (void *)((wxObject
*) ((wxPyHtmlFilter
*) x
));
11835 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
11836 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
11838 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
11839 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
11841 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
11842 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
11844 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
11845 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
11847 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
11848 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
11850 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
11851 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
11853 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
11854 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
11856 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
11857 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
11859 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
11860 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
11862 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
11863 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
11865 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
11866 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
11868 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
11869 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
11871 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
11872 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
11874 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
11875 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
11877 static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x
) {
11878 return (void *)((wxObject
*) ((wxPyHtmlTagHandler
*) x
));
11880 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x
) {
11881 return (void *)((wxObject
*) (wxPyHtmlTagHandler
*) ((wxPyHtmlWinTagHandler
*) x
));
11883 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
11884 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
11886 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
11887 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
11889 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
11890 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
11892 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
11893 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
11895 static void *_p_wxImageTo_p_wxObject(void *x
) {
11896 return (void *)((wxObject
*) ((wxImage
*) x
));
11898 static void *_p_wxFrameTo_p_wxObject(void *x
) {
11899 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
11901 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
11902 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
11904 static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x
) {
11905 return (void *)((wxObject
*) (wxPyPrintout
*) ((wxHtmlPrintout
*) x
));
11907 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
11908 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
11910 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
11911 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
11913 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
11914 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
11916 static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x
) {
11917 return (void *)((wxObject
*) ((wxHtmlDCRenderer
*) x
));
11919 static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x
) {
11920 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlContainerCell
*) x
));
11922 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
11923 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
11925 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
11926 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
11928 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
11929 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
11931 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
11932 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
11934 static void *_p_wxWindowTo_p_wxObject(void *x
) {
11935 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
11937 static void *_p_wxMenuTo_p_wxObject(void *x
) {
11938 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
11940 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
11941 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
11943 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
11944 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
11946 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
11947 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
11949 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
11950 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
11952 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
11953 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
11955 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
11956 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
11958 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
11959 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
11961 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
11962 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
11964 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
11965 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
11967 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
11968 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
11970 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
11971 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
11973 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
11974 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
11976 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
11977 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
11979 static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x
) {
11980 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
11982 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
11983 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
11985 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
11986 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
11988 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
11989 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
11991 static void *_p_wxPanelTo_p_wxObject(void *x
) {
11992 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
11994 static void *_p_wxDialogTo_p_wxObject(void *x
) {
11995 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
11997 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
11998 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
12000 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
12001 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
12003 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
12004 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
12006 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
12007 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
12009 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
12010 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
12012 static void *_p_wxHtmlParserTo_p_wxObject(void *x
) {
12013 return (void *)((wxObject
*) ((wxHtmlParser
*) x
));
12015 static void *_p_wxHtmlWinParserTo_p_wxObject(void *x
) {
12016 return (void *)((wxObject
*) (wxHtmlParser
*) ((wxHtmlWinParser
*) x
));
12018 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
12019 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
12021 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
12022 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
12024 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
12025 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
12027 static void *_p_wxHtmlWordCellTo_p_wxObject(void *x
) {
12028 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlWordCell
*) x
));
12030 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
12031 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
12033 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
12034 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
12036 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
12037 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
12039 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
12040 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
12042 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
12043 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
12045 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
12046 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
12048 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
12049 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
12051 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
12052 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
12054 static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x
) {
12055 return (void *)((wxObject
*) ((wxHtmlEasyPrinting
*) x
));
12057 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
12058 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
12060 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
12061 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
12063 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
12064 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
12066 static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x
) {
12067 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxHtmlHelpController
*) x
));
12069 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
12070 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
12072 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
12073 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
12075 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
12076 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
12078 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
12079 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
12081 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
12082 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
12084 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x
) {
12085 return (void *)((wxPyHtmlTagHandler
*) ((wxPyHtmlWinTagHandler
*) x
));
12087 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
12088 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
12090 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
12091 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
12093 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
12094 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
12096 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
12097 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
12099 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
12100 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
12102 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
12103 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
12105 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
12106 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
12108 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
12109 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
12111 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
12112 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
12114 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
12115 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
12117 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
12118 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
12120 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
12121 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
12123 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
12124 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
12126 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
12127 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
12129 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
12130 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
12132 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
12133 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
12135 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
12136 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
12138 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
12139 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
12141 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
12142 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
12144 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
12145 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
12147 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
12148 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
12150 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
12151 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
12153 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
12154 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
12156 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
12157 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
12159 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
12160 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
12162 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
12163 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
12165 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
12166 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
12168 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
12169 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
12171 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
12172 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
12174 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
12175 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
12177 static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x
) {
12178 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
12180 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
12181 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
12183 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
12184 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
12186 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
12187 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
12189 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
12190 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
12192 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
12193 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
12195 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
12196 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
12198 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
12199 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
12201 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
12202 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
12204 static void *_p_wxHtmlHelpControllerTo_p_wxEvtHandler(void *x
) {
12205 return (void *)((wxEvtHandler
*) ((wxHtmlHelpController
*) x
));
12207 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
12208 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
12210 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
12211 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
12213 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
12214 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
12216 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
12217 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
12219 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
12220 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
12222 static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x
) {
12223 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
12225 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
12226 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
12228 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
12229 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
12231 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
12232 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
12234 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
12235 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
12237 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
12238 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
12240 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
12241 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
12243 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
12244 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
12246 static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x
) {
12247 return (void *)((wxPyPrintout
*) ((wxHtmlPrintout
*) x
));
12249 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
12250 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
12252 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
12253 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
12255 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
12256 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
12258 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
12259 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
12261 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
12262 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
12264 static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x
) {
12265 return (void *)((wxFrame
*) ((wxHtmlHelpFrame
*) x
));
12267 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
12268 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
12270 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
12271 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
12273 static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x
) {
12274 return (void *)((wxHtmlCell
*) ((wxHtmlContainerCell
*) x
));
12276 static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x
) {
12277 return (void *)((wxHtmlCell
*) ((wxHtmlWidgetCell
*) x
));
12279 static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x
) {
12280 return (void *)((wxHtmlCell
*) ((wxHtmlColourCell
*) x
));
12282 static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x
) {
12283 return (void *)((wxHtmlCell
*) ((wxHtmlWordCell
*) x
));
12285 static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x
) {
12286 return (void *)((wxHtmlCell
*) ((wxHtmlFontCell
*) x
));
12288 static swig_type_info _swigt__p_wxHtmlDCRenderer
[] = {{"_p_wxHtmlDCRenderer", 0, "wxHtmlDCRenderer *", 0, 0, 0, 0},{"_p_wxHtmlDCRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12289 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12290 static swig_type_info _swigt__p_wxPageSetupDialogData
[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0, 0, 0, 0},{"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12291 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12292 static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle
[] = {{"_p_wxDefaultHtmlRenderingStyle", 0, "wxDefaultHtmlRenderingStyle *", 0, 0, 0, 0},{"_p_wxDefaultHtmlRenderingStyle", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12293 static swig_type_info _swigt__p_wxHtmlRenderingStyle
[] = {{"_p_wxHtmlRenderingStyle", 0, "wxHtmlRenderingStyle *", 0, 0, 0, 0},{"_p_wxHtmlRenderingStyle", 0, 0, 0, 0, 0, 0},{"_p_wxDefaultHtmlRenderingStyle", _p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12294 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0, 0, 0, 0},{"_p_wxMouseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12295 static swig_type_info _swigt__p_wxHtmlWordCell
[] = {{"_p_wxHtmlWordCell", 0, "wxHtmlWordCell *", 0, 0, 0, 0},{"_p_wxHtmlWordCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12296 static swig_type_info _swigt__p_wxVisualAttributes
[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12297 static swig_type_info _swigt__p_wxHtmlHelpData
[] = {{"_p_wxHtmlHelpData", 0, "wxHtmlHelpData *", 0, 0, 0, 0},{"_p_wxHtmlHelpData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12298 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12299 static swig_type_info _swigt__p_wxHtmlWinParser
[] = {{"_p_wxHtmlWinParser", 0, "wxHtmlWinParser *", 0, 0, 0, 0},{"_p_wxHtmlWinParser", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12300 static swig_type_info _swigt__p_wxHtmlParser
[] = {{"_p_wxHtmlParser", 0, "wxHtmlParser *", 0, 0, 0, 0},{"_p_wxHtmlParser", 0, 0, 0, 0, 0, 0},{"_p_wxHtmlWinParser", _p_wxHtmlWinParserTo_p_wxHtmlParser
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12301 static swig_type_info _swigt__p_wxPanel
[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12302 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12303 static swig_type_info _swigt__p_wxPyHtmlWindow
[] = {{"_p_wxPyHtmlWindow", 0, "wxPyHtmlWindow *", 0, 0, 0, 0},{"_p_wxPyHtmlWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12304 static swig_type_info _swigt__p_wxScrolledWindow
[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxScrolledWindow
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxScrolledWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12305 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12306 static swig_type_info _swigt__p_wxTopLevelWindow
[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12307 static swig_type_info _swigt__p_wxHtmlColourCell
[] = {{"_p_wxHtmlColourCell", 0, "wxHtmlColourCell *", 0, 0, 0, 0},{"_p_wxHtmlColourCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12308 static swig_type_info _swigt__p_wxHtmlFontCell
[] = {{"_p_wxHtmlFontCell", 0, "wxHtmlFontCell *", 0, 0, 0, 0},{"_p_wxHtmlFontCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12309 static swig_type_info _swigt__p_wxHtmlEasyPrinting
[] = {{"_p_wxHtmlEasyPrinting", 0, "wxHtmlEasyPrinting *", 0, 0, 0, 0},{"_p_wxHtmlEasyPrinting", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12310 static swig_type_info _swigt__p_wxHtmlSelection
[] = {{"_p_wxHtmlSelection", 0, "wxHtmlSelection *", 0, 0, 0, 0},{"_p_wxHtmlSelection", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12311 static swig_type_info _swigt__p_wxHtmlRenderingInfo
[] = {{"_p_wxHtmlRenderingInfo", 0, "wxHtmlRenderingInfo *", 0, 0, 0, 0},{"_p_wxHtmlRenderingInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12312 static swig_type_info _swigt__p_wxHtmlWidgetCell
[] = {{"_p_wxHtmlWidgetCell", 0, "wxHtmlWidgetCell *", 0, 0, 0, 0},{"_p_wxHtmlWidgetCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12313 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxHtmlLinkInfo", _p_wxHtmlLinkInfoTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxHtmlFontCell", _p_wxHtmlFontCellTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxHtmlTag", _p_wxHtmlTagTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxHtmlCell", _p_wxHtmlCellTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxHtmlWidgetCell", _p_wxHtmlWidgetCellTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxHtmlColourCell", _p_wxHtmlColourCellTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlFilter", _p_wxPyHtmlFilterTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlTagHandler", _p_wxPyHtmlTagHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWinTagHandler", _p_wxPyHtmlWinTagHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxHtmlPrintout", _p_wxHtmlPrintoutTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxHtmlDCRenderer", _p_wxHtmlDCRendererTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxHtmlContainerCell", _p_wxHtmlContainerCellTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxHtmlParser", _p_wxHtmlParserTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxHtmlWinParser", _p_wxHtmlWinParserTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxHtmlWordCell", _p_wxHtmlWordCellTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxHtmlEasyPrinting", _p_wxHtmlEasyPrintingTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpController", _p_wxHtmlHelpControllerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12314 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12315 static swig_type_info _swigt__p_wxPyHtmlWinTagHandler
[] = {{"_p_wxPyHtmlWinTagHandler", 0, "wxPyHtmlWinTagHandler *", 0, 0, 0, 0},{"_p_wxPyHtmlWinTagHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12316 static swig_type_info _swigt__p_wxHtmlTagHandler
[] = {{"_p_wxHtmlTagHandler", 0, "wxHtmlTagHandler *", 0, 0, 0, 0},{"_p_wxHtmlTagHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12317 static swig_type_info _swigt__p_wxPyHtmlTagHandler
[] = {{"_p_wxPyHtmlTagHandler", 0, "wxPyHtmlTagHandler *", 0, 0, 0, 0},{"_p_wxPyHtmlTagHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWinTagHandler", _p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12318 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpController", _p_wxHtmlHelpControllerTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12319 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12320 static swig_type_info _swigt__p_wxHtmlHelpController
[] = {{"_p_wxHtmlHelpController", 0, "wxHtmlHelpController *", 0, 0, 0, 0},{"_p_wxHtmlHelpController", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12321 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12322 static swig_type_info _swigt__p_wxFileSystem
[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0, 0, 0, 0},{"_p_wxFileSystem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12323 static swig_type_info _swigt__p_wxHtmlBookRecArray
[] = {{"_p_wxHtmlBookRecArray", 0, "wxHtmlBookRecArray *", 0, 0, 0, 0},{"_p_wxHtmlBookRecArray", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12324 static swig_type_info _swigt__p_wxPyPrintout
[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0, 0, 0, 0},{"_p_wxPyPrintout", 0, 0, 0, 0, 0, 0},{"_p_wxHtmlPrintout", _p_wxHtmlPrintoutTo_p_wxPyPrintout
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12325 static swig_type_info _swigt__p_wxHtmlPrintout
[] = {{"_p_wxHtmlPrintout", 0, "wxHtmlPrintout *", 0, 0, 0, 0},{"_p_wxHtmlPrintout", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12326 static swig_type_info _swigt__p_wxHtmlSearchStatus
[] = {{"_p_wxHtmlSearchStatus", 0, "wxHtmlSearchStatus *", 0, 0, 0, 0},{"_p_wxHtmlSearchStatus", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12327 static swig_type_info _swigt__p_wxHtmlContentsItem
[] = {{"_p_wxHtmlContentsItem", 0, "wxHtmlContentsItem *", 0, 0, 0, 0},{"_p_wxHtmlContentsItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12328 static swig_type_info _swigt__p_wxConfigBase
[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0, 0, 0, 0},{"_p_wxConfigBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12329 static swig_type_info _swigt__p_wxPrintData
[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0, 0, 0, 0},{"_p_wxPrintData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12330 static swig_type_info _swigt__p_wxHtmlHelpFrame
[] = {{"_p_wxHtmlHelpFrame", 0, "wxHtmlHelpFrame *", 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12331 static swig_type_info _swigt__p_wxHtmlRenderingState
[] = {{"_p_wxHtmlRenderingState", 0, "wxHtmlRenderingState *", 0, 0, 0, 0},{"_p_wxHtmlRenderingState", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12332 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12333 static swig_type_info _swigt__p_wxPyHtmlFilter
[] = {{"_p_wxPyHtmlFilter", 0, "wxPyHtmlFilter *", 0, 0, 0, 0},{"_p_wxPyHtmlFilter", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12334 static swig_type_info _swigt__p_wxHtmlFilter
[] = {{"_p_wxHtmlFilter", 0, "wxHtmlFilter *", 0, 0, 0, 0},{"_p_wxHtmlFilter", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12335 static swig_type_info _swigt__p_wxHtmlCell
[] = {{"_p_wxHtmlCell", 0, "wxHtmlCell *", 0, 0, 0, 0},{"_p_wxHtmlCell", 0, 0, 0, 0, 0, 0},{"_p_wxHtmlContainerCell", _p_wxHtmlContainerCellTo_p_wxHtmlCell
, 0, 0, 0, 0, 0},{"_p_wxHtmlWidgetCell", _p_wxHtmlWidgetCellTo_p_wxHtmlCell
, 0, 0, 0, 0, 0},{"_p_wxHtmlColourCell", _p_wxHtmlColourCellTo_p_wxHtmlCell
, 0, 0, 0, 0, 0},{"_p_wxHtmlWordCell", _p_wxHtmlWordCellTo_p_wxHtmlCell
, 0, 0, 0, 0, 0},{"_p_wxHtmlFontCell", _p_wxHtmlFontCellTo_p_wxHtmlCell
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12336 static swig_type_info _swigt__p_wxHtmlContainerCell
[] = {{"_p_wxHtmlContainerCell", 0, "wxHtmlContainerCell *", 0, 0, 0, 0},{"_p_wxHtmlContainerCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12337 static swig_type_info _swigt__p_wxHtmlTag
[] = {{"_p_wxHtmlTag", 0, "wxHtmlTag *", 0, 0, 0, 0},{"_p_wxHtmlTag", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12338 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12339 static swig_type_info _swigt__p_wxHtmlLinkInfo
[] = {{"_p_wxHtmlLinkInfo", 0, "wxHtmlLinkInfo *", 0, 0, 0, 0},{"_p_wxHtmlLinkInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12340 static swig_type_info _swigt__p_wxHtmlBookRecord
[] = {{"_p_wxHtmlBookRecord", 0, "wxHtmlBookRecord *", 0, 0, 0, 0},{"_p_wxHtmlBookRecord", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12342 static swig_type_info
*swig_types_initial
[] = {
12343 _swigt__p_wxHtmlDCRenderer
,
12344 _swigt__p_wxColour
,
12345 _swigt__p_wxPageSetupDialogData
,
12347 _swigt__p_wxDefaultHtmlRenderingStyle
,
12348 _swigt__p_wxHtmlRenderingStyle
,
12349 _swigt__p_wxMouseEvent
,
12350 _swigt__p_wxHtmlWordCell
,
12351 _swigt__p_wxVisualAttributes
,
12352 _swigt__p_wxHtmlHelpData
,
12354 _swigt__p_wxHtmlWinParser
,
12355 _swigt__p_wxHtmlParser
,
12358 _swigt__p_wxPyHtmlWindow
,
12359 _swigt__p_wxScrolledWindow
,
12360 _swigt__p_wxWindow
,
12361 _swigt__p_wxTopLevelWindow
,
12362 _swigt__p_wxHtmlColourCell
,
12363 _swigt__p_wxHtmlFontCell
,
12364 _swigt__p_wxHtmlEasyPrinting
,
12365 _swigt__p_wxHtmlSelection
,
12366 _swigt__p_wxHtmlRenderingInfo
,
12367 _swigt__p_wxHtmlWidgetCell
,
12368 _swigt__p_wxObject
,
12369 _swigt__p_wxString
,
12370 _swigt__p_wxPyHtmlWinTagHandler
,
12371 _swigt__p_wxHtmlTagHandler
,
12372 _swigt__p_wxPyHtmlTagHandler
,
12373 _swigt__p_wxEvtHandler
,
12375 _swigt__p_wxHtmlHelpController
,
12376 _swigt__p_wxCursor
,
12377 _swigt__p_wxFileSystem
,
12378 _swigt__p_wxHtmlBookRecArray
,
12379 _swigt__p_wxPyPrintout
,
12380 _swigt__p_wxHtmlPrintout
,
12381 _swigt__p_wxHtmlSearchStatus
,
12382 _swigt__p_wxHtmlContentsItem
,
12383 _swigt__p_wxConfigBase
,
12384 _swigt__p_wxPrintData
,
12385 _swigt__p_wxHtmlHelpFrame
,
12386 _swigt__p_wxHtmlRenderingState
,
12388 _swigt__p_wxPyHtmlFilter
,
12389 _swigt__p_wxHtmlFilter
,
12390 _swigt__p_wxHtmlCell
,
12391 _swigt__p_wxHtmlContainerCell
,
12392 _swigt__p_wxHtmlTag
,
12394 _swigt__p_wxHtmlLinkInfo
,
12395 _swigt__p_wxHtmlBookRecord
,
12400 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
12402 static swig_const_info swig_const_table
[] = {
12403 {0, 0, 0, 0.0, 0, 0}};
12412 SWIGEXPORT(void) SWIG_init(void) {
12413 static PyObject
*SWIG_globals
= 0;
12414 static int typeinit
= 0;
12417 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
12418 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
12419 d
= PyModule_GetDict(m
);
12422 for (i
= 0; swig_types_initial
[i
]; i
++) {
12423 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
12427 SWIG_InstallConstants(d
,swig_const_table
);
12429 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
12430 SWIG_addvarlink(SWIG_globals
,(char*)"HtmlWindowNameStr",_wrap_HtmlWindowNameStr_get
, _wrap_HtmlWindowNameStr_set
);
12431 SWIG_addvarlink(SWIG_globals
,(char*)"HtmlPrintoutTitleStr",_wrap_HtmlPrintoutTitleStr_get
, _wrap_HtmlPrintoutTitleStr_set
);
12432 SWIG_addvarlink(SWIG_globals
,(char*)"HtmlPrintingTitleStr",_wrap_HtmlPrintingTitleStr_get
, _wrap_HtmlPrintingTitleStr_set
);
12433 PyDict_SetItemString(d
,"HTML_ALIGN_LEFT", SWIG_From_int((int)wxHTML_ALIGN_LEFT
));
12434 PyDict_SetItemString(d
,"HTML_ALIGN_CENTER", SWIG_From_int((int)wxHTML_ALIGN_CENTER
));
12435 PyDict_SetItemString(d
,"HTML_ALIGN_RIGHT", SWIG_From_int((int)wxHTML_ALIGN_RIGHT
));
12436 PyDict_SetItemString(d
,"HTML_ALIGN_BOTTOM", SWIG_From_int((int)wxHTML_ALIGN_BOTTOM
));
12437 PyDict_SetItemString(d
,"HTML_ALIGN_TOP", SWIG_From_int((int)wxHTML_ALIGN_TOP
));
12438 PyDict_SetItemString(d
,"HTML_CLR_FOREGROUND", SWIG_From_int((int)wxHTML_CLR_FOREGROUND
));
12439 PyDict_SetItemString(d
,"HTML_CLR_BACKGROUND", SWIG_From_int((int)wxHTML_CLR_BACKGROUND
));
12440 PyDict_SetItemString(d
,"HTML_UNITS_PIXELS", SWIG_From_int((int)wxHTML_UNITS_PIXELS
));
12441 PyDict_SetItemString(d
,"HTML_UNITS_PERCENT", SWIG_From_int((int)wxHTML_UNITS_PERCENT
));
12442 PyDict_SetItemString(d
,"HTML_INDENT_LEFT", SWIG_From_int((int)wxHTML_INDENT_LEFT
));
12443 PyDict_SetItemString(d
,"HTML_INDENT_RIGHT", SWIG_From_int((int)wxHTML_INDENT_RIGHT
));
12444 PyDict_SetItemString(d
,"HTML_INDENT_TOP", SWIG_From_int((int)wxHTML_INDENT_TOP
));
12445 PyDict_SetItemString(d
,"HTML_INDENT_BOTTOM", SWIG_From_int((int)wxHTML_INDENT_BOTTOM
));
12446 PyDict_SetItemString(d
,"HTML_INDENT_HORIZONTAL", SWIG_From_int((int)wxHTML_INDENT_HORIZONTAL
));
12447 PyDict_SetItemString(d
,"HTML_INDENT_VERTICAL", SWIG_From_int((int)wxHTML_INDENT_VERTICAL
));
12448 PyDict_SetItemString(d
,"HTML_INDENT_ALL", SWIG_From_int((int)wxHTML_INDENT_ALL
));
12449 PyDict_SetItemString(d
,"HTML_COND_ISANCHOR", SWIG_From_int((int)wxHTML_COND_ISANCHOR
));
12450 PyDict_SetItemString(d
,"HTML_COND_ISIMAGEMAP", SWIG_From_int((int)wxHTML_COND_ISIMAGEMAP
));
12451 PyDict_SetItemString(d
,"HTML_COND_USER", SWIG_From_int((int)wxHTML_COND_USER
));
12452 PyDict_SetItemString(d
,"HTML_FONT_SIZE_1", SWIG_From_int((int)wxHTML_FONT_SIZE_1
));
12453 PyDict_SetItemString(d
,"HTML_FONT_SIZE_2", SWIG_From_int((int)wxHTML_FONT_SIZE_2
));
12454 PyDict_SetItemString(d
,"HTML_FONT_SIZE_3", SWIG_From_int((int)wxHTML_FONT_SIZE_3
));
12455 PyDict_SetItemString(d
,"HTML_FONT_SIZE_4", SWIG_From_int((int)wxHTML_FONT_SIZE_4
));
12456 PyDict_SetItemString(d
,"HTML_FONT_SIZE_5", SWIG_From_int((int)wxHTML_FONT_SIZE_5
));
12457 PyDict_SetItemString(d
,"HTML_FONT_SIZE_6", SWIG_From_int((int)wxHTML_FONT_SIZE_6
));
12458 PyDict_SetItemString(d
,"HTML_FONT_SIZE_7", SWIG_From_int((int)wxHTML_FONT_SIZE_7
));
12459 PyDict_SetItemString(d
,"HW_SCROLLBAR_NEVER", SWIG_From_int((int)wxHW_SCROLLBAR_NEVER
));
12460 PyDict_SetItemString(d
,"HW_SCROLLBAR_AUTO", SWIG_From_int((int)wxHW_SCROLLBAR_AUTO
));
12461 PyDict_SetItemString(d
,"HW_NO_SELECTION", SWIG_From_int((int)wxHW_NO_SELECTION
));
12462 PyDict_SetItemString(d
,"HW_DEFAULT_STYLE", SWIG_From_int((int)wxHW_DEFAULT_STYLE
));
12463 PyDict_SetItemString(d
,"HTML_OPEN", SWIG_From_int((int)wxHTML_OPEN
));
12464 PyDict_SetItemString(d
,"HTML_BLOCK", SWIG_From_int((int)wxHTML_BLOCK
));
12465 PyDict_SetItemString(d
,"HTML_REDIRECT", SWIG_From_int((int)wxHTML_REDIRECT
));
12466 PyDict_SetItemString(d
,"HTML_URL_PAGE", SWIG_From_int((int)wxHTML_URL_PAGE
));
12467 PyDict_SetItemString(d
,"HTML_URL_IMAGE", SWIG_From_int((int)wxHTML_URL_IMAGE
));
12468 PyDict_SetItemString(d
,"HTML_URL_OTHER", SWIG_From_int((int)wxHTML_URL_OTHER
));
12469 PyDict_SetItemString(d
,"HTML_SEL_OUT", SWIG_From_int((int)wxHTML_SEL_OUT
));
12470 PyDict_SetItemString(d
,"HTML_SEL_IN", SWIG_From_int((int)wxHTML_SEL_IN
));
12471 PyDict_SetItemString(d
,"HTML_SEL_CHANGING", SWIG_From_int((int)wxHTML_SEL_CHANGING
));
12472 PyDict_SetItemString(d
,"HTML_FIND_EXACT", SWIG_From_int((int)wxHTML_FIND_EXACT
));
12473 PyDict_SetItemString(d
,"HTML_FIND_NEAREST_BEFORE", SWIG_From_int((int)wxHTML_FIND_NEAREST_BEFORE
));
12474 PyDict_SetItemString(d
,"HTML_FIND_NEAREST_AFTER", SWIG_From_int((int)wxHTML_FIND_NEAREST_AFTER
));
12475 PyDict_SetItemString(d
,"PAGE_ODD", SWIG_From_int((int)wxPAGE_ODD
));
12476 PyDict_SetItemString(d
,"PAGE_EVEN", SWIG_From_int((int)wxPAGE_EVEN
));
12477 PyDict_SetItemString(d
,"PAGE_ALL", SWIG_From_int((int)wxPAGE_ALL
));
12478 PyDict_SetItemString(d
,"HF_TOOLBAR", SWIG_From_int((int)wxHF_TOOLBAR
));
12479 PyDict_SetItemString(d
,"HF_FLATTOOLBAR", SWIG_From_int((int)wxHF_FLATTOOLBAR
));
12480 PyDict_SetItemString(d
,"HF_CONTENTS", SWIG_From_int((int)wxHF_CONTENTS
));
12481 PyDict_SetItemString(d
,"HF_INDEX", SWIG_From_int((int)wxHF_INDEX
));
12482 PyDict_SetItemString(d
,"HF_SEARCH", SWIG_From_int((int)wxHF_SEARCH
));
12483 PyDict_SetItemString(d
,"HF_BOOKMARKS", SWIG_From_int((int)wxHF_BOOKMARKS
));
12484 PyDict_SetItemString(d
,"HF_OPENFILES", SWIG_From_int((int)wxHF_OPENFILES
));
12485 PyDict_SetItemString(d
,"HF_PRINT", SWIG_From_int((int)wxHF_PRINT
));
12486 PyDict_SetItemString(d
,"HF_DEFAULTSTYLE", SWIG_From_int((int)wxHF_DEFAULTSTYLE
));
12488 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
12489 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
12490 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
12491 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");