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 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
311 #define SWIG_From_signed_SS_char PyInt_FromLong
313 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
314 #define SWIG_From_unsigned_SS_char PyInt_FromLong
316 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
317 #define SWIG_From_short PyInt_FromLong
319 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
320 #define SWIG_From_unsigned_SS_short PyInt_FromLong
322 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
323 #define SWIG_From_int PyInt_FromLong
325 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
326 #define SWIG_From_long PyInt_FromLong
328 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
329 #define SWIG_From_float PyFloat_FromDouble
331 /*@/opt/swig/share/swig/1.3.22/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 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
724 #define SWIG_From_unsigned_SS_int SWIG_From_long
727 /*@/opt/swig/share/swig/1.3.22/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_PrinterSetup(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_PrinterSetup",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
)->PrinterSetup();
8687 wxPyEndAllowThreads(__tstate
);
8688 if (PyErr_Occurred()) SWIG_fail
;
8690 Py_INCREF(Py_None
); resultobj
= Py_None
;
8697 static PyObject
*_wrap_HtmlEasyPrinting_PageSetup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8698 PyObject
*resultobj
;
8699 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
8700 PyObject
* obj0
= 0 ;
8702 (char *) "self", NULL
8705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlEasyPrinting_PageSetup",kwnames
,&obj0
)) goto fail
;
8706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlEasyPrinting
,
8707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8710 (arg1
)->PageSetup();
8712 wxPyEndAllowThreads(__tstate
);
8713 if (PyErr_Occurred()) SWIG_fail
;
8715 Py_INCREF(Py_None
); resultobj
= Py_None
;
8722 static PyObject
*_wrap_HtmlEasyPrinting_SetHeader(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8723 PyObject
*resultobj
;
8724 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
8725 wxString
*arg2
= 0 ;
8726 int arg3
= (int) wxPAGE_ALL
;
8727 bool temp2
= false ;
8728 PyObject
* obj0
= 0 ;
8729 PyObject
* obj1
= 0 ;
8730 PyObject
* obj2
= 0 ;
8732 (char *) "self",(char *) "header",(char *) "pg", NULL
8735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlEasyPrinting
,
8737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8739 arg2
= wxString_in_helper(obj1
);
8740 if (arg2
== NULL
) SWIG_fail
;
8744 arg3
= (int)SWIG_As_int(obj2
);
8745 if (PyErr_Occurred()) SWIG_fail
;
8748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8749 (arg1
)->SetHeader((wxString
const &)*arg2
,arg3
);
8751 wxPyEndAllowThreads(__tstate
);
8752 if (PyErr_Occurred()) SWIG_fail
;
8754 Py_INCREF(Py_None
); resultobj
= Py_None
;
8769 static PyObject
*_wrap_HtmlEasyPrinting_SetFooter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8770 PyObject
*resultobj
;
8771 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
8772 wxString
*arg2
= 0 ;
8773 int arg3
= (int) wxPAGE_ALL
;
8774 bool temp2
= false ;
8775 PyObject
* obj0
= 0 ;
8776 PyObject
* obj1
= 0 ;
8777 PyObject
* obj2
= 0 ;
8779 (char *) "self",(char *) "footer",(char *) "pg", NULL
8782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlEasyPrinting
,
8784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8786 arg2
= wxString_in_helper(obj1
);
8787 if (arg2
== NULL
) SWIG_fail
;
8791 arg3
= (int)SWIG_As_int(obj2
);
8792 if (PyErr_Occurred()) SWIG_fail
;
8795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8796 (arg1
)->SetFooter((wxString
const &)*arg2
,arg3
);
8798 wxPyEndAllowThreads(__tstate
);
8799 if (PyErr_Occurred()) SWIG_fail
;
8801 Py_INCREF(Py_None
); resultobj
= Py_None
;
8816 static PyObject
*_wrap_HtmlEasyPrinting_SetFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8817 PyObject
*resultobj
;
8818 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
8821 PyObject
*arg4
= (PyObject
*) NULL
;
8822 PyObject
* obj0
= 0 ;
8823 PyObject
* obj1
= 0 ;
8824 PyObject
* obj2
= 0 ;
8825 PyObject
* obj3
= 0 ;
8827 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
8830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlEasyPrinting
,
8832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8834 wxString
* sptr
= wxString_in_helper(obj1
);
8835 if (sptr
== NULL
) SWIG_fail
;
8840 wxString
* sptr
= wxString_in_helper(obj2
);
8841 if (sptr
== NULL
) SWIG_fail
;
8849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8850 wxHtmlEasyPrinting_SetFonts(arg1
,arg2
,arg3
,arg4
);
8852 wxPyEndAllowThreads(__tstate
);
8853 if (PyErr_Occurred()) SWIG_fail
;
8855 Py_INCREF(Py_None
); resultobj
= Py_None
;
8862 static PyObject
*_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8863 PyObject
*resultobj
;
8864 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
8865 int arg2
= (int) -1 ;
8866 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8867 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8868 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8869 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8870 bool temp3
= false ;
8871 bool temp4
= false ;
8872 PyObject
* obj0
= 0 ;
8873 PyObject
* obj1
= 0 ;
8874 PyObject
* obj2
= 0 ;
8875 PyObject
* obj3
= 0 ;
8877 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
8880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlEasyPrinting_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlEasyPrinting
,
8882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8884 arg2
= (int)SWIG_As_int(obj1
);
8885 if (PyErr_Occurred()) SWIG_fail
;
8889 arg3
= wxString_in_helper(obj2
);
8890 if (arg3
== NULL
) SWIG_fail
;
8896 arg4
= wxString_in_helper(obj3
);
8897 if (arg4
== NULL
) SWIG_fail
;
8902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8903 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
8905 wxPyEndAllowThreads(__tstate
);
8906 if (PyErr_Occurred()) SWIG_fail
;
8908 Py_INCREF(Py_None
); resultobj
= Py_None
;
8931 static PyObject
*_wrap_HtmlEasyPrinting_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8932 PyObject
*resultobj
;
8933 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
8934 wxPrintData
*result
;
8935 PyObject
* obj0
= 0 ;
8937 (char *) "self", NULL
8940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlEasyPrinting_GetPrintData",kwnames
,&obj0
)) goto fail
;
8941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlEasyPrinting
,
8942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8945 result
= (wxPrintData
*)(arg1
)->GetPrintData();
8947 wxPyEndAllowThreads(__tstate
);
8948 if (PyErr_Occurred()) SWIG_fail
;
8950 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
8957 static PyObject
*_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8958 PyObject
*resultobj
;
8959 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
8960 wxPageSetupDialogData
*result
;
8961 PyObject
* obj0
= 0 ;
8963 (char *) "self", NULL
8966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlEasyPrinting_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
8967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlEasyPrinting
,
8968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8971 result
= (wxPageSetupDialogData
*)(arg1
)->GetPageSetupData();
8973 wxPyEndAllowThreads(__tstate
);
8974 if (PyErr_Occurred()) SWIG_fail
;
8976 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
8983 static PyObject
* HtmlEasyPrinting_swigregister(PyObject
*, PyObject
*args
) {
8985 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8986 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlEasyPrinting
, obj
);
8988 return Py_BuildValue((char *)"");
8990 static PyObject
*_wrap_new_HtmlBookRecord(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8991 PyObject
*resultobj
;
8992 wxString
*arg1
= 0 ;
8993 wxString
*arg2
= 0 ;
8994 wxString
*arg3
= 0 ;
8995 wxString
*arg4
= 0 ;
8996 wxHtmlBookRecord
*result
;
8997 bool temp1
= false ;
8998 bool temp2
= false ;
8999 bool temp3
= false ;
9000 bool temp4
= false ;
9001 PyObject
* obj0
= 0 ;
9002 PyObject
* obj1
= 0 ;
9003 PyObject
* obj2
= 0 ;
9004 PyObject
* obj3
= 0 ;
9006 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
9009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_HtmlBookRecord",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9011 arg1
= wxString_in_helper(obj0
);
9012 if (arg1
== NULL
) SWIG_fail
;
9016 arg2
= wxString_in_helper(obj1
);
9017 if (arg2
== NULL
) SWIG_fail
;
9021 arg3
= wxString_in_helper(obj2
);
9022 if (arg3
== NULL
) SWIG_fail
;
9026 arg4
= wxString_in_helper(obj3
);
9027 if (arg4
== NULL
) SWIG_fail
;
9031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9032 result
= (wxHtmlBookRecord
*)new wxHtmlBookRecord((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
9034 wxPyEndAllowThreads(__tstate
);
9035 if (PyErr_Occurred()) SWIG_fail
;
9037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlBookRecord
, 1);
9076 static PyObject
*_wrap_HtmlBookRecord_GetBookFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9077 PyObject
*resultobj
;
9078 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
9080 PyObject
* obj0
= 0 ;
9082 (char *) "self", NULL
9085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetBookFile",kwnames
,&obj0
)) goto fail
;
9086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlBookRecord
,
9087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9090 result
= (arg1
)->GetBookFile();
9092 wxPyEndAllowThreads(__tstate
);
9093 if (PyErr_Occurred()) SWIG_fail
;
9097 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9099 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9108 static PyObject
*_wrap_HtmlBookRecord_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9109 PyObject
*resultobj
;
9110 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
9112 PyObject
* obj0
= 0 ;
9114 (char *) "self", NULL
9117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetTitle",kwnames
,&obj0
)) goto fail
;
9118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlBookRecord
,
9119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9122 result
= (arg1
)->GetTitle();
9124 wxPyEndAllowThreads(__tstate
);
9125 if (PyErr_Occurred()) SWIG_fail
;
9129 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9131 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9140 static PyObject
*_wrap_HtmlBookRecord_GetStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9141 PyObject
*resultobj
;
9142 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
9144 PyObject
* obj0
= 0 ;
9146 (char *) "self", NULL
9149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetStart",kwnames
,&obj0
)) goto fail
;
9150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlBookRecord
,
9151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9154 result
= (arg1
)->GetStart();
9156 wxPyEndAllowThreads(__tstate
);
9157 if (PyErr_Occurred()) SWIG_fail
;
9161 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9163 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9172 static PyObject
*_wrap_HtmlBookRecord_GetBasePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9173 PyObject
*resultobj
;
9174 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
9176 PyObject
* obj0
= 0 ;
9178 (char *) "self", NULL
9181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetBasePath",kwnames
,&obj0
)) goto fail
;
9182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlBookRecord
,
9183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9186 result
= (arg1
)->GetBasePath();
9188 wxPyEndAllowThreads(__tstate
);
9189 if (PyErr_Occurred()) SWIG_fail
;
9193 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9195 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9204 static PyObject
*_wrap_HtmlBookRecord_SetContentsRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9205 PyObject
*resultobj
;
9206 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
9209 PyObject
* obj0
= 0 ;
9210 PyObject
* obj1
= 0 ;
9211 PyObject
* obj2
= 0 ;
9213 (char *) "self",(char *) "start",(char *) "end", NULL
9216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlBookRecord
,
9218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9219 arg2
= (int)SWIG_As_int(obj1
);
9220 if (PyErr_Occurred()) SWIG_fail
;
9221 arg3
= (int)SWIG_As_int(obj2
);
9222 if (PyErr_Occurred()) SWIG_fail
;
9224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9225 (arg1
)->SetContentsRange(arg2
,arg3
);
9227 wxPyEndAllowThreads(__tstate
);
9228 if (PyErr_Occurred()) SWIG_fail
;
9230 Py_INCREF(Py_None
); resultobj
= Py_None
;
9237 static PyObject
*_wrap_HtmlBookRecord_GetContentsStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9238 PyObject
*resultobj
;
9239 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
9241 PyObject
* obj0
= 0 ;
9243 (char *) "self", NULL
9246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetContentsStart",kwnames
,&obj0
)) goto fail
;
9247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlBookRecord
,
9248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9251 result
= (int)(arg1
)->GetContentsStart();
9253 wxPyEndAllowThreads(__tstate
);
9254 if (PyErr_Occurred()) SWIG_fail
;
9256 resultobj
= SWIG_From_int((int)result
);
9263 static PyObject
*_wrap_HtmlBookRecord_GetContentsEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9264 PyObject
*resultobj
;
9265 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
9267 PyObject
* obj0
= 0 ;
9269 (char *) "self", NULL
9272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetContentsEnd",kwnames
,&obj0
)) goto fail
;
9273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlBookRecord
,
9274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9277 result
= (int)(arg1
)->GetContentsEnd();
9279 wxPyEndAllowThreads(__tstate
);
9280 if (PyErr_Occurred()) SWIG_fail
;
9282 resultobj
= SWIG_From_int((int)result
);
9289 static PyObject
*_wrap_HtmlBookRecord_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9290 PyObject
*resultobj
;
9291 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
9292 wxString
*arg2
= 0 ;
9293 bool temp2
= false ;
9294 PyObject
* obj0
= 0 ;
9295 PyObject
* obj1
= 0 ;
9297 (char *) "self",(char *) "title", NULL
9300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
9301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlBookRecord
,
9302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9304 arg2
= wxString_in_helper(obj1
);
9305 if (arg2
== NULL
) SWIG_fail
;
9309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9310 (arg1
)->SetTitle((wxString
const &)*arg2
);
9312 wxPyEndAllowThreads(__tstate
);
9313 if (PyErr_Occurred()) SWIG_fail
;
9315 Py_INCREF(Py_None
); resultobj
= Py_None
;
9330 static PyObject
*_wrap_HtmlBookRecord_SetBasePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9331 PyObject
*resultobj
;
9332 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
9333 wxString
*arg2
= 0 ;
9334 bool temp2
= false ;
9335 PyObject
* obj0
= 0 ;
9336 PyObject
* obj1
= 0 ;
9338 (char *) "self",(char *) "path", NULL
9341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames
,&obj0
,&obj1
)) goto fail
;
9342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlBookRecord
,
9343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9345 arg2
= wxString_in_helper(obj1
);
9346 if (arg2
== NULL
) SWIG_fail
;
9350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9351 (arg1
)->SetBasePath((wxString
const &)*arg2
);
9353 wxPyEndAllowThreads(__tstate
);
9354 if (PyErr_Occurred()) SWIG_fail
;
9356 Py_INCREF(Py_None
); resultobj
= Py_None
;
9371 static PyObject
*_wrap_HtmlBookRecord_SetStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9372 PyObject
*resultobj
;
9373 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
9374 wxString
*arg2
= 0 ;
9375 bool temp2
= false ;
9376 PyObject
* obj0
= 0 ;
9377 PyObject
* obj1
= 0 ;
9379 (char *) "self",(char *) "start", NULL
9382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetStart",kwnames
,&obj0
,&obj1
)) goto fail
;
9383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlBookRecord
,
9384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9386 arg2
= wxString_in_helper(obj1
);
9387 if (arg2
== NULL
) SWIG_fail
;
9391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9392 (arg1
)->SetStart((wxString
const &)*arg2
);
9394 wxPyEndAllowThreads(__tstate
);
9395 if (PyErr_Occurred()) SWIG_fail
;
9397 Py_INCREF(Py_None
); resultobj
= Py_None
;
9412 static PyObject
*_wrap_HtmlBookRecord_GetFullPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9413 PyObject
*resultobj
;
9414 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
9415 wxString
*arg2
= 0 ;
9417 bool temp2
= false ;
9418 PyObject
* obj0
= 0 ;
9419 PyObject
* obj1
= 0 ;
9421 (char *) "self",(char *) "page", NULL
9424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames
,&obj0
,&obj1
)) goto fail
;
9425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlBookRecord
,
9426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9428 arg2
= wxString_in_helper(obj1
);
9429 if (arg2
== NULL
) SWIG_fail
;
9433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9434 result
= ((wxHtmlBookRecord
const *)arg1
)->GetFullPath((wxString
const &)*arg2
);
9436 wxPyEndAllowThreads(__tstate
);
9437 if (PyErr_Occurred()) SWIG_fail
;
9441 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9443 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9460 static PyObject
* HtmlBookRecord_swigregister(PyObject
*, PyObject
*args
) {
9462 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9463 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlBookRecord
, obj
);
9465 return Py_BuildValue((char *)"");
9467 static PyObject
*_wrap_HtmlContentsItem_GetLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9468 PyObject
*resultobj
;
9469 wxHtmlContentsItem
*arg1
= (wxHtmlContentsItem
*) 0 ;
9471 PyObject
* obj0
= 0 ;
9473 (char *) "self", NULL
9476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContentsItem_GetLevel",kwnames
,&obj0
)) goto fail
;
9477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContentsItem
,
9478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9481 result
= (int)wxHtmlContentsItem_GetLevel(arg1
);
9483 wxPyEndAllowThreads(__tstate
);
9484 if (PyErr_Occurred()) SWIG_fail
;
9486 resultobj
= SWIG_From_int((int)result
);
9493 static PyObject
*_wrap_HtmlContentsItem_GetID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9494 PyObject
*resultobj
;
9495 wxHtmlContentsItem
*arg1
= (wxHtmlContentsItem
*) 0 ;
9497 PyObject
* obj0
= 0 ;
9499 (char *) "self", NULL
9502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContentsItem_GetID",kwnames
,&obj0
)) goto fail
;
9503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContentsItem
,
9504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9507 result
= (int)wxHtmlContentsItem_GetID(arg1
);
9509 wxPyEndAllowThreads(__tstate
);
9510 if (PyErr_Occurred()) SWIG_fail
;
9512 resultobj
= SWIG_From_int((int)result
);
9519 static PyObject
*_wrap_HtmlContentsItem_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9520 PyObject
*resultobj
;
9521 wxHtmlContentsItem
*arg1
= (wxHtmlContentsItem
*) 0 ;
9523 PyObject
* obj0
= 0 ;
9525 (char *) "self", NULL
9528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContentsItem_GetName",kwnames
,&obj0
)) goto fail
;
9529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContentsItem
,
9530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9533 result
= wxHtmlContentsItem_GetName(arg1
);
9535 wxPyEndAllowThreads(__tstate
);
9536 if (PyErr_Occurred()) SWIG_fail
;
9540 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9542 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9551 static PyObject
*_wrap_HtmlContentsItem_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9552 PyObject
*resultobj
;
9553 wxHtmlContentsItem
*arg1
= (wxHtmlContentsItem
*) 0 ;
9555 PyObject
* obj0
= 0 ;
9557 (char *) "self", NULL
9560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContentsItem_GetPage",kwnames
,&obj0
)) goto fail
;
9561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContentsItem
,
9562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9565 result
= wxHtmlContentsItem_GetPage(arg1
);
9567 wxPyEndAllowThreads(__tstate
);
9568 if (PyErr_Occurred()) SWIG_fail
;
9572 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9574 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9583 static PyObject
*_wrap_HtmlContentsItem_GetBook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9584 PyObject
*resultobj
;
9585 wxHtmlContentsItem
*arg1
= (wxHtmlContentsItem
*) 0 ;
9586 wxHtmlBookRecord
*result
;
9587 PyObject
* obj0
= 0 ;
9589 (char *) "self", NULL
9592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContentsItem_GetBook",kwnames
,&obj0
)) goto fail
;
9593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContentsItem
,
9594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9597 result
= (wxHtmlBookRecord
*)wxHtmlContentsItem_GetBook(arg1
);
9599 wxPyEndAllowThreads(__tstate
);
9600 if (PyErr_Occurred()) SWIG_fail
;
9602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlBookRecord
, 0);
9609 static PyObject
* HtmlContentsItem_swigregister(PyObject
*, PyObject
*args
) {
9611 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9612 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContentsItem
, obj
);
9614 return Py_BuildValue((char *)"");
9616 static PyObject
*_wrap_HtmlSearchStatus_Search(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9617 PyObject
*resultobj
;
9618 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
9620 PyObject
* obj0
= 0 ;
9622 (char *) "self", NULL
9625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_Search",kwnames
,&obj0
)) goto fail
;
9626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSearchStatus
,
9627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9630 result
= (bool)(arg1
)->Search();
9632 wxPyEndAllowThreads(__tstate
);
9633 if (PyErr_Occurred()) SWIG_fail
;
9636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9644 static PyObject
*_wrap_HtmlSearchStatus_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9645 PyObject
*resultobj
;
9646 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
9648 PyObject
* obj0
= 0 ;
9650 (char *) "self", NULL
9653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_IsActive",kwnames
,&obj0
)) goto fail
;
9654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSearchStatus
,
9655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9658 result
= (bool)(arg1
)->IsActive();
9660 wxPyEndAllowThreads(__tstate
);
9661 if (PyErr_Occurred()) SWIG_fail
;
9664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9672 static PyObject
*_wrap_HtmlSearchStatus_GetCurIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9673 PyObject
*resultobj
;
9674 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
9676 PyObject
* obj0
= 0 ;
9678 (char *) "self", NULL
9681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_GetCurIndex",kwnames
,&obj0
)) goto fail
;
9682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSearchStatus
,
9683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9686 result
= (int)(arg1
)->GetCurIndex();
9688 wxPyEndAllowThreads(__tstate
);
9689 if (PyErr_Occurred()) SWIG_fail
;
9691 resultobj
= SWIG_From_int((int)result
);
9698 static PyObject
*_wrap_HtmlSearchStatus_GetMaxIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9699 PyObject
*resultobj
;
9700 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
9702 PyObject
* obj0
= 0 ;
9704 (char *) "self", NULL
9707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_GetMaxIndex",kwnames
,&obj0
)) goto fail
;
9708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSearchStatus
,
9709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9712 result
= (int)(arg1
)->GetMaxIndex();
9714 wxPyEndAllowThreads(__tstate
);
9715 if (PyErr_Occurred()) SWIG_fail
;
9717 resultobj
= SWIG_From_int((int)result
);
9724 static PyObject
*_wrap_HtmlSearchStatus_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9725 PyObject
*resultobj
;
9726 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
9728 PyObject
* obj0
= 0 ;
9730 (char *) "self", NULL
9733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_GetName",kwnames
,&obj0
)) goto fail
;
9734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSearchStatus
,
9735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9739 wxString
const &_result_ref
= (arg1
)->GetName();
9740 result
= (wxString
*) &_result_ref
;
9743 wxPyEndAllowThreads(__tstate
);
9744 if (PyErr_Occurred()) SWIG_fail
;
9748 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9750 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9759 static PyObject
*_wrap_HtmlSearchStatus_GetContentsItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9760 PyObject
*resultobj
;
9761 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
9762 wxHtmlContentsItem
*result
;
9763 PyObject
* obj0
= 0 ;
9765 (char *) "self", NULL
9768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_GetContentsItem",kwnames
,&obj0
)) goto fail
;
9769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSearchStatus
,
9770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9773 result
= (wxHtmlContentsItem
*)(arg1
)->GetContentsItem();
9775 wxPyEndAllowThreads(__tstate
);
9776 if (PyErr_Occurred()) SWIG_fail
;
9778 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContentsItem
, 0);
9785 static PyObject
* HtmlSearchStatus_swigregister(PyObject
*, PyObject
*args
) {
9787 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9788 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSearchStatus
, obj
);
9790 return Py_BuildValue((char *)"");
9792 static PyObject
*_wrap_new_HtmlHelpData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9793 PyObject
*resultobj
;
9794 wxHtmlHelpData
*result
;
9799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlHelpData",kwnames
)) goto fail
;
9801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9802 result
= (wxHtmlHelpData
*)new wxHtmlHelpData();
9804 wxPyEndAllowThreads(__tstate
);
9805 if (PyErr_Occurred()) SWIG_fail
;
9807 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpData
, 1);
9814 static PyObject
*_wrap_delete_HtmlHelpData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9815 PyObject
*resultobj
;
9816 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
9817 PyObject
* obj0
= 0 ;
9819 (char *) "self", NULL
9822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlHelpData",kwnames
,&obj0
)) goto fail
;
9823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpData
,
9824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9829 wxPyEndAllowThreads(__tstate
);
9830 if (PyErr_Occurred()) SWIG_fail
;
9832 Py_INCREF(Py_None
); resultobj
= Py_None
;
9839 static PyObject
*_wrap_HtmlHelpData_SetTempDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9840 PyObject
*resultobj
;
9841 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
9842 wxString
*arg2
= 0 ;
9843 bool temp2
= false ;
9844 PyObject
* obj0
= 0 ;
9845 PyObject
* obj1
= 0 ;
9847 (char *) "self",(char *) "path", NULL
9850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_SetTempDir",kwnames
,&obj0
,&obj1
)) goto fail
;
9851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpData
,
9852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9854 arg2
= wxString_in_helper(obj1
);
9855 if (arg2
== NULL
) SWIG_fail
;
9859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9860 (arg1
)->SetTempDir((wxString
const &)*arg2
);
9862 wxPyEndAllowThreads(__tstate
);
9863 if (PyErr_Occurred()) SWIG_fail
;
9865 Py_INCREF(Py_None
); resultobj
= Py_None
;
9880 static PyObject
*_wrap_HtmlHelpData_AddBook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9881 PyObject
*resultobj
;
9882 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
9883 wxString
*arg2
= 0 ;
9885 bool temp2
= false ;
9886 PyObject
* obj0
= 0 ;
9887 PyObject
* obj1
= 0 ;
9889 (char *) "self",(char *) "book", NULL
9892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_AddBook",kwnames
,&obj0
,&obj1
)) goto fail
;
9893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpData
,
9894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9896 arg2
= wxString_in_helper(obj1
);
9897 if (arg2
== NULL
) SWIG_fail
;
9901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9902 result
= (bool)(arg1
)->AddBook((wxString
const &)*arg2
);
9904 wxPyEndAllowThreads(__tstate
);
9905 if (PyErr_Occurred()) SWIG_fail
;
9908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9924 static PyObject
*_wrap_HtmlHelpData_FindPageByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9925 PyObject
*resultobj
;
9926 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
9927 wxString
*arg2
= 0 ;
9929 bool temp2
= false ;
9930 PyObject
* obj0
= 0 ;
9931 PyObject
* obj1
= 0 ;
9933 (char *) "self",(char *) "page", NULL
9936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_FindPageByName",kwnames
,&obj0
,&obj1
)) goto fail
;
9937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpData
,
9938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9940 arg2
= wxString_in_helper(obj1
);
9941 if (arg2
== NULL
) SWIG_fail
;
9945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9946 result
= (arg1
)->FindPageByName((wxString
const &)*arg2
);
9948 wxPyEndAllowThreads(__tstate
);
9949 if (PyErr_Occurred()) SWIG_fail
;
9953 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9955 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9972 static PyObject
*_wrap_HtmlHelpData_FindPageById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9973 PyObject
*resultobj
;
9974 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
9977 PyObject
* obj0
= 0 ;
9978 PyObject
* obj1
= 0 ;
9980 (char *) "self",(char *) "id", NULL
9983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_FindPageById",kwnames
,&obj0
,&obj1
)) goto fail
;
9984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpData
,
9985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9986 arg2
= (int)SWIG_As_int(obj1
);
9987 if (PyErr_Occurred()) SWIG_fail
;
9989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9990 result
= (arg1
)->FindPageById(arg2
);
9992 wxPyEndAllowThreads(__tstate
);
9993 if (PyErr_Occurred()) SWIG_fail
;
9997 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9999 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10008 static PyObject
*_wrap_HtmlHelpData_GetBookRecArray(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10009 PyObject
*resultobj
;
10010 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
10011 wxHtmlBookRecArray
*result
;
10012 PyObject
* obj0
= 0 ;
10013 char *kwnames
[] = {
10014 (char *) "self", NULL
10017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpData_GetBookRecArray",kwnames
,&obj0
)) goto fail
;
10018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpData
,
10019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10023 wxHtmlBookRecArray
const &_result_ref
= (arg1
)->GetBookRecArray();
10024 result
= (wxHtmlBookRecArray
*) &_result_ref
;
10027 wxPyEndAllowThreads(__tstate
);
10028 if (PyErr_Occurred()) SWIG_fail
;
10030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlBookRecArray
, 0);
10037 static PyObject
*_wrap_HtmlHelpData_GetContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10038 PyObject
*resultobj
;
10039 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
10040 wxHtmlContentsItem
*result
;
10041 PyObject
* obj0
= 0 ;
10042 char *kwnames
[] = {
10043 (char *) "self", NULL
10046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpData_GetContents",kwnames
,&obj0
)) goto fail
;
10047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpData
,
10048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10051 result
= (wxHtmlContentsItem
*)(arg1
)->GetContents();
10053 wxPyEndAllowThreads(__tstate
);
10054 if (PyErr_Occurred()) SWIG_fail
;
10056 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContentsItem
, 0);
10063 static PyObject
*_wrap_HtmlHelpData_GetContentsCnt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10064 PyObject
*resultobj
;
10065 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
10067 PyObject
* obj0
= 0 ;
10068 char *kwnames
[] = {
10069 (char *) "self", NULL
10072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpData_GetContentsCnt",kwnames
,&obj0
)) goto fail
;
10073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpData
,
10074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10077 result
= (int)(arg1
)->GetContentsCnt();
10079 wxPyEndAllowThreads(__tstate
);
10080 if (PyErr_Occurred()) SWIG_fail
;
10082 resultobj
= SWIG_From_int((int)result
);
10089 static PyObject
*_wrap_HtmlHelpData_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10090 PyObject
*resultobj
;
10091 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
10092 wxHtmlContentsItem
*result
;
10093 PyObject
* obj0
= 0 ;
10094 char *kwnames
[] = {
10095 (char *) "self", NULL
10098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpData_GetIndex",kwnames
,&obj0
)) goto fail
;
10099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpData
,
10100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10103 result
= (wxHtmlContentsItem
*)(arg1
)->GetIndex();
10105 wxPyEndAllowThreads(__tstate
);
10106 if (PyErr_Occurred()) SWIG_fail
;
10108 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContentsItem
, 0);
10115 static PyObject
*_wrap_HtmlHelpData_GetIndexCnt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10116 PyObject
*resultobj
;
10117 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
10119 PyObject
* obj0
= 0 ;
10120 char *kwnames
[] = {
10121 (char *) "self", NULL
10124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpData_GetIndexCnt",kwnames
,&obj0
)) goto fail
;
10125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpData
,
10126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10129 result
= (int)(arg1
)->GetIndexCnt();
10131 wxPyEndAllowThreads(__tstate
);
10132 if (PyErr_Occurred()) SWIG_fail
;
10134 resultobj
= SWIG_From_int((int)result
);
10141 static PyObject
* HtmlHelpData_swigregister(PyObject
*, PyObject
*args
) {
10143 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10144 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpData
, obj
);
10146 return Py_BuildValue((char *)"");
10148 static PyObject
*_wrap_new_HtmlHelpFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10149 PyObject
*resultobj
;
10150 wxWindow
*arg1
= (wxWindow
*) 0 ;
10152 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10153 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10154 int arg4
= (int) wxHF_DEFAULTSTYLE
;
10155 wxHtmlHelpData
*arg5
= (wxHtmlHelpData
*) NULL
;
10156 wxHtmlHelpFrame
*result
;
10157 bool temp3
= false ;
10158 PyObject
* obj0
= 0 ;
10159 PyObject
* obj1
= 0 ;
10160 PyObject
* obj2
= 0 ;
10161 PyObject
* obj3
= 0 ;
10162 PyObject
* obj4
= 0 ;
10163 char *kwnames
[] = {
10164 (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL
10167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10170 arg2
= (int)SWIG_As_int(obj1
);
10171 if (PyErr_Occurred()) SWIG_fail
;
10174 arg3
= wxString_in_helper(obj2
);
10175 if (arg3
== NULL
) SWIG_fail
;
10180 arg4
= (int)SWIG_As_int(obj3
);
10181 if (PyErr_Occurred()) SWIG_fail
;
10184 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxHtmlHelpData
,
10185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10188 if (!wxPyCheckForApp()) SWIG_fail
;
10189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10190 result
= (wxHtmlHelpFrame
*)new wxHtmlHelpFrame(arg1
,arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
10192 wxPyEndAllowThreads(__tstate
);
10193 if (PyErr_Occurred()) SWIG_fail
;
10195 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpFrame
, 1);
10210 static PyObject
*_wrap_HtmlHelpFrame_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10211 PyObject
*resultobj
;
10212 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
10213 wxHtmlHelpData
*result
;
10214 PyObject
* obj0
= 0 ;
10215 char *kwnames
[] = {
10216 (char *) "self", NULL
10219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpFrame_GetData",kwnames
,&obj0
)) goto fail
;
10220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpFrame
,
10221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10224 result
= (wxHtmlHelpData
*)(arg1
)->GetData();
10226 wxPyEndAllowThreads(__tstate
);
10227 if (PyErr_Occurred()) SWIG_fail
;
10229 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpData
, 0);
10236 static PyObject
*_wrap_HtmlHelpFrame_SetTitleFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10237 PyObject
*resultobj
;
10238 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
10239 wxString
*arg2
= 0 ;
10240 bool temp2
= false ;
10241 PyObject
* obj0
= 0 ;
10242 PyObject
* obj1
= 0 ;
10243 char *kwnames
[] = {
10244 (char *) "self",(char *) "format", NULL
10247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
10248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpFrame
,
10249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10251 arg2
= wxString_in_helper(obj1
);
10252 if (arg2
== NULL
) SWIG_fail
;
10256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10257 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
10259 wxPyEndAllowThreads(__tstate
);
10260 if (PyErr_Occurred()) SWIG_fail
;
10262 Py_INCREF(Py_None
); resultobj
= Py_None
;
10277 static PyObject
*_wrap_HtmlHelpFrame_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10278 PyObject
*resultobj
;
10279 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
10280 wxString
*arg2
= 0 ;
10281 bool temp2
= false ;
10282 PyObject
* obj0
= 0 ;
10283 PyObject
* obj1
= 0 ;
10284 char *kwnames
[] = {
10285 (char *) "self",(char *) "x", NULL
10288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_Display",kwnames
,&obj0
,&obj1
)) goto fail
;
10289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpFrame
,
10290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10292 arg2
= wxString_in_helper(obj1
);
10293 if (arg2
== NULL
) SWIG_fail
;
10297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10298 (arg1
)->Display((wxString
const &)*arg2
);
10300 wxPyEndAllowThreads(__tstate
);
10301 if (PyErr_Occurred()) SWIG_fail
;
10303 Py_INCREF(Py_None
); resultobj
= Py_None
;
10318 static PyObject
*_wrap_HtmlHelpFrame_DisplayID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10319 PyObject
*resultobj
;
10320 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
10322 PyObject
* obj0
= 0 ;
10323 PyObject
* obj1
= 0 ;
10324 char *kwnames
[] = {
10325 (char *) "self",(char *) "id", NULL
10328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_DisplayID",kwnames
,&obj0
,&obj1
)) goto fail
;
10329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpFrame
,
10330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10331 arg2
= (int)SWIG_As_int(obj1
);
10332 if (PyErr_Occurred()) SWIG_fail
;
10334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10335 (arg1
)->Display(arg2
);
10337 wxPyEndAllowThreads(__tstate
);
10338 if (PyErr_Occurred()) SWIG_fail
;
10340 Py_INCREF(Py_None
); resultobj
= Py_None
;
10347 static PyObject
*_wrap_HtmlHelpFrame_DisplayContents(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_DisplayContents",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
)->DisplayContents();
10362 wxPyEndAllowThreads(__tstate
);
10363 if (PyErr_Occurred()) SWIG_fail
;
10365 Py_INCREF(Py_None
); resultobj
= Py_None
;
10372 static PyObject
*_wrap_HtmlHelpFrame_DisplayIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10373 PyObject
*resultobj
;
10374 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
10375 PyObject
* obj0
= 0 ;
10376 char *kwnames
[] = {
10377 (char *) "self", NULL
10380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpFrame_DisplayIndex",kwnames
,&obj0
)) goto fail
;
10381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpFrame
,
10382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10385 (arg1
)->DisplayIndex();
10387 wxPyEndAllowThreads(__tstate
);
10388 if (PyErr_Occurred()) SWIG_fail
;
10390 Py_INCREF(Py_None
); resultobj
= Py_None
;
10397 static PyObject
*_wrap_HtmlHelpFrame_KeywordSearch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10398 PyObject
*resultobj
;
10399 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
10400 wxString
*arg2
= 0 ;
10402 bool temp2
= false ;
10403 PyObject
* obj0
= 0 ;
10404 PyObject
* obj1
= 0 ;
10405 char *kwnames
[] = {
10406 (char *) "self",(char *) "keyword", NULL
10409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_KeywordSearch",kwnames
,&obj0
,&obj1
)) goto fail
;
10410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpFrame
,
10411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10413 arg2
= wxString_in_helper(obj1
);
10414 if (arg2
== NULL
) SWIG_fail
;
10418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10419 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
);
10421 wxPyEndAllowThreads(__tstate
);
10422 if (PyErr_Occurred()) SWIG_fail
;
10425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10441 static PyObject
*_wrap_HtmlHelpFrame_UseConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10442 PyObject
*resultobj
;
10443 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
10444 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
10445 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10446 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10447 bool temp3
= false ;
10448 PyObject
* obj0
= 0 ;
10449 PyObject
* obj1
= 0 ;
10450 PyObject
* obj2
= 0 ;
10451 char *kwnames
[] = {
10452 (char *) "self",(char *) "config",(char *) "rootpath", NULL
10455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpFrame_UseConfig",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpFrame
,
10457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10458 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
10459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10462 arg3
= wxString_in_helper(obj2
);
10463 if (arg3
== NULL
) SWIG_fail
;
10468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10469 (arg1
)->UseConfig(arg2
,(wxString
const &)*arg3
);
10471 wxPyEndAllowThreads(__tstate
);
10472 if (PyErr_Occurred()) SWIG_fail
;
10474 Py_INCREF(Py_None
); resultobj
= Py_None
;
10489 static PyObject
*_wrap_HtmlHelpFrame_ReadCustomization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10490 PyObject
*resultobj
;
10491 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
10492 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
10493 wxString arg3
= (wxString
) wxPyEmptyString
;
10494 PyObject
* obj0
= 0 ;
10495 PyObject
* obj1
= 0 ;
10496 PyObject
* obj2
= 0 ;
10497 char *kwnames
[] = {
10498 (char *) "self",(char *) "cfg",(char *) "path", NULL
10501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpFrame_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpFrame
,
10503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10504 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
10505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10508 wxString
* sptr
= wxString_in_helper(obj2
);
10509 if (sptr
== NULL
) SWIG_fail
;
10515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10516 (arg1
)->ReadCustomization(arg2
,arg3
);
10518 wxPyEndAllowThreads(__tstate
);
10519 if (PyErr_Occurred()) SWIG_fail
;
10521 Py_INCREF(Py_None
); resultobj
= Py_None
;
10528 static PyObject
*_wrap_HtmlHelpFrame_WriteCustomization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10529 PyObject
*resultobj
;
10530 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
10531 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
10532 wxString arg3
= (wxString
) wxPyEmptyString
;
10533 PyObject
* obj0
= 0 ;
10534 PyObject
* obj1
= 0 ;
10535 PyObject
* obj2
= 0 ;
10536 char *kwnames
[] = {
10537 (char *) "self",(char *) "cfg",(char *) "path", NULL
10540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpFrame_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpFrame
,
10542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10543 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
10544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10547 wxString
* sptr
= wxString_in_helper(obj2
);
10548 if (sptr
== NULL
) SWIG_fail
;
10554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10555 (arg1
)->WriteCustomization(arg2
,arg3
);
10557 wxPyEndAllowThreads(__tstate
);
10558 if (PyErr_Occurred()) SWIG_fail
;
10560 Py_INCREF(Py_None
); resultobj
= Py_None
;
10567 static PyObject
* HtmlHelpFrame_swigregister(PyObject
*, PyObject
*args
) {
10569 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10570 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpFrame
, obj
);
10572 return Py_BuildValue((char *)"");
10574 static PyObject
*_wrap_new_HtmlHelpController(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10575 PyObject
*resultobj
;
10576 int arg1
= (int) wxHF_DEFAULTSTYLE
;
10577 wxHtmlHelpController
*result
;
10578 PyObject
* obj0
= 0 ;
10579 char *kwnames
[] = {
10580 (char *) "style", NULL
10583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_HtmlHelpController",kwnames
,&obj0
)) goto fail
;
10585 arg1
= (int)SWIG_As_int(obj0
);
10586 if (PyErr_Occurred()) SWIG_fail
;
10589 if (!wxPyCheckForApp()) SWIG_fail
;
10590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10591 result
= (wxHtmlHelpController
*)new wxHtmlHelpController(arg1
);
10593 wxPyEndAllowThreads(__tstate
);
10594 if (PyErr_Occurred()) SWIG_fail
;
10596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpController
, 1);
10603 static PyObject
*_wrap_delete_HtmlHelpController(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10604 PyObject
*resultobj
;
10605 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
10606 PyObject
* obj0
= 0 ;
10607 char *kwnames
[] = {
10608 (char *) "self", NULL
10611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlHelpController",kwnames
,&obj0
)) goto fail
;
10612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
10613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10618 wxPyEndAllowThreads(__tstate
);
10619 if (PyErr_Occurred()) SWIG_fail
;
10621 Py_INCREF(Py_None
); resultobj
= Py_None
;
10628 static PyObject
*_wrap_HtmlHelpController_SetTitleFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10629 PyObject
*resultobj
;
10630 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
10631 wxString
*arg2
= 0 ;
10632 bool temp2
= false ;
10633 PyObject
* obj0
= 0 ;
10634 PyObject
* obj1
= 0 ;
10635 char *kwnames
[] = {
10636 (char *) "self",(char *) "format", NULL
10639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
10640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
10641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10643 arg2
= wxString_in_helper(obj1
);
10644 if (arg2
== NULL
) SWIG_fail
;
10648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10649 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
10651 wxPyEndAllowThreads(__tstate
);
10652 if (PyErr_Occurred()) SWIG_fail
;
10654 Py_INCREF(Py_None
); resultobj
= Py_None
;
10669 static PyObject
*_wrap_HtmlHelpController_SetTempDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10670 PyObject
*resultobj
;
10671 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
10672 wxString
*arg2
= 0 ;
10673 bool temp2
= false ;
10674 PyObject
* obj0
= 0 ;
10675 PyObject
* obj1
= 0 ;
10676 char *kwnames
[] = {
10677 (char *) "self",(char *) "path", NULL
10680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetTempDir",kwnames
,&obj0
,&obj1
)) goto fail
;
10681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
10682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10684 arg2
= wxString_in_helper(obj1
);
10685 if (arg2
== NULL
) SWIG_fail
;
10689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10690 (arg1
)->SetTempDir((wxString
const &)*arg2
);
10692 wxPyEndAllowThreads(__tstate
);
10693 if (PyErr_Occurred()) SWIG_fail
;
10695 Py_INCREF(Py_None
); resultobj
= Py_None
;
10710 static PyObject
*_wrap_HtmlHelpController_AddBook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10711 PyObject
*resultobj
;
10712 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
10713 wxString
*arg2
= 0 ;
10714 int arg3
= (int) false ;
10716 bool temp2
= false ;
10717 PyObject
* obj0
= 0 ;
10718 PyObject
* obj1
= 0 ;
10719 PyObject
* obj2
= 0 ;
10720 char *kwnames
[] = {
10721 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
10724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_AddBook",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
10726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10728 arg2
= wxString_in_helper(obj1
);
10729 if (arg2
== NULL
) SWIG_fail
;
10733 arg3
= (int)SWIG_As_int(obj2
);
10734 if (PyErr_Occurred()) SWIG_fail
;
10737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10738 result
= (bool)(arg1
)->AddBook((wxString
const &)*arg2
,arg3
);
10740 wxPyEndAllowThreads(__tstate
);
10741 if (PyErr_Occurred()) SWIG_fail
;
10744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10760 static PyObject
*_wrap_HtmlHelpController_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10761 PyObject
*resultobj
;
10762 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
10763 wxString
*arg2
= 0 ;
10764 bool temp2
= false ;
10765 PyObject
* obj0
= 0 ;
10766 PyObject
* obj1
= 0 ;
10767 char *kwnames
[] = {
10768 (char *) "self",(char *) "x", NULL
10771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_Display",kwnames
,&obj0
,&obj1
)) goto fail
;
10772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
10773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10775 arg2
= wxString_in_helper(obj1
);
10776 if (arg2
== NULL
) SWIG_fail
;
10780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10781 (arg1
)->Display((wxString
const &)*arg2
);
10783 wxPyEndAllowThreads(__tstate
);
10784 if (PyErr_Occurred()) SWIG_fail
;
10786 Py_INCREF(Py_None
); resultobj
= Py_None
;
10801 static PyObject
*_wrap_HtmlHelpController_DisplayID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10802 PyObject
*resultobj
;
10803 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
10805 PyObject
* obj0
= 0 ;
10806 PyObject
* obj1
= 0 ;
10807 char *kwnames
[] = {
10808 (char *) "self",(char *) "id", NULL
10811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_DisplayID",kwnames
,&obj0
,&obj1
)) goto fail
;
10812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
10813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10814 arg2
= (int)SWIG_As_int(obj1
);
10815 if (PyErr_Occurred()) SWIG_fail
;
10817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10818 (arg1
)->Display(arg2
);
10820 wxPyEndAllowThreads(__tstate
);
10821 if (PyErr_Occurred()) SWIG_fail
;
10823 Py_INCREF(Py_None
); resultobj
= Py_None
;
10830 static PyObject
*_wrap_HtmlHelpController_DisplayContents(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_DisplayContents",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
)->DisplayContents();
10845 wxPyEndAllowThreads(__tstate
);
10846 if (PyErr_Occurred()) SWIG_fail
;
10848 Py_INCREF(Py_None
); resultobj
= Py_None
;
10855 static PyObject
*_wrap_HtmlHelpController_DisplayIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10856 PyObject
*resultobj
;
10857 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
10858 PyObject
* obj0
= 0 ;
10859 char *kwnames
[] = {
10860 (char *) "self", NULL
10863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpController_DisplayIndex",kwnames
,&obj0
)) goto fail
;
10864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
10865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10868 (arg1
)->DisplayIndex();
10870 wxPyEndAllowThreads(__tstate
);
10871 if (PyErr_Occurred()) SWIG_fail
;
10873 Py_INCREF(Py_None
); resultobj
= Py_None
;
10880 static PyObject
*_wrap_HtmlHelpController_KeywordSearch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10881 PyObject
*resultobj
;
10882 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
10883 wxString
*arg2
= 0 ;
10885 bool temp2
= false ;
10886 PyObject
* obj0
= 0 ;
10887 PyObject
* obj1
= 0 ;
10888 char *kwnames
[] = {
10889 (char *) "self",(char *) "keyword", NULL
10892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames
,&obj0
,&obj1
)) goto fail
;
10893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
10894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10896 arg2
= wxString_in_helper(obj1
);
10897 if (arg2
== NULL
) SWIG_fail
;
10901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10902 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
);
10904 wxPyEndAllowThreads(__tstate
);
10905 if (PyErr_Occurred()) SWIG_fail
;
10908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10924 static PyObject
*_wrap_HtmlHelpController_UseConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10925 PyObject
*resultobj
;
10926 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
10927 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
10928 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10929 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10930 bool temp3
= false ;
10931 PyObject
* obj0
= 0 ;
10932 PyObject
* obj1
= 0 ;
10933 PyObject
* obj2
= 0 ;
10934 char *kwnames
[] = {
10935 (char *) "self",(char *) "config",(char *) "rootpath", NULL
10938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
10940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10941 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
10942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10945 arg3
= wxString_in_helper(obj2
);
10946 if (arg3
== NULL
) SWIG_fail
;
10951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10952 (arg1
)->UseConfig(arg2
,(wxString
const &)*arg3
);
10954 wxPyEndAllowThreads(__tstate
);
10955 if (PyErr_Occurred()) SWIG_fail
;
10957 Py_INCREF(Py_None
); resultobj
= Py_None
;
10972 static PyObject
*_wrap_HtmlHelpController_ReadCustomization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10973 PyObject
*resultobj
;
10974 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
10975 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
10976 wxString arg3
= (wxString
) wxPyEmptyString
;
10977 PyObject
* obj0
= 0 ;
10978 PyObject
* obj1
= 0 ;
10979 PyObject
* obj2
= 0 ;
10980 char *kwnames
[] = {
10981 (char *) "self",(char *) "cfg",(char *) "path", NULL
10984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
10986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10987 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
10988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10991 wxString
* sptr
= wxString_in_helper(obj2
);
10992 if (sptr
== NULL
) SWIG_fail
;
10998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10999 (arg1
)->ReadCustomization(arg2
,arg3
);
11001 wxPyEndAllowThreads(__tstate
);
11002 if (PyErr_Occurred()) SWIG_fail
;
11004 Py_INCREF(Py_None
); resultobj
= Py_None
;
11011 static PyObject
*_wrap_HtmlHelpController_WriteCustomization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11012 PyObject
*resultobj
;
11013 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
11014 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
11015 wxString arg3
= (wxString
) wxPyEmptyString
;
11016 PyObject
* obj0
= 0 ;
11017 PyObject
* obj1
= 0 ;
11018 PyObject
* obj2
= 0 ;
11019 char *kwnames
[] = {
11020 (char *) "self",(char *) "cfg",(char *) "path", NULL
11023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
11025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11026 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
11027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11030 wxString
* sptr
= wxString_in_helper(obj2
);
11031 if (sptr
== NULL
) SWIG_fail
;
11037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11038 (arg1
)->WriteCustomization(arg2
,arg3
);
11040 wxPyEndAllowThreads(__tstate
);
11041 if (PyErr_Occurred()) SWIG_fail
;
11043 Py_INCREF(Py_None
); resultobj
= Py_None
;
11050 static PyObject
*_wrap_HtmlHelpController_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11051 PyObject
*resultobj
;
11052 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
11053 wxHtmlHelpFrame
*result
;
11054 PyObject
* obj0
= 0 ;
11055 char *kwnames
[] = {
11056 (char *) "self", NULL
11059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpController_GetFrame",kwnames
,&obj0
)) goto fail
;
11060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
11061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11064 result
= (wxHtmlHelpFrame
*)(arg1
)->GetFrame();
11066 wxPyEndAllowThreads(__tstate
);
11067 if (PyErr_Occurred()) SWIG_fail
;
11069 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpFrame
, 0);
11076 static PyObject
* HtmlHelpController_swigregister(PyObject
*, PyObject
*args
) {
11078 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11079 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpController
, obj
);
11081 return Py_BuildValue((char *)"");
11083 static PyMethodDef SwigMethods
[] = {
11084 { (char *)"new_HtmlLinkInfo", (PyCFunction
) _wrap_new_HtmlLinkInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11085 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction
) _wrap_HtmlLinkInfo_GetHref
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11086 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction
) _wrap_HtmlLinkInfo_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11087 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction
) _wrap_HtmlLinkInfo_GetEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11088 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction
) _wrap_HtmlLinkInfo_GetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11089 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction
) _wrap_HtmlLinkInfo_SetEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11090 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction
) _wrap_HtmlLinkInfo_SetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11091 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister
, METH_VARARGS
, NULL
},
11092 { (char *)"HtmlTag_GetName", (PyCFunction
) _wrap_HtmlTag_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11093 { (char *)"HtmlTag_HasParam", (PyCFunction
) _wrap_HtmlTag_HasParam
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11094 { (char *)"HtmlTag_GetParam", (PyCFunction
) _wrap_HtmlTag_GetParam
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11095 { (char *)"HtmlTag_GetAllParams", (PyCFunction
) _wrap_HtmlTag_GetAllParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11096 { (char *)"HtmlTag_HasEnding", (PyCFunction
) _wrap_HtmlTag_HasEnding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11097 { (char *)"HtmlTag_GetBeginPos", (PyCFunction
) _wrap_HtmlTag_GetBeginPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11098 { (char *)"HtmlTag_GetEndPos1", (PyCFunction
) _wrap_HtmlTag_GetEndPos1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11099 { (char *)"HtmlTag_GetEndPos2", (PyCFunction
) _wrap_HtmlTag_GetEndPos2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11100 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister
, METH_VARARGS
, NULL
},
11101 { (char *)"HtmlParser_SetFS", (PyCFunction
) _wrap_HtmlParser_SetFS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11102 { (char *)"HtmlParser_GetFS", (PyCFunction
) _wrap_HtmlParser_GetFS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11103 { (char *)"HtmlParser_Parse", (PyCFunction
) _wrap_HtmlParser_Parse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11104 { (char *)"HtmlParser_InitParser", (PyCFunction
) _wrap_HtmlParser_InitParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11105 { (char *)"HtmlParser_DoneParser", (PyCFunction
) _wrap_HtmlParser_DoneParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11106 { (char *)"HtmlParser_DoParsing", (PyCFunction
) _wrap_HtmlParser_DoParsing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11107 { (char *)"HtmlParser_StopParsing", (PyCFunction
) _wrap_HtmlParser_StopParsing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11108 { (char *)"HtmlParser_AddTagHandler", (PyCFunction
) _wrap_HtmlParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11109 { (char *)"HtmlParser_GetSource", (PyCFunction
) _wrap_HtmlParser_GetSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11110 { (char *)"HtmlParser_PushTagHandler", (PyCFunction
) _wrap_HtmlParser_PushTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11111 { (char *)"HtmlParser_PopTagHandler", (PyCFunction
) _wrap_HtmlParser_PopTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11112 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister
, METH_VARARGS
, NULL
},
11113 { (char *)"new_HtmlWinParser", (PyCFunction
) _wrap_new_HtmlWinParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11114 { (char *)"HtmlWinParser_SetDC", (PyCFunction
) _wrap_HtmlWinParser_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11115 { (char *)"HtmlWinParser_GetDC", (PyCFunction
) _wrap_HtmlWinParser_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11116 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction
) _wrap_HtmlWinParser_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11117 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction
) _wrap_HtmlWinParser_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11118 { (char *)"HtmlWinParser_GetWindow", (PyCFunction
) _wrap_HtmlWinParser_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11119 { (char *)"HtmlWinParser_SetFonts", (PyCFunction
) _wrap_HtmlWinParser_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11120 { (char *)"HtmlWinParser_SetStandardFonts", (PyCFunction
) _wrap_HtmlWinParser_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11121 { (char *)"HtmlWinParser_GetContainer", (PyCFunction
) _wrap_HtmlWinParser_GetContainer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11122 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction
) _wrap_HtmlWinParser_OpenContainer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11123 { (char *)"HtmlWinParser_SetContainer", (PyCFunction
) _wrap_HtmlWinParser_SetContainer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11124 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction
) _wrap_HtmlWinParser_CloseContainer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11125 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction
) _wrap_HtmlWinParser_GetFontSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11126 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction
) _wrap_HtmlWinParser_SetFontSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11127 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction
) _wrap_HtmlWinParser_GetFontBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11128 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction
) _wrap_HtmlWinParser_SetFontBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11129 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction
) _wrap_HtmlWinParser_GetFontItalic
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11130 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction
) _wrap_HtmlWinParser_SetFontItalic
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11131 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction
) _wrap_HtmlWinParser_GetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11132 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction
) _wrap_HtmlWinParser_SetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11133 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction
) _wrap_HtmlWinParser_GetFontFixed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11134 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction
) _wrap_HtmlWinParser_SetFontFixed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11135 { (char *)"HtmlWinParser_GetAlign", (PyCFunction
) _wrap_HtmlWinParser_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11136 { (char *)"HtmlWinParser_SetAlign", (PyCFunction
) _wrap_HtmlWinParser_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11137 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction
) _wrap_HtmlWinParser_GetLinkColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11138 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction
) _wrap_HtmlWinParser_SetLinkColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11139 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction
) _wrap_HtmlWinParser_GetActualColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11140 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction
) _wrap_HtmlWinParser_SetActualColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11141 { (char *)"HtmlWinParser_SetLink", (PyCFunction
) _wrap_HtmlWinParser_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11142 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction
) _wrap_HtmlWinParser_CreateCurrentFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11143 { (char *)"HtmlWinParser_GetLink", (PyCFunction
) _wrap_HtmlWinParser_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11144 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister
, METH_VARARGS
, NULL
},
11145 { (char *)"new_HtmlTagHandler", (PyCFunction
) _wrap_new_HtmlTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11146 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction
) _wrap_HtmlTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11147 { (char *)"HtmlTagHandler_SetParser", (PyCFunction
) _wrap_HtmlTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11148 { (char *)"HtmlTagHandler_GetParser", (PyCFunction
) _wrap_HtmlTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11149 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction
) _wrap_HtmlTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11150 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister
, METH_VARARGS
, NULL
},
11151 { (char *)"new_HtmlWinTagHandler", (PyCFunction
) _wrap_new_HtmlWinTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11152 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction
) _wrap_HtmlWinTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11153 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction
) _wrap_HtmlWinTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11154 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction
) _wrap_HtmlWinTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11155 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction
) _wrap_HtmlWinTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11156 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister
, METH_VARARGS
, NULL
},
11157 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction
) _wrap_HtmlWinParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11158 { (char *)"new_HtmlSelection", (PyCFunction
) _wrap_new_HtmlSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11159 { (char *)"delete_HtmlSelection", (PyCFunction
) _wrap_delete_HtmlSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11160 { (char *)"HtmlSelection_Set", (PyCFunction
) _wrap_HtmlSelection_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11161 { (char *)"HtmlSelection_SetCells", (PyCFunction
) _wrap_HtmlSelection_SetCells
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11162 { (char *)"HtmlSelection_GetFromCell", (PyCFunction
) _wrap_HtmlSelection_GetFromCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11163 { (char *)"HtmlSelection_GetToCell", (PyCFunction
) _wrap_HtmlSelection_GetToCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11164 { (char *)"HtmlSelection_GetFromPos", (PyCFunction
) _wrap_HtmlSelection_GetFromPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11165 { (char *)"HtmlSelection_GetToPos", (PyCFunction
) _wrap_HtmlSelection_GetToPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11166 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction
) _wrap_HtmlSelection_GetFromPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11167 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction
) _wrap_HtmlSelection_GetToPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11168 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction
) _wrap_HtmlSelection_SetFromPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11169 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction
) _wrap_HtmlSelection_SetToPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11170 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction
) _wrap_HtmlSelection_ClearPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11171 { (char *)"HtmlSelection_IsEmpty", (PyCFunction
) _wrap_HtmlSelection_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11172 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister
, METH_VARARGS
, NULL
},
11173 { (char *)"new_HtmlRenderingState", (PyCFunction
) _wrap_new_HtmlRenderingState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11174 { (char *)"delete_HtmlRenderingState", (PyCFunction
) _wrap_delete_HtmlRenderingState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11175 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction
) _wrap_HtmlRenderingState_SetSelectionState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11176 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction
) _wrap_HtmlRenderingState_GetSelectionState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11177 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction
) _wrap_HtmlRenderingState_SetFgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11178 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction
) _wrap_HtmlRenderingState_GetFgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11179 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction
) _wrap_HtmlRenderingState_SetBgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11180 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction
) _wrap_HtmlRenderingState_GetBgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11181 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister
, METH_VARARGS
, NULL
},
11182 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction
) _wrap_HtmlRenderingStyle_GetSelectedTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11183 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction
) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11184 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister
, METH_VARARGS
, NULL
},
11185 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextColour", (PyCFunction
) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11186 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction
) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11187 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister
, METH_VARARGS
, NULL
},
11188 { (char *)"new_HtmlRenderingInfo", (PyCFunction
) _wrap_new_HtmlRenderingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11189 { (char *)"delete_HtmlRenderingInfo", (PyCFunction
) _wrap_delete_HtmlRenderingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11190 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction
) _wrap_HtmlRenderingInfo_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11191 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction
) _wrap_HtmlRenderingInfo_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11192 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction
) _wrap_HtmlRenderingInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11193 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction
) _wrap_HtmlRenderingInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11194 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction
) _wrap_HtmlRenderingInfo_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11195 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister
, METH_VARARGS
, NULL
},
11196 { (char *)"new_HtmlCell", (PyCFunction
) _wrap_new_HtmlCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11197 { (char *)"HtmlCell_GetPosX", (PyCFunction
) _wrap_HtmlCell_GetPosX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11198 { (char *)"HtmlCell_GetPosY", (PyCFunction
) _wrap_HtmlCell_GetPosY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11199 { (char *)"HtmlCell_GetWidth", (PyCFunction
) _wrap_HtmlCell_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11200 { (char *)"HtmlCell_GetHeight", (PyCFunction
) _wrap_HtmlCell_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11201 { (char *)"HtmlCell_GetDescent", (PyCFunction
) _wrap_HtmlCell_GetDescent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11202 { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction
) _wrap_HtmlCell_GetMaxTotalWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11203 { (char *)"HtmlCell_GetId", (PyCFunction
) _wrap_HtmlCell_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11204 { (char *)"HtmlCell_SetId", (PyCFunction
) _wrap_HtmlCell_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11205 { (char *)"HtmlCell_GetLink", (PyCFunction
) _wrap_HtmlCell_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11206 { (char *)"HtmlCell_GetNext", (PyCFunction
) _wrap_HtmlCell_GetNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11207 { (char *)"HtmlCell_GetParent", (PyCFunction
) _wrap_HtmlCell_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11208 { (char *)"HtmlCell_GetFirstChild", (PyCFunction
) _wrap_HtmlCell_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11209 { (char *)"HtmlCell_GetCursor", (PyCFunction
) _wrap_HtmlCell_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11210 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction
) _wrap_HtmlCell_IsFormattingCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11211 { (char *)"HtmlCell_SetLink", (PyCFunction
) _wrap_HtmlCell_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11212 { (char *)"HtmlCell_SetNext", (PyCFunction
) _wrap_HtmlCell_SetNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11213 { (char *)"HtmlCell_SetParent", (PyCFunction
) _wrap_HtmlCell_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11214 { (char *)"HtmlCell_SetPos", (PyCFunction
) _wrap_HtmlCell_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11215 { (char *)"HtmlCell_Layout", (PyCFunction
) _wrap_HtmlCell_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11216 { (char *)"HtmlCell_Draw", (PyCFunction
) _wrap_HtmlCell_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11217 { (char *)"HtmlCell_DrawInvisible", (PyCFunction
) _wrap_HtmlCell_DrawInvisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11218 { (char *)"HtmlCell_Find", (PyCFunction
) _wrap_HtmlCell_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11219 { (char *)"HtmlCell_AdjustPagebreak", (PyCFunction
) _wrap_HtmlCell_AdjustPagebreak
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11220 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction
) _wrap_HtmlCell_SetCanLiveOnPagebreak
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11221 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction
) _wrap_HtmlCell_IsLinebreakAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11222 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction
) _wrap_HtmlCell_IsTerminalCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11223 { (char *)"HtmlCell_FindCellByPos", (PyCFunction
) _wrap_HtmlCell_FindCellByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11224 { (char *)"HtmlCell_GetAbsPos", (PyCFunction
) _wrap_HtmlCell_GetAbsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11225 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction
) _wrap_HtmlCell_GetFirstTerminal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11226 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction
) _wrap_HtmlCell_GetLastTerminal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11227 { (char *)"HtmlCell_GetDepth", (PyCFunction
) _wrap_HtmlCell_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11228 { (char *)"HtmlCell_IsBefore", (PyCFunction
) _wrap_HtmlCell_IsBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11229 { (char *)"HtmlCell_ConvertToText", (PyCFunction
) _wrap_HtmlCell_ConvertToText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11230 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister
, METH_VARARGS
, NULL
},
11231 { (char *)"new_HtmlWordCell", (PyCFunction
) _wrap_new_HtmlWordCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11232 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister
, METH_VARARGS
, NULL
},
11233 { (char *)"new_HtmlContainerCell", (PyCFunction
) _wrap_new_HtmlContainerCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11234 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction
) _wrap_HtmlContainerCell_InsertCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11235 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction
) _wrap_HtmlContainerCell_SetAlignHor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11236 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction
) _wrap_HtmlContainerCell_GetAlignHor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11237 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction
) _wrap_HtmlContainerCell_SetAlignVer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11238 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction
) _wrap_HtmlContainerCell_GetAlignVer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11239 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction
) _wrap_HtmlContainerCell_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11240 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction
) _wrap_HtmlContainerCell_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11241 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction
) _wrap_HtmlContainerCell_GetIndentUnits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11242 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction
) _wrap_HtmlContainerCell_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11243 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction
) _wrap_HtmlContainerCell_SetWidthFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11244 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction
) _wrap_HtmlContainerCell_SetWidthFloatFromTag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11245 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction
) _wrap_HtmlContainerCell_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11246 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction
) _wrap_HtmlContainerCell_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11247 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction
) _wrap_HtmlContainerCell_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11248 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction
) _wrap_HtmlContainerCell_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11249 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction
) _wrap_HtmlContainerCell_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11250 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister
, METH_VARARGS
, NULL
},
11251 { (char *)"new_HtmlColourCell", (PyCFunction
) _wrap_new_HtmlColourCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11252 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister
, METH_VARARGS
, NULL
},
11253 { (char *)"new_HtmlFontCell", (PyCFunction
) _wrap_new_HtmlFontCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11254 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister
, METH_VARARGS
, NULL
},
11255 { (char *)"new_HtmlWidgetCell", (PyCFunction
) _wrap_new_HtmlWidgetCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11256 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister
, METH_VARARGS
, NULL
},
11257 { (char *)"new_HtmlFilter", (PyCFunction
) _wrap_new_HtmlFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11258 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction
) _wrap_HtmlFilter__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11259 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister
, METH_VARARGS
, NULL
},
11260 { (char *)"new_HtmlWindow", (PyCFunction
) _wrap_new_HtmlWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11261 { (char *)"new_PreHtmlWindow", (PyCFunction
) _wrap_new_PreHtmlWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11262 { (char *)"HtmlWindow_Create", (PyCFunction
) _wrap_HtmlWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11263 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction
) _wrap_HtmlWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11264 { (char *)"HtmlWindow_SetPage", (PyCFunction
) _wrap_HtmlWindow_SetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11265 { (char *)"HtmlWindow_LoadPage", (PyCFunction
) _wrap_HtmlWindow_LoadPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11266 { (char *)"HtmlWindow_LoadFile", (PyCFunction
) _wrap_HtmlWindow_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11267 { (char *)"HtmlWindow_AppendToPage", (PyCFunction
) _wrap_HtmlWindow_AppendToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11268 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction
) _wrap_HtmlWindow_GetOpenedPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11269 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction
) _wrap_HtmlWindow_GetOpenedAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11270 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction
) _wrap_HtmlWindow_GetOpenedPageTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11271 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction
) _wrap_HtmlWindow_SetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11272 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction
) _wrap_HtmlWindow_GetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11273 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction
) _wrap_HtmlWindow_SetRelatedStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11274 { (char *)"HtmlWindow_SetFonts", (PyCFunction
) _wrap_HtmlWindow_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11275 { (char *)"HtmlWindow_SetStandardFonts", (PyCFunction
) _wrap_HtmlWindow_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11276 { (char *)"HtmlWindow_SetTitle", (PyCFunction
) _wrap_HtmlWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11277 { (char *)"HtmlWindow_SetBorders", (PyCFunction
) _wrap_HtmlWindow_SetBorders
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11278 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction
) _wrap_HtmlWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11279 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction
) _wrap_HtmlWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11280 { (char *)"HtmlWindow_HistoryBack", (PyCFunction
) _wrap_HtmlWindow_HistoryBack
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11281 { (char *)"HtmlWindow_HistoryForward", (PyCFunction
) _wrap_HtmlWindow_HistoryForward
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11282 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction
) _wrap_HtmlWindow_HistoryCanBack
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11283 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction
) _wrap_HtmlWindow_HistoryCanForward
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11284 { (char *)"HtmlWindow_HistoryClear", (PyCFunction
) _wrap_HtmlWindow_HistoryClear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11285 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction
) _wrap_HtmlWindow_GetInternalRepresentation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11286 { (char *)"HtmlWindow_GetParser", (PyCFunction
) _wrap_HtmlWindow_GetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11287 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction
) _wrap_HtmlWindow_ScrollToAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11288 { (char *)"HtmlWindow_HasAnchor", (PyCFunction
) _wrap_HtmlWindow_HasAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11289 { (char *)"HtmlWindow_AddFilter", (PyCFunction
) _wrap_HtmlWindow_AddFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11290 { (char *)"HtmlWindow_SelectWord", (PyCFunction
) _wrap_HtmlWindow_SelectWord
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11291 { (char *)"HtmlWindow_SelectLine", (PyCFunction
) _wrap_HtmlWindow_SelectLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11292 { (char *)"HtmlWindow_SelectAll", (PyCFunction
) _wrap_HtmlWindow_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11293 { (char *)"HtmlWindow_SelectionToText", (PyCFunction
) _wrap_HtmlWindow_SelectionToText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11294 { (char *)"HtmlWindow_ToText", (PyCFunction
) _wrap_HtmlWindow_ToText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11295 { (char *)"HtmlWindow_base_OnLinkClicked", (PyCFunction
) _wrap_HtmlWindow_base_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11296 { (char *)"HtmlWindow_base_OnSetTitle", (PyCFunction
) _wrap_HtmlWindow_base_OnSetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11297 { (char *)"HtmlWindow_base_OnCellMouseHover", (PyCFunction
) _wrap_HtmlWindow_base_OnCellMouseHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11298 { (char *)"HtmlWindow_base_OnCellClicked", (PyCFunction
) _wrap_HtmlWindow_base_OnCellClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11299 { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_HtmlWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11300 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister
, METH_VARARGS
, NULL
},
11301 { (char *)"new_HtmlDCRenderer", (PyCFunction
) _wrap_new_HtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11302 { (char *)"delete_HtmlDCRenderer", (PyCFunction
) _wrap_delete_HtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11303 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction
) _wrap_HtmlDCRenderer_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11304 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction
) _wrap_HtmlDCRenderer_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11305 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction
) _wrap_HtmlDCRenderer_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11306 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction
) _wrap_HtmlDCRenderer_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11307 { (char *)"HtmlDCRenderer_SetStandardFonts", (PyCFunction
) _wrap_HtmlDCRenderer_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11308 { (char *)"HtmlDCRenderer_Render", (PyCFunction
) _wrap_HtmlDCRenderer_Render
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11309 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction
) _wrap_HtmlDCRenderer_GetTotalHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11310 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister
, METH_VARARGS
, NULL
},
11311 { (char *)"new_HtmlPrintout", (PyCFunction
) _wrap_new_HtmlPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11312 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction
) _wrap_HtmlPrintout_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11313 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction
) _wrap_HtmlPrintout_SetHtmlFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11314 { (char *)"HtmlPrintout_SetHeader", (PyCFunction
) _wrap_HtmlPrintout_SetHeader
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11315 { (char *)"HtmlPrintout_SetFooter", (PyCFunction
) _wrap_HtmlPrintout_SetFooter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11316 { (char *)"HtmlPrintout_SetFonts", (PyCFunction
) _wrap_HtmlPrintout_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11317 { (char *)"HtmlPrintout_SetStandardFonts", (PyCFunction
) _wrap_HtmlPrintout_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11318 { (char *)"HtmlPrintout_SetMargins", (PyCFunction
) _wrap_HtmlPrintout_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11319 { (char *)"HtmlPrintout_AddFilter", (PyCFunction
) _wrap_HtmlPrintout_AddFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11320 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction
) _wrap_HtmlPrintout_CleanUpStatics
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11321 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister
, METH_VARARGS
, NULL
},
11322 { (char *)"new_HtmlEasyPrinting", (PyCFunction
) _wrap_new_HtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11323 { (char *)"delete_HtmlEasyPrinting", (PyCFunction
) _wrap_delete_HtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11324 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction
) _wrap_HtmlEasyPrinting_PreviewFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11325 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction
) _wrap_HtmlEasyPrinting_PreviewText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11326 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction
) _wrap_HtmlEasyPrinting_PrintFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11327 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction
) _wrap_HtmlEasyPrinting_PrintText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11328 { (char *)"HtmlEasyPrinting_PrinterSetup", (PyCFunction
) _wrap_HtmlEasyPrinting_PrinterSetup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11329 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction
) _wrap_HtmlEasyPrinting_PageSetup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11330 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction
) _wrap_HtmlEasyPrinting_SetHeader
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11331 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction
) _wrap_HtmlEasyPrinting_SetFooter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11332 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction
) _wrap_HtmlEasyPrinting_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11333 { (char *)"HtmlEasyPrinting_SetStandardFonts", (PyCFunction
) _wrap_HtmlEasyPrinting_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11334 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction
) _wrap_HtmlEasyPrinting_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11335 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction
) _wrap_HtmlEasyPrinting_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11336 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister
, METH_VARARGS
, NULL
},
11337 { (char *)"new_HtmlBookRecord", (PyCFunction
) _wrap_new_HtmlBookRecord
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11338 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction
) _wrap_HtmlBookRecord_GetBookFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11339 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction
) _wrap_HtmlBookRecord_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11340 { (char *)"HtmlBookRecord_GetStart", (PyCFunction
) _wrap_HtmlBookRecord_GetStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11341 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction
) _wrap_HtmlBookRecord_GetBasePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11342 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction
) _wrap_HtmlBookRecord_SetContentsRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11343 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction
) _wrap_HtmlBookRecord_GetContentsStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11344 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction
) _wrap_HtmlBookRecord_GetContentsEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11345 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction
) _wrap_HtmlBookRecord_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11346 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction
) _wrap_HtmlBookRecord_SetBasePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11347 { (char *)"HtmlBookRecord_SetStart", (PyCFunction
) _wrap_HtmlBookRecord_SetStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11348 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction
) _wrap_HtmlBookRecord_GetFullPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11349 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister
, METH_VARARGS
, NULL
},
11350 { (char *)"HtmlContentsItem_GetLevel", (PyCFunction
) _wrap_HtmlContentsItem_GetLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11351 { (char *)"HtmlContentsItem_GetID", (PyCFunction
) _wrap_HtmlContentsItem_GetID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11352 { (char *)"HtmlContentsItem_GetName", (PyCFunction
) _wrap_HtmlContentsItem_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11353 { (char *)"HtmlContentsItem_GetPage", (PyCFunction
) _wrap_HtmlContentsItem_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11354 { (char *)"HtmlContentsItem_GetBook", (PyCFunction
) _wrap_HtmlContentsItem_GetBook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11355 { (char *)"HtmlContentsItem_swigregister", HtmlContentsItem_swigregister
, METH_VARARGS
, NULL
},
11356 { (char *)"HtmlSearchStatus_Search", (PyCFunction
) _wrap_HtmlSearchStatus_Search
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11357 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction
) _wrap_HtmlSearchStatus_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11358 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction
) _wrap_HtmlSearchStatus_GetCurIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11359 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction
) _wrap_HtmlSearchStatus_GetMaxIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11360 { (char *)"HtmlSearchStatus_GetName", (PyCFunction
) _wrap_HtmlSearchStatus_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11361 { (char *)"HtmlSearchStatus_GetContentsItem", (PyCFunction
) _wrap_HtmlSearchStatus_GetContentsItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11362 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister
, METH_VARARGS
, NULL
},
11363 { (char *)"new_HtmlHelpData", (PyCFunction
) _wrap_new_HtmlHelpData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11364 { (char *)"delete_HtmlHelpData", (PyCFunction
) _wrap_delete_HtmlHelpData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11365 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction
) _wrap_HtmlHelpData_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11366 { (char *)"HtmlHelpData_AddBook", (PyCFunction
) _wrap_HtmlHelpData_AddBook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11367 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction
) _wrap_HtmlHelpData_FindPageByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11368 { (char *)"HtmlHelpData_FindPageById", (PyCFunction
) _wrap_HtmlHelpData_FindPageById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11369 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction
) _wrap_HtmlHelpData_GetBookRecArray
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11370 { (char *)"HtmlHelpData_GetContents", (PyCFunction
) _wrap_HtmlHelpData_GetContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11371 { (char *)"HtmlHelpData_GetContentsCnt", (PyCFunction
) _wrap_HtmlHelpData_GetContentsCnt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11372 { (char *)"HtmlHelpData_GetIndex", (PyCFunction
) _wrap_HtmlHelpData_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11373 { (char *)"HtmlHelpData_GetIndexCnt", (PyCFunction
) _wrap_HtmlHelpData_GetIndexCnt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11374 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister
, METH_VARARGS
, NULL
},
11375 { (char *)"new_HtmlHelpFrame", (PyCFunction
) _wrap_new_HtmlHelpFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11376 { (char *)"HtmlHelpFrame_GetData", (PyCFunction
) _wrap_HtmlHelpFrame_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11377 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpFrame_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11378 { (char *)"HtmlHelpFrame_Display", (PyCFunction
) _wrap_HtmlHelpFrame_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11379 { (char *)"HtmlHelpFrame_DisplayID", (PyCFunction
) _wrap_HtmlHelpFrame_DisplayID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11380 { (char *)"HtmlHelpFrame_DisplayContents", (PyCFunction
) _wrap_HtmlHelpFrame_DisplayContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11381 { (char *)"HtmlHelpFrame_DisplayIndex", (PyCFunction
) _wrap_HtmlHelpFrame_DisplayIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11382 { (char *)"HtmlHelpFrame_KeywordSearch", (PyCFunction
) _wrap_HtmlHelpFrame_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11383 { (char *)"HtmlHelpFrame_UseConfig", (PyCFunction
) _wrap_HtmlHelpFrame_UseConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11384 { (char *)"HtmlHelpFrame_ReadCustomization", (PyCFunction
) _wrap_HtmlHelpFrame_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11385 { (char *)"HtmlHelpFrame_WriteCustomization", (PyCFunction
) _wrap_HtmlHelpFrame_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11386 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister
, METH_VARARGS
, NULL
},
11387 { (char *)"new_HtmlHelpController", (PyCFunction
) _wrap_new_HtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11388 { (char *)"delete_HtmlHelpController", (PyCFunction
) _wrap_delete_HtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11389 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpController_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11390 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction
) _wrap_HtmlHelpController_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11391 { (char *)"HtmlHelpController_AddBook", (PyCFunction
) _wrap_HtmlHelpController_AddBook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11392 { (char *)"HtmlHelpController_Display", (PyCFunction
) _wrap_HtmlHelpController_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11393 { (char *)"HtmlHelpController_DisplayID", (PyCFunction
) _wrap_HtmlHelpController_DisplayID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11394 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction
) _wrap_HtmlHelpController_DisplayContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11395 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction
) _wrap_HtmlHelpController_DisplayIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11396 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction
) _wrap_HtmlHelpController_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11397 { (char *)"HtmlHelpController_UseConfig", (PyCFunction
) _wrap_HtmlHelpController_UseConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11398 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction
) _wrap_HtmlHelpController_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11399 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction
) _wrap_HtmlHelpController_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11400 { (char *)"HtmlHelpController_GetFrame", (PyCFunction
) _wrap_HtmlHelpController_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11401 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister
, METH_VARARGS
, NULL
},
11402 { NULL
, NULL
, 0, NULL
}
11406 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
11408 static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x
) {
11409 return (void *)((wxHtmlRenderingStyle
*) ((wxDefaultHtmlRenderingStyle
*) x
));
11411 static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x
) {
11412 return (void *)((wxHtmlParser
*) ((wxHtmlWinParser
*) x
));
11414 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
11415 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
11417 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
11418 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
11420 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
11421 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
11423 static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x
) {
11424 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
11426 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
11427 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
11429 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
11430 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
11432 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
11433 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
11435 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
11436 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
11438 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
11439 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
11441 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
11442 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
11444 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
11445 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
11447 static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x
) {
11448 return (void *)((wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
11450 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
11451 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
11453 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
11454 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
11456 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
11457 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
11459 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
11460 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
11462 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
11463 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
11465 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
11466 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
11468 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
11469 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
11471 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
11472 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
11474 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
11475 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
11477 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
11478 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
11480 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
11481 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
11483 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
11484 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
11486 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
11487 return (void *)((wxWindow
*) ((wxPanel
*) x
));
11489 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
11490 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
11492 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
11493 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
11495 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
11496 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
11498 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
11499 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
11501 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
11502 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
11504 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
11505 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
11507 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
11508 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
11510 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
11511 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
11513 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
11514 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
11516 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
11517 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
11519 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
11520 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
11522 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
11523 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
11525 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
11526 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
11528 static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x
) {
11529 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
11531 static void *_p_wxControlTo_p_wxWindow(void *x
) {
11532 return (void *)((wxWindow
*) ((wxControl
*) x
));
11534 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
11535 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
11537 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
11538 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
11540 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
11541 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
11543 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
11544 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
11546 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
11547 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
11549 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
11550 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
11552 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
11553 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
11555 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
11556 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
11558 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
11559 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
11561 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
11562 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
11564 static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x
) {
11565 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
11567 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
11568 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
11570 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
11571 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
11573 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
11574 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
11576 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
11577 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
11579 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
11580 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
11582 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
11583 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
11585 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
11586 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
11588 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
11589 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
11591 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
11592 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
11594 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
11595 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
11597 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
11598 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
11600 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
11601 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
11603 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
11604 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
11606 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
11607 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
11609 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
11610 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
11612 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
11613 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
11615 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
11616 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
11618 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
11619 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
11621 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
11622 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
11624 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
11625 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
11627 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
11628 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
11630 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
11631 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
11633 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
11634 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
11636 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
11637 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
11639 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
11640 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
11642 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
11643 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
11645 static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x
) {
11646 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxHtmlHelpFrame
*) x
));
11648 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
11649 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
11651 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
11652 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
11654 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
11655 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
11657 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
11658 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
11660 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
11661 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
11663 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
11664 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
11666 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
11667 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
11669 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
11670 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
11672 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
11673 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
11675 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
11676 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
11678 static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x
) {
11679 return (void *)((wxObject
*) ((wxHtmlLinkInfo
*) x
));
11681 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
11682 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
11684 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
11685 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
11687 static void *_p_wxSizerTo_p_wxObject(void *x
) {
11688 return (void *)((wxObject
*) ((wxSizer
*) x
));
11690 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
11691 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
11693 static void *_p_wxHtmlFontCellTo_p_wxObject(void *x
) {
11694 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlFontCell
*) x
));
11696 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
11697 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
11699 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
11700 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
11702 static void *_p_wxEventTo_p_wxObject(void *x
) {
11703 return (void *)((wxObject
*) ((wxEvent
*) x
));
11705 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
11706 return (void *)((wxObject
*) ((wxFontData
*) x
));
11708 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
11709 return (void *)((wxObject
*) ((wxPrintData
*) x
));
11711 static void *_p_wxHtmlTagTo_p_wxObject(void *x
) {
11712 return (void *)((wxObject
*) ((wxHtmlTag
*) x
));
11714 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
11715 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
11717 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
11718 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
11720 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
11721 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
11723 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
11724 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
11726 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
11727 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
11729 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
11730 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
11732 static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x
) {
11733 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
11735 static void *_p_wxHtmlCellTo_p_wxObject(void *x
) {
11736 return (void *)((wxObject
*) ((wxHtmlCell
*) x
));
11738 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
11739 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
11741 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
11742 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
11744 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
11745 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
11747 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
11748 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
11750 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
11751 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
11753 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
11754 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
11756 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
11757 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
11759 static void *_p_wxControlTo_p_wxObject(void *x
) {
11760 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
11762 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
11763 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
11765 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
11766 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
11768 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
11769 return (void *)((wxObject
*) ((wxFSFile
*) x
));
11771 static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x
) {
11772 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlWidgetCell
*) x
));
11774 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
11775 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
11777 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
11778 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
11780 static void *_p_wxHtmlColourCellTo_p_wxObject(void *x
) {
11781 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlColourCell
*) x
));
11783 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
11784 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
11786 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
11787 return (void *)((wxObject
*) ((wxColourData
*) x
));
11789 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
11790 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
11792 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
11793 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
11795 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
11796 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
11798 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
11799 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
11801 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
11802 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
11804 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
11805 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
11807 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
11808 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
11810 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
11811 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
11813 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
11814 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
11816 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
11817 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
11819 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
11820 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
11822 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
11823 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
11825 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
11826 return (void *)((wxObject
*) ((wxPrinter
*) x
));
11828 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
11829 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
11831 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
11832 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
11834 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
11835 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
11837 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
11838 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
11840 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
11841 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
11843 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
11844 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
11846 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
11847 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
11849 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
11850 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
11852 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
11853 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
11855 static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x
) {
11856 return (void *)((wxObject
*) ((wxPyHtmlFilter
*) x
));
11858 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
11859 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
11861 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
11862 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
11864 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
11865 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
11867 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
11868 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
11870 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
11871 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
11873 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
11874 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
11876 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
11877 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
11879 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
11880 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
11882 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
11883 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
11885 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
11886 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
11888 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
11889 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
11891 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
11892 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
11894 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
11895 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
11897 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
11898 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
11900 static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x
) {
11901 return (void *)((wxObject
*) ((wxPyHtmlTagHandler
*) x
));
11903 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x
) {
11904 return (void *)((wxObject
*) (wxPyHtmlTagHandler
*) ((wxPyHtmlWinTagHandler
*) x
));
11906 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
11907 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
11909 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
11910 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
11912 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
11913 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
11915 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
11916 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
11918 static void *_p_wxImageTo_p_wxObject(void *x
) {
11919 return (void *)((wxObject
*) ((wxImage
*) x
));
11921 static void *_p_wxFrameTo_p_wxObject(void *x
) {
11922 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
11924 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
11925 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
11927 static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x
) {
11928 return (void *)((wxObject
*) (wxPyPrintout
*) ((wxHtmlPrintout
*) x
));
11930 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
11931 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
11933 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
11934 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
11936 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
11937 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
11939 static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x
) {
11940 return (void *)((wxObject
*) ((wxHtmlDCRenderer
*) x
));
11942 static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x
) {
11943 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlContainerCell
*) x
));
11945 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
11946 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
11948 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
11949 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
11951 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
11952 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
11954 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
11955 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
11957 static void *_p_wxWindowTo_p_wxObject(void *x
) {
11958 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
11960 static void *_p_wxMenuTo_p_wxObject(void *x
) {
11961 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
11963 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
11964 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
11966 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
11967 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
11969 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
11970 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
11972 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
11973 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
11975 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
11976 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
11978 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
11979 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
11981 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
11982 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
11984 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
11985 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
11987 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
11988 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
11990 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
11991 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
11993 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
11994 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
11996 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
11997 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
11999 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
12000 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
12002 static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x
) {
12003 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
12005 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
12006 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
12008 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
12009 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
12011 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
12012 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
12014 static void *_p_wxPanelTo_p_wxObject(void *x
) {
12015 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
12017 static void *_p_wxDialogTo_p_wxObject(void *x
) {
12018 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
12020 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
12021 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
12023 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
12024 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
12026 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
12027 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
12029 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
12030 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
12032 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
12033 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
12035 static void *_p_wxHtmlParserTo_p_wxObject(void *x
) {
12036 return (void *)((wxObject
*) ((wxHtmlParser
*) x
));
12038 static void *_p_wxHtmlWinParserTo_p_wxObject(void *x
) {
12039 return (void *)((wxObject
*) (wxHtmlParser
*) ((wxHtmlWinParser
*) x
));
12041 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
12042 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
12044 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
12045 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
12047 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
12048 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
12050 static void *_p_wxHtmlWordCellTo_p_wxObject(void *x
) {
12051 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlWordCell
*) x
));
12053 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
12054 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
12056 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
12057 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
12059 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
12060 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
12062 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
12063 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
12065 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
12066 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
12068 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
12069 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
12071 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
12072 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
12074 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
12075 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
12077 static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x
) {
12078 return (void *)((wxObject
*) ((wxHtmlEasyPrinting
*) x
));
12080 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
12081 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
12083 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
12084 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
12086 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
12087 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
12089 static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x
) {
12090 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxHtmlHelpController
*) x
));
12092 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
12093 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
12095 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
12096 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
12098 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
12099 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
12101 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
12102 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
12104 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
12105 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
12107 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x
) {
12108 return (void *)((wxPyHtmlTagHandler
*) ((wxPyHtmlWinTagHandler
*) x
));
12110 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
12111 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
12113 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
12114 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
12116 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
12117 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
12119 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
12120 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
12122 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
12123 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
12125 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
12126 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
12128 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
12129 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
12131 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
12132 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
12134 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
12135 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
12137 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
12138 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
12140 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
12141 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
12143 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
12144 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
12146 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
12147 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
12149 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
12150 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
12152 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
12153 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
12155 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
12156 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
12158 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
12159 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
12161 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
12162 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
12164 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
12165 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
12167 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
12168 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
12170 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
12171 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
12173 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
12174 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
12176 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
12177 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
12179 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
12180 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
12182 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
12183 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
12185 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
12186 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
12188 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
12189 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
12191 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
12192 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
12194 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
12195 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
12197 static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x
) {
12198 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
12200 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
12201 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
12203 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
12204 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
12206 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
12207 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
12209 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
12210 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
12212 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
12213 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
12215 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
12216 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
12218 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
12219 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
12221 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
12222 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
12224 static void *_p_wxHtmlHelpControllerTo_p_wxEvtHandler(void *x
) {
12225 return (void *)((wxEvtHandler
*) ((wxHtmlHelpController
*) x
));
12227 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
12228 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
12230 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
12231 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
12233 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
12234 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
12236 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
12237 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
12239 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
12240 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
12242 static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x
) {
12243 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
12245 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
12246 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
12248 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
12249 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
12251 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
12252 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
12254 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
12255 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
12257 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
12258 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
12260 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
12261 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
12263 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
12264 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
12266 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
12267 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
12269 static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x
) {
12270 return (void *)((wxPyPrintout
*) ((wxHtmlPrintout
*) x
));
12272 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
12273 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
12275 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
12276 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
12278 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
12279 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
12281 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
12282 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
12284 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
12285 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
12287 static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x
) {
12288 return (void *)((wxFrame
*) ((wxHtmlHelpFrame
*) x
));
12290 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
12291 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
12293 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
12294 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
12296 static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x
) {
12297 return (void *)((wxHtmlCell
*) ((wxHtmlContainerCell
*) x
));
12299 static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x
) {
12300 return (void *)((wxHtmlCell
*) ((wxHtmlWidgetCell
*) x
));
12302 static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x
) {
12303 return (void *)((wxHtmlCell
*) ((wxHtmlColourCell
*) x
));
12305 static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x
) {
12306 return (void *)((wxHtmlCell
*) ((wxHtmlWordCell
*) x
));
12308 static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x
) {
12309 return (void *)((wxHtmlCell
*) ((wxHtmlFontCell
*) x
));
12311 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}};
12312 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}};
12313 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}};
12314 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}};
12315 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}};
12316 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}};
12317 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}};
12318 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}};
12319 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}};
12320 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}};
12321 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}};
12322 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}};
12323 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}};
12324 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}};
12325 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}};
12326 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}};
12327 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}};
12328 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_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_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_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow
, 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_wxMDIClientWindow", _p_wxMDIClientWindowTo_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_wxPrintDialog", _p_wxPrintDialogTo_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}};
12329 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_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_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_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_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_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_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}};
12330 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}};
12331 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}};
12332 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}};
12333 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}};
12334 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}};
12335 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}};
12336 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_wxTaskBarIcon", _p_wxTaskBarIconTo_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_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_wxGIFHandler", _p_wxGIFHandlerTo_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_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_wxPrintDialog", _p_wxPrintDialogTo_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_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}};
12337 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}};
12338 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}};
12339 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}};
12340 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}};
12341 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_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_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_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_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_wxTaskBarIcon", _p_wxTaskBarIconTo_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_wxPrintDialog", _p_wxPrintDialogTo_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}};
12342 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}};
12343 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}};
12344 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}};
12345 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}};
12346 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}};
12347 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}};
12348 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}};
12349 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}};
12350 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}};
12351 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}};
12352 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}};
12353 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}};
12354 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}};
12355 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}};
12356 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}};
12357 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}};
12358 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}};
12359 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}};
12360 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}};
12361 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}};
12362 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}};
12363 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}};
12365 static swig_type_info
*swig_types_initial
[] = {
12366 _swigt__p_wxHtmlDCRenderer
,
12367 _swigt__p_wxColour
,
12368 _swigt__p_wxPageSetupDialogData
,
12370 _swigt__p_wxDefaultHtmlRenderingStyle
,
12371 _swigt__p_wxHtmlRenderingStyle
,
12372 _swigt__p_wxMouseEvent
,
12373 _swigt__p_wxHtmlWordCell
,
12374 _swigt__p_wxVisualAttributes
,
12375 _swigt__p_wxHtmlHelpData
,
12377 _swigt__p_wxHtmlWinParser
,
12378 _swigt__p_wxHtmlParser
,
12381 _swigt__p_wxPyHtmlWindow
,
12382 _swigt__p_wxScrolledWindow
,
12383 _swigt__p_wxWindow
,
12384 _swigt__p_wxTopLevelWindow
,
12385 _swigt__p_wxHtmlColourCell
,
12386 _swigt__p_wxHtmlFontCell
,
12387 _swigt__p_wxHtmlEasyPrinting
,
12388 _swigt__p_wxHtmlSelection
,
12389 _swigt__p_wxHtmlRenderingInfo
,
12390 _swigt__p_wxHtmlWidgetCell
,
12391 _swigt__p_wxObject
,
12392 _swigt__p_wxString
,
12393 _swigt__p_wxPyHtmlWinTagHandler
,
12394 _swigt__p_wxHtmlTagHandler
,
12395 _swigt__p_wxPyHtmlTagHandler
,
12396 _swigt__p_wxEvtHandler
,
12398 _swigt__p_wxHtmlHelpController
,
12399 _swigt__p_wxCursor
,
12400 _swigt__p_wxFileSystem
,
12401 _swigt__p_wxHtmlBookRecArray
,
12402 _swigt__p_wxPyPrintout
,
12403 _swigt__p_wxHtmlPrintout
,
12404 _swigt__p_wxHtmlSearchStatus
,
12405 _swigt__p_wxHtmlContentsItem
,
12406 _swigt__p_wxConfigBase
,
12407 _swigt__p_wxPrintData
,
12408 _swigt__p_wxHtmlHelpFrame
,
12409 _swigt__p_wxHtmlRenderingState
,
12411 _swigt__p_wxPyHtmlFilter
,
12412 _swigt__p_wxHtmlFilter
,
12413 _swigt__p_wxHtmlCell
,
12414 _swigt__p_wxHtmlContainerCell
,
12415 _swigt__p_wxHtmlTag
,
12417 _swigt__p_wxHtmlLinkInfo
,
12418 _swigt__p_wxHtmlBookRecord
,
12423 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
12425 static swig_const_info swig_const_table
[] = {
12426 {0, 0, 0, 0.0, 0, 0}};
12435 SWIGEXPORT(void) SWIG_init(void) {
12436 static PyObject
*SWIG_globals
= 0;
12437 static int typeinit
= 0;
12440 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
12441 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
12442 d
= PyModule_GetDict(m
);
12445 for (i
= 0; swig_types_initial
[i
]; i
++) {
12446 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
12450 SWIG_InstallConstants(d
,swig_const_table
);
12452 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
12453 SWIG_addvarlink(SWIG_globals
,(char*)"HtmlWindowNameStr",_wrap_HtmlWindowNameStr_get
, _wrap_HtmlWindowNameStr_set
);
12454 SWIG_addvarlink(SWIG_globals
,(char*)"HtmlPrintoutTitleStr",_wrap_HtmlPrintoutTitleStr_get
, _wrap_HtmlPrintoutTitleStr_set
);
12455 SWIG_addvarlink(SWIG_globals
,(char*)"HtmlPrintingTitleStr",_wrap_HtmlPrintingTitleStr_get
, _wrap_HtmlPrintingTitleStr_set
);
12456 PyDict_SetItemString(d
,"HTML_ALIGN_LEFT", SWIG_From_int((int)wxHTML_ALIGN_LEFT
));
12457 PyDict_SetItemString(d
,"HTML_ALIGN_CENTER", SWIG_From_int((int)wxHTML_ALIGN_CENTER
));
12458 PyDict_SetItemString(d
,"HTML_ALIGN_RIGHT", SWIG_From_int((int)wxHTML_ALIGN_RIGHT
));
12459 PyDict_SetItemString(d
,"HTML_ALIGN_BOTTOM", SWIG_From_int((int)wxHTML_ALIGN_BOTTOM
));
12460 PyDict_SetItemString(d
,"HTML_ALIGN_TOP", SWIG_From_int((int)wxHTML_ALIGN_TOP
));
12461 PyDict_SetItemString(d
,"HTML_CLR_FOREGROUND", SWIG_From_int((int)wxHTML_CLR_FOREGROUND
));
12462 PyDict_SetItemString(d
,"HTML_CLR_BACKGROUND", SWIG_From_int((int)wxHTML_CLR_BACKGROUND
));
12463 PyDict_SetItemString(d
,"HTML_UNITS_PIXELS", SWIG_From_int((int)wxHTML_UNITS_PIXELS
));
12464 PyDict_SetItemString(d
,"HTML_UNITS_PERCENT", SWIG_From_int((int)wxHTML_UNITS_PERCENT
));
12465 PyDict_SetItemString(d
,"HTML_INDENT_LEFT", SWIG_From_int((int)wxHTML_INDENT_LEFT
));
12466 PyDict_SetItemString(d
,"HTML_INDENT_RIGHT", SWIG_From_int((int)wxHTML_INDENT_RIGHT
));
12467 PyDict_SetItemString(d
,"HTML_INDENT_TOP", SWIG_From_int((int)wxHTML_INDENT_TOP
));
12468 PyDict_SetItemString(d
,"HTML_INDENT_BOTTOM", SWIG_From_int((int)wxHTML_INDENT_BOTTOM
));
12469 PyDict_SetItemString(d
,"HTML_INDENT_HORIZONTAL", SWIG_From_int((int)wxHTML_INDENT_HORIZONTAL
));
12470 PyDict_SetItemString(d
,"HTML_INDENT_VERTICAL", SWIG_From_int((int)wxHTML_INDENT_VERTICAL
));
12471 PyDict_SetItemString(d
,"HTML_INDENT_ALL", SWIG_From_int((int)wxHTML_INDENT_ALL
));
12472 PyDict_SetItemString(d
,"HTML_COND_ISANCHOR", SWIG_From_int((int)wxHTML_COND_ISANCHOR
));
12473 PyDict_SetItemString(d
,"HTML_COND_ISIMAGEMAP", SWIG_From_int((int)wxHTML_COND_ISIMAGEMAP
));
12474 PyDict_SetItemString(d
,"HTML_COND_USER", SWIG_From_int((int)wxHTML_COND_USER
));
12475 PyDict_SetItemString(d
,"HTML_FONT_SIZE_1", SWIG_From_int((int)wxHTML_FONT_SIZE_1
));
12476 PyDict_SetItemString(d
,"HTML_FONT_SIZE_2", SWIG_From_int((int)wxHTML_FONT_SIZE_2
));
12477 PyDict_SetItemString(d
,"HTML_FONT_SIZE_3", SWIG_From_int((int)wxHTML_FONT_SIZE_3
));
12478 PyDict_SetItemString(d
,"HTML_FONT_SIZE_4", SWIG_From_int((int)wxHTML_FONT_SIZE_4
));
12479 PyDict_SetItemString(d
,"HTML_FONT_SIZE_5", SWIG_From_int((int)wxHTML_FONT_SIZE_5
));
12480 PyDict_SetItemString(d
,"HTML_FONT_SIZE_6", SWIG_From_int((int)wxHTML_FONT_SIZE_6
));
12481 PyDict_SetItemString(d
,"HTML_FONT_SIZE_7", SWIG_From_int((int)wxHTML_FONT_SIZE_7
));
12482 PyDict_SetItemString(d
,"HW_SCROLLBAR_NEVER", SWIG_From_int((int)wxHW_SCROLLBAR_NEVER
));
12483 PyDict_SetItemString(d
,"HW_SCROLLBAR_AUTO", SWIG_From_int((int)wxHW_SCROLLBAR_AUTO
));
12484 PyDict_SetItemString(d
,"HW_NO_SELECTION", SWIG_From_int((int)wxHW_NO_SELECTION
));
12485 PyDict_SetItemString(d
,"HW_DEFAULT_STYLE", SWIG_From_int((int)wxHW_DEFAULT_STYLE
));
12486 PyDict_SetItemString(d
,"HTML_OPEN", SWIG_From_int((int)wxHTML_OPEN
));
12487 PyDict_SetItemString(d
,"HTML_BLOCK", SWIG_From_int((int)wxHTML_BLOCK
));
12488 PyDict_SetItemString(d
,"HTML_REDIRECT", SWIG_From_int((int)wxHTML_REDIRECT
));
12489 PyDict_SetItemString(d
,"HTML_URL_PAGE", SWIG_From_int((int)wxHTML_URL_PAGE
));
12490 PyDict_SetItemString(d
,"HTML_URL_IMAGE", SWIG_From_int((int)wxHTML_URL_IMAGE
));
12491 PyDict_SetItemString(d
,"HTML_URL_OTHER", SWIG_From_int((int)wxHTML_URL_OTHER
));
12492 PyDict_SetItemString(d
,"HTML_SEL_OUT", SWIG_From_int((int)wxHTML_SEL_OUT
));
12493 PyDict_SetItemString(d
,"HTML_SEL_IN", SWIG_From_int((int)wxHTML_SEL_IN
));
12494 PyDict_SetItemString(d
,"HTML_SEL_CHANGING", SWIG_From_int((int)wxHTML_SEL_CHANGING
));
12495 PyDict_SetItemString(d
,"HTML_FIND_EXACT", SWIG_From_int((int)wxHTML_FIND_EXACT
));
12496 PyDict_SetItemString(d
,"HTML_FIND_NEAREST_BEFORE", SWIG_From_int((int)wxHTML_FIND_NEAREST_BEFORE
));
12497 PyDict_SetItemString(d
,"HTML_FIND_NEAREST_AFTER", SWIG_From_int((int)wxHTML_FIND_NEAREST_AFTER
));
12498 PyDict_SetItemString(d
,"PAGE_ODD", SWIG_From_int((int)wxPAGE_ODD
));
12499 PyDict_SetItemString(d
,"PAGE_EVEN", SWIG_From_int((int)wxPAGE_EVEN
));
12500 PyDict_SetItemString(d
,"PAGE_ALL", SWIG_From_int((int)wxPAGE_ALL
));
12501 PyDict_SetItemString(d
,"HF_TOOLBAR", SWIG_From_int((int)wxHF_TOOLBAR
));
12502 PyDict_SetItemString(d
,"HF_FLATTOOLBAR", SWIG_From_int((int)wxHF_FLATTOOLBAR
));
12503 PyDict_SetItemString(d
,"HF_CONTENTS", SWIG_From_int((int)wxHF_CONTENTS
));
12504 PyDict_SetItemString(d
,"HF_INDEX", SWIG_From_int((int)wxHF_INDEX
));
12505 PyDict_SetItemString(d
,"HF_SEARCH", SWIG_From_int((int)wxHF_SEARCH
));
12506 PyDict_SetItemString(d
,"HF_BOOKMARKS", SWIG_From_int((int)wxHF_BOOKMARKS
));
12507 PyDict_SetItemString(d
,"HF_OPENFILES", SWIG_From_int((int)wxHF_OPENFILES
));
12508 PyDict_SetItemString(d
,"HF_PRINT", SWIG_From_int((int)wxHF_PRINT
));
12509 PyDict_SetItemString(d
,"HF_DEFAULTSTYLE", SWIG_From_int((int)wxHF_DEFAULTSTYLE
));
12511 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
12512 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
12513 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
12514 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");