1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypePrettyName SWIG_Python_TypePrettyName
47 #define SWIG_TypeQuery SWIG_Python_TypeQuery
48 #define SWIG_TypeClientData SWIG_Python_TypeClientData
49 #define SWIG_PackData SWIG_Python_PackData
50 #define SWIG_UnpackData SWIG_Python_UnpackData
53 /***********************************************************************
54 * common.swg for wxPython
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
61 ************************************************************************/
65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66 # if defined(_MSC_VER) || defined(__GNUC__)
67 # if defined(STATIC_LINKED)
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) extern a
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
91 # define SWIGRUNTIME(a) static a
98 typedef void *(*swig_converter_func
)(void *);
99 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
101 typedef struct swig_type_info
{
103 swig_converter_func converter
;
106 swig_dycast_func dcast
;
107 struct swig_type_info
*next
;
108 struct swig_type_info
*prev
;
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info
*);
118 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
129 /***********************************************************************
130 * pyrun.swg for wxPython
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
137 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
199 /* Contract support */
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
209 /* -------- TYPES TABLE (BEGIN) -------- */
211 #define SWIGTYPE_p_wxHtmlDCRenderer swig_types[0]
212 #define SWIGTYPE_p_wxColour swig_types[1]
213 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[2]
214 #define SWIGTYPE_p_wxDC swig_types[3]
215 #define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[4]
216 #define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[5]
217 #define SWIGTYPE_p_wxMouseEvent swig_types[6]
218 #define SWIGTYPE_p_wxHtmlWordCell swig_types[7]
219 #define SWIGTYPE_p_wxVisualAttributes swig_types[8]
220 #define SWIGTYPE_p_wxHtmlHelpData swig_types[9]
221 #define SWIGTYPE_p_char swig_types[10]
222 #define SWIGTYPE_p_wxHtmlWinParser swig_types[11]
223 #define SWIGTYPE_p_wxHtmlParser swig_types[12]
224 #define SWIGTYPE_p_wxPanel swig_types[13]
225 #define SWIGTYPE_p_wxFont swig_types[14]
226 #define SWIGTYPE_p_wxPyHtmlWindow swig_types[15]
227 #define SWIGTYPE_p_wxScrolledWindow swig_types[16]
228 #define SWIGTYPE_p_wxWindow swig_types[17]
229 #define SWIGTYPE_p_wxTopLevelWindow swig_types[18]
230 #define SWIGTYPE_p_wxHtmlColourCell swig_types[19]
231 #define SWIGTYPE_p_wxHtmlFontCell swig_types[20]
232 #define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[21]
233 #define SWIGTYPE_p_wxHtmlSelection swig_types[22]
234 #define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[23]
235 #define SWIGTYPE_p_wxHtmlWidgetCell swig_types[24]
236 #define SWIGTYPE_p_wxObject swig_types[25]
237 #define SWIGTYPE_p_wxString swig_types[26]
238 #define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[27]
239 #define SWIGTYPE_p_wxHtmlTagHandler swig_types[28]
240 #define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[29]
241 #define SWIGTYPE_p_wxEvtHandler swig_types[30]
242 #define SWIGTYPE_p_wxPoint swig_types[31]
243 #define SWIGTYPE_p_wxHtmlHelpController swig_types[32]
244 #define SWIGTYPE_p_wxCursor swig_types[33]
245 #define SWIGTYPE_p_wxFileSystem swig_types[34]
246 #define SWIGTYPE_p_wxHtmlBookRecArray swig_types[35]
247 #define SWIGTYPE_p_wxPyPrintout swig_types[36]
248 #define SWIGTYPE_p_wxHtmlPrintout swig_types[37]
249 #define SWIGTYPE_p_wxHtmlSearchStatus swig_types[38]
250 #define SWIGTYPE_p_wxHtmlContentsItem swig_types[39]
251 #define SWIGTYPE_p_wxConfigBase swig_types[40]
252 #define SWIGTYPE_p_wxPrintData swig_types[41]
253 #define SWIGTYPE_p_wxHtmlHelpFrame swig_types[42]
254 #define SWIGTYPE_p_wxHtmlRenderingState swig_types[43]
255 #define SWIGTYPE_p_wxFrame swig_types[44]
256 #define SWIGTYPE_p_wxPyHtmlFilter swig_types[45]
257 #define SWIGTYPE_p_wxHtmlFilter swig_types[46]
258 #define SWIGTYPE_p_wxHtmlCell swig_types[47]
259 #define SWIGTYPE_p_wxHtmlContainerCell swig_types[48]
260 #define SWIGTYPE_p_wxHtmlTag swig_types[49]
261 #define SWIGTYPE_p_int swig_types[50]
262 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[51]
263 #define SWIGTYPE_p_wxHtmlBookRecord swig_types[52]
264 static swig_type_info
*swig_types
[54];
266 /* -------- TYPES TABLE (END) -------- */
269 /*-----------------------------------------------
271 ------------------------------------------------*/
272 #define SWIG_init init_html
274 #define SWIG_name "_html"
276 /* Auxiliar swig macros that appear in the header */
278 #define SWIG_OLDOBJ 1
279 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
280 #define SWIG_PYSTR SWIG_NEWOBJ + 1
283 #define SWIGSTATICINLINE(a) static inline a
284 #define SWIGSTATIC(a) static a
285 #define swig_new_array(size,Type) (new Type[(size)])
286 #define swig_delete(cptr) delete cptr
287 #define swig_delete_array(cptr) delete[] cptr
288 #define swig_const_cast(a,Type) const_cast<Type >(a)
289 #define swig_static_cast(a,Type) static_cast<Type >(a)
290 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
291 #define swig_new_copy(ptr,Type) (new Type(*ptr))
292 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
296 #define SWIGSTATICINLINE(a) static a
297 #define SWIGSTATIC(a) static a
298 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
299 #define swig_delete(cptr) free((char*)cptr)
300 #define swig_delete_array(cptr) free((char*)cptr)
301 #define swig_const_cast(a,Type) (Type)(a)
302 #define swig_static_cast(a,Type) (Type)(a)
303 #define swig_reinterpret_cast(a,Type) (Type)(a)
304 #define swig_numeric_cast(a,Type) (Type)(a)
305 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
307 #endif /* __cplusplus */
310 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
311 #define SWIG_From_signed_SS_char PyInt_FromLong
313 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
314 #define SWIG_From_unsigned_SS_char PyInt_FromLong
316 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
317 #define SWIG_From_short PyInt_FromLong
319 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
320 #define SWIG_From_unsigned_SS_short PyInt_FromLong
322 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
323 #define SWIG_From_int PyInt_FromLong
325 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
326 #define SWIG_From_long PyInt_FromLong
328 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
329 #define SWIG_From_float PyFloat_FromDouble
331 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
332 #define SWIG_From_double PyFloat_FromDouble
336 #include "wx/wxPython/wxPython.h"
337 #include "wx/wxPython/pyclasses.h"
338 #include "wx/wxPython/pyistream.h"
339 #include "wx/wxPython/printfw.h"
341 #include <wx/html/htmlwin.h>
342 #include <wx/html/htmprint.h>
343 #include <wx/html/helpctrl.h>
346 static const wxString
wxPyEmptyString(wxEmptyString
);
347 static const wxString
wxPyHtmlWindowNameStr(wxT("htmlWindow"));
348 static const wxString
wxPyHtmlPrintoutTitleStr(wxT("Printout"));
349 static const wxString
wxPyHtmlPrintingTitleStr(wxT("Printing"));
354 SWIGSTATICINLINE(int)
355 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
358 if (value
< min_value
) {
360 PyErr_Format(PyExc_OverflowError
,
361 "value %ld is less than '%s' minimum %ld",
362 value
, errmsg
, min_value
);
365 } else if (value
> max_value
) {
367 PyErr_Format(PyExc_OverflowError
,
368 "value %ld is greater than '%s' maximum %ld",
369 value
, errmsg
, max_value
);
377 // See my_fragments.i
378 SWIGSTATICINLINE(int)
379 SWIG_AsVal_long(PyObject
* obj
, long* val
)
381 if (PyNumber_Check(obj
)) {
382 if (val
) *val
= PyInt_AsLong(obj
);
386 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
387 obj
->ob_type
->tp_name
);
388 PyErr_SetObject(PyExc_TypeError
, errmsg
);
395 #if INT_MAX != LONG_MAX
396 SWIGSTATICINLINE(int)
397 SWIG_AsVal_int(PyObject
*obj
, int *val
)
399 const char* errmsg
= val
? "int" : 0;
401 if (SWIG_AsVal_long(obj
, &v
)) {
402 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
403 if (val
) *val
= swig_numeric_cast(v
, int);
412 PyErr_SetString(PyExc_TypeError
, "an int is expected");
417 SWIGSTATICINLINE(int)
418 SWIG_AsVal_int(PyObject
*obj
, int *val
)
420 return SWIG_AsVal_long(obj
,(long*)val
);
425 SWIGSTATICINLINE(int)
426 SWIG_As_int(PyObject
* obj
)
429 if (!SWIG_AsVal_int(obj
, &v
)) {
431 this is needed to make valgrind/purify happier. the other
432 solution is throw an exception, but since this code should work
435 memset((void*)&v
, 0, sizeof(int));
441 SWIGSTATICINLINE(int)
442 SWIG_Check_int(PyObject
* obj
)
444 return SWIG_AsVal_int(obj
, (int*)0);
447 void wxHtmlWinParser_SetFonts(wxHtmlWinParser
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
){
449 if (sizes
) temp
= int_LIST_helper(sizes
);
450 self
->SetFonts(normal_face
, fixed_face
, temp
);
455 class wxPyHtmlTagHandler
: public wxHtmlTagHandler
{
456 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler
);
458 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
460 wxHtmlParser
* GetParser() { return m_Parser
; }
461 void ParseInner(const wxHtmlTag
& tag
) { wxHtmlTagHandler::ParseInner(tag
); }
463 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
464 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
469 IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler
, wxHtmlTagHandler
);
471 IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, GetSupportedTags
);
472 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, HandleTag
);
475 class wxPyHtmlWinTagHandler
: public wxHtmlWinTagHandler
{
476 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler
);
478 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
480 wxHtmlWinParser
* GetParser() { return m_WParser
; }
481 void ParseInner(const wxHtmlTag
& tag
)
482 { wxHtmlWinTagHandler::ParseInner(tag
); }
484 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
485 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
490 IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
);
492 IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, GetSupportedTags
);
493 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, HandleTag
);
497 class wxPyHtmlTagsModule
: public wxHtmlTagsModule
{
499 wxPyHtmlTagsModule(PyObject
* thc
) : wxHtmlTagsModule() {
500 m_tagHandlerClass
= thc
;
501 Py_INCREF(m_tagHandlerClass
);
502 RegisterModule(this);
503 wxHtmlWinParser::AddModule(this);
507 bool blocked
= wxPyBeginBlockThreads();
508 Py_DECREF(m_tagHandlerClass
);
509 m_tagHandlerClass
= NULL
;
510 for (size_t x
=0; x
< m_objArray
.GetCount(); x
++) {
511 PyObject
* obj
= (PyObject
*)m_objArray
.Item(x
);
514 wxPyEndBlockThreads(blocked
);
517 void FillHandlersTable(wxHtmlWinParser
*parser
) {
518 // Wave our magic wand... (if it works it's a miracle! ;-)
520 // First, make a new instance of the tag handler
521 bool blocked
= wxPyBeginBlockThreads();
522 PyObject
* arg
= PyTuple_New(0);
523 PyObject
* obj
= PyObject_CallObject(m_tagHandlerClass
, arg
);
526 // now figure out where it's C++ object is...
527 wxPyHtmlWinTagHandler
* thPtr
;
528 if (! wxPyConvertSwigPtr(obj
, (void **)&thPtr
, wxT("wxPyHtmlWinTagHandler"))) {
529 wxPyEndBlockThreads(blocked
);
532 wxPyEndBlockThreads(blocked
);
535 parser
->AddTagHandler(thPtr
);
542 PyObject
* m_tagHandlerClass
;
543 wxArrayPtrVoid m_objArray
;
548 void wxHtmlWinParser_AddTagHandler(PyObject
* tagHandlerClass
) {
549 // Dynamically create a new wxModule. Refcounts tagHandlerClass
550 // and adds itself to the wxModules list and to the wxHtmlWinParser.
551 new wxPyHtmlTagsModule(tagHandlerClass
);
555 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
561 } else if (target
== Py_None
) {
565 if (!PyTuple_Check(target
)) {
567 target
= PyTuple_New(1);
568 PyTuple_SetItem(target
, 0, o2
);
571 PyTuple_SetItem(o3
, 0, o
);
574 target
= PySequence_Concat(o2
, o3
);
583 SWIGSTATICINLINE(int)
584 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
586 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
587 if (obj
== Py_True
) {
588 if (val
) *val
= true;
591 if (obj
== Py_False
) {
592 if (val
) *val
= false;
596 if (SWIG_AsVal_int(obj
, &res
)) {
597 if (val
) *val
= (bool)res
;
601 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
607 SWIGSTATICINLINE(bool)
608 SWIG_As_bool(PyObject
* obj
)
611 if (!SWIG_AsVal_bool(obj
, &v
)) {
613 this is needed to make valgrind/purify happier. the other
614 solution is throw an exception, but since this code should work
617 memset((void*)&v
, 0, sizeof(bool));
623 SWIGSTATICINLINE(int)
624 SWIG_Check_bool(PyObject
* obj
)
626 return SWIG_AsVal_bool(obj
, (bool*)0);
630 SWIGSTATICINLINE(int)
631 SWIG_CheckUnsignedLongInRange(unsigned long value
,
632 unsigned long max_value
,
635 if (value
> max_value
) {
637 PyErr_Format(PyExc_OverflowError
,
638 "value %ld is greater than '%s' minimum %ld",
639 value
, errmsg
, max_value
);
647 // See my_fragments.i
648 SWIGSTATICINLINE(int)
649 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
652 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
653 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
657 *val
= (unsigned long)v
;
662 #if UINT_MAX != ULONG_MAX
663 SWIGSTATICINLINE(int)
664 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
666 const char* errmsg
= val
? "unsigned int" : 0;
668 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
669 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
670 if (val
) *val
= swig_numeric_cast(v
, unsigned int);
677 PyErr_SetString(PyExc_TypeError
, "an unsigned int is expected");
682 SWIGSTATICINLINE(unsigned int)
683 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
685 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
690 SWIGSTATICINLINE(unsigned int)
691 SWIG_As_unsigned_SS_int(PyObject
* obj
)
694 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
696 this is needed to make valgrind/purify happier. the other
697 solution is throw an exception, but since this code should work
700 memset((void*)&v
, 0, sizeof(unsigned int));
706 SWIGSTATICINLINE(int)
707 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
709 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
713 SWIGSTATICINLINE(PyObject
* )
714 SWIG_From_unsigned_SS_long(unsigned long value
)
716 return (value
> LONG_MAX
) ?
717 PyLong_FromUnsignedLong(value
)
718 : PyInt_FromLong(swig_numeric_cast(value
,long));
722 #if UINT_MAX < LONG_MAX
723 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
724 #define SWIG_From_unsigned_SS_int SWIG_From_long
727 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
728 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
732 // here's the C++ version
733 class wxPyHtmlFilter
: public wxHtmlFilter
{
734 DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter
);
736 wxPyHtmlFilter() : wxHtmlFilter() {}
738 // returns True if this filter is able to open&read given file
739 virtual bool CanRead(const wxFSFile
& file
) const {
742 bool blocked
= wxPyBeginBlockThreads();
743 if ((found
= wxPyCBH_findCallback(m_myInst
, "CanRead"))) {
744 PyObject
* obj
= wxPyMake_wxObject((wxFSFile
*)&file
,false); // cast away const
745 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
748 wxPyEndBlockThreads(blocked
);
753 // Reads given file and returns HTML document.
754 // Returns empty string if opening failed
755 virtual wxString
ReadFile(const wxFSFile
& file
) const {
758 bool blocked
= wxPyBeginBlockThreads();
759 if ((found
= wxPyCBH_findCallback(m_myInst
, "ReadFile"))) {
760 PyObject
* obj
= wxPyMake_wxObject((wxFSFile
*)&file
,false); // cast away const
762 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(O)", obj
));
765 rval
= Py2wxString(ro
);
769 wxPyEndBlockThreads(blocked
);
776 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter
, wxHtmlFilter
);
779 class wxPyHtmlWindow
: public wxHtmlWindow
{
780 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow
);
782 wxPyHtmlWindow(wxWindow
*parent
, wxWindowID id
= -1,
783 const wxPoint
& pos
= wxDefaultPosition
,
784 const wxSize
& size
= wxDefaultSize
,
785 long style
= wxHW_DEFAULT_STYLE
,
786 const wxString
& name
= wxPyHtmlWindowNameStr
)
787 : wxHtmlWindow(parent
, id
, pos
, size
, style
, name
) {};
788 wxPyHtmlWindow() : wxHtmlWindow() {};
790 bool ScrollToAnchor(const wxString
& anchor
) {
791 return wxHtmlWindow::ScrollToAnchor(anchor
);
794 bool HasAnchor(const wxString
& anchor
) {
795 const wxHtmlCell
*c
= m_Cell
->Find(wxHTML_COND_ISANCHOR
, &anchor
);
799 void OnLinkClicked(const wxHtmlLinkInfo
& link
);
800 void base_OnLinkClicked(const wxHtmlLinkInfo
& link
);
802 wxHtmlOpeningStatus
OnOpeningURL(wxHtmlURLType type
,
804 wxString
*redirect
) const;
806 DEC_PYCALLBACK__STRING(OnSetTitle
);
807 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover
);
808 DEC_PYCALLBACK__CELLINTINTME(OnCellClicked
);
812 IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow
, wxHtmlWindow
);
813 IMP_PYCALLBACK__STRING(wxPyHtmlWindow
, wxHtmlWindow
, OnSetTitle
);
814 IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow
, wxHtmlWindow
, OnCellMouseHover
);
815 IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow
, wxHtmlWindow
, OnCellClicked
);
818 void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo
& link
) {
820 bool blocked
= wxPyBeginBlockThreads();
821 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
822 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
823 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
826 wxPyEndBlockThreads(blocked
);
828 wxHtmlWindow::OnLinkClicked(link
);
830 void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo
& link
) {
831 wxHtmlWindow::OnLinkClicked(link
);
835 wxHtmlOpeningStatus
wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type
,
837 wxString
*redirect
) const {
839 wxHtmlOpeningStatus rval
;
840 bool blocked
= wxPyBeginBlockThreads();
841 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnOpeningURL"))) {
843 PyObject
* s
= wx2PyString(url
);
844 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(iO)", type
, s
));
846 if (PyString_Check(ro
)
847 #if PYTHON_API_VERSION >= 1009
848 || PyUnicode_Check(ro
)
851 *redirect
= Py2wxString(ro
);
852 rval
= wxHTML_REDIRECT
;
855 PyObject
* num
= PyNumber_Int(ro
);
856 rval
= (wxHtmlOpeningStatus
)PyInt_AsLong(num
);
861 wxPyEndBlockThreads(blocked
);
863 rval
= wxHtmlWindow::OnOpeningURL(type
, url
, redirect
);
869 void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
){
871 if (sizes
) temp
= int_LIST_helper(sizes
);
872 self
->SetFonts(normal_face
, fixed_face
, temp
);
876 void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
){
878 if (sizes
) temp
= int_LIST_helper(sizes
);
879 self
->SetFonts(normal_face
, fixed_face
, temp
);
883 void wxHtmlPrintout_SetFonts(wxHtmlPrintout
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
){
885 if (sizes
) temp
= int_LIST_helper(sizes
);
886 self
->SetFonts(normal_face
, fixed_face
, temp
);
892 SWIGSTATICINLINE(int)
893 SWIG_CheckDoubleInRange(double value
, double min_value
,
894 double max_value
, const char* errmsg
)
896 if (value
< min_value
) {
898 PyErr_Format(PyExc_OverflowError
,
899 "value %g is less than %s minimum %g",
900 value
, errmsg
, min_value
);
903 } else if (value
> max_value
) {
905 PyErr_Format(PyExc_OverflowError
,
906 "value %g is greater than %s maximum %g",
907 value
, errmsg
, max_value
);
915 // See my_fragments.i
916 SWIGSTATICINLINE(int)
917 SWIG_AsVal_double(PyObject
*obj
, double* val
)
919 if (PyNumber_Check(obj
)) {
920 if (val
) *val
= PyFloat_AsDouble(obj
);
924 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
925 obj
->ob_type
->tp_name
);
926 PyErr_SetObject(PyExc_TypeError
, errmsg
);
933 SWIGSTATICINLINE(int)
934 SWIG_AsVal_float(PyObject
*obj
, float *val
)
936 const char* errmsg
= val
? "float" : 0;
938 if (SWIG_AsVal_double(obj
, &v
)) {
939 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
949 PyErr_SetString(PyExc_TypeError
, "a float is expected");
955 SWIGSTATICINLINE(float)
956 SWIG_As_float(PyObject
* obj
)
959 if (!SWIG_AsVal_float(obj
, &v
)) {
961 this is needed to make valgrind/purify happier. the other
962 solution is throw an exception, but since this code should work
965 memset((void*)&v
, 0, sizeof(float));
971 SWIGSTATICINLINE(int)
972 SWIG_Check_float(PyObject
* obj
)
974 return SWIG_AsVal_float(obj
, (float*)0);
977 void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
){
979 if (sizes
) temp
= int_LIST_helper(sizes
);
980 self
->SetFonts(normal_face
, fixed_face
, temp
);
984 int wxHtmlContentsItem_GetLevel(wxHtmlContentsItem
*self
){ return self
->m_Level
; }
985 int wxHtmlContentsItem_GetID(wxHtmlContentsItem
*self
){ return self
->m_ID
; }
986 wxString
wxHtmlContentsItem_GetName(wxHtmlContentsItem
*self
){ return self
->m_Name
; }
987 wxString
wxHtmlContentsItem_GetPage(wxHtmlContentsItem
*self
){ return self
->m_Page
; }
988 wxHtmlBookRecord
*wxHtmlContentsItem_GetBook(wxHtmlContentsItem
*self
){ return self
->m_Book
; }
992 static int _wrap_HtmlWindowNameStr_set(PyObject
*) {
993 PyErr_SetString(PyExc_TypeError
,"Variable HtmlWindowNameStr is read-only.");
998 static PyObject
*_wrap_HtmlWindowNameStr_get() {
1003 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr
)->c_str(), (&wxPyHtmlWindowNameStr
)->Len());
1005 pyobj
= PyString_FromStringAndSize((&wxPyHtmlWindowNameStr
)->c_str(), (&wxPyHtmlWindowNameStr
)->Len());
1012 static int _wrap_HtmlPrintoutTitleStr_set(PyObject
*) {
1013 PyErr_SetString(PyExc_TypeError
,"Variable HtmlPrintoutTitleStr is read-only.");
1018 static PyObject
*_wrap_HtmlPrintoutTitleStr_get() {
1023 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr
)->c_str(), (&wxPyHtmlPrintoutTitleStr
)->Len());
1025 pyobj
= PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr
)->c_str(), (&wxPyHtmlPrintoutTitleStr
)->Len());
1032 static int _wrap_HtmlPrintingTitleStr_set(PyObject
*) {
1033 PyErr_SetString(PyExc_TypeError
,"Variable HtmlPrintingTitleStr is read-only.");
1038 static PyObject
*_wrap_HtmlPrintingTitleStr_get() {
1043 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr
)->c_str(), (&wxPyHtmlPrintingTitleStr
)->Len());
1045 pyobj
= PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr
)->c_str(), (&wxPyHtmlPrintingTitleStr
)->Len());
1052 static PyObject
*_wrap_new_HtmlLinkInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1053 PyObject
*resultobj
;
1054 wxString
*arg1
= 0 ;
1055 wxString
const &arg2_defvalue
= wxPyEmptyString
;
1056 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
1057 wxHtmlLinkInfo
*result
;
1058 bool temp1
= False
;
1059 bool temp2
= False
;
1060 PyObject
* obj0
= 0 ;
1061 PyObject
* obj1
= 0 ;
1063 (char *) "href",(char *) "target", NULL
1066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlLinkInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
1068 arg1
= wxString_in_helper(obj0
);
1069 if (arg1
== NULL
) SWIG_fail
;
1074 arg2
= wxString_in_helper(obj1
);
1075 if (arg2
== NULL
) SWIG_fail
;
1080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1081 result
= (wxHtmlLinkInfo
*)new wxHtmlLinkInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1083 wxPyEndAllowThreads(__tstate
);
1084 if (PyErr_Occurred()) SWIG_fail
;
1086 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlLinkInfo
, 1);
1109 static PyObject
*_wrap_HtmlLinkInfo_GetHref(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1110 PyObject
*resultobj
;
1111 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
1113 PyObject
* obj0
= 0 ;
1115 (char *) "self", NULL
1118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlLinkInfo_GetHref",kwnames
,&obj0
)) goto fail
;
1119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlLinkInfo
,
1120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1123 result
= (arg1
)->GetHref();
1125 wxPyEndAllowThreads(__tstate
);
1126 if (PyErr_Occurred()) SWIG_fail
;
1130 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1132 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1141 static PyObject
*_wrap_HtmlLinkInfo_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1142 PyObject
*resultobj
;
1143 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
1145 PyObject
* obj0
= 0 ;
1147 (char *) "self", NULL
1150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlLinkInfo_GetTarget",kwnames
,&obj0
)) goto fail
;
1151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlLinkInfo
,
1152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1155 result
= (arg1
)->GetTarget();
1157 wxPyEndAllowThreads(__tstate
);
1158 if (PyErr_Occurred()) SWIG_fail
;
1162 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1164 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1173 static PyObject
*_wrap_HtmlLinkInfo_GetEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1174 PyObject
*resultobj
;
1175 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
1176 wxMouseEvent
*result
;
1177 PyObject
* obj0
= 0 ;
1179 (char *) "self", NULL
1182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlLinkInfo_GetEvent",kwnames
,&obj0
)) goto fail
;
1183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlLinkInfo
,
1184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1187 result
= (wxMouseEvent
*)(arg1
)->GetEvent();
1189 wxPyEndAllowThreads(__tstate
);
1190 if (PyErr_Occurred()) SWIG_fail
;
1193 resultobj
= wxPyMake_wxObject(result
, 0);
1201 static PyObject
*_wrap_HtmlLinkInfo_GetHtmlCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1202 PyObject
*resultobj
;
1203 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
1205 PyObject
* obj0
= 0 ;
1207 (char *) "self", NULL
1210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlLinkInfo_GetHtmlCell",kwnames
,&obj0
)) goto fail
;
1211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlLinkInfo
,
1212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1215 result
= (wxHtmlCell
*)(arg1
)->GetHtmlCell();
1217 wxPyEndAllowThreads(__tstate
);
1218 if (PyErr_Occurred()) SWIG_fail
;
1220 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
1227 static PyObject
*_wrap_HtmlLinkInfo_SetEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1228 PyObject
*resultobj
;
1229 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
1230 wxMouseEvent
*arg2
= (wxMouseEvent
*) 0 ;
1231 PyObject
* obj0
= 0 ;
1232 PyObject
* obj1
= 0 ;
1234 (char *) "self",(char *) "e", NULL
1237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
1238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlLinkInfo
,
1239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1240 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
1241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1244 (arg1
)->SetEvent((wxMouseEvent
const *)arg2
);
1246 wxPyEndAllowThreads(__tstate
);
1247 if (PyErr_Occurred()) SWIG_fail
;
1249 Py_INCREF(Py_None
); resultobj
= Py_None
;
1256 static PyObject
*_wrap_HtmlLinkInfo_SetHtmlCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1257 PyObject
*resultobj
;
1258 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
1259 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
1260 PyObject
* obj0
= 0 ;
1261 PyObject
* obj1
= 0 ;
1263 (char *) "self",(char *) "e", NULL
1266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames
,&obj0
,&obj1
)) goto fail
;
1267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlLinkInfo
,
1268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1269 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlCell
,
1270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1273 (arg1
)->SetHtmlCell((wxHtmlCell
const *)arg2
);
1275 wxPyEndAllowThreads(__tstate
);
1276 if (PyErr_Occurred()) SWIG_fail
;
1278 Py_INCREF(Py_None
); resultobj
= Py_None
;
1285 static PyObject
* HtmlLinkInfo_swigregister(PyObject
*, PyObject
*args
) {
1287 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1288 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlLinkInfo
, obj
);
1290 return Py_BuildValue((char *)"");
1292 static PyObject
*_wrap_HtmlTag_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1293 PyObject
*resultobj
;
1294 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
1296 PyObject
* obj0
= 0 ;
1298 (char *) "self", NULL
1301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_GetName",kwnames
,&obj0
)) goto fail
;
1302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlTag
,
1303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1306 result
= (arg1
)->GetName();
1308 wxPyEndAllowThreads(__tstate
);
1309 if (PyErr_Occurred()) SWIG_fail
;
1313 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1315 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1324 static PyObject
*_wrap_HtmlTag_HasParam(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1325 PyObject
*resultobj
;
1326 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
1327 wxString
*arg2
= 0 ;
1329 bool temp2
= False
;
1330 PyObject
* obj0
= 0 ;
1331 PyObject
* obj1
= 0 ;
1333 (char *) "self",(char *) "par", NULL
1336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTag_HasParam",kwnames
,&obj0
,&obj1
)) goto fail
;
1337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlTag
,
1338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1340 arg2
= wxString_in_helper(obj1
);
1341 if (arg2
== NULL
) SWIG_fail
;
1345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1346 result
= (bool)(arg1
)->HasParam((wxString
const &)*arg2
);
1348 wxPyEndAllowThreads(__tstate
);
1349 if (PyErr_Occurred()) SWIG_fail
;
1352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1368 static PyObject
*_wrap_HtmlTag_GetParam(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1369 PyObject
*resultobj
;
1370 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
1371 wxString
*arg2
= 0 ;
1372 int arg3
= (int) False
;
1374 bool temp2
= False
;
1375 PyObject
* obj0
= 0 ;
1376 PyObject
* obj1
= 0 ;
1377 PyObject
* obj2
= 0 ;
1379 (char *) "self",(char *) "par",(char *) "with_commas", NULL
1382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlTag_GetParam",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlTag
,
1384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1386 arg2
= wxString_in_helper(obj1
);
1387 if (arg2
== NULL
) SWIG_fail
;
1391 arg3
= (int)SWIG_As_int(obj2
);
1392 if (PyErr_Occurred()) SWIG_fail
;
1395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1396 result
= (arg1
)->GetParam((wxString
const &)*arg2
,arg3
);
1398 wxPyEndAllowThreads(__tstate
);
1399 if (PyErr_Occurred()) SWIG_fail
;
1403 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1405 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1422 static PyObject
*_wrap_HtmlTag_GetAllParams(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1423 PyObject
*resultobj
;
1424 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
1426 PyObject
* obj0
= 0 ;
1428 (char *) "self", NULL
1431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_GetAllParams",kwnames
,&obj0
)) goto fail
;
1432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlTag
,
1433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1436 result
= (arg1
)->GetAllParams();
1438 wxPyEndAllowThreads(__tstate
);
1439 if (PyErr_Occurred()) SWIG_fail
;
1443 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1445 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1454 static PyObject
*_wrap_HtmlTag_HasEnding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1455 PyObject
*resultobj
;
1456 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
1458 PyObject
* obj0
= 0 ;
1460 (char *) "self", NULL
1463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_HasEnding",kwnames
,&obj0
)) goto fail
;
1464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlTag
,
1465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1468 result
= (bool)(arg1
)->HasEnding();
1470 wxPyEndAllowThreads(__tstate
);
1471 if (PyErr_Occurred()) SWIG_fail
;
1474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1482 static PyObject
*_wrap_HtmlTag_GetBeginPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1483 PyObject
*resultobj
;
1484 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
1486 PyObject
* obj0
= 0 ;
1488 (char *) "self", NULL
1491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_GetBeginPos",kwnames
,&obj0
)) goto fail
;
1492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlTag
,
1493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1496 result
= (int)(arg1
)->GetBeginPos();
1498 wxPyEndAllowThreads(__tstate
);
1499 if (PyErr_Occurred()) SWIG_fail
;
1501 resultobj
= SWIG_From_int((int)result
);
1508 static PyObject
*_wrap_HtmlTag_GetEndPos1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1509 PyObject
*resultobj
;
1510 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
1512 PyObject
* obj0
= 0 ;
1514 (char *) "self", NULL
1517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_GetEndPos1",kwnames
,&obj0
)) goto fail
;
1518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlTag
,
1519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1522 result
= (int)(arg1
)->GetEndPos1();
1524 wxPyEndAllowThreads(__tstate
);
1525 if (PyErr_Occurred()) SWIG_fail
;
1527 resultobj
= SWIG_From_int((int)result
);
1534 static PyObject
*_wrap_HtmlTag_GetEndPos2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1535 PyObject
*resultobj
;
1536 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
1538 PyObject
* obj0
= 0 ;
1540 (char *) "self", NULL
1543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_GetEndPos2",kwnames
,&obj0
)) goto fail
;
1544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlTag
,
1545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1548 result
= (int)(arg1
)->GetEndPos2();
1550 wxPyEndAllowThreads(__tstate
);
1551 if (PyErr_Occurred()) SWIG_fail
;
1553 resultobj
= SWIG_From_int((int)result
);
1560 static PyObject
* HtmlTag_swigregister(PyObject
*, PyObject
*args
) {
1562 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1563 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlTag
, obj
);
1565 return Py_BuildValue((char *)"");
1567 static PyObject
*_wrap_HtmlParser_SetFS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1568 PyObject
*resultobj
;
1569 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1570 wxFileSystem
*arg2
= (wxFileSystem
*) 0 ;
1571 PyObject
* obj0
= 0 ;
1572 PyObject
* obj1
= 0 ;
1574 (char *) "self",(char *) "fs", NULL
1577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_SetFS",kwnames
,&obj0
,&obj1
)) goto fail
;
1578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlParser
,
1579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1580 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
1581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1584 (arg1
)->SetFS(arg2
);
1586 wxPyEndAllowThreads(__tstate
);
1587 if (PyErr_Occurred()) SWIG_fail
;
1589 Py_INCREF(Py_None
); resultobj
= Py_None
;
1596 static PyObject
*_wrap_HtmlParser_GetFS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1597 PyObject
*resultobj
;
1598 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1599 wxFileSystem
*result
;
1600 PyObject
* obj0
= 0 ;
1602 (char *) "self", NULL
1605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlParser_GetFS",kwnames
,&obj0
)) goto fail
;
1606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlParser
,
1607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1610 result
= (wxFileSystem
*)(arg1
)->GetFS();
1612 wxPyEndAllowThreads(__tstate
);
1613 if (PyErr_Occurred()) SWIG_fail
;
1616 resultobj
= wxPyMake_wxObject(result
, 0);
1624 static PyObject
*_wrap_HtmlParser_Parse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1625 PyObject
*resultobj
;
1626 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1627 wxString
*arg2
= 0 ;
1629 bool temp2
= False
;
1630 PyObject
* obj0
= 0 ;
1631 PyObject
* obj1
= 0 ;
1633 (char *) "self",(char *) "source", NULL
1636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_Parse",kwnames
,&obj0
,&obj1
)) goto fail
;
1637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlParser
,
1638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1640 arg2
= wxString_in_helper(obj1
);
1641 if (arg2
== NULL
) SWIG_fail
;
1645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1646 result
= (wxObject
*)(arg1
)->Parse((wxString
const &)*arg2
);
1648 wxPyEndAllowThreads(__tstate
);
1649 if (PyErr_Occurred()) SWIG_fail
;
1652 resultobj
= wxPyMake_wxObject(result
, 0);
1668 static PyObject
*_wrap_HtmlParser_InitParser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1669 PyObject
*resultobj
;
1670 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1671 wxString
*arg2
= 0 ;
1672 bool temp2
= False
;
1673 PyObject
* obj0
= 0 ;
1674 PyObject
* obj1
= 0 ;
1676 (char *) "self",(char *) "source", NULL
1679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_InitParser",kwnames
,&obj0
,&obj1
)) goto fail
;
1680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlParser
,
1681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1683 arg2
= wxString_in_helper(obj1
);
1684 if (arg2
== NULL
) SWIG_fail
;
1688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1689 (arg1
)->InitParser((wxString
const &)*arg2
);
1691 wxPyEndAllowThreads(__tstate
);
1692 if (PyErr_Occurred()) SWIG_fail
;
1694 Py_INCREF(Py_None
); resultobj
= Py_None
;
1709 static PyObject
*_wrap_HtmlParser_DoneParser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1710 PyObject
*resultobj
;
1711 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1712 PyObject
* obj0
= 0 ;
1714 (char *) "self", NULL
1717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlParser_DoneParser",kwnames
,&obj0
)) goto fail
;
1718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlParser
,
1719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1722 (arg1
)->DoneParser();
1724 wxPyEndAllowThreads(__tstate
);
1725 if (PyErr_Occurred()) SWIG_fail
;
1727 Py_INCREF(Py_None
); resultobj
= Py_None
;
1734 static PyObject
*_wrap_HtmlParser_DoParsing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1735 PyObject
*resultobj
;
1736 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1739 PyObject
* obj0
= 0 ;
1740 PyObject
* obj1
= 0 ;
1741 PyObject
* obj2
= 0 ;
1743 (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
1746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlParser_DoParsing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlParser
,
1748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1749 arg2
= (int)SWIG_As_int(obj1
);
1750 if (PyErr_Occurred()) SWIG_fail
;
1751 arg3
= (int)SWIG_As_int(obj2
);
1752 if (PyErr_Occurred()) SWIG_fail
;
1754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1755 (arg1
)->DoParsing(arg2
,arg3
);
1757 wxPyEndAllowThreads(__tstate
);
1758 if (PyErr_Occurred()) SWIG_fail
;
1760 Py_INCREF(Py_None
); resultobj
= Py_None
;
1767 static PyObject
*_wrap_HtmlParser_StopParsing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1768 PyObject
*resultobj
;
1769 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1770 PyObject
* obj0
= 0 ;
1772 (char *) "self", NULL
1775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlParser_StopParsing",kwnames
,&obj0
)) goto fail
;
1776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlParser
,
1777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1780 (arg1
)->StopParsing();
1782 wxPyEndAllowThreads(__tstate
);
1783 if (PyErr_Occurred()) SWIG_fail
;
1785 Py_INCREF(Py_None
); resultobj
= Py_None
;
1792 static PyObject
*_wrap_HtmlParser_AddTagHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1793 PyObject
*resultobj
;
1794 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1795 wxHtmlTagHandler
*arg2
= (wxHtmlTagHandler
*) 0 ;
1796 PyObject
* obj0
= 0 ;
1797 PyObject
* obj1
= 0 ;
1799 (char *) "self",(char *) "handler", NULL
1802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_AddTagHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
1803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlParser
,
1804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1805 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlTagHandler
,
1806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1809 (arg1
)->AddTagHandler(arg2
);
1811 wxPyEndAllowThreads(__tstate
);
1812 if (PyErr_Occurred()) SWIG_fail
;
1814 Py_INCREF(Py_None
); resultobj
= Py_None
;
1821 static PyObject
*_wrap_HtmlParser_GetSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1822 PyObject
*resultobj
;
1823 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1825 PyObject
* obj0
= 0 ;
1827 (char *) "self", NULL
1830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlParser_GetSource",kwnames
,&obj0
)) goto fail
;
1831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlParser
,
1832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1835 result
= (wxString
*)(arg1
)->GetSource();
1837 wxPyEndAllowThreads(__tstate
);
1838 if (PyErr_Occurred()) SWIG_fail
;
1842 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
1844 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
1853 static PyObject
*_wrap_HtmlParser_PushTagHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1854 PyObject
*resultobj
;
1855 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1856 wxHtmlTagHandler
*arg2
= (wxHtmlTagHandler
*) 0 ;
1858 PyObject
* obj0
= 0 ;
1859 PyObject
* obj1
= 0 ;
1860 PyObject
* obj2
= 0 ;
1862 (char *) "self",(char *) "handler",(char *) "tags", NULL
1865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlParser_PushTagHandler",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlParser
,
1867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1868 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlTagHandler
,
1869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1871 wxString
* sptr
= wxString_in_helper(obj2
);
1872 if (sptr
== NULL
) SWIG_fail
;
1877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1878 (arg1
)->PushTagHandler(arg2
,arg3
);
1880 wxPyEndAllowThreads(__tstate
);
1881 if (PyErr_Occurred()) SWIG_fail
;
1883 Py_INCREF(Py_None
); resultobj
= Py_None
;
1890 static PyObject
*_wrap_HtmlParser_PopTagHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1891 PyObject
*resultobj
;
1892 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1893 PyObject
* obj0
= 0 ;
1895 (char *) "self", NULL
1898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlParser_PopTagHandler",kwnames
,&obj0
)) goto fail
;
1899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlParser
,
1900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1903 (arg1
)->PopTagHandler();
1905 wxPyEndAllowThreads(__tstate
);
1906 if (PyErr_Occurred()) SWIG_fail
;
1908 Py_INCREF(Py_None
); resultobj
= Py_None
;
1915 static PyObject
* HtmlParser_swigregister(PyObject
*, PyObject
*args
) {
1917 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1918 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlParser
, obj
);
1920 return Py_BuildValue((char *)"");
1922 static PyObject
*_wrap_new_HtmlWinParser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1923 PyObject
*resultobj
;
1924 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) NULL
;
1925 wxHtmlWinParser
*result
;
1926 PyObject
* obj0
= 0 ;
1928 (char *) "wnd", NULL
1931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_HtmlWinParser",kwnames
,&obj0
)) goto fail
;
1933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
1934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1938 result
= (wxHtmlWinParser
*)new wxHtmlWinParser(arg1
);
1940 wxPyEndAllowThreads(__tstate
);
1941 if (PyErr_Occurred()) SWIG_fail
;
1943 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlWinParser
, 1);
1950 static PyObject
*_wrap_HtmlWinParser_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1951 PyObject
*resultobj
;
1952 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
1953 wxDC
*arg2
= (wxDC
*) 0 ;
1954 PyObject
* obj0
= 0 ;
1955 PyObject
* obj1
= 0 ;
1957 (char *) "self",(char *) "dc", NULL
1960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
1961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
1962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1963 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
1964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1967 (arg1
)->SetDC(arg2
);
1969 wxPyEndAllowThreads(__tstate
);
1970 if (PyErr_Occurred()) SWIG_fail
;
1972 Py_INCREF(Py_None
); resultobj
= Py_None
;
1979 static PyObject
*_wrap_HtmlWinParser_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1980 PyObject
*resultobj
;
1981 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
1983 PyObject
* obj0
= 0 ;
1985 (char *) "self", NULL
1988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetDC",kwnames
,&obj0
)) goto fail
;
1989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
1990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1993 result
= (wxDC
*)(arg1
)->GetDC();
1995 wxPyEndAllowThreads(__tstate
);
1996 if (PyErr_Occurred()) SWIG_fail
;
1999 resultobj
= wxPyMake_wxObject(result
, 0);
2007 static PyObject
*_wrap_HtmlWinParser_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2008 PyObject
*resultobj
;
2009 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2011 PyObject
* obj0
= 0 ;
2013 (char *) "self", NULL
2016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetCharHeight",kwnames
,&obj0
)) goto fail
;
2017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2021 result
= (int)(arg1
)->GetCharHeight();
2023 wxPyEndAllowThreads(__tstate
);
2024 if (PyErr_Occurred()) SWIG_fail
;
2026 resultobj
= SWIG_From_int((int)result
);
2033 static PyObject
*_wrap_HtmlWinParser_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2034 PyObject
*resultobj
;
2035 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2037 PyObject
* obj0
= 0 ;
2039 (char *) "self", NULL
2042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetCharWidth",kwnames
,&obj0
)) goto fail
;
2043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2047 result
= (int)(arg1
)->GetCharWidth();
2049 wxPyEndAllowThreads(__tstate
);
2050 if (PyErr_Occurred()) SWIG_fail
;
2052 resultobj
= SWIG_From_int((int)result
);
2059 static PyObject
*_wrap_HtmlWinParser_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2060 PyObject
*resultobj
;
2061 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2062 wxPyHtmlWindow
*result
;
2063 PyObject
* obj0
= 0 ;
2065 (char *) "self", NULL
2068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetWindow",kwnames
,&obj0
)) goto fail
;
2069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2073 result
= (wxPyHtmlWindow
*)(arg1
)->GetWindow();
2075 wxPyEndAllowThreads(__tstate
);
2076 if (PyErr_Occurred()) SWIG_fail
;
2079 resultobj
= wxPyMake_wxObject(result
, 0);
2087 static PyObject
*_wrap_HtmlWinParser_SetFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2088 PyObject
*resultobj
;
2089 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2092 PyObject
*arg4
= (PyObject
*) NULL
;
2093 PyObject
* obj0
= 0 ;
2094 PyObject
* obj1
= 0 ;
2095 PyObject
* obj2
= 0 ;
2096 PyObject
* obj3
= 0 ;
2098 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
2101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2105 wxString
* sptr
= wxString_in_helper(obj1
);
2106 if (sptr
== NULL
) SWIG_fail
;
2111 wxString
* sptr
= wxString_in_helper(obj2
);
2112 if (sptr
== NULL
) SWIG_fail
;
2120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2121 wxHtmlWinParser_SetFonts(arg1
,arg2
,arg3
,arg4
);
2123 wxPyEndAllowThreads(__tstate
);
2124 if (PyErr_Occurred()) SWIG_fail
;
2126 Py_INCREF(Py_None
); resultobj
= Py_None
;
2133 static PyObject
*_wrap_HtmlWinParser_NormalizeFontSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2134 PyObject
*resultobj
;
2135 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2136 int arg2
= (int) -1 ;
2137 PyObject
* obj0
= 0 ;
2138 PyObject
* obj1
= 0 ;
2140 (char *) "self",(char *) "size", NULL
2143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HtmlWinParser_NormalizeFontSizes",kwnames
,&obj0
,&obj1
)) goto fail
;
2144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2147 arg2
= (int)SWIG_As_int(obj1
);
2148 if (PyErr_Occurred()) SWIG_fail
;
2151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2152 (arg1
)->NormalizeFontSizes(arg2
);
2154 wxPyEndAllowThreads(__tstate
);
2155 if (PyErr_Occurred()) SWIG_fail
;
2157 Py_INCREF(Py_None
); resultobj
= Py_None
;
2164 static PyObject
*_wrap_HtmlWinParser_GetContainer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2165 PyObject
*resultobj
;
2166 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2167 wxHtmlContainerCell
*result
;
2168 PyObject
* obj0
= 0 ;
2170 (char *) "self", NULL
2173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetContainer",kwnames
,&obj0
)) goto fail
;
2174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2178 result
= (wxHtmlContainerCell
*)(arg1
)->GetContainer();
2180 wxPyEndAllowThreads(__tstate
);
2181 if (PyErr_Occurred()) SWIG_fail
;
2183 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0);
2190 static PyObject
*_wrap_HtmlWinParser_OpenContainer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2191 PyObject
*resultobj
;
2192 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2193 wxHtmlContainerCell
*result
;
2194 PyObject
* obj0
= 0 ;
2196 (char *) "self", NULL
2199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_OpenContainer",kwnames
,&obj0
)) goto fail
;
2200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2204 result
= (wxHtmlContainerCell
*)(arg1
)->OpenContainer();
2206 wxPyEndAllowThreads(__tstate
);
2207 if (PyErr_Occurred()) SWIG_fail
;
2209 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0);
2216 static PyObject
*_wrap_HtmlWinParser_SetContainer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2217 PyObject
*resultobj
;
2218 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2219 wxHtmlContainerCell
*arg2
= (wxHtmlContainerCell
*) 0 ;
2220 wxHtmlContainerCell
*result
;
2221 PyObject
* obj0
= 0 ;
2222 PyObject
* obj1
= 0 ;
2224 (char *) "self",(char *) "c", NULL
2227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetContainer",kwnames
,&obj0
,&obj1
)) goto fail
;
2228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2230 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlContainerCell
,
2231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2234 result
= (wxHtmlContainerCell
*)(arg1
)->SetContainer(arg2
);
2236 wxPyEndAllowThreads(__tstate
);
2237 if (PyErr_Occurred()) SWIG_fail
;
2239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0);
2246 static PyObject
*_wrap_HtmlWinParser_CloseContainer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2247 PyObject
*resultobj
;
2248 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2249 wxHtmlContainerCell
*result
;
2250 PyObject
* obj0
= 0 ;
2252 (char *) "self", NULL
2255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_CloseContainer",kwnames
,&obj0
)) goto fail
;
2256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2260 result
= (wxHtmlContainerCell
*)(arg1
)->CloseContainer();
2262 wxPyEndAllowThreads(__tstate
);
2263 if (PyErr_Occurred()) SWIG_fail
;
2265 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0);
2272 static PyObject
*_wrap_HtmlWinParser_GetFontSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2273 PyObject
*resultobj
;
2274 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2276 PyObject
* obj0
= 0 ;
2278 (char *) "self", NULL
2281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetFontSize",kwnames
,&obj0
)) goto fail
;
2282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2286 result
= (int)(arg1
)->GetFontSize();
2288 wxPyEndAllowThreads(__tstate
);
2289 if (PyErr_Occurred()) SWIG_fail
;
2291 resultobj
= SWIG_From_int((int)result
);
2298 static PyObject
*_wrap_HtmlWinParser_SetFontSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2299 PyObject
*resultobj
;
2300 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2302 PyObject
* obj0
= 0 ;
2303 PyObject
* obj1
= 0 ;
2305 (char *) "self",(char *) "s", NULL
2308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontSize",kwnames
,&obj0
,&obj1
)) goto fail
;
2309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2311 arg2
= (int)SWIG_As_int(obj1
);
2312 if (PyErr_Occurred()) SWIG_fail
;
2314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2315 (arg1
)->SetFontSize(arg2
);
2317 wxPyEndAllowThreads(__tstate
);
2318 if (PyErr_Occurred()) SWIG_fail
;
2320 Py_INCREF(Py_None
); resultobj
= Py_None
;
2327 static PyObject
*_wrap_HtmlWinParser_GetFontBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2328 PyObject
*resultobj
;
2329 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2331 PyObject
* obj0
= 0 ;
2333 (char *) "self", NULL
2336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetFontBold",kwnames
,&obj0
)) goto fail
;
2337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2341 result
= (int)(arg1
)->GetFontBold();
2343 wxPyEndAllowThreads(__tstate
);
2344 if (PyErr_Occurred()) SWIG_fail
;
2346 resultobj
= SWIG_From_int((int)result
);
2353 static PyObject
*_wrap_HtmlWinParser_SetFontBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2354 PyObject
*resultobj
;
2355 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2357 PyObject
* obj0
= 0 ;
2358 PyObject
* obj1
= 0 ;
2360 (char *) "self",(char *) "x", NULL
2363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontBold",kwnames
,&obj0
,&obj1
)) goto fail
;
2364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2366 arg2
= (int)SWIG_As_int(obj1
);
2367 if (PyErr_Occurred()) SWIG_fail
;
2369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2370 (arg1
)->SetFontBold(arg2
);
2372 wxPyEndAllowThreads(__tstate
);
2373 if (PyErr_Occurred()) SWIG_fail
;
2375 Py_INCREF(Py_None
); resultobj
= Py_None
;
2382 static PyObject
*_wrap_HtmlWinParser_GetFontItalic(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2383 PyObject
*resultobj
;
2384 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2386 PyObject
* obj0
= 0 ;
2388 (char *) "self", NULL
2391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetFontItalic",kwnames
,&obj0
)) goto fail
;
2392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2396 result
= (int)(arg1
)->GetFontItalic();
2398 wxPyEndAllowThreads(__tstate
);
2399 if (PyErr_Occurred()) SWIG_fail
;
2401 resultobj
= SWIG_From_int((int)result
);
2408 static PyObject
*_wrap_HtmlWinParser_SetFontItalic(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2409 PyObject
*resultobj
;
2410 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2412 PyObject
* obj0
= 0 ;
2413 PyObject
* obj1
= 0 ;
2415 (char *) "self",(char *) "x", NULL
2418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames
,&obj0
,&obj1
)) goto fail
;
2419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2421 arg2
= (int)SWIG_As_int(obj1
);
2422 if (PyErr_Occurred()) SWIG_fail
;
2424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2425 (arg1
)->SetFontItalic(arg2
);
2427 wxPyEndAllowThreads(__tstate
);
2428 if (PyErr_Occurred()) SWIG_fail
;
2430 Py_INCREF(Py_None
); resultobj
= Py_None
;
2437 static PyObject
*_wrap_HtmlWinParser_GetFontUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2438 PyObject
*resultobj
;
2439 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2441 PyObject
* obj0
= 0 ;
2443 (char *) "self", NULL
2446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetFontUnderlined",kwnames
,&obj0
)) goto fail
;
2447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2451 result
= (int)(arg1
)->GetFontUnderlined();
2453 wxPyEndAllowThreads(__tstate
);
2454 if (PyErr_Occurred()) SWIG_fail
;
2456 resultobj
= SWIG_From_int((int)result
);
2463 static PyObject
*_wrap_HtmlWinParser_SetFontUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2464 PyObject
*resultobj
;
2465 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2467 PyObject
* obj0
= 0 ;
2468 PyObject
* obj1
= 0 ;
2470 (char *) "self",(char *) "x", NULL
2473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
2474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2476 arg2
= (int)SWIG_As_int(obj1
);
2477 if (PyErr_Occurred()) SWIG_fail
;
2479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2480 (arg1
)->SetFontUnderlined(arg2
);
2482 wxPyEndAllowThreads(__tstate
);
2483 if (PyErr_Occurred()) SWIG_fail
;
2485 Py_INCREF(Py_None
); resultobj
= Py_None
;
2492 static PyObject
*_wrap_HtmlWinParser_GetFontFixed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2493 PyObject
*resultobj
;
2494 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2496 PyObject
* obj0
= 0 ;
2498 (char *) "self", NULL
2501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetFontFixed",kwnames
,&obj0
)) goto fail
;
2502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2506 result
= (int)(arg1
)->GetFontFixed();
2508 wxPyEndAllowThreads(__tstate
);
2509 if (PyErr_Occurred()) SWIG_fail
;
2511 resultobj
= SWIG_From_int((int)result
);
2518 static PyObject
*_wrap_HtmlWinParser_SetFontFixed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2519 PyObject
*resultobj
;
2520 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2522 PyObject
* obj0
= 0 ;
2523 PyObject
* obj1
= 0 ;
2525 (char *) "self",(char *) "x", NULL
2528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames
,&obj0
,&obj1
)) goto fail
;
2529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2531 arg2
= (int)SWIG_As_int(obj1
);
2532 if (PyErr_Occurred()) SWIG_fail
;
2534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2535 (arg1
)->SetFontFixed(arg2
);
2537 wxPyEndAllowThreads(__tstate
);
2538 if (PyErr_Occurred()) SWIG_fail
;
2540 Py_INCREF(Py_None
); resultobj
= Py_None
;
2547 static PyObject
*_wrap_HtmlWinParser_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2548 PyObject
*resultobj
;
2549 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2551 PyObject
* obj0
= 0 ;
2553 (char *) "self", NULL
2556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetAlign",kwnames
,&obj0
)) goto fail
;
2557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2561 result
= (int)(arg1
)->GetAlign();
2563 wxPyEndAllowThreads(__tstate
);
2564 if (PyErr_Occurred()) SWIG_fail
;
2566 resultobj
= SWIG_From_int((int)result
);
2573 static PyObject
*_wrap_HtmlWinParser_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2574 PyObject
*resultobj
;
2575 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2577 PyObject
* obj0
= 0 ;
2578 PyObject
* obj1
= 0 ;
2580 (char *) "self",(char *) "a", NULL
2583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
2584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2586 arg2
= (int)SWIG_As_int(obj1
);
2587 if (PyErr_Occurred()) SWIG_fail
;
2589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2590 (arg1
)->SetAlign(arg2
);
2592 wxPyEndAllowThreads(__tstate
);
2593 if (PyErr_Occurred()) SWIG_fail
;
2595 Py_INCREF(Py_None
); resultobj
= Py_None
;
2602 static PyObject
*_wrap_HtmlWinParser_GetLinkColor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2603 PyObject
*resultobj
;
2604 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2606 PyObject
* obj0
= 0 ;
2608 (char *) "self", NULL
2611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetLinkColor",kwnames
,&obj0
)) goto fail
;
2612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2616 result
= (arg1
)->GetLinkColor();
2618 wxPyEndAllowThreads(__tstate
);
2619 if (PyErr_Occurred()) SWIG_fail
;
2622 wxColour
* resultptr
;
2623 resultptr
= new wxColour((wxColour
&) result
);
2624 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2632 static PyObject
*_wrap_HtmlWinParser_SetLinkColor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2633 PyObject
*resultobj
;
2634 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2635 wxColour
*arg2
= 0 ;
2637 PyObject
* obj0
= 0 ;
2638 PyObject
* obj1
= 0 ;
2640 (char *) "self",(char *) "clr", NULL
2643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames
,&obj0
,&obj1
)) goto fail
;
2644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2648 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2652 (arg1
)->SetLinkColor((wxColour
const &)*arg2
);
2654 wxPyEndAllowThreads(__tstate
);
2655 if (PyErr_Occurred()) SWIG_fail
;
2657 Py_INCREF(Py_None
); resultobj
= Py_None
;
2664 static PyObject
*_wrap_HtmlWinParser_GetActualColor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2665 PyObject
*resultobj
;
2666 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2668 PyObject
* obj0
= 0 ;
2670 (char *) "self", NULL
2673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetActualColor",kwnames
,&obj0
)) goto fail
;
2674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2678 result
= (arg1
)->GetActualColor();
2680 wxPyEndAllowThreads(__tstate
);
2681 if (PyErr_Occurred()) SWIG_fail
;
2684 wxColour
* resultptr
;
2685 resultptr
= new wxColour((wxColour
&) result
);
2686 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2694 static PyObject
*_wrap_HtmlWinParser_SetActualColor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2695 PyObject
*resultobj
;
2696 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2697 wxColour
*arg2
= 0 ;
2699 PyObject
* obj0
= 0 ;
2700 PyObject
* obj1
= 0 ;
2702 (char *) "self",(char *) "clr", NULL
2705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetActualColor",kwnames
,&obj0
,&obj1
)) goto fail
;
2706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2710 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2714 (arg1
)->SetActualColor((wxColour
const &)*arg2
);
2716 wxPyEndAllowThreads(__tstate
);
2717 if (PyErr_Occurred()) SWIG_fail
;
2719 Py_INCREF(Py_None
); resultobj
= Py_None
;
2726 static PyObject
*_wrap_HtmlWinParser_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2727 PyObject
*resultobj
;
2728 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2729 wxString
*arg2
= 0 ;
2730 bool temp2
= False
;
2731 PyObject
* obj0
= 0 ;
2732 PyObject
* obj1
= 0 ;
2734 (char *) "self",(char *) "link", NULL
2737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
2738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2741 arg2
= wxString_in_helper(obj1
);
2742 if (arg2
== NULL
) SWIG_fail
;
2746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2747 (arg1
)->SetLink((wxString
const &)*arg2
);
2749 wxPyEndAllowThreads(__tstate
);
2750 if (PyErr_Occurred()) SWIG_fail
;
2752 Py_INCREF(Py_None
); resultobj
= Py_None
;
2767 static PyObject
*_wrap_HtmlWinParser_CreateCurrentFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2768 PyObject
*resultobj
;
2769 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2771 PyObject
* obj0
= 0 ;
2773 (char *) "self", NULL
2776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_CreateCurrentFont",kwnames
,&obj0
)) goto fail
;
2777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2781 result
= (wxFont
*)(arg1
)->CreateCurrentFont();
2783 wxPyEndAllowThreads(__tstate
);
2784 if (PyErr_Occurred()) SWIG_fail
;
2786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
2793 static PyObject
*_wrap_HtmlWinParser_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2794 PyObject
*resultobj
;
2795 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2796 SwigValueWrapper
< wxHtmlLinkInfo
> result
;
2797 PyObject
* obj0
= 0 ;
2799 (char *) "self", NULL
2802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetLink",kwnames
,&obj0
)) goto fail
;
2803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2807 result
= (arg1
)->GetLink();
2809 wxPyEndAllowThreads(__tstate
);
2810 if (PyErr_Occurred()) SWIG_fail
;
2813 wxHtmlLinkInfo
* resultptr
;
2814 resultptr
= new wxHtmlLinkInfo((wxHtmlLinkInfo
&) result
);
2815 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxHtmlLinkInfo
, 1);
2823 static PyObject
* HtmlWinParser_swigregister(PyObject
*, PyObject
*args
) {
2825 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2826 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWinParser
, obj
);
2828 return Py_BuildValue((char *)"");
2830 static PyObject
*_wrap_new_HtmlTagHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2831 PyObject
*resultobj
;
2832 wxPyHtmlTagHandler
*result
;
2837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlTagHandler",kwnames
)) goto fail
;
2839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2840 result
= (wxPyHtmlTagHandler
*)new wxPyHtmlTagHandler();
2842 wxPyEndAllowThreads(__tstate
);
2843 if (PyErr_Occurred()) SWIG_fail
;
2845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlTagHandler
, 1);
2852 static PyObject
*_wrap_HtmlTagHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2853 PyObject
*resultobj
;
2854 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
2855 PyObject
*arg2
= (PyObject
*) 0 ;
2856 PyObject
*arg3
= (PyObject
*) 0 ;
2857 PyObject
* obj0
= 0 ;
2858 PyObject
* obj1
= 0 ;
2859 PyObject
* obj2
= 0 ;
2861 (char *) "self",(char *) "self",(char *) "_class", NULL
2864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlTagHandler
,
2866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2871 (arg1
)->_setCallbackInfo(arg2
,arg3
);
2873 wxPyEndAllowThreads(__tstate
);
2874 if (PyErr_Occurred()) SWIG_fail
;
2876 Py_INCREF(Py_None
); resultobj
= Py_None
;
2883 static PyObject
*_wrap_HtmlTagHandler_SetParser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2884 PyObject
*resultobj
;
2885 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
2886 wxHtmlParser
*arg2
= (wxHtmlParser
*) 0 ;
2887 PyObject
* obj0
= 0 ;
2888 PyObject
* obj1
= 0 ;
2890 (char *) "self",(char *) "parser", NULL
2893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTagHandler_SetParser",kwnames
,&obj0
,&obj1
)) goto fail
;
2894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlTagHandler
,
2895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2896 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlParser
,
2897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2900 (arg1
)->SetParser(arg2
);
2902 wxPyEndAllowThreads(__tstate
);
2903 if (PyErr_Occurred()) SWIG_fail
;
2905 Py_INCREF(Py_None
); resultobj
= Py_None
;
2912 static PyObject
*_wrap_HtmlTagHandler_GetParser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2913 PyObject
*resultobj
;
2914 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
2915 wxHtmlParser
*result
;
2916 PyObject
* obj0
= 0 ;
2918 (char *) "self", NULL
2921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTagHandler_GetParser",kwnames
,&obj0
)) goto fail
;
2922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlTagHandler
,
2923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2926 result
= (wxHtmlParser
*)(arg1
)->GetParser();
2928 wxPyEndAllowThreads(__tstate
);
2929 if (PyErr_Occurred()) SWIG_fail
;
2931 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlParser
, 0);
2938 static PyObject
*_wrap_HtmlTagHandler_ParseInner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2939 PyObject
*resultobj
;
2940 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
2941 wxHtmlTag
*arg2
= 0 ;
2942 PyObject
* obj0
= 0 ;
2943 PyObject
* obj1
= 0 ;
2945 (char *) "self",(char *) "tag", NULL
2948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTagHandler_ParseInner",kwnames
,&obj0
,&obj1
)) goto fail
;
2949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlTagHandler
,
2950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2951 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlTag
,
2952 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2955 PyErr_SetString(PyExc_TypeError
,"null reference");
2959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2960 (arg1
)->ParseInner((wxHtmlTag
const &)*arg2
);
2962 wxPyEndAllowThreads(__tstate
);
2963 if (PyErr_Occurred()) SWIG_fail
;
2965 Py_INCREF(Py_None
); resultobj
= Py_None
;
2972 static PyObject
* HtmlTagHandler_swigregister(PyObject
*, PyObject
*args
) {
2974 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2975 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlTagHandler
, obj
);
2977 return Py_BuildValue((char *)"");
2979 static PyObject
*_wrap_new_HtmlWinTagHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2980 PyObject
*resultobj
;
2981 wxPyHtmlWinTagHandler
*result
;
2986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlWinTagHandler",kwnames
)) goto fail
;
2988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2989 result
= (wxPyHtmlWinTagHandler
*)new wxPyHtmlWinTagHandler();
2991 wxPyEndAllowThreads(__tstate
);
2992 if (PyErr_Occurred()) SWIG_fail
;
2994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlWinTagHandler
, 1);
3001 static PyObject
*_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3002 PyObject
*resultobj
;
3003 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
3004 PyObject
*arg2
= (PyObject
*) 0 ;
3005 PyObject
*arg3
= (PyObject
*) 0 ;
3006 PyObject
* obj0
= 0 ;
3007 PyObject
* obj1
= 0 ;
3008 PyObject
* obj2
= 0 ;
3010 (char *) "self",(char *) "self",(char *) "_class", NULL
3013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWinTagHandler
,
3015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3020 (arg1
)->_setCallbackInfo(arg2
,arg3
);
3022 wxPyEndAllowThreads(__tstate
);
3023 if (PyErr_Occurred()) SWIG_fail
;
3025 Py_INCREF(Py_None
); resultobj
= Py_None
;
3032 static PyObject
*_wrap_HtmlWinTagHandler_SetParser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3033 PyObject
*resultobj
;
3034 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
3035 wxHtmlParser
*arg2
= (wxHtmlParser
*) 0 ;
3036 PyObject
* obj0
= 0 ;
3037 PyObject
* obj1
= 0 ;
3039 (char *) "self",(char *) "parser", NULL
3042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames
,&obj0
,&obj1
)) goto fail
;
3043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWinTagHandler
,
3044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3045 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlParser
,
3046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3049 (arg1
)->SetParser(arg2
);
3051 wxPyEndAllowThreads(__tstate
);
3052 if (PyErr_Occurred()) SWIG_fail
;
3054 Py_INCREF(Py_None
); resultobj
= Py_None
;
3061 static PyObject
*_wrap_HtmlWinTagHandler_GetParser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3062 PyObject
*resultobj
;
3063 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
3064 wxHtmlWinParser
*result
;
3065 PyObject
* obj0
= 0 ;
3067 (char *) "self", NULL
3070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinTagHandler_GetParser",kwnames
,&obj0
)) goto fail
;
3071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWinTagHandler
,
3072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3075 result
= (wxHtmlWinParser
*)(arg1
)->GetParser();
3077 wxPyEndAllowThreads(__tstate
);
3078 if (PyErr_Occurred()) SWIG_fail
;
3080 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlWinParser
, 0);
3087 static PyObject
*_wrap_HtmlWinTagHandler_ParseInner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3088 PyObject
*resultobj
;
3089 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
3090 wxHtmlTag
*arg2
= 0 ;
3091 PyObject
* obj0
= 0 ;
3092 PyObject
* obj1
= 0 ;
3094 (char *) "self",(char *) "tag", NULL
3097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames
,&obj0
,&obj1
)) goto fail
;
3098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWinTagHandler
,
3099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3100 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlTag
,
3101 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3104 PyErr_SetString(PyExc_TypeError
,"null reference");
3108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3109 (arg1
)->ParseInner((wxHtmlTag
const &)*arg2
);
3111 wxPyEndAllowThreads(__tstate
);
3112 if (PyErr_Occurred()) SWIG_fail
;
3114 Py_INCREF(Py_None
); resultobj
= Py_None
;
3121 static PyObject
* HtmlWinTagHandler_swigregister(PyObject
*, PyObject
*args
) {
3123 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3124 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler
, obj
);
3126 return Py_BuildValue((char *)"");
3128 static PyObject
*_wrap_HtmlWinParser_AddTagHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3129 PyObject
*resultobj
;
3130 PyObject
*arg1
= (PyObject
*) 0 ;
3131 PyObject
* obj0
= 0 ;
3133 (char *) "tagHandlerClass", NULL
3136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_AddTagHandler",kwnames
,&obj0
)) goto fail
;
3139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3140 wxHtmlWinParser_AddTagHandler(arg1
);
3142 wxPyEndAllowThreads(__tstate
);
3143 if (PyErr_Occurred()) SWIG_fail
;
3145 Py_INCREF(Py_None
); resultobj
= Py_None
;
3152 static PyObject
*_wrap_new_HtmlSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3153 PyObject
*resultobj
;
3154 wxHtmlSelection
*result
;
3159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlSelection",kwnames
)) goto fail
;
3161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3162 result
= (wxHtmlSelection
*)new wxHtmlSelection();
3164 wxPyEndAllowThreads(__tstate
);
3165 if (PyErr_Occurred()) SWIG_fail
;
3167 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlSelection
, 1);
3174 static PyObject
*_wrap_delete_HtmlSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3175 PyObject
*resultobj
;
3176 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3177 PyObject
* obj0
= 0 ;
3179 (char *) "self", NULL
3182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlSelection",kwnames
,&obj0
)) goto fail
;
3183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSelection
,
3184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3189 wxPyEndAllowThreads(__tstate
);
3190 if (PyErr_Occurred()) SWIG_fail
;
3192 Py_INCREF(Py_None
); resultobj
= Py_None
;
3199 static PyObject
*_wrap_HtmlSelection_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3200 PyObject
*resultobj
;
3201 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3203 wxHtmlCell
*arg3
= (wxHtmlCell
*) 0 ;
3205 wxHtmlCell
*arg5
= (wxHtmlCell
*) 0 ;
3208 PyObject
* obj0
= 0 ;
3209 PyObject
* obj1
= 0 ;
3210 PyObject
* obj2
= 0 ;
3211 PyObject
* obj3
= 0 ;
3212 PyObject
* obj4
= 0 ;
3214 (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
3217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlSelection_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSelection
,
3219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3222 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3224 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxHtmlCell
,
3225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3228 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3230 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxHtmlCell
,
3231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3234 (arg1
)->Set((wxPoint
const &)*arg2
,(wxHtmlCell
const *)arg3
,(wxPoint
const &)*arg4
,(wxHtmlCell
const *)arg5
);
3236 wxPyEndAllowThreads(__tstate
);
3237 if (PyErr_Occurred()) SWIG_fail
;
3239 Py_INCREF(Py_None
); resultobj
= Py_None
;
3246 static PyObject
*_wrap_HtmlSelection_SetCells(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3247 PyObject
*resultobj
;
3248 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3249 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
3250 wxHtmlCell
*arg3
= (wxHtmlCell
*) 0 ;
3251 PyObject
* obj0
= 0 ;
3252 PyObject
* obj1
= 0 ;
3253 PyObject
* obj2
= 0 ;
3255 (char *) "self",(char *) "fromCell",(char *) "toCell", NULL
3258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlSelection_SetCells",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSelection
,
3260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3261 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlCell
,
3262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3263 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxHtmlCell
,
3264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3267 (arg1
)->Set((wxHtmlCell
const *)arg2
,(wxHtmlCell
const *)arg3
);
3269 wxPyEndAllowThreads(__tstate
);
3270 if (PyErr_Occurred()) SWIG_fail
;
3272 Py_INCREF(Py_None
); resultobj
= Py_None
;
3279 static PyObject
*_wrap_HtmlSelection_GetFromCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3280 PyObject
*resultobj
;
3281 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3283 PyObject
* obj0
= 0 ;
3285 (char *) "self", NULL
3288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetFromCell",kwnames
,&obj0
)) goto fail
;
3289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSelection
,
3290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3293 result
= (wxHtmlCell
*)((wxHtmlSelection
const *)arg1
)->GetFromCell();
3295 wxPyEndAllowThreads(__tstate
);
3296 if (PyErr_Occurred()) SWIG_fail
;
3298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
3305 static PyObject
*_wrap_HtmlSelection_GetToCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3306 PyObject
*resultobj
;
3307 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3309 PyObject
* obj0
= 0 ;
3311 (char *) "self", NULL
3314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetToCell",kwnames
,&obj0
)) goto fail
;
3315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSelection
,
3316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3319 result
= (wxHtmlCell
*)((wxHtmlSelection
const *)arg1
)->GetToCell();
3321 wxPyEndAllowThreads(__tstate
);
3322 if (PyErr_Occurred()) SWIG_fail
;
3324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
3331 static PyObject
*_wrap_HtmlSelection_GetFromPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3332 PyObject
*resultobj
;
3333 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3335 PyObject
* obj0
= 0 ;
3337 (char *) "self", NULL
3340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetFromPos",kwnames
,&obj0
)) goto fail
;
3341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSelection
,
3342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3346 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetFromPos();
3347 result
= (wxPoint
*) &_result_ref
;
3350 wxPyEndAllowThreads(__tstate
);
3351 if (PyErr_Occurred()) SWIG_fail
;
3353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3360 static PyObject
*_wrap_HtmlSelection_GetToPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3361 PyObject
*resultobj
;
3362 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3364 PyObject
* obj0
= 0 ;
3366 (char *) "self", NULL
3369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetToPos",kwnames
,&obj0
)) goto fail
;
3370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSelection
,
3371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3375 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetToPos();
3376 result
= (wxPoint
*) &_result_ref
;
3379 wxPyEndAllowThreads(__tstate
);
3380 if (PyErr_Occurred()) SWIG_fail
;
3382 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3389 static PyObject
*_wrap_HtmlSelection_GetFromPrivPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3390 PyObject
*resultobj
;
3391 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3393 PyObject
* obj0
= 0 ;
3395 (char *) "self", NULL
3398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetFromPrivPos",kwnames
,&obj0
)) goto fail
;
3399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSelection
,
3400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3404 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetFromPrivPos();
3405 result
= (wxPoint
*) &_result_ref
;
3408 wxPyEndAllowThreads(__tstate
);
3409 if (PyErr_Occurred()) SWIG_fail
;
3411 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3418 static PyObject
*_wrap_HtmlSelection_GetToPrivPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3419 PyObject
*resultobj
;
3420 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3422 PyObject
* obj0
= 0 ;
3424 (char *) "self", NULL
3427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetToPrivPos",kwnames
,&obj0
)) goto fail
;
3428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSelection
,
3429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3433 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetToPrivPos();
3434 result
= (wxPoint
*) &_result_ref
;
3437 wxPyEndAllowThreads(__tstate
);
3438 if (PyErr_Occurred()) SWIG_fail
;
3440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3447 static PyObject
*_wrap_HtmlSelection_SetFromPrivPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3448 PyObject
*resultobj
;
3449 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3452 PyObject
* obj0
= 0 ;
3453 PyObject
* obj1
= 0 ;
3455 (char *) "self",(char *) "pos", NULL
3458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames
,&obj0
,&obj1
)) goto fail
;
3459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSelection
,
3460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3463 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3467 (arg1
)->SetFromPrivPos((wxPoint
const &)*arg2
);
3469 wxPyEndAllowThreads(__tstate
);
3470 if (PyErr_Occurred()) SWIG_fail
;
3472 Py_INCREF(Py_None
); resultobj
= Py_None
;
3479 static PyObject
*_wrap_HtmlSelection_SetToPrivPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3480 PyObject
*resultobj
;
3481 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3484 PyObject
* obj0
= 0 ;
3485 PyObject
* obj1
= 0 ;
3487 (char *) "self",(char *) "pos", NULL
3490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames
,&obj0
,&obj1
)) goto fail
;
3491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSelection
,
3492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3495 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3499 (arg1
)->SetToPrivPos((wxPoint
const &)*arg2
);
3501 wxPyEndAllowThreads(__tstate
);
3502 if (PyErr_Occurred()) SWIG_fail
;
3504 Py_INCREF(Py_None
); resultobj
= Py_None
;
3511 static PyObject
*_wrap_HtmlSelection_ClearPrivPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3512 PyObject
*resultobj
;
3513 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3514 PyObject
* obj0
= 0 ;
3516 (char *) "self", NULL
3519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_ClearPrivPos",kwnames
,&obj0
)) goto fail
;
3520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSelection
,
3521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3524 (arg1
)->ClearPrivPos();
3526 wxPyEndAllowThreads(__tstate
);
3527 if (PyErr_Occurred()) SWIG_fail
;
3529 Py_INCREF(Py_None
); resultobj
= Py_None
;
3536 static PyObject
*_wrap_HtmlSelection_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3537 PyObject
*resultobj
;
3538 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3540 PyObject
* obj0
= 0 ;
3542 (char *) "self", NULL
3545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_IsEmpty",kwnames
,&obj0
)) goto fail
;
3546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSelection
,
3547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3550 result
= (bool)((wxHtmlSelection
const *)arg1
)->IsEmpty();
3552 wxPyEndAllowThreads(__tstate
);
3553 if (PyErr_Occurred()) SWIG_fail
;
3556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3564 static PyObject
* HtmlSelection_swigregister(PyObject
*, PyObject
*args
) {
3566 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3567 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSelection
, obj
);
3569 return Py_BuildValue((char *)"");
3571 static PyObject
*_wrap_new_HtmlRenderingState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3572 PyObject
*resultobj
;
3573 wxHtmlRenderingState
*result
;
3578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlRenderingState",kwnames
)) goto fail
;
3580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3581 result
= (wxHtmlRenderingState
*)new wxHtmlRenderingState();
3583 wxPyEndAllowThreads(__tstate
);
3584 if (PyErr_Occurred()) SWIG_fail
;
3586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlRenderingState
, 1);
3593 static PyObject
*_wrap_delete_HtmlRenderingState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3594 PyObject
*resultobj
;
3595 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
3596 PyObject
* obj0
= 0 ;
3598 (char *) "self", NULL
3601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlRenderingState",kwnames
,&obj0
)) goto fail
;
3602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlRenderingState
,
3603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3608 wxPyEndAllowThreads(__tstate
);
3609 if (PyErr_Occurred()) SWIG_fail
;
3611 Py_INCREF(Py_None
); resultobj
= Py_None
;
3618 static PyObject
*_wrap_HtmlRenderingState_SetSelectionState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3619 PyObject
*resultobj
;
3620 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
3622 PyObject
* obj0
= 0 ;
3623 PyObject
* obj1
= 0 ;
3625 (char *) "self",(char *) "s", NULL
3628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames
,&obj0
,&obj1
)) goto fail
;
3629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlRenderingState
,
3630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3631 arg2
= (int)SWIG_As_int(obj1
);
3632 if (PyErr_Occurred()) SWIG_fail
;
3634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3635 (arg1
)->SetSelectionState((wxHtmlSelectionState
)arg2
);
3637 wxPyEndAllowThreads(__tstate
);
3638 if (PyErr_Occurred()) SWIG_fail
;
3640 Py_INCREF(Py_None
); resultobj
= Py_None
;
3647 static PyObject
*_wrap_HtmlRenderingState_GetSelectionState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3648 PyObject
*resultobj
;
3649 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
3651 PyObject
* obj0
= 0 ;
3653 (char *) "self", NULL
3656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingState_GetSelectionState",kwnames
,&obj0
)) goto fail
;
3657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlRenderingState
,
3658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3661 result
= (int)((wxHtmlRenderingState
const *)arg1
)->GetSelectionState();
3663 wxPyEndAllowThreads(__tstate
);
3664 if (PyErr_Occurred()) SWIG_fail
;
3666 resultobj
= SWIG_From_int((int)result
);
3673 static PyObject
*_wrap_HtmlRenderingState_SetFgColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3674 PyObject
*resultobj
;
3675 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
3676 wxColour
*arg2
= 0 ;
3678 PyObject
* obj0
= 0 ;
3679 PyObject
* obj1
= 0 ;
3681 (char *) "self",(char *) "c", NULL
3684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlRenderingState
,
3686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3689 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3693 (arg1
)->SetFgColour((wxColour
const &)*arg2
);
3695 wxPyEndAllowThreads(__tstate
);
3696 if (PyErr_Occurred()) SWIG_fail
;
3698 Py_INCREF(Py_None
); resultobj
= Py_None
;
3705 static PyObject
*_wrap_HtmlRenderingState_GetFgColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3706 PyObject
*resultobj
;
3707 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
3709 PyObject
* obj0
= 0 ;
3711 (char *) "self", NULL
3714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingState_GetFgColour",kwnames
,&obj0
)) goto fail
;
3715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlRenderingState
,
3716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3720 wxColour
const &_result_ref
= ((wxHtmlRenderingState
const *)arg1
)->GetFgColour();
3721 result
= (wxColour
*) &_result_ref
;
3724 wxPyEndAllowThreads(__tstate
);
3725 if (PyErr_Occurred()) SWIG_fail
;
3727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
3734 static PyObject
*_wrap_HtmlRenderingState_SetBgColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3735 PyObject
*resultobj
;
3736 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
3737 wxColour
*arg2
= 0 ;
3739 PyObject
* obj0
= 0 ;
3740 PyObject
* obj1
= 0 ;
3742 (char *) "self",(char *) "c", NULL
3745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlRenderingState
,
3747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3750 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3754 (arg1
)->SetBgColour((wxColour
const &)*arg2
);
3756 wxPyEndAllowThreads(__tstate
);
3757 if (PyErr_Occurred()) SWIG_fail
;
3759 Py_INCREF(Py_None
); resultobj
= Py_None
;
3766 static PyObject
*_wrap_HtmlRenderingState_GetBgColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3767 PyObject
*resultobj
;
3768 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
3770 PyObject
* obj0
= 0 ;
3772 (char *) "self", NULL
3775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingState_GetBgColour",kwnames
,&obj0
)) goto fail
;
3776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlRenderingState
,
3777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3781 wxColour
const &_result_ref
= ((wxHtmlRenderingState
const *)arg1
)->GetBgColour();
3782 result
= (wxColour
*) &_result_ref
;
3785 wxPyEndAllowThreads(__tstate
);
3786 if (PyErr_Occurred()) SWIG_fail
;
3788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
3795 static PyObject
* HtmlRenderingState_swigregister(PyObject
*, PyObject
*args
) {
3797 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3798 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingState
, obj
);
3800 return Py_BuildValue((char *)"");
3802 static PyObject
*_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3803 PyObject
*resultobj
;
3804 wxHtmlRenderingStyle
*arg1
= (wxHtmlRenderingStyle
*) 0 ;
3805 wxColour
*arg2
= 0 ;
3808 PyObject
* obj0
= 0 ;
3809 PyObject
* obj1
= 0 ;
3811 (char *) "self",(char *) "clr", NULL
3814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlRenderingStyle
,
3816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3819 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3823 result
= (arg1
)->GetSelectedTextColour((wxColour
const &)*arg2
);
3825 wxPyEndAllowThreads(__tstate
);
3826 if (PyErr_Occurred()) SWIG_fail
;
3829 wxColour
* resultptr
;
3830 resultptr
= new wxColour((wxColour
&) result
);
3831 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3839 static PyObject
*_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3840 PyObject
*resultobj
;
3841 wxHtmlRenderingStyle
*arg1
= (wxHtmlRenderingStyle
*) 0 ;
3842 wxColour
*arg2
= 0 ;
3845 PyObject
* obj0
= 0 ;
3846 PyObject
* obj1
= 0 ;
3848 (char *) "self",(char *) "clr", NULL
3851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlRenderingStyle
,
3853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3856 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3860 result
= (arg1
)->GetSelectedTextBgColour((wxColour
const &)*arg2
);
3862 wxPyEndAllowThreads(__tstate
);
3863 if (PyErr_Occurred()) SWIG_fail
;
3866 wxColour
* resultptr
;
3867 resultptr
= new wxColour((wxColour
&) result
);
3868 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3876 static PyObject
* HtmlRenderingStyle_swigregister(PyObject
*, PyObject
*args
) {
3878 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3879 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingStyle
, obj
);
3881 return Py_BuildValue((char *)"");
3883 static PyObject
*_wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3884 PyObject
*resultobj
;
3885 wxDefaultHtmlRenderingStyle
*arg1
= (wxDefaultHtmlRenderingStyle
*) 0 ;
3886 wxColour
*arg2
= 0 ;
3889 PyObject
* obj0
= 0 ;
3890 PyObject
* obj1
= 0 ;
3892 (char *) "self",(char *) "clr", NULL
3895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDefaultHtmlRenderingStyle
,
3897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3900 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3904 result
= (arg1
)->GetSelectedTextColour((wxColour
const &)*arg2
);
3906 wxPyEndAllowThreads(__tstate
);
3907 if (PyErr_Occurred()) SWIG_fail
;
3910 wxColour
* resultptr
;
3911 resultptr
= new wxColour((wxColour
&) result
);
3912 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3920 static PyObject
*_wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3921 PyObject
*resultobj
;
3922 wxDefaultHtmlRenderingStyle
*arg1
= (wxDefaultHtmlRenderingStyle
*) 0 ;
3923 wxColour
*arg2
= 0 ;
3926 PyObject
* obj0
= 0 ;
3927 PyObject
* obj1
= 0 ;
3929 (char *) "self",(char *) "clr", NULL
3932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextBgColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDefaultHtmlRenderingStyle
,
3934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3937 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3941 result
= (arg1
)->GetSelectedTextBgColour((wxColour
const &)*arg2
);
3943 wxPyEndAllowThreads(__tstate
);
3944 if (PyErr_Occurred()) SWIG_fail
;
3947 wxColour
* resultptr
;
3948 resultptr
= new wxColour((wxColour
&) result
);
3949 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3957 static PyObject
* DefaultHtmlRenderingStyle_swigregister(PyObject
*, PyObject
*args
) {
3959 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3960 SWIG_TypeClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle
, obj
);
3962 return Py_BuildValue((char *)"");
3964 static PyObject
*_wrap_new_HtmlRenderingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3965 PyObject
*resultobj
;
3966 wxHtmlRenderingInfo
*result
;
3971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlRenderingInfo",kwnames
)) goto fail
;
3973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3974 result
= (wxHtmlRenderingInfo
*)new wxHtmlRenderingInfo();
3976 wxPyEndAllowThreads(__tstate
);
3977 if (PyErr_Occurred()) SWIG_fail
;
3979 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlRenderingInfo
, 1);
3986 static PyObject
*_wrap_delete_HtmlRenderingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3987 PyObject
*resultobj
;
3988 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
3989 PyObject
* obj0
= 0 ;
3991 (char *) "self", NULL
3994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlRenderingInfo",kwnames
,&obj0
)) goto fail
;
3995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlRenderingInfo
,
3996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4001 wxPyEndAllowThreads(__tstate
);
4002 if (PyErr_Occurred()) SWIG_fail
;
4004 Py_INCREF(Py_None
); resultobj
= Py_None
;
4011 static PyObject
*_wrap_HtmlRenderingInfo_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4012 PyObject
*resultobj
;
4013 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
4014 wxHtmlSelection
*arg2
= (wxHtmlSelection
*) 0 ;
4015 PyObject
* obj0
= 0 ;
4016 PyObject
* obj1
= 0 ;
4018 (char *) "self",(char *) "s", NULL
4021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlRenderingInfo
,
4023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4024 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlSelection
,
4025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4028 (arg1
)->SetSelection(arg2
);
4030 wxPyEndAllowThreads(__tstate
);
4031 if (PyErr_Occurred()) SWIG_fail
;
4033 Py_INCREF(Py_None
); resultobj
= Py_None
;
4040 static PyObject
*_wrap_HtmlRenderingInfo_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4041 PyObject
*resultobj
;
4042 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
4043 wxHtmlSelection
*result
;
4044 PyObject
* obj0
= 0 ;
4046 (char *) "self", NULL
4049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingInfo_GetSelection",kwnames
,&obj0
)) goto fail
;
4050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlRenderingInfo
,
4051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4054 result
= (wxHtmlSelection
*)((wxHtmlRenderingInfo
const *)arg1
)->GetSelection();
4056 wxPyEndAllowThreads(__tstate
);
4057 if (PyErr_Occurred()) SWIG_fail
;
4059 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlSelection
, 0);
4066 static PyObject
*_wrap_HtmlRenderingInfo_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4067 PyObject
*resultobj
;
4068 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
4069 wxHtmlRenderingStyle
*arg2
= (wxHtmlRenderingStyle
*) 0 ;
4070 PyObject
* obj0
= 0 ;
4071 PyObject
* obj1
= 0 ;
4073 (char *) "self",(char *) "style", NULL
4076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
4077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlRenderingInfo
,
4078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4079 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlRenderingStyle
,
4080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4083 (arg1
)->SetStyle(arg2
);
4085 wxPyEndAllowThreads(__tstate
);
4086 if (PyErr_Occurred()) SWIG_fail
;
4088 Py_INCREF(Py_None
); resultobj
= Py_None
;
4095 static PyObject
*_wrap_HtmlRenderingInfo_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4096 PyObject
*resultobj
;
4097 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
4098 wxHtmlRenderingStyle
*result
;
4099 PyObject
* obj0
= 0 ;
4101 (char *) "self", NULL
4104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
4105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlRenderingInfo
,
4106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4110 wxHtmlRenderingStyle
&_result_ref
= (arg1
)->GetStyle();
4111 result
= (wxHtmlRenderingStyle
*) &_result_ref
;
4114 wxPyEndAllowThreads(__tstate
);
4115 if (PyErr_Occurred()) SWIG_fail
;
4117 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlRenderingStyle
, 0);
4124 static PyObject
*_wrap_HtmlRenderingInfo_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4125 PyObject
*resultobj
;
4126 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
4127 wxHtmlRenderingState
*result
;
4128 PyObject
* obj0
= 0 ;
4130 (char *) "self", NULL
4133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingInfo_GetState",kwnames
,&obj0
)) goto fail
;
4134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlRenderingInfo
,
4135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4139 wxHtmlRenderingState
&_result_ref
= (arg1
)->GetState();
4140 result
= (wxHtmlRenderingState
*) &_result_ref
;
4143 wxPyEndAllowThreads(__tstate
);
4144 if (PyErr_Occurred()) SWIG_fail
;
4146 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlRenderingState
, 0);
4153 static PyObject
* HtmlRenderingInfo_swigregister(PyObject
*, PyObject
*args
) {
4155 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4156 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingInfo
, obj
);
4158 return Py_BuildValue((char *)"");
4160 static PyObject
*_wrap_new_HtmlCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4161 PyObject
*resultobj
;
4167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlCell",kwnames
)) goto fail
;
4169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4170 result
= (wxHtmlCell
*)new wxHtmlCell();
4172 wxPyEndAllowThreads(__tstate
);
4173 if (PyErr_Occurred()) SWIG_fail
;
4175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 1);
4182 static PyObject
*_wrap_HtmlCell_GetPosX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4183 PyObject
*resultobj
;
4184 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4186 PyObject
* obj0
= 0 ;
4188 (char *) "self", NULL
4191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetPosX",kwnames
,&obj0
)) goto fail
;
4192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4196 result
= (int)(arg1
)->GetPosX();
4198 wxPyEndAllowThreads(__tstate
);
4199 if (PyErr_Occurred()) SWIG_fail
;
4201 resultobj
= SWIG_From_int((int)result
);
4208 static PyObject
*_wrap_HtmlCell_GetPosY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4209 PyObject
*resultobj
;
4210 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4212 PyObject
* obj0
= 0 ;
4214 (char *) "self", NULL
4217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetPosY",kwnames
,&obj0
)) goto fail
;
4218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4222 result
= (int)(arg1
)->GetPosY();
4224 wxPyEndAllowThreads(__tstate
);
4225 if (PyErr_Occurred()) SWIG_fail
;
4227 resultobj
= SWIG_From_int((int)result
);
4234 static PyObject
*_wrap_HtmlCell_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4235 PyObject
*resultobj
;
4236 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4238 PyObject
* obj0
= 0 ;
4240 (char *) "self", NULL
4243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetWidth",kwnames
,&obj0
)) goto fail
;
4244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4248 result
= (int)(arg1
)->GetWidth();
4250 wxPyEndAllowThreads(__tstate
);
4251 if (PyErr_Occurred()) SWIG_fail
;
4253 resultobj
= SWIG_From_int((int)result
);
4260 static PyObject
*_wrap_HtmlCell_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4261 PyObject
*resultobj
;
4262 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4264 PyObject
* obj0
= 0 ;
4266 (char *) "self", NULL
4269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetHeight",kwnames
,&obj0
)) goto fail
;
4270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4274 result
= (int)(arg1
)->GetHeight();
4276 wxPyEndAllowThreads(__tstate
);
4277 if (PyErr_Occurred()) SWIG_fail
;
4279 resultobj
= SWIG_From_int((int)result
);
4286 static PyObject
*_wrap_HtmlCell_GetDescent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4287 PyObject
*resultobj
;
4288 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4290 PyObject
* obj0
= 0 ;
4292 (char *) "self", NULL
4295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetDescent",kwnames
,&obj0
)) goto fail
;
4296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4300 result
= (int)(arg1
)->GetDescent();
4302 wxPyEndAllowThreads(__tstate
);
4303 if (PyErr_Occurred()) SWIG_fail
;
4305 resultobj
= SWIG_From_int((int)result
);
4312 static PyObject
*_wrap_HtmlCell_GetMaxTotalWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4313 PyObject
*resultobj
;
4314 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4316 PyObject
* obj0
= 0 ;
4318 (char *) "self", NULL
4321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetMaxTotalWidth",kwnames
,&obj0
)) goto fail
;
4322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4326 result
= (int)((wxHtmlCell
const *)arg1
)->GetMaxTotalWidth();
4328 wxPyEndAllowThreads(__tstate
);
4329 if (PyErr_Occurred()) SWIG_fail
;
4331 resultobj
= SWIG_From_int((int)result
);
4338 static PyObject
*_wrap_HtmlCell_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4339 PyObject
*resultobj
;
4340 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4342 PyObject
* obj0
= 0 ;
4344 (char *) "self", NULL
4347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetId",kwnames
,&obj0
)) goto fail
;
4348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4353 wxString
const &_result_ref
= ((wxHtmlCell
const *)arg1
)->GetId();
4354 result
= (wxString
*) &_result_ref
;
4357 wxPyEndAllowThreads(__tstate
);
4358 if (PyErr_Occurred()) SWIG_fail
;
4362 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4364 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4373 static PyObject
*_wrap_HtmlCell_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4374 PyObject
*resultobj
;
4375 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4376 wxString
*arg2
= 0 ;
4377 bool temp2
= False
;
4378 PyObject
* obj0
= 0 ;
4379 PyObject
* obj1
= 0 ;
4381 (char *) "self",(char *) "id", NULL
4384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
4385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4388 arg2
= wxString_in_helper(obj1
);
4389 if (arg2
== NULL
) SWIG_fail
;
4393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4394 (arg1
)->SetId((wxString
const &)*arg2
);
4396 wxPyEndAllowThreads(__tstate
);
4397 if (PyErr_Occurred()) SWIG_fail
;
4399 Py_INCREF(Py_None
); resultobj
= Py_None
;
4414 static PyObject
*_wrap_HtmlCell_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4415 PyObject
*resultobj
;
4416 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4417 int arg2
= (int) 0 ;
4418 int arg3
= (int) 0 ;
4419 wxHtmlLinkInfo
*result
;
4420 PyObject
* obj0
= 0 ;
4421 PyObject
* obj1
= 0 ;
4422 PyObject
* obj2
= 0 ;
4424 (char *) "self",(char *) "x",(char *) "y", NULL
4427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:HtmlCell_GetLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4431 arg2
= (int)SWIG_As_int(obj1
);
4432 if (PyErr_Occurred()) SWIG_fail
;
4435 arg3
= (int)SWIG_As_int(obj2
);
4436 if (PyErr_Occurred()) SWIG_fail
;
4439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4440 result
= (wxHtmlLinkInfo
*)(arg1
)->GetLink(arg2
,arg3
);
4442 wxPyEndAllowThreads(__tstate
);
4443 if (PyErr_Occurred()) SWIG_fail
;
4445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlLinkInfo
, 0);
4452 static PyObject
*_wrap_HtmlCell_GetNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4453 PyObject
*resultobj
;
4454 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4456 PyObject
* obj0
= 0 ;
4458 (char *) "self", NULL
4461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetNext",kwnames
,&obj0
)) goto fail
;
4462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4466 result
= (wxHtmlCell
*)(arg1
)->GetNext();
4468 wxPyEndAllowThreads(__tstate
);
4469 if (PyErr_Occurred()) SWIG_fail
;
4471 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
4478 static PyObject
*_wrap_HtmlCell_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4479 PyObject
*resultobj
;
4480 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4481 wxHtmlContainerCell
*result
;
4482 PyObject
* obj0
= 0 ;
4484 (char *) "self", NULL
4487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetParent",kwnames
,&obj0
)) goto fail
;
4488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4492 result
= (wxHtmlContainerCell
*)(arg1
)->GetParent();
4494 wxPyEndAllowThreads(__tstate
);
4495 if (PyErr_Occurred()) SWIG_fail
;
4497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0);
4504 static PyObject
*_wrap_HtmlCell_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4505 PyObject
*resultobj
;
4506 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4508 PyObject
* obj0
= 0 ;
4510 (char *) "self", NULL
4513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetFirstChild",kwnames
,&obj0
)) goto fail
;
4514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4518 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetFirstChild();
4520 wxPyEndAllowThreads(__tstate
);
4521 if (PyErr_Occurred()) SWIG_fail
;
4523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
4530 static PyObject
*_wrap_HtmlCell_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4531 PyObject
*resultobj
;
4532 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4534 PyObject
* obj0
= 0 ;
4536 (char *) "self", NULL
4539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetCursor",kwnames
,&obj0
)) goto fail
;
4540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4544 result
= ((wxHtmlCell
const *)arg1
)->GetCursor();
4546 wxPyEndAllowThreads(__tstate
);
4547 if (PyErr_Occurred()) SWIG_fail
;
4550 wxCursor
* resultptr
;
4551 resultptr
= new wxCursor((wxCursor
&) result
);
4552 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
4560 static PyObject
*_wrap_HtmlCell_IsFormattingCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4561 PyObject
*resultobj
;
4562 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4564 PyObject
* obj0
= 0 ;
4566 (char *) "self", NULL
4569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_IsFormattingCell",kwnames
,&obj0
)) goto fail
;
4570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4574 result
= (bool)((wxHtmlCell
const *)arg1
)->IsFormattingCell();
4576 wxPyEndAllowThreads(__tstate
);
4577 if (PyErr_Occurred()) SWIG_fail
;
4580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4588 static PyObject
*_wrap_HtmlCell_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4589 PyObject
*resultobj
;
4590 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4591 wxHtmlLinkInfo
*arg2
= 0 ;
4592 PyObject
* obj0
= 0 ;
4593 PyObject
* obj1
= 0 ;
4595 (char *) "self",(char *) "link", NULL
4598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
4599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4601 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlLinkInfo
,
4602 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4605 PyErr_SetString(PyExc_TypeError
,"null reference");
4609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4610 (arg1
)->SetLink((wxHtmlLinkInfo
const &)*arg2
);
4612 wxPyEndAllowThreads(__tstate
);
4613 if (PyErr_Occurred()) SWIG_fail
;
4615 Py_INCREF(Py_None
); resultobj
= Py_None
;
4622 static PyObject
*_wrap_HtmlCell_SetNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4623 PyObject
*resultobj
;
4624 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4625 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
4626 PyObject
* obj0
= 0 ;
4627 PyObject
* obj1
= 0 ;
4629 (char *) "self",(char *) "cell", NULL
4632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetNext",kwnames
,&obj0
,&obj1
)) goto fail
;
4633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4635 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlCell
,
4636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4639 (arg1
)->SetNext(arg2
);
4641 wxPyEndAllowThreads(__tstate
);
4642 if (PyErr_Occurred()) SWIG_fail
;
4644 Py_INCREF(Py_None
); resultobj
= Py_None
;
4651 static PyObject
*_wrap_HtmlCell_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4652 PyObject
*resultobj
;
4653 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4654 wxHtmlContainerCell
*arg2
= (wxHtmlContainerCell
*) 0 ;
4655 PyObject
* obj0
= 0 ;
4656 PyObject
* obj1
= 0 ;
4658 (char *) "self",(char *) "p", NULL
4661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
4662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4664 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlContainerCell
,
4665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4668 (arg1
)->SetParent(arg2
);
4670 wxPyEndAllowThreads(__tstate
);
4671 if (PyErr_Occurred()) SWIG_fail
;
4673 Py_INCREF(Py_None
); resultobj
= Py_None
;
4680 static PyObject
*_wrap_HtmlCell_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4681 PyObject
*resultobj
;
4682 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4685 PyObject
* obj0
= 0 ;
4686 PyObject
* obj1
= 0 ;
4687 PyObject
* obj2
= 0 ;
4689 (char *) "self",(char *) "x",(char *) "y", NULL
4692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlCell_SetPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4695 arg2
= (int)SWIG_As_int(obj1
);
4696 if (PyErr_Occurred()) SWIG_fail
;
4697 arg3
= (int)SWIG_As_int(obj2
);
4698 if (PyErr_Occurred()) SWIG_fail
;
4700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4701 (arg1
)->SetPos(arg2
,arg3
);
4703 wxPyEndAllowThreads(__tstate
);
4704 if (PyErr_Occurred()) SWIG_fail
;
4706 Py_INCREF(Py_None
); resultobj
= Py_None
;
4713 static PyObject
*_wrap_HtmlCell_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4714 PyObject
*resultobj
;
4715 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4717 PyObject
* obj0
= 0 ;
4718 PyObject
* obj1
= 0 ;
4720 (char *) "self",(char *) "w", NULL
4723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_Layout",kwnames
,&obj0
,&obj1
)) goto fail
;
4724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4726 arg2
= (int)SWIG_As_int(obj1
);
4727 if (PyErr_Occurred()) SWIG_fail
;
4729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4730 (arg1
)->Layout(arg2
);
4732 wxPyEndAllowThreads(__tstate
);
4733 if (PyErr_Occurred()) SWIG_fail
;
4735 Py_INCREF(Py_None
); resultobj
= Py_None
;
4742 static PyObject
*_wrap_HtmlCell_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4743 PyObject
*resultobj
;
4744 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4750 wxHtmlRenderingInfo
*arg7
= 0 ;
4751 PyObject
* obj0
= 0 ;
4752 PyObject
* obj1
= 0 ;
4753 PyObject
* obj2
= 0 ;
4754 PyObject
* obj3
= 0 ;
4755 PyObject
* obj4
= 0 ;
4756 PyObject
* obj5
= 0 ;
4757 PyObject
* obj6
= 0 ;
4759 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
4762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:HtmlCell_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4765 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
4766 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4769 PyErr_SetString(PyExc_TypeError
,"null reference");
4772 arg3
= (int)SWIG_As_int(obj2
);
4773 if (PyErr_Occurred()) SWIG_fail
;
4774 arg4
= (int)SWIG_As_int(obj3
);
4775 if (PyErr_Occurred()) SWIG_fail
;
4776 arg5
= (int)SWIG_As_int(obj4
);
4777 if (PyErr_Occurred()) SWIG_fail
;
4778 arg6
= (int)SWIG_As_int(obj5
);
4779 if (PyErr_Occurred()) SWIG_fail
;
4780 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxHtmlRenderingInfo
,
4781 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4784 PyErr_SetString(PyExc_TypeError
,"null reference");
4788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4789 (arg1
)->Draw(*arg2
,arg3
,arg4
,arg5
,arg6
,*arg7
);
4791 wxPyEndAllowThreads(__tstate
);
4792 if (PyErr_Occurred()) SWIG_fail
;
4794 Py_INCREF(Py_None
); resultobj
= Py_None
;
4801 static PyObject
*_wrap_HtmlCell_DrawInvisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4802 PyObject
*resultobj
;
4803 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4807 wxHtmlRenderingInfo
*arg5
= 0 ;
4808 PyObject
* obj0
= 0 ;
4809 PyObject
* obj1
= 0 ;
4810 PyObject
* obj2
= 0 ;
4811 PyObject
* obj3
= 0 ;
4812 PyObject
* obj4
= 0 ;
4814 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
4817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4820 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
4821 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4824 PyErr_SetString(PyExc_TypeError
,"null reference");
4827 arg3
= (int)SWIG_As_int(obj2
);
4828 if (PyErr_Occurred()) SWIG_fail
;
4829 arg4
= (int)SWIG_As_int(obj3
);
4830 if (PyErr_Occurred()) SWIG_fail
;
4831 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxHtmlRenderingInfo
,
4832 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4835 PyErr_SetString(PyExc_TypeError
,"null reference");
4839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4840 (arg1
)->DrawInvisible(*arg2
,arg3
,arg4
,*arg5
);
4842 wxPyEndAllowThreads(__tstate
);
4843 if (PyErr_Occurred()) SWIG_fail
;
4845 Py_INCREF(Py_None
); resultobj
= Py_None
;
4852 static PyObject
*_wrap_HtmlCell_Find(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4853 PyObject
*resultobj
;
4854 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4856 void *arg3
= (void *) 0 ;
4858 PyObject
* obj0
= 0 ;
4859 PyObject
* obj1
= 0 ;
4860 PyObject
* obj2
= 0 ;
4862 (char *) "self",(char *) "condition",(char *) "param", NULL
4865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlCell_Find",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4868 arg2
= (int)SWIG_As_int(obj1
);
4869 if (PyErr_Occurred()) SWIG_fail
;
4870 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4873 result
= (wxHtmlCell
*)(arg1
)->Find(arg2
,(void const *)arg3
);
4875 wxPyEndAllowThreads(__tstate
);
4876 if (PyErr_Occurred()) SWIG_fail
;
4878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
4885 static PyObject
*_wrap_HtmlCell_AdjustPagebreak(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4886 PyObject
*resultobj
;
4887 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4888 int *arg2
= (int *) 0 ;
4892 PyObject
* obj0
= 0 ;
4893 PyObject
* obj1
= 0 ;
4895 (char *) "self",(char *) "INOUT", NULL
4898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_AdjustPagebreak",kwnames
,&obj0
,&obj1
)) goto fail
;
4899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4902 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
4903 temp2
= SWIG_As_int(obj1
);
4904 if (PyErr_Occurred()) SWIG_fail
;
4910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4911 result
= (bool)(arg1
)->AdjustPagebreak(arg2
);
4913 wxPyEndAllowThreads(__tstate
);
4914 if (PyErr_Occurred()) SWIG_fail
;
4917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4919 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4920 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4927 static PyObject
*_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4928 PyObject
*resultobj
;
4929 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4931 PyObject
* obj0
= 0 ;
4932 PyObject
* obj1
= 0 ;
4934 (char *) "self",(char *) "can", NULL
4937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames
,&obj0
,&obj1
)) goto fail
;
4938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4940 arg2
= (bool)SWIG_As_bool(obj1
);
4941 if (PyErr_Occurred()) SWIG_fail
;
4943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4944 (arg1
)->SetCanLiveOnPagebreak(arg2
);
4946 wxPyEndAllowThreads(__tstate
);
4947 if (PyErr_Occurred()) SWIG_fail
;
4949 Py_INCREF(Py_None
); resultobj
= Py_None
;
4956 static PyObject
*_wrap_HtmlCell_IsLinebreakAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4957 PyObject
*resultobj
;
4958 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4960 PyObject
* obj0
= 0 ;
4962 (char *) "self", NULL
4965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_IsLinebreakAllowed",kwnames
,&obj0
)) goto fail
;
4966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4970 result
= (bool)((wxHtmlCell
const *)arg1
)->IsLinebreakAllowed();
4972 wxPyEndAllowThreads(__tstate
);
4973 if (PyErr_Occurred()) SWIG_fail
;
4976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4984 static PyObject
*_wrap_HtmlCell_IsTerminalCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4985 PyObject
*resultobj
;
4986 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4988 PyObject
* obj0
= 0 ;
4990 (char *) "self", NULL
4993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_IsTerminalCell",kwnames
,&obj0
)) goto fail
;
4994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4998 result
= (bool)((wxHtmlCell
const *)arg1
)->IsTerminalCell();
5000 wxPyEndAllowThreads(__tstate
);
5001 if (PyErr_Occurred()) SWIG_fail
;
5004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5012 static PyObject
*_wrap_HtmlCell_FindCellByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5013 PyObject
*resultobj
;
5014 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5017 unsigned int arg4
= (unsigned int) wxHTML_FIND_EXACT
;
5019 PyObject
* obj0
= 0 ;
5020 PyObject
* obj1
= 0 ;
5021 PyObject
* obj2
= 0 ;
5022 PyObject
* obj3
= 0 ;
5024 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
5027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
5029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5030 arg2
= (int)SWIG_As_int(obj1
);
5031 if (PyErr_Occurred()) SWIG_fail
;
5032 arg3
= (int)SWIG_As_int(obj2
);
5033 if (PyErr_Occurred()) SWIG_fail
;
5035 arg4
= (unsigned int)SWIG_As_unsigned_SS_int(obj3
);
5036 if (PyErr_Occurred()) SWIG_fail
;
5039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5040 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->FindCellByPos(arg2
,arg3
,arg4
);
5042 wxPyEndAllowThreads(__tstate
);
5043 if (PyErr_Occurred()) SWIG_fail
;
5045 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
5052 static PyObject
*_wrap_HtmlCell_GetAbsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5053 PyObject
*resultobj
;
5054 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5056 PyObject
* obj0
= 0 ;
5058 (char *) "self", NULL
5061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetAbsPos",kwnames
,&obj0
)) goto fail
;
5062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
5063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5066 result
= ((wxHtmlCell
const *)arg1
)->GetAbsPos();
5068 wxPyEndAllowThreads(__tstate
);
5069 if (PyErr_Occurred()) SWIG_fail
;
5072 wxPoint
* resultptr
;
5073 resultptr
= new wxPoint((wxPoint
&) result
);
5074 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5082 static PyObject
*_wrap_HtmlCell_GetFirstTerminal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5083 PyObject
*resultobj
;
5084 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5086 PyObject
* obj0
= 0 ;
5088 (char *) "self", NULL
5091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetFirstTerminal",kwnames
,&obj0
)) goto fail
;
5092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
5093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5096 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetFirstTerminal();
5098 wxPyEndAllowThreads(__tstate
);
5099 if (PyErr_Occurred()) SWIG_fail
;
5101 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
5108 static PyObject
*_wrap_HtmlCell_GetLastTerminal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5109 PyObject
*resultobj
;
5110 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5112 PyObject
* obj0
= 0 ;
5114 (char *) "self", NULL
5117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetLastTerminal",kwnames
,&obj0
)) goto fail
;
5118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
5119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5122 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetLastTerminal();
5124 wxPyEndAllowThreads(__tstate
);
5125 if (PyErr_Occurred()) SWIG_fail
;
5127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
5134 static PyObject
*_wrap_HtmlCell_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5135 PyObject
*resultobj
;
5136 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5137 unsigned int result
;
5138 PyObject
* obj0
= 0 ;
5140 (char *) "self", NULL
5143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetDepth",kwnames
,&obj0
)) goto fail
;
5144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
5145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5148 result
= (unsigned int)((wxHtmlCell
const *)arg1
)->GetDepth();
5150 wxPyEndAllowThreads(__tstate
);
5151 if (PyErr_Occurred()) SWIG_fail
;
5153 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
5160 static PyObject
*_wrap_HtmlCell_IsBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5161 PyObject
*resultobj
;
5162 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5163 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
5165 PyObject
* obj0
= 0 ;
5166 PyObject
* obj1
= 0 ;
5168 (char *) "self",(char *) "cell", NULL
5171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_IsBefore",kwnames
,&obj0
,&obj1
)) goto fail
;
5172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
5173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5174 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlCell
,
5175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5178 result
= (bool)((wxHtmlCell
const *)arg1
)->IsBefore(arg2
);
5180 wxPyEndAllowThreads(__tstate
);
5181 if (PyErr_Occurred()) SWIG_fail
;
5184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5192 static PyObject
*_wrap_HtmlCell_ConvertToText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5193 PyObject
*resultobj
;
5194 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5195 wxHtmlSelection
*arg2
= (wxHtmlSelection
*) 0 ;
5197 PyObject
* obj0
= 0 ;
5198 PyObject
* obj1
= 0 ;
5200 (char *) "self",(char *) "sel", NULL
5203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_ConvertToText",kwnames
,&obj0
,&obj1
)) goto fail
;
5204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
5205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5206 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlSelection
,
5207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5210 result
= ((wxHtmlCell
const *)arg1
)->ConvertToText(arg2
);
5212 wxPyEndAllowThreads(__tstate
);
5213 if (PyErr_Occurred()) SWIG_fail
;
5217 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5219 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5228 static PyObject
* HtmlCell_swigregister(PyObject
*, PyObject
*args
) {
5230 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5231 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlCell
, obj
);
5233 return Py_BuildValue((char *)"");
5235 static PyObject
*_wrap_new_HtmlWordCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5236 PyObject
*resultobj
;
5237 wxString
*arg1
= 0 ;
5239 wxHtmlWordCell
*result
;
5240 bool temp1
= False
;
5241 PyObject
* obj0
= 0 ;
5242 PyObject
* obj1
= 0 ;
5244 (char *) "word",(char *) "dc", NULL
5247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_HtmlWordCell",kwnames
,&obj0
,&obj1
)) goto fail
;
5249 arg1
= wxString_in_helper(obj0
);
5250 if (arg1
== NULL
) SWIG_fail
;
5253 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5254 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5257 PyErr_SetString(PyExc_TypeError
,"null reference");
5261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5262 result
= (wxHtmlWordCell
*)new wxHtmlWordCell((wxString
const &)*arg1
,*arg2
);
5264 wxPyEndAllowThreads(__tstate
);
5265 if (PyErr_Occurred()) SWIG_fail
;
5267 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlWordCell
, 1);
5282 static PyObject
* HtmlWordCell_swigregister(PyObject
*, PyObject
*args
) {
5284 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5285 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWordCell
, obj
);
5287 return Py_BuildValue((char *)"");
5289 static PyObject
*_wrap_new_HtmlContainerCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5290 PyObject
*resultobj
;
5291 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5292 wxHtmlContainerCell
*result
;
5293 PyObject
* obj0
= 0 ;
5295 (char *) "parent", NULL
5298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_HtmlContainerCell",kwnames
,&obj0
)) goto fail
;
5299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5303 result
= (wxHtmlContainerCell
*)new wxHtmlContainerCell(arg1
);
5305 wxPyEndAllowThreads(__tstate
);
5306 if (PyErr_Occurred()) SWIG_fail
;
5308 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContainerCell
, 1);
5315 static PyObject
*_wrap_HtmlContainerCell_InsertCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5316 PyObject
*resultobj
;
5317 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5318 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
5319 PyObject
* obj0
= 0 ;
5320 PyObject
* obj1
= 0 ;
5322 (char *) "self",(char *) "cell", NULL
5325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_InsertCell",kwnames
,&obj0
,&obj1
)) goto fail
;
5326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5328 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlCell
,
5329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5332 (arg1
)->InsertCell(arg2
);
5334 wxPyEndAllowThreads(__tstate
);
5335 if (PyErr_Occurred()) SWIG_fail
;
5337 Py_INCREF(Py_None
); resultobj
= Py_None
;
5344 static PyObject
*_wrap_HtmlContainerCell_SetAlignHor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5345 PyObject
*resultobj
;
5346 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5348 PyObject
* obj0
= 0 ;
5349 PyObject
* obj1
= 0 ;
5351 (char *) "self",(char *) "al", NULL
5354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames
,&obj0
,&obj1
)) goto fail
;
5355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5357 arg2
= (int)SWIG_As_int(obj1
);
5358 if (PyErr_Occurred()) SWIG_fail
;
5360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5361 (arg1
)->SetAlignHor(arg2
);
5363 wxPyEndAllowThreads(__tstate
);
5364 if (PyErr_Occurred()) SWIG_fail
;
5366 Py_INCREF(Py_None
); resultobj
= Py_None
;
5373 static PyObject
*_wrap_HtmlContainerCell_GetAlignHor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5374 PyObject
*resultobj
;
5375 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5377 PyObject
* obj0
= 0 ;
5379 (char *) "self", NULL
5382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContainerCell_GetAlignHor",kwnames
,&obj0
)) goto fail
;
5383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5387 result
= (int)(arg1
)->GetAlignHor();
5389 wxPyEndAllowThreads(__tstate
);
5390 if (PyErr_Occurred()) SWIG_fail
;
5392 resultobj
= SWIG_From_int((int)result
);
5399 static PyObject
*_wrap_HtmlContainerCell_SetAlignVer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5400 PyObject
*resultobj
;
5401 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5403 PyObject
* obj0
= 0 ;
5404 PyObject
* obj1
= 0 ;
5406 (char *) "self",(char *) "al", NULL
5409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames
,&obj0
,&obj1
)) goto fail
;
5410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5412 arg2
= (int)SWIG_As_int(obj1
);
5413 if (PyErr_Occurred()) SWIG_fail
;
5415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5416 (arg1
)->SetAlignVer(arg2
);
5418 wxPyEndAllowThreads(__tstate
);
5419 if (PyErr_Occurred()) SWIG_fail
;
5421 Py_INCREF(Py_None
); resultobj
= Py_None
;
5428 static PyObject
*_wrap_HtmlContainerCell_GetAlignVer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5429 PyObject
*resultobj
;
5430 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5432 PyObject
* obj0
= 0 ;
5434 (char *) "self", NULL
5437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContainerCell_GetAlignVer",kwnames
,&obj0
)) goto fail
;
5438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5442 result
= (int)(arg1
)->GetAlignVer();
5444 wxPyEndAllowThreads(__tstate
);
5445 if (PyErr_Occurred()) SWIG_fail
;
5447 resultobj
= SWIG_From_int((int)result
);
5454 static PyObject
*_wrap_HtmlContainerCell_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5455 PyObject
*resultobj
;
5456 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5459 int arg4
= (int) wxHTML_UNITS_PIXELS
;
5460 PyObject
* obj0
= 0 ;
5461 PyObject
* obj1
= 0 ;
5462 PyObject
* obj2
= 0 ;
5463 PyObject
* obj3
= 0 ;
5465 (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
5468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5471 arg2
= (int)SWIG_As_int(obj1
);
5472 if (PyErr_Occurred()) SWIG_fail
;
5473 arg3
= (int)SWIG_As_int(obj2
);
5474 if (PyErr_Occurred()) SWIG_fail
;
5476 arg4
= (int)SWIG_As_int(obj3
);
5477 if (PyErr_Occurred()) SWIG_fail
;
5480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5481 (arg1
)->SetIndent(arg2
,arg3
,arg4
);
5483 wxPyEndAllowThreads(__tstate
);
5484 if (PyErr_Occurred()) SWIG_fail
;
5486 Py_INCREF(Py_None
); resultobj
= Py_None
;
5493 static PyObject
*_wrap_HtmlContainerCell_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5494 PyObject
*resultobj
;
5495 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5498 PyObject
* obj0
= 0 ;
5499 PyObject
* obj1
= 0 ;
5501 (char *) "self",(char *) "ind", NULL
5504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_GetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
5505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5507 arg2
= (int)SWIG_As_int(obj1
);
5508 if (PyErr_Occurred()) SWIG_fail
;
5510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5511 result
= (int)(arg1
)->GetIndent(arg2
);
5513 wxPyEndAllowThreads(__tstate
);
5514 if (PyErr_Occurred()) SWIG_fail
;
5516 resultobj
= SWIG_From_int((int)result
);
5523 static PyObject
*_wrap_HtmlContainerCell_GetIndentUnits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5524 PyObject
*resultobj
;
5525 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5528 PyObject
* obj0
= 0 ;
5529 PyObject
* obj1
= 0 ;
5531 (char *) "self",(char *) "ind", NULL
5534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames
,&obj0
,&obj1
)) goto fail
;
5535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5537 arg2
= (int)SWIG_As_int(obj1
);
5538 if (PyErr_Occurred()) SWIG_fail
;
5540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5541 result
= (int)(arg1
)->GetIndentUnits(arg2
);
5543 wxPyEndAllowThreads(__tstate
);
5544 if (PyErr_Occurred()) SWIG_fail
;
5546 resultobj
= SWIG_From_int((int)result
);
5553 static PyObject
*_wrap_HtmlContainerCell_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5554 PyObject
*resultobj
;
5555 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5556 wxHtmlTag
*arg2
= 0 ;
5557 PyObject
* obj0
= 0 ;
5558 PyObject
* obj1
= 0 ;
5560 (char *) "self",(char *) "tag", NULL
5563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
5564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5566 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlTag
,
5567 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5570 PyErr_SetString(PyExc_TypeError
,"null reference");
5574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5575 (arg1
)->SetAlign((wxHtmlTag
const &)*arg2
);
5577 wxPyEndAllowThreads(__tstate
);
5578 if (PyErr_Occurred()) SWIG_fail
;
5580 Py_INCREF(Py_None
); resultobj
= Py_None
;
5587 static PyObject
*_wrap_HtmlContainerCell_SetWidthFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5588 PyObject
*resultobj
;
5589 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5592 PyObject
* obj0
= 0 ;
5593 PyObject
* obj1
= 0 ;
5594 PyObject
* obj2
= 0 ;
5596 (char *) "self",(char *) "w",(char *) "units", NULL
5599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5602 arg2
= (int)SWIG_As_int(obj1
);
5603 if (PyErr_Occurred()) SWIG_fail
;
5604 arg3
= (int)SWIG_As_int(obj2
);
5605 if (PyErr_Occurred()) SWIG_fail
;
5607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5608 (arg1
)->SetWidthFloat(arg2
,arg3
);
5610 wxPyEndAllowThreads(__tstate
);
5611 if (PyErr_Occurred()) SWIG_fail
;
5613 Py_INCREF(Py_None
); resultobj
= Py_None
;
5620 static PyObject
*_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5621 PyObject
*resultobj
;
5622 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5623 wxHtmlTag
*arg2
= 0 ;
5624 PyObject
* obj0
= 0 ;
5625 PyObject
* obj1
= 0 ;
5627 (char *) "self",(char *) "tag", NULL
5630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames
,&obj0
,&obj1
)) goto fail
;
5631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5633 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlTag
,
5634 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5637 PyErr_SetString(PyExc_TypeError
,"null reference");
5641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5642 (arg1
)->SetWidthFloat((wxHtmlTag
const &)*arg2
);
5644 wxPyEndAllowThreads(__tstate
);
5645 if (PyErr_Occurred()) SWIG_fail
;
5647 Py_INCREF(Py_None
); resultobj
= Py_None
;
5654 static PyObject
*_wrap_HtmlContainerCell_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5655 PyObject
*resultobj
;
5656 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5658 int arg3
= (int) wxHTML_ALIGN_TOP
;
5659 PyObject
* obj0
= 0 ;
5660 PyObject
* obj1
= 0 ;
5661 PyObject
* obj2
= 0 ;
5663 (char *) "self",(char *) "h",(char *) "align", NULL
5666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5669 arg2
= (int)SWIG_As_int(obj1
);
5670 if (PyErr_Occurred()) SWIG_fail
;
5672 arg3
= (int)SWIG_As_int(obj2
);
5673 if (PyErr_Occurred()) SWIG_fail
;
5676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5677 (arg1
)->SetMinHeight(arg2
,arg3
);
5679 wxPyEndAllowThreads(__tstate
);
5680 if (PyErr_Occurred()) SWIG_fail
;
5682 Py_INCREF(Py_None
); resultobj
= Py_None
;
5689 static PyObject
*_wrap_HtmlContainerCell_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5690 PyObject
*resultobj
;
5691 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5692 wxColour
*arg2
= 0 ;
5694 PyObject
* obj0
= 0 ;
5695 PyObject
* obj1
= 0 ;
5697 (char *) "self",(char *) "clr", NULL
5700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5705 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5709 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
5711 wxPyEndAllowThreads(__tstate
);
5712 if (PyErr_Occurred()) SWIG_fail
;
5714 Py_INCREF(Py_None
); resultobj
= Py_None
;
5721 static PyObject
*_wrap_HtmlContainerCell_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5722 PyObject
*resultobj
;
5723 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5725 PyObject
* obj0
= 0 ;
5727 (char *) "self", NULL
5730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContainerCell_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
5731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5735 result
= (arg1
)->GetBackgroundColour();
5737 wxPyEndAllowThreads(__tstate
);
5738 if (PyErr_Occurred()) SWIG_fail
;
5741 wxColour
* resultptr
;
5742 resultptr
= new wxColour((wxColour
&) result
);
5743 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
5751 static PyObject
*_wrap_HtmlContainerCell_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5752 PyObject
*resultobj
;
5753 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5754 wxColour
*arg2
= 0 ;
5755 wxColour
*arg3
= 0 ;
5758 PyObject
* obj0
= 0 ;
5759 PyObject
* obj1
= 0 ;
5760 PyObject
* obj2
= 0 ;
5762 (char *) "self",(char *) "clr1",(char *) "clr2", NULL
5765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5770 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5774 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5778 (arg1
)->SetBorder((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
5780 wxPyEndAllowThreads(__tstate
);
5781 if (PyErr_Occurred()) SWIG_fail
;
5783 Py_INCREF(Py_None
); resultobj
= Py_None
;
5790 static PyObject
*_wrap_HtmlContainerCell_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5791 PyObject
*resultobj
;
5792 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5794 PyObject
* obj0
= 0 ;
5796 (char *) "self", NULL
5799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContainerCell_GetFirstChild",kwnames
,&obj0
)) goto fail
;
5800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5804 result
= (wxHtmlCell
*)(arg1
)->GetFirstChild();
5806 wxPyEndAllowThreads(__tstate
);
5807 if (PyErr_Occurred()) SWIG_fail
;
5809 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
5816 static PyObject
* HtmlContainerCell_swigregister(PyObject
*, PyObject
*args
) {
5818 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5819 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContainerCell
, obj
);
5821 return Py_BuildValue((char *)"");
5823 static PyObject
*_wrap_new_HtmlColourCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5824 PyObject
*resultobj
;
5826 int arg2
= (int) wxHTML_CLR_FOREGROUND
;
5827 wxHtmlColourCell
*result
;
5829 PyObject
* obj0
= 0 ;
5830 PyObject
* obj1
= 0 ;
5832 (char *) "clr",(char *) "flags", NULL
5835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlColourCell",kwnames
,&obj0
,&obj1
)) goto fail
;
5836 if ((SWIG_ConvertPtr(obj0
,(void **)(&argp1
),SWIGTYPE_p_wxColour
,
5837 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
5840 arg2
= (int)SWIG_As_int(obj1
);
5841 if (PyErr_Occurred()) SWIG_fail
;
5844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5845 result
= (wxHtmlColourCell
*)new wxHtmlColourCell(arg1
,arg2
);
5847 wxPyEndAllowThreads(__tstate
);
5848 if (PyErr_Occurred()) SWIG_fail
;
5850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlColourCell
, 1);
5857 static PyObject
* HtmlColourCell_swigregister(PyObject
*, PyObject
*args
) {
5859 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5860 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlColourCell
, obj
);
5862 return Py_BuildValue((char *)"");
5864 static PyObject
*_wrap_new_HtmlFontCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5865 PyObject
*resultobj
;
5866 wxFont
*arg1
= (wxFont
*) 0 ;
5867 wxHtmlFontCell
*result
;
5868 PyObject
* obj0
= 0 ;
5870 (char *) "font", NULL
5873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_HtmlFontCell",kwnames
,&obj0
)) goto fail
;
5874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
5875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5878 result
= (wxHtmlFontCell
*)new wxHtmlFontCell(arg1
);
5880 wxPyEndAllowThreads(__tstate
);
5881 if (PyErr_Occurred()) SWIG_fail
;
5883 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlFontCell
, 1);
5890 static PyObject
* HtmlFontCell_swigregister(PyObject
*, PyObject
*args
) {
5892 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5893 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlFontCell
, obj
);
5895 return Py_BuildValue((char *)"");
5897 static PyObject
*_wrap_new_HtmlWidgetCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5898 PyObject
*resultobj
;
5899 wxWindow
*arg1
= (wxWindow
*) 0 ;
5900 int arg2
= (int) 0 ;
5901 wxHtmlWidgetCell
*result
;
5902 PyObject
* obj0
= 0 ;
5903 PyObject
* obj1
= 0 ;
5905 (char *) "wnd",(char *) "w", NULL
5908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlWidgetCell",kwnames
,&obj0
,&obj1
)) goto fail
;
5909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5912 arg2
= (int)SWIG_As_int(obj1
);
5913 if (PyErr_Occurred()) SWIG_fail
;
5916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5917 result
= (wxHtmlWidgetCell
*)new wxHtmlWidgetCell(arg1
,arg2
);
5919 wxPyEndAllowThreads(__tstate
);
5920 if (PyErr_Occurred()) SWIG_fail
;
5922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlWidgetCell
, 1);
5929 static PyObject
* HtmlWidgetCell_swigregister(PyObject
*, PyObject
*args
) {
5931 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5932 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWidgetCell
, obj
);
5934 return Py_BuildValue((char *)"");
5936 static PyObject
*_wrap_new_HtmlFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5937 PyObject
*resultobj
;
5938 wxPyHtmlFilter
*result
;
5943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlFilter",kwnames
)) goto fail
;
5945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5946 result
= (wxPyHtmlFilter
*)new wxPyHtmlFilter();
5948 wxPyEndAllowThreads(__tstate
);
5949 if (PyErr_Occurred()) SWIG_fail
;
5951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlFilter
, 1);
5958 static PyObject
*_wrap_HtmlFilter__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5959 PyObject
*resultobj
;
5960 wxPyHtmlFilter
*arg1
= (wxPyHtmlFilter
*) 0 ;
5961 PyObject
*arg2
= (PyObject
*) 0 ;
5962 PyObject
*arg3
= (PyObject
*) 0 ;
5963 PyObject
* obj0
= 0 ;
5964 PyObject
* obj1
= 0 ;
5965 PyObject
* obj2
= 0 ;
5967 (char *) "self",(char *) "self",(char *) "_class", NULL
5970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlFilter
,
5972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5977 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5979 wxPyEndAllowThreads(__tstate
);
5980 if (PyErr_Occurred()) SWIG_fail
;
5982 Py_INCREF(Py_None
); resultobj
= Py_None
;
5989 static PyObject
* HtmlFilter_swigregister(PyObject
*, PyObject
*args
) {
5991 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5992 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlFilter
, obj
);
5994 return Py_BuildValue((char *)"");
5996 static PyObject
*_wrap_new_HtmlWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5997 PyObject
*resultobj
;
5998 wxWindow
*arg1
= (wxWindow
*) 0 ;
5999 int arg2
= (int) -1 ;
6000 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6001 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6002 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6003 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6004 int arg5
= (int) wxHW_DEFAULT_STYLE
;
6005 wxString
const &arg6_defvalue
= wxPyHtmlWindowNameStr
;
6006 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6007 wxPyHtmlWindow
*result
;
6010 bool temp6
= False
;
6011 PyObject
* obj0
= 0 ;
6012 PyObject
* obj1
= 0 ;
6013 PyObject
* obj2
= 0 ;
6014 PyObject
* obj3
= 0 ;
6015 PyObject
* obj4
= 0 ;
6016 PyObject
* obj5
= 0 ;
6018 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6025 arg2
= (int)SWIG_As_int(obj1
);
6026 if (PyErr_Occurred()) SWIG_fail
;
6031 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6037 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6041 arg5
= (int)SWIG_As_int(obj4
);
6042 if (PyErr_Occurred()) SWIG_fail
;
6046 arg6
= wxString_in_helper(obj5
);
6047 if (arg6
== NULL
) SWIG_fail
;
6052 if (!wxPyCheckForApp()) SWIG_fail
;
6053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6054 result
= (wxPyHtmlWindow
*)new wxPyHtmlWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6056 wxPyEndAllowThreads(__tstate
);
6057 if (PyErr_Occurred()) SWIG_fail
;
6059 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlWindow
, 1);
6074 static PyObject
*_wrap_new_PreHtmlWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6075 PyObject
*resultobj
;
6076 wxPyHtmlWindow
*result
;
6081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlWindow",kwnames
)) goto fail
;
6083 if (!wxPyCheckForApp()) SWIG_fail
;
6084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6085 result
= (wxPyHtmlWindow
*)new wxPyHtmlWindow();
6087 wxPyEndAllowThreads(__tstate
);
6088 if (PyErr_Occurred()) SWIG_fail
;
6090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlWindow
, 1);
6097 static PyObject
*_wrap_HtmlWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6098 PyObject
*resultobj
;
6099 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6100 wxWindow
*arg2
= (wxWindow
*) 0 ;
6101 int arg3
= (int) -1 ;
6102 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6103 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6104 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6105 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6106 int arg6
= (int) wxHW_SCROLLBAR_AUTO
;
6107 wxString
const &arg7_defvalue
= wxPyHtmlWindowNameStr
;
6108 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6112 bool temp7
= False
;
6113 PyObject
* obj0
= 0 ;
6114 PyObject
* obj1
= 0 ;
6115 PyObject
* obj2
= 0 ;
6116 PyObject
* obj3
= 0 ;
6117 PyObject
* obj4
= 0 ;
6118 PyObject
* obj5
= 0 ;
6119 PyObject
* obj6
= 0 ;
6121 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6127 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6130 arg3
= (int)SWIG_As_int(obj2
);
6131 if (PyErr_Occurred()) SWIG_fail
;
6136 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6142 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6146 arg6
= (int)SWIG_As_int(obj5
);
6147 if (PyErr_Occurred()) SWIG_fail
;
6151 arg7
= wxString_in_helper(obj6
);
6152 if (arg7
== NULL
) SWIG_fail
;
6157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6158 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6160 wxPyEndAllowThreads(__tstate
);
6161 if (PyErr_Occurred()) SWIG_fail
;
6164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6180 static PyObject
*_wrap_HtmlWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6181 PyObject
*resultobj
;
6182 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6183 PyObject
*arg2
= (PyObject
*) 0 ;
6184 PyObject
*arg3
= (PyObject
*) 0 ;
6185 PyObject
* obj0
= 0 ;
6186 PyObject
* obj1
= 0 ;
6187 PyObject
* obj2
= 0 ;
6189 (char *) "self",(char *) "self",(char *) "_class", NULL
6192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6199 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6201 wxPyEndAllowThreads(__tstate
);
6202 if (PyErr_Occurred()) SWIG_fail
;
6204 Py_INCREF(Py_None
); resultobj
= Py_None
;
6211 static PyObject
*_wrap_HtmlWindow_SetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6212 PyObject
*resultobj
;
6213 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6214 wxString
*arg2
= 0 ;
6216 bool temp2
= False
;
6217 PyObject
* obj0
= 0 ;
6218 PyObject
* obj1
= 0 ;
6220 (char *) "self",(char *) "source", NULL
6223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
6224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6227 arg2
= wxString_in_helper(obj1
);
6228 if (arg2
== NULL
) SWIG_fail
;
6232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6233 result
= (bool)(arg1
)->SetPage((wxString
const &)*arg2
);
6235 wxPyEndAllowThreads(__tstate
);
6236 if (PyErr_Occurred()) SWIG_fail
;
6239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6255 static PyObject
*_wrap_HtmlWindow_LoadPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6256 PyObject
*resultobj
;
6257 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6258 wxString
*arg2
= 0 ;
6260 bool temp2
= False
;
6261 PyObject
* obj0
= 0 ;
6262 PyObject
* obj1
= 0 ;
6264 (char *) "self",(char *) "location", NULL
6267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_LoadPage",kwnames
,&obj0
,&obj1
)) goto fail
;
6268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6271 arg2
= wxString_in_helper(obj1
);
6272 if (arg2
== NULL
) SWIG_fail
;
6276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6277 result
= (bool)(arg1
)->LoadPage((wxString
const &)*arg2
);
6279 wxPyEndAllowThreads(__tstate
);
6280 if (PyErr_Occurred()) SWIG_fail
;
6283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6299 static PyObject
*_wrap_HtmlWindow_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6300 PyObject
*resultobj
;
6301 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6302 wxString
*arg2
= 0 ;
6304 bool temp2
= False
;
6305 PyObject
* obj0
= 0 ;
6306 PyObject
* obj1
= 0 ;
6308 (char *) "self",(char *) "filename", NULL
6311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6315 arg2
= wxString_in_helper(obj1
);
6316 if (arg2
== NULL
) SWIG_fail
;
6320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6321 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
6323 wxPyEndAllowThreads(__tstate
);
6324 if (PyErr_Occurred()) SWIG_fail
;
6327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6343 static PyObject
*_wrap_HtmlWindow_AppendToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6344 PyObject
*resultobj
;
6345 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6346 wxString
*arg2
= 0 ;
6348 bool temp2
= False
;
6349 PyObject
* obj0
= 0 ;
6350 PyObject
* obj1
= 0 ;
6352 (char *) "self",(char *) "source", NULL
6355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_AppendToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
6356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6359 arg2
= wxString_in_helper(obj1
);
6360 if (arg2
== NULL
) SWIG_fail
;
6364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6365 result
= (bool)(arg1
)->AppendToPage((wxString
const &)*arg2
);
6367 wxPyEndAllowThreads(__tstate
);
6368 if (PyErr_Occurred()) SWIG_fail
;
6371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6387 static PyObject
*_wrap_HtmlWindow_GetOpenedPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6388 PyObject
*resultobj
;
6389 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6391 PyObject
* obj0
= 0 ;
6393 (char *) "self", NULL
6396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetOpenedPage",kwnames
,&obj0
)) goto fail
;
6397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6401 result
= (arg1
)->GetOpenedPage();
6403 wxPyEndAllowThreads(__tstate
);
6404 if (PyErr_Occurred()) SWIG_fail
;
6408 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6410 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6419 static PyObject
*_wrap_HtmlWindow_GetOpenedAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6420 PyObject
*resultobj
;
6421 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6423 PyObject
* obj0
= 0 ;
6425 (char *) "self", NULL
6428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetOpenedAnchor",kwnames
,&obj0
)) goto fail
;
6429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6433 result
= (arg1
)->GetOpenedAnchor();
6435 wxPyEndAllowThreads(__tstate
);
6436 if (PyErr_Occurred()) SWIG_fail
;
6440 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6442 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6451 static PyObject
*_wrap_HtmlWindow_GetOpenedPageTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6452 PyObject
*resultobj
;
6453 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6455 PyObject
* obj0
= 0 ;
6457 (char *) "self", NULL
6460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetOpenedPageTitle",kwnames
,&obj0
)) goto fail
;
6461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6465 result
= (arg1
)->GetOpenedPageTitle();
6467 wxPyEndAllowThreads(__tstate
);
6468 if (PyErr_Occurred()) SWIG_fail
;
6472 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6474 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6483 static PyObject
*_wrap_HtmlWindow_SetRelatedFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6484 PyObject
*resultobj
;
6485 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6486 wxFrame
*arg2
= (wxFrame
*) 0 ;
6487 wxString
*arg3
= 0 ;
6488 bool temp3
= False
;
6489 PyObject
* obj0
= 0 ;
6490 PyObject
* obj1
= 0 ;
6491 PyObject
* obj2
= 0 ;
6493 (char *) "self",(char *) "frame",(char *) "format", NULL
6496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6499 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
6500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6502 arg3
= wxString_in_helper(obj2
);
6503 if (arg3
== NULL
) SWIG_fail
;
6507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6508 (arg1
)->SetRelatedFrame(arg2
,(wxString
const &)*arg3
);
6510 wxPyEndAllowThreads(__tstate
);
6511 if (PyErr_Occurred()) SWIG_fail
;
6513 Py_INCREF(Py_None
); resultobj
= Py_None
;
6528 static PyObject
*_wrap_HtmlWindow_GetRelatedFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6529 PyObject
*resultobj
;
6530 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6532 PyObject
* obj0
= 0 ;
6534 (char *) "self", NULL
6537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetRelatedFrame",kwnames
,&obj0
)) goto fail
;
6538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6542 result
= (wxFrame
*)(arg1
)->GetRelatedFrame();
6544 wxPyEndAllowThreads(__tstate
);
6545 if (PyErr_Occurred()) SWIG_fail
;
6548 resultobj
= wxPyMake_wxObject(result
, 0);
6556 static PyObject
*_wrap_HtmlWindow_SetRelatedStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6557 PyObject
*resultobj
;
6558 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6560 PyObject
* obj0
= 0 ;
6561 PyObject
* obj1
= 0 ;
6563 (char *) "self",(char *) "bar", NULL
6566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
6567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6569 arg2
= (int)SWIG_As_int(obj1
);
6570 if (PyErr_Occurred()) SWIG_fail
;
6572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6573 (arg1
)->SetRelatedStatusBar(arg2
);
6575 wxPyEndAllowThreads(__tstate
);
6576 if (PyErr_Occurred()) SWIG_fail
;
6578 Py_INCREF(Py_None
); resultobj
= Py_None
;
6585 static PyObject
*_wrap_HtmlWindow_SetFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6586 PyObject
*resultobj
;
6587 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6590 PyObject
*arg4
= (PyObject
*) NULL
;
6591 PyObject
* obj0
= 0 ;
6592 PyObject
* obj1
= 0 ;
6593 PyObject
* obj2
= 0 ;
6594 PyObject
* obj3
= 0 ;
6596 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
6599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6603 wxString
* sptr
= wxString_in_helper(obj1
);
6604 if (sptr
== NULL
) SWIG_fail
;
6609 wxString
* sptr
= wxString_in_helper(obj2
);
6610 if (sptr
== NULL
) SWIG_fail
;
6618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6619 wxPyHtmlWindow_SetFonts(arg1
,arg2
,arg3
,arg4
);
6621 wxPyEndAllowThreads(__tstate
);
6622 if (PyErr_Occurred()) SWIG_fail
;
6624 Py_INCREF(Py_None
); resultobj
= Py_None
;
6631 static PyObject
*_wrap_HtmlWindow_NormalizeFontSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6632 PyObject
*resultobj
;
6633 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6634 int arg2
= (int) -1 ;
6635 PyObject
* obj0
= 0 ;
6636 PyObject
* obj1
= 0 ;
6638 (char *) "self",(char *) "size", NULL
6641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HtmlWindow_NormalizeFontSizes",kwnames
,&obj0
,&obj1
)) goto fail
;
6642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6645 arg2
= (int)SWIG_As_int(obj1
);
6646 if (PyErr_Occurred()) SWIG_fail
;
6649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6650 (arg1
)->NormalizeFontSizes(arg2
);
6652 wxPyEndAllowThreads(__tstate
);
6653 if (PyErr_Occurred()) SWIG_fail
;
6655 Py_INCREF(Py_None
); resultobj
= Py_None
;
6662 static PyObject
*_wrap_HtmlWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6663 PyObject
*resultobj
;
6664 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6665 wxString
*arg2
= 0 ;
6666 bool temp2
= False
;
6667 PyObject
* obj0
= 0 ;
6668 PyObject
* obj1
= 0 ;
6670 (char *) "self",(char *) "title", NULL
6673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
6674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6677 arg2
= wxString_in_helper(obj1
);
6678 if (arg2
== NULL
) SWIG_fail
;
6682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6683 (arg1
)->SetTitle((wxString
const &)*arg2
);
6685 wxPyEndAllowThreads(__tstate
);
6686 if (PyErr_Occurred()) SWIG_fail
;
6688 Py_INCREF(Py_None
); resultobj
= Py_None
;
6703 static PyObject
*_wrap_HtmlWindow_SetBorders(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6704 PyObject
*resultobj
;
6705 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6707 PyObject
* obj0
= 0 ;
6708 PyObject
* obj1
= 0 ;
6710 (char *) "self",(char *) "b", NULL
6713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetBorders",kwnames
,&obj0
,&obj1
)) goto fail
;
6714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6716 arg2
= (int)SWIG_As_int(obj1
);
6717 if (PyErr_Occurred()) SWIG_fail
;
6719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6720 (arg1
)->SetBorders(arg2
);
6722 wxPyEndAllowThreads(__tstate
);
6723 if (PyErr_Occurred()) SWIG_fail
;
6725 Py_INCREF(Py_None
); resultobj
= Py_None
;
6732 static PyObject
*_wrap_HtmlWindow_ReadCustomization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6733 PyObject
*resultobj
;
6734 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6735 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
6736 wxString arg3
= (wxString
) wxPyEmptyString
;
6737 PyObject
* obj0
= 0 ;
6738 PyObject
* obj1
= 0 ;
6739 PyObject
* obj2
= 0 ;
6741 (char *) "self",(char *) "cfg",(char *) "path", NULL
6744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6747 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
6748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6751 wxString
* sptr
= wxString_in_helper(obj2
);
6752 if (sptr
== NULL
) SWIG_fail
;
6758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6759 (arg1
)->ReadCustomization(arg2
,arg3
);
6761 wxPyEndAllowThreads(__tstate
);
6762 if (PyErr_Occurred()) SWIG_fail
;
6764 Py_INCREF(Py_None
); resultobj
= Py_None
;
6771 static PyObject
*_wrap_HtmlWindow_WriteCustomization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6772 PyObject
*resultobj
;
6773 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6774 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
6775 wxString arg3
= (wxString
) wxPyEmptyString
;
6776 PyObject
* obj0
= 0 ;
6777 PyObject
* obj1
= 0 ;
6778 PyObject
* obj2
= 0 ;
6780 (char *) "self",(char *) "cfg",(char *) "path", NULL
6783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6786 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
6787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6790 wxString
* sptr
= wxString_in_helper(obj2
);
6791 if (sptr
== NULL
) SWIG_fail
;
6797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6798 (arg1
)->WriteCustomization(arg2
,arg3
);
6800 wxPyEndAllowThreads(__tstate
);
6801 if (PyErr_Occurred()) SWIG_fail
;
6803 Py_INCREF(Py_None
); resultobj
= Py_None
;
6810 static PyObject
*_wrap_HtmlWindow_HistoryBack(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6811 PyObject
*resultobj
;
6812 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6814 PyObject
* obj0
= 0 ;
6816 (char *) "self", NULL
6819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_HistoryBack",kwnames
,&obj0
)) goto fail
;
6820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6824 result
= (bool)(arg1
)->HistoryBack();
6826 wxPyEndAllowThreads(__tstate
);
6827 if (PyErr_Occurred()) SWIG_fail
;
6830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6838 static PyObject
*_wrap_HtmlWindow_HistoryForward(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6839 PyObject
*resultobj
;
6840 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6842 PyObject
* obj0
= 0 ;
6844 (char *) "self", NULL
6847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_HistoryForward",kwnames
,&obj0
)) goto fail
;
6848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6852 result
= (bool)(arg1
)->HistoryForward();
6854 wxPyEndAllowThreads(__tstate
);
6855 if (PyErr_Occurred()) SWIG_fail
;
6858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6866 static PyObject
*_wrap_HtmlWindow_HistoryCanBack(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6867 PyObject
*resultobj
;
6868 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6870 PyObject
* obj0
= 0 ;
6872 (char *) "self", NULL
6875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_HistoryCanBack",kwnames
,&obj0
)) goto fail
;
6876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6880 result
= (bool)(arg1
)->HistoryCanBack();
6882 wxPyEndAllowThreads(__tstate
);
6883 if (PyErr_Occurred()) SWIG_fail
;
6886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6894 static PyObject
*_wrap_HtmlWindow_HistoryCanForward(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6895 PyObject
*resultobj
;
6896 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6898 PyObject
* obj0
= 0 ;
6900 (char *) "self", NULL
6903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_HistoryCanForward",kwnames
,&obj0
)) goto fail
;
6904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6908 result
= (bool)(arg1
)->HistoryCanForward();
6910 wxPyEndAllowThreads(__tstate
);
6911 if (PyErr_Occurred()) SWIG_fail
;
6914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6922 static PyObject
*_wrap_HtmlWindow_HistoryClear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6923 PyObject
*resultobj
;
6924 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6925 PyObject
* obj0
= 0 ;
6927 (char *) "self", NULL
6930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_HistoryClear",kwnames
,&obj0
)) goto fail
;
6931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6935 (arg1
)->HistoryClear();
6937 wxPyEndAllowThreads(__tstate
);
6938 if (PyErr_Occurred()) SWIG_fail
;
6940 Py_INCREF(Py_None
); resultobj
= Py_None
;
6947 static PyObject
*_wrap_HtmlWindow_GetInternalRepresentation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6948 PyObject
*resultobj
;
6949 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6950 wxHtmlContainerCell
*result
;
6951 PyObject
* obj0
= 0 ;
6953 (char *) "self", NULL
6956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetInternalRepresentation",kwnames
,&obj0
)) goto fail
;
6957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6961 result
= (wxHtmlContainerCell
*)(arg1
)->GetInternalRepresentation();
6963 wxPyEndAllowThreads(__tstate
);
6964 if (PyErr_Occurred()) SWIG_fail
;
6966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0);
6973 static PyObject
*_wrap_HtmlWindow_GetParser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6974 PyObject
*resultobj
;
6975 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6976 wxHtmlWinParser
*result
;
6977 PyObject
* obj0
= 0 ;
6979 (char *) "self", NULL
6982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetParser",kwnames
,&obj0
)) goto fail
;
6983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6987 result
= (wxHtmlWinParser
*)(arg1
)->GetParser();
6989 wxPyEndAllowThreads(__tstate
);
6990 if (PyErr_Occurred()) SWIG_fail
;
6992 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlWinParser
, 0);
6999 static PyObject
*_wrap_HtmlWindow_ScrollToAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7000 PyObject
*resultobj
;
7001 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7002 wxString
*arg2
= 0 ;
7004 bool temp2
= False
;
7005 PyObject
* obj0
= 0 ;
7006 PyObject
* obj1
= 0 ;
7008 (char *) "self",(char *) "anchor", NULL
7011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
7012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
7013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7015 arg2
= wxString_in_helper(obj1
);
7016 if (arg2
== NULL
) SWIG_fail
;
7020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7021 result
= (bool)(arg1
)->ScrollToAnchor((wxString
const &)*arg2
);
7023 wxPyEndAllowThreads(__tstate
);
7024 if (PyErr_Occurred()) SWIG_fail
;
7027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7043 static PyObject
*_wrap_HtmlWindow_HasAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7044 PyObject
*resultobj
;
7045 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7046 wxString
*arg2
= 0 ;
7048 bool temp2
= False
;
7049 PyObject
* obj0
= 0 ;
7050 PyObject
* obj1
= 0 ;
7052 (char *) "self",(char *) "anchor", NULL
7055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_HasAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
7056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
7057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7059 arg2
= wxString_in_helper(obj1
);
7060 if (arg2
== NULL
) SWIG_fail
;
7064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7065 result
= (bool)(arg1
)->HasAnchor((wxString
const &)*arg2
);
7067 wxPyEndAllowThreads(__tstate
);
7068 if (PyErr_Occurred()) SWIG_fail
;
7071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7087 static PyObject
*_wrap_HtmlWindow_AddFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7088 PyObject
*resultobj
;
7089 wxPyHtmlFilter
*arg1
= (wxPyHtmlFilter
*) 0 ;
7090 PyObject
* obj0
= 0 ;
7092 (char *) "filter", NULL
7095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_AddFilter",kwnames
,&obj0
)) goto fail
;
7096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlFilter
,
7097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7100 wxPyHtmlWindow::AddFilter(arg1
);
7102 wxPyEndAllowThreads(__tstate
);
7103 if (PyErr_Occurred()) SWIG_fail
;
7105 Py_INCREF(Py_None
); resultobj
= Py_None
;
7112 static PyObject
*_wrap_HtmlWindow_SelectWord(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7113 PyObject
*resultobj
;
7114 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7117 PyObject
* obj0
= 0 ;
7118 PyObject
* obj1
= 0 ;
7120 (char *) "self",(char *) "pos", NULL
7123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SelectWord",kwnames
,&obj0
,&obj1
)) goto fail
;
7124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
7125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7128 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7132 (arg1
)->SelectWord((wxPoint
const &)*arg2
);
7134 wxPyEndAllowThreads(__tstate
);
7135 if (PyErr_Occurred()) SWIG_fail
;
7137 Py_INCREF(Py_None
); resultobj
= Py_None
;
7144 static PyObject
*_wrap_HtmlWindow_SelectLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7145 PyObject
*resultobj
;
7146 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7149 PyObject
* obj0
= 0 ;
7150 PyObject
* obj1
= 0 ;
7152 (char *) "self",(char *) "pos", NULL
7155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SelectLine",kwnames
,&obj0
,&obj1
)) goto fail
;
7156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
7157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7160 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7164 (arg1
)->SelectLine((wxPoint
const &)*arg2
);
7166 wxPyEndAllowThreads(__tstate
);
7167 if (PyErr_Occurred()) SWIG_fail
;
7169 Py_INCREF(Py_None
); resultobj
= Py_None
;
7176 static PyObject
*_wrap_HtmlWindow_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7177 PyObject
*resultobj
;
7178 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7179 PyObject
* obj0
= 0 ;
7181 (char *) "self", NULL
7184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_SelectAll",kwnames
,&obj0
)) goto fail
;
7185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
7186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7189 (arg1
)->SelectAll();
7191 wxPyEndAllowThreads(__tstate
);
7192 if (PyErr_Occurred()) SWIG_fail
;
7194 Py_INCREF(Py_None
); resultobj
= Py_None
;
7201 static PyObject
*_wrap_HtmlWindow_SelectionToText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7202 PyObject
*resultobj
;
7203 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7205 PyObject
* obj0
= 0 ;
7207 (char *) "self", NULL
7210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_SelectionToText",kwnames
,&obj0
)) goto fail
;
7211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
7212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7215 result
= (arg1
)->SelectionToText();
7217 wxPyEndAllowThreads(__tstate
);
7218 if (PyErr_Occurred()) SWIG_fail
;
7222 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7224 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7233 static PyObject
*_wrap_HtmlWindow_ToText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7234 PyObject
*resultobj
;
7235 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7237 PyObject
* obj0
= 0 ;
7239 (char *) "self", NULL
7242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_ToText",kwnames
,&obj0
)) goto fail
;
7243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
7244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7247 result
= (arg1
)->ToText();
7249 wxPyEndAllowThreads(__tstate
);
7250 if (PyErr_Occurred()) SWIG_fail
;
7254 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7256 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7265 static PyObject
*_wrap_HtmlWindow_base_OnLinkClicked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7266 PyObject
*resultobj
;
7267 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7268 wxHtmlLinkInfo
*arg2
= 0 ;
7269 PyObject
* obj0
= 0 ;
7270 PyObject
* obj1
= 0 ;
7272 (char *) "self",(char *) "link", NULL
7275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_base_OnLinkClicked",kwnames
,&obj0
,&obj1
)) goto fail
;
7276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
7277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7278 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlLinkInfo
,
7279 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7282 PyErr_SetString(PyExc_TypeError
,"null reference");
7286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7287 (arg1
)->base_OnLinkClicked((wxHtmlLinkInfo
const &)*arg2
);
7289 wxPyEndAllowThreads(__tstate
);
7290 if (PyErr_Occurred()) SWIG_fail
;
7292 Py_INCREF(Py_None
); resultobj
= Py_None
;
7299 static PyObject
*_wrap_HtmlWindow_base_OnSetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7300 PyObject
*resultobj
;
7301 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7302 wxString
*arg2
= 0 ;
7303 bool temp2
= False
;
7304 PyObject
* obj0
= 0 ;
7305 PyObject
* obj1
= 0 ;
7307 (char *) "self",(char *) "title", NULL
7310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_base_OnSetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
7311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
7312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7314 arg2
= wxString_in_helper(obj1
);
7315 if (arg2
== NULL
) SWIG_fail
;
7319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7320 (arg1
)->base_OnSetTitle((wxString
const &)*arg2
);
7322 wxPyEndAllowThreads(__tstate
);
7323 if (PyErr_Occurred()) SWIG_fail
;
7325 Py_INCREF(Py_None
); resultobj
= Py_None
;
7340 static PyObject
*_wrap_HtmlWindow_base_OnCellMouseHover(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7341 PyObject
*resultobj
;
7342 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7343 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
7346 PyObject
* obj0
= 0 ;
7347 PyObject
* obj1
= 0 ;
7348 PyObject
* obj2
= 0 ;
7349 PyObject
* obj3
= 0 ;
7351 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
7354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HtmlWindow_base_OnCellMouseHover",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
7356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7357 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlCell
,
7358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7359 arg3
= (int)SWIG_As_int(obj2
);
7360 if (PyErr_Occurred()) SWIG_fail
;
7361 arg4
= (int)SWIG_As_int(obj3
);
7362 if (PyErr_Occurred()) SWIG_fail
;
7364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7365 (arg1
)->base_OnCellMouseHover(arg2
,arg3
,arg4
);
7367 wxPyEndAllowThreads(__tstate
);
7368 if (PyErr_Occurred()) SWIG_fail
;
7370 Py_INCREF(Py_None
); resultobj
= Py_None
;
7377 static PyObject
*_wrap_HtmlWindow_base_OnCellClicked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7378 PyObject
*resultobj
;
7379 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7380 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
7383 wxMouseEvent
*arg5
= 0 ;
7384 PyObject
* obj0
= 0 ;
7385 PyObject
* obj1
= 0 ;
7386 PyObject
* obj2
= 0 ;
7387 PyObject
* obj3
= 0 ;
7388 PyObject
* obj4
= 0 ;
7390 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
7393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlWindow_base_OnCellClicked",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
7395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7396 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlCell
,
7397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7398 arg3
= (int)SWIG_As_int(obj2
);
7399 if (PyErr_Occurred()) SWIG_fail
;
7400 arg4
= (int)SWIG_As_int(obj3
);
7401 if (PyErr_Occurred()) SWIG_fail
;
7402 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMouseEvent
,
7403 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7406 PyErr_SetString(PyExc_TypeError
,"null reference");
7410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7411 (arg1
)->base_OnCellClicked(arg2
,arg3
,arg4
,(wxMouseEvent
const &)*arg5
);
7413 wxPyEndAllowThreads(__tstate
);
7414 if (PyErr_Occurred()) SWIG_fail
;
7416 Py_INCREF(Py_None
); resultobj
= Py_None
;
7423 static PyObject
*_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7424 PyObject
*resultobj
;
7425 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
7426 wxVisualAttributes result
;
7427 PyObject
* obj0
= 0 ;
7429 (char *) "variant", NULL
7432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7434 arg1
= (int)SWIG_As_int(obj0
);
7435 if (PyErr_Occurred()) SWIG_fail
;
7438 if (!wxPyCheckForApp()) SWIG_fail
;
7439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7440 result
= wxPyHtmlWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
7442 wxPyEndAllowThreads(__tstate
);
7443 if (PyErr_Occurred()) SWIG_fail
;
7446 wxVisualAttributes
* resultptr
;
7447 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
7448 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7456 static PyObject
* HtmlWindow_swigregister(PyObject
*, PyObject
*args
) {
7458 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7459 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWindow
, obj
);
7461 return Py_BuildValue((char *)"");
7463 static PyObject
*_wrap_new_HtmlDCRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7464 PyObject
*resultobj
;
7465 wxHtmlDCRenderer
*result
;
7470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlDCRenderer",kwnames
)) goto fail
;
7472 if (!wxPyCheckForApp()) SWIG_fail
;
7473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7474 result
= (wxHtmlDCRenderer
*)new wxHtmlDCRenderer();
7476 wxPyEndAllowThreads(__tstate
);
7477 if (PyErr_Occurred()) SWIG_fail
;
7479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlDCRenderer
, 1);
7486 static PyObject
*_wrap_delete_HtmlDCRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7487 PyObject
*resultobj
;
7488 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
7489 PyObject
* obj0
= 0 ;
7491 (char *) "self", NULL
7494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlDCRenderer",kwnames
,&obj0
)) goto fail
;
7495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlDCRenderer
,
7496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7501 wxPyEndAllowThreads(__tstate
);
7502 if (PyErr_Occurred()) SWIG_fail
;
7504 Py_INCREF(Py_None
); resultobj
= Py_None
;
7511 static PyObject
*_wrap_HtmlDCRenderer_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7512 PyObject
*resultobj
;
7513 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
7514 wxDC
*arg2
= (wxDC
*) 0 ;
7516 PyObject
* obj0
= 0 ;
7517 PyObject
* obj1
= 0 ;
7518 PyObject
* obj2
= 0 ;
7520 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
7523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlDCRenderer
,
7525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7526 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
7527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7528 arg3
= (int)SWIG_As_int(obj2
);
7529 if (PyErr_Occurred()) SWIG_fail
;
7531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7532 (arg1
)->SetDC(arg2
,arg3
);
7534 wxPyEndAllowThreads(__tstate
);
7535 if (PyErr_Occurred()) SWIG_fail
;
7537 Py_INCREF(Py_None
); resultobj
= Py_None
;
7544 static PyObject
*_wrap_HtmlDCRenderer_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7545 PyObject
*resultobj
;
7546 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
7549 PyObject
* obj0
= 0 ;
7550 PyObject
* obj1
= 0 ;
7551 PyObject
* obj2
= 0 ;
7553 (char *) "self",(char *) "width",(char *) "height", NULL
7556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlDCRenderer
,
7558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7559 arg2
= (int)SWIG_As_int(obj1
);
7560 if (PyErr_Occurred()) SWIG_fail
;
7561 arg3
= (int)SWIG_As_int(obj2
);
7562 if (PyErr_Occurred()) SWIG_fail
;
7564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7565 (arg1
)->SetSize(arg2
,arg3
);
7567 wxPyEndAllowThreads(__tstate
);
7568 if (PyErr_Occurred()) SWIG_fail
;
7570 Py_INCREF(Py_None
); resultobj
= Py_None
;
7577 static PyObject
*_wrap_HtmlDCRenderer_SetHtmlText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7578 PyObject
*resultobj
;
7579 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
7580 wxString
*arg2
= 0 ;
7581 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7582 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7583 bool arg4
= (bool) True
;
7584 bool temp2
= False
;
7585 bool temp3
= False
;
7586 PyObject
* obj0
= 0 ;
7587 PyObject
* obj1
= 0 ;
7588 PyObject
* obj2
= 0 ;
7589 PyObject
* obj3
= 0 ;
7591 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
7594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlDCRenderer
,
7596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7598 arg2
= wxString_in_helper(obj1
);
7599 if (arg2
== NULL
) SWIG_fail
;
7604 arg3
= wxString_in_helper(obj2
);
7605 if (arg3
== NULL
) SWIG_fail
;
7610 arg4
= (bool)SWIG_As_bool(obj3
);
7611 if (PyErr_Occurred()) SWIG_fail
;
7614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7615 (arg1
)->SetHtmlText((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
7617 wxPyEndAllowThreads(__tstate
);
7618 if (PyErr_Occurred()) SWIG_fail
;
7620 Py_INCREF(Py_None
); resultobj
= Py_None
;
7643 static PyObject
*_wrap_HtmlDCRenderer_SetFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7644 PyObject
*resultobj
;
7645 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
7648 PyObject
*arg4
= (PyObject
*) NULL
;
7649 PyObject
* obj0
= 0 ;
7650 PyObject
* obj1
= 0 ;
7651 PyObject
* obj2
= 0 ;
7652 PyObject
* obj3
= 0 ;
7654 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
7657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlDCRenderer
,
7659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7661 wxString
* sptr
= wxString_in_helper(obj1
);
7662 if (sptr
== NULL
) SWIG_fail
;
7667 wxString
* sptr
= wxString_in_helper(obj2
);
7668 if (sptr
== NULL
) SWIG_fail
;
7676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7677 wxHtmlDCRenderer_SetFonts(arg1
,arg2
,arg3
,arg4
);
7679 wxPyEndAllowThreads(__tstate
);
7680 if (PyErr_Occurred()) SWIG_fail
;
7682 Py_INCREF(Py_None
); resultobj
= Py_None
;
7689 static PyObject
*_wrap_HtmlDCRenderer_NormalizeFontSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7690 PyObject
*resultobj
;
7691 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
7692 int arg2
= (int) -1 ;
7693 PyObject
* obj0
= 0 ;
7694 PyObject
* obj1
= 0 ;
7696 (char *) "self",(char *) "size", NULL
7699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HtmlDCRenderer_NormalizeFontSizes",kwnames
,&obj0
,&obj1
)) goto fail
;
7700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlDCRenderer
,
7701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7703 arg2
= (int)SWIG_As_int(obj1
);
7704 if (PyErr_Occurred()) SWIG_fail
;
7707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7708 (arg1
)->NormalizeFontSizes(arg2
);
7710 wxPyEndAllowThreads(__tstate
);
7711 if (PyErr_Occurred()) SWIG_fail
;
7713 Py_INCREF(Py_None
); resultobj
= Py_None
;
7720 static PyObject
*_wrap_HtmlDCRenderer_Render(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7721 PyObject
*resultobj
;
7722 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
7725 int arg4
= (int) 0 ;
7726 int arg5
= (int) False
;
7727 int arg6
= (int) INT_MAX
;
7728 int *arg7
= (int *) NULL
;
7729 int arg8
= (int) 0 ;
7731 PyObject
* obj0
= 0 ;
7732 PyObject
* obj1
= 0 ;
7733 PyObject
* obj2
= 0 ;
7734 PyObject
* obj3
= 0 ;
7735 PyObject
* obj4
= 0 ;
7736 PyObject
* obj5
= 0 ;
7737 PyObject
* obj6
= 0 ;
7738 PyObject
* obj7
= 0 ;
7740 (char *) "self",(char *) "x",(char *) "y",(char *) "from",(char *) "dont_render",(char *) "to",(char *) "choices",(char *) "LCOUNT", NULL
7743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:HtmlDCRenderer_Render",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlDCRenderer
,
7745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7746 arg2
= (int)SWIG_As_int(obj1
);
7747 if (PyErr_Occurred()) SWIG_fail
;
7748 arg3
= (int)SWIG_As_int(obj2
);
7749 if (PyErr_Occurred()) SWIG_fail
;
7751 arg4
= (int)SWIG_As_int(obj3
);
7752 if (PyErr_Occurred()) SWIG_fail
;
7755 arg5
= (int)SWIG_As_int(obj4
);
7756 if (PyErr_Occurred()) SWIG_fail
;
7759 arg6
= (int)SWIG_As_int(obj5
);
7760 if (PyErr_Occurred()) SWIG_fail
;
7763 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_int
,
7764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7767 arg8
= (int)SWIG_As_int(obj7
);
7768 if (PyErr_Occurred()) SWIG_fail
;
7771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7772 result
= (int)(arg1
)->Render(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
7774 wxPyEndAllowThreads(__tstate
);
7775 if (PyErr_Occurred()) SWIG_fail
;
7777 resultobj
= SWIG_From_int((int)result
);
7784 static PyObject
*_wrap_HtmlDCRenderer_GetTotalHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7785 PyObject
*resultobj
;
7786 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
7788 PyObject
* obj0
= 0 ;
7790 (char *) "self", NULL
7793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlDCRenderer_GetTotalHeight",kwnames
,&obj0
)) goto fail
;
7794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlDCRenderer
,
7795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7798 result
= (int)(arg1
)->GetTotalHeight();
7800 wxPyEndAllowThreads(__tstate
);
7801 if (PyErr_Occurred()) SWIG_fail
;
7803 resultobj
= SWIG_From_int((int)result
);
7810 static PyObject
* HtmlDCRenderer_swigregister(PyObject
*, PyObject
*args
) {
7812 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7813 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlDCRenderer
, obj
);
7815 return Py_BuildValue((char *)"");
7817 static PyObject
*_wrap_new_HtmlPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7818 PyObject
*resultobj
;
7819 wxString
const &arg1_defvalue
= wxPyHtmlPrintoutTitleStr
;
7820 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
7821 wxHtmlPrintout
*result
;
7822 bool temp1
= False
;
7823 PyObject
* obj0
= 0 ;
7825 (char *) "title", NULL
7828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_HtmlPrintout",kwnames
,&obj0
)) goto fail
;
7831 arg1
= wxString_in_helper(obj0
);
7832 if (arg1
== NULL
) SWIG_fail
;
7837 if (!wxPyCheckForApp()) SWIG_fail
;
7838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7839 result
= (wxHtmlPrintout
*)new wxHtmlPrintout((wxString
const &)*arg1
);
7841 wxPyEndAllowThreads(__tstate
);
7842 if (PyErr_Occurred()) SWIG_fail
;
7844 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlPrintout
, 1);
7859 static PyObject
*_wrap_HtmlPrintout_SetHtmlText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7860 PyObject
*resultobj
;
7861 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
7862 wxString
*arg2
= 0 ;
7863 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7864 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7865 bool arg4
= (bool) True
;
7866 bool temp2
= False
;
7867 bool temp3
= False
;
7868 PyObject
* obj0
= 0 ;
7869 PyObject
* obj1
= 0 ;
7870 PyObject
* obj2
= 0 ;
7871 PyObject
* obj3
= 0 ;
7873 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
7876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlPrintout
,
7878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7880 arg2
= wxString_in_helper(obj1
);
7881 if (arg2
== NULL
) SWIG_fail
;
7886 arg3
= wxString_in_helper(obj2
);
7887 if (arg3
== NULL
) SWIG_fail
;
7892 arg4
= (bool)SWIG_As_bool(obj3
);
7893 if (PyErr_Occurred()) SWIG_fail
;
7896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7897 (arg1
)->SetHtmlText((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
7899 wxPyEndAllowThreads(__tstate
);
7900 if (PyErr_Occurred()) SWIG_fail
;
7902 Py_INCREF(Py_None
); resultobj
= Py_None
;
7925 static PyObject
*_wrap_HtmlPrintout_SetHtmlFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7926 PyObject
*resultobj
;
7927 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
7928 wxString
*arg2
= 0 ;
7929 bool temp2
= False
;
7930 PyObject
* obj0
= 0 ;
7931 PyObject
* obj1
= 0 ;
7933 (char *) "self",(char *) "htmlfile", NULL
7936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlPrintout
,
7938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7940 arg2
= wxString_in_helper(obj1
);
7941 if (arg2
== NULL
) SWIG_fail
;
7945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7946 (arg1
)->SetHtmlFile((wxString
const &)*arg2
);
7948 wxPyEndAllowThreads(__tstate
);
7949 if (PyErr_Occurred()) SWIG_fail
;
7951 Py_INCREF(Py_None
); resultobj
= Py_None
;
7966 static PyObject
*_wrap_HtmlPrintout_SetHeader(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7967 PyObject
*resultobj
;
7968 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
7969 wxString
*arg2
= 0 ;
7970 int arg3
= (int) wxPAGE_ALL
;
7971 bool temp2
= False
;
7972 PyObject
* obj0
= 0 ;
7973 PyObject
* obj1
= 0 ;
7974 PyObject
* obj2
= 0 ;
7976 (char *) "self",(char *) "header",(char *) "pg", NULL
7979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlPrintout
,
7981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7983 arg2
= wxString_in_helper(obj1
);
7984 if (arg2
== NULL
) SWIG_fail
;
7988 arg3
= (int)SWIG_As_int(obj2
);
7989 if (PyErr_Occurred()) SWIG_fail
;
7992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7993 (arg1
)->SetHeader((wxString
const &)*arg2
,arg3
);
7995 wxPyEndAllowThreads(__tstate
);
7996 if (PyErr_Occurred()) SWIG_fail
;
7998 Py_INCREF(Py_None
); resultobj
= Py_None
;
8013 static PyObject
*_wrap_HtmlPrintout_SetFooter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8014 PyObject
*resultobj
;
8015 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
8016 wxString
*arg2
= 0 ;
8017 int arg3
= (int) wxPAGE_ALL
;
8018 bool temp2
= False
;
8019 PyObject
* obj0
= 0 ;
8020 PyObject
* obj1
= 0 ;
8021 PyObject
* obj2
= 0 ;
8023 (char *) "self",(char *) "footer",(char *) "pg", NULL
8026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlPrintout
,
8028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8030 arg2
= wxString_in_helper(obj1
);
8031 if (arg2
== NULL
) SWIG_fail
;
8035 arg3
= (int)SWIG_As_int(obj2
);
8036 if (PyErr_Occurred()) SWIG_fail
;
8039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8040 (arg1
)->SetFooter((wxString
const &)*arg2
,arg3
);
8042 wxPyEndAllowThreads(__tstate
);
8043 if (PyErr_Occurred()) SWIG_fail
;
8045 Py_INCREF(Py_None
); resultobj
= Py_None
;
8060 static PyObject
*_wrap_HtmlPrintout_SetFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8061 PyObject
*resultobj
;
8062 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
8065 PyObject
*arg4
= (PyObject
*) NULL
;
8066 PyObject
* obj0
= 0 ;
8067 PyObject
* obj1
= 0 ;
8068 PyObject
* obj2
= 0 ;
8069 PyObject
* obj3
= 0 ;
8071 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
8074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlPrintout
,
8076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8078 wxString
* sptr
= wxString_in_helper(obj1
);
8079 if (sptr
== NULL
) SWIG_fail
;
8084 wxString
* sptr
= wxString_in_helper(obj2
);
8085 if (sptr
== NULL
) SWIG_fail
;
8093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8094 wxHtmlPrintout_SetFonts(arg1
,arg2
,arg3
,arg4
);
8096 wxPyEndAllowThreads(__tstate
);
8097 if (PyErr_Occurred()) SWIG_fail
;
8099 Py_INCREF(Py_None
); resultobj
= Py_None
;
8106 static PyObject
*_wrap_HtmlPrintout_NormalizeFontSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8107 PyObject
*resultobj
;
8108 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
8109 int arg2
= (int) -1 ;
8110 PyObject
* obj0
= 0 ;
8111 PyObject
* obj1
= 0 ;
8113 (char *) "self",(char *) "size", NULL
8116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HtmlPrintout_NormalizeFontSizes",kwnames
,&obj0
,&obj1
)) goto fail
;
8117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlPrintout
,
8118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8120 arg2
= (int)SWIG_As_int(obj1
);
8121 if (PyErr_Occurred()) SWIG_fail
;
8124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8125 (arg1
)->NormalizeFontSizes(arg2
);
8127 wxPyEndAllowThreads(__tstate
);
8128 if (PyErr_Occurred()) SWIG_fail
;
8130 Py_INCREF(Py_None
); resultobj
= Py_None
;
8137 static PyObject
*_wrap_HtmlPrintout_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8138 PyObject
*resultobj
;
8139 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
8140 float arg2
= (float) 25.2 ;
8141 float arg3
= (float) 25.2 ;
8142 float arg4
= (float) 25.2 ;
8143 float arg5
= (float) 25.2 ;
8144 float arg6
= (float) 5 ;
8145 PyObject
* obj0
= 0 ;
8146 PyObject
* obj1
= 0 ;
8147 PyObject
* obj2
= 0 ;
8148 PyObject
* obj3
= 0 ;
8149 PyObject
* obj4
= 0 ;
8150 PyObject
* obj5
= 0 ;
8152 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
8155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlPrintout
,
8157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8159 arg2
= (float)SWIG_As_float(obj1
);
8160 if (PyErr_Occurred()) SWIG_fail
;
8163 arg3
= (float)SWIG_As_float(obj2
);
8164 if (PyErr_Occurred()) SWIG_fail
;
8167 arg4
= (float)SWIG_As_float(obj3
);
8168 if (PyErr_Occurred()) SWIG_fail
;
8171 arg5
= (float)SWIG_As_float(obj4
);
8172 if (PyErr_Occurred()) SWIG_fail
;
8175 arg6
= (float)SWIG_As_float(obj5
);
8176 if (PyErr_Occurred()) SWIG_fail
;
8179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8180 (arg1
)->SetMargins(arg2
,arg3
,arg4
,arg5
,arg6
);
8182 wxPyEndAllowThreads(__tstate
);
8183 if (PyErr_Occurred()) SWIG_fail
;
8185 Py_INCREF(Py_None
); resultobj
= Py_None
;
8192 static PyObject
*_wrap_HtmlPrintout_AddFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8193 PyObject
*resultobj
;
8194 wxHtmlFilter
*arg1
= (wxHtmlFilter
*) 0 ;
8195 PyObject
* obj0
= 0 ;
8197 (char *) "filter", NULL
8200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlPrintout_AddFilter",kwnames
,&obj0
)) goto fail
;
8201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlFilter
,
8202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8205 wxHtmlPrintout::AddFilter(arg1
);
8207 wxPyEndAllowThreads(__tstate
);
8208 if (PyErr_Occurred()) SWIG_fail
;
8210 Py_INCREF(Py_None
); resultobj
= Py_None
;
8217 static PyObject
*_wrap_HtmlPrintout_CleanUpStatics(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8218 PyObject
*resultobj
;
8223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HtmlPrintout_CleanUpStatics",kwnames
)) goto fail
;
8225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8226 wxHtmlPrintout::CleanUpStatics();
8228 wxPyEndAllowThreads(__tstate
);
8229 if (PyErr_Occurred()) SWIG_fail
;
8231 Py_INCREF(Py_None
); resultobj
= Py_None
;
8238 static PyObject
* HtmlPrintout_swigregister(PyObject
*, PyObject
*args
) {
8240 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8241 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlPrintout
, obj
);
8243 return Py_BuildValue((char *)"");
8245 static PyObject
*_wrap_new_HtmlEasyPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8246 PyObject
*resultobj
;
8247 wxString
const &arg1_defvalue
= wxPyHtmlPrintingTitleStr
;
8248 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
8249 wxWindow
*arg2
= (wxWindow
*) NULL
;
8250 wxHtmlEasyPrinting
*result
;
8251 bool temp1
= False
;
8252 PyObject
* obj0
= 0 ;
8253 PyObject
* obj1
= 0 ;
8255 (char *) "name",(char *) "parentWindow", NULL
8258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_HtmlEasyPrinting",kwnames
,&obj0
,&obj1
)) goto fail
;
8261 arg1
= wxString_in_helper(obj0
);
8262 if (arg1
== NULL
) SWIG_fail
;
8267 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8271 if (!wxPyCheckForApp()) SWIG_fail
;
8272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8273 result
= (wxHtmlEasyPrinting
*)new wxHtmlEasyPrinting((wxString
const &)*arg1
,arg2
);
8275 wxPyEndAllowThreads(__tstate
);
8276 if (PyErr_Occurred()) SWIG_fail
;
8278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlEasyPrinting
, 1);
8293 static PyObject
*_wrap_delete_HtmlEasyPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8294 PyObject
*resultobj
;
8295 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
8296 PyObject
* obj0
= 0 ;
8298 (char *) "self", NULL
8301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlEasyPrinting",kwnames
,&obj0
)) goto fail
;
8302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlEasyPrinting
,
8303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8308 wxPyEndAllowThreads(__tstate
);
8309 if (PyErr_Occurred()) SWIG_fail
;
8311 Py_INCREF(Py_None
); resultobj
= Py_None
;
8318 static PyObject
*_wrap_HtmlEasyPrinting_PreviewFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8319 PyObject
*resultobj
;
8320 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
8321 wxString
*arg2
= 0 ;
8322 bool temp2
= False
;
8323 PyObject
* obj0
= 0 ;
8324 PyObject
* obj1
= 0 ;
8326 (char *) "self",(char *) "htmlfile", NULL
8329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlEasyPrinting
,
8331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8333 arg2
= wxString_in_helper(obj1
);
8334 if (arg2
== NULL
) SWIG_fail
;
8338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8339 (arg1
)->PreviewFile((wxString
const &)*arg2
);
8341 wxPyEndAllowThreads(__tstate
);
8342 if (PyErr_Occurred()) SWIG_fail
;
8344 Py_INCREF(Py_None
); resultobj
= Py_None
;
8359 static PyObject
*_wrap_HtmlEasyPrinting_PreviewText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8360 PyObject
*resultobj
;
8361 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
8362 wxString
*arg2
= 0 ;
8363 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8364 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8365 bool temp2
= False
;
8366 bool temp3
= False
;
8367 PyObject
* obj0
= 0 ;
8368 PyObject
* obj1
= 0 ;
8369 PyObject
* obj2
= 0 ;
8371 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
8374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlEasyPrinting
,
8376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8378 arg2
= wxString_in_helper(obj1
);
8379 if (arg2
== NULL
) SWIG_fail
;
8384 arg3
= wxString_in_helper(obj2
);
8385 if (arg3
== NULL
) SWIG_fail
;
8390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8391 (arg1
)->PreviewText((wxString
const &)*arg2
,(wxString
const &)*arg3
);
8393 wxPyEndAllowThreads(__tstate
);
8394 if (PyErr_Occurred()) SWIG_fail
;
8396 Py_INCREF(Py_None
); resultobj
= Py_None
;
8419 static PyObject
*_wrap_HtmlEasyPrinting_PrintFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8420 PyObject
*resultobj
;
8421 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
8422 wxString
*arg2
= 0 ;
8423 bool temp2
= False
;
8424 PyObject
* obj0
= 0 ;
8425 PyObject
* obj1
= 0 ;
8427 (char *) "self",(char *) "htmlfile", NULL
8430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlEasyPrinting
,
8432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8434 arg2
= wxString_in_helper(obj1
);
8435 if (arg2
== NULL
) SWIG_fail
;
8439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8440 (arg1
)->PrintFile((wxString
const &)*arg2
);
8442 wxPyEndAllowThreads(__tstate
);
8443 if (PyErr_Occurred()) SWIG_fail
;
8445 Py_INCREF(Py_None
); resultobj
= Py_None
;
8460 static PyObject
*_wrap_HtmlEasyPrinting_PrintText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8461 PyObject
*resultobj
;
8462 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
8463 wxString
*arg2
= 0 ;
8464 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8465 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8466 bool temp2
= False
;
8467 bool temp3
= False
;
8468 PyObject
* obj0
= 0 ;
8469 PyObject
* obj1
= 0 ;
8470 PyObject
* obj2
= 0 ;
8472 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
8475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlEasyPrinting
,
8477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8479 arg2
= wxString_in_helper(obj1
);
8480 if (arg2
== NULL
) SWIG_fail
;
8485 arg3
= wxString_in_helper(obj2
);
8486 if (arg3
== NULL
) SWIG_fail
;
8491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8492 (arg1
)->PrintText((wxString
const &)*arg2
,(wxString
const &)*arg3
);
8494 wxPyEndAllowThreads(__tstate
);
8495 if (PyErr_Occurred()) SWIG_fail
;
8497 Py_INCREF(Py_None
); resultobj
= Py_None
;
8520 static PyObject
*_wrap_HtmlEasyPrinting_PrinterSetup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8521 PyObject
*resultobj
;
8522 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
8523 PyObject
* obj0
= 0 ;
8525 (char *) "self", NULL
8528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlEasyPrinting_PrinterSetup",kwnames
,&obj0
)) goto fail
;
8529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlEasyPrinting
,
8530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8533 (arg1
)->PrinterSetup();
8535 wxPyEndAllowThreads(__tstate
);
8536 if (PyErr_Occurred()) SWIG_fail
;
8538 Py_INCREF(Py_None
); resultobj
= Py_None
;
8545 static PyObject
*_wrap_HtmlEasyPrinting_PageSetup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8546 PyObject
*resultobj
;
8547 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
8548 PyObject
* obj0
= 0 ;
8550 (char *) "self", NULL
8553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlEasyPrinting_PageSetup",kwnames
,&obj0
)) goto fail
;
8554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlEasyPrinting
,
8555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8558 (arg1
)->PageSetup();
8560 wxPyEndAllowThreads(__tstate
);
8561 if (PyErr_Occurred()) SWIG_fail
;
8563 Py_INCREF(Py_None
); resultobj
= Py_None
;
8570 static PyObject
*_wrap_HtmlEasyPrinting_SetHeader(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8571 PyObject
*resultobj
;
8572 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
8573 wxString
*arg2
= 0 ;
8574 int arg3
= (int) wxPAGE_ALL
;
8575 bool temp2
= False
;
8576 PyObject
* obj0
= 0 ;
8577 PyObject
* obj1
= 0 ;
8578 PyObject
* obj2
= 0 ;
8580 (char *) "self",(char *) "header",(char *) "pg", NULL
8583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlEasyPrinting
,
8585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8587 arg2
= wxString_in_helper(obj1
);
8588 if (arg2
== NULL
) SWIG_fail
;
8592 arg3
= (int)SWIG_As_int(obj2
);
8593 if (PyErr_Occurred()) SWIG_fail
;
8596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8597 (arg1
)->SetHeader((wxString
const &)*arg2
,arg3
);
8599 wxPyEndAllowThreads(__tstate
);
8600 if (PyErr_Occurred()) SWIG_fail
;
8602 Py_INCREF(Py_None
); resultobj
= Py_None
;
8617 static PyObject
*_wrap_HtmlEasyPrinting_SetFooter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8618 PyObject
*resultobj
;
8619 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
8620 wxString
*arg2
= 0 ;
8621 int arg3
= (int) wxPAGE_ALL
;
8622 bool temp2
= False
;
8623 PyObject
* obj0
= 0 ;
8624 PyObject
* obj1
= 0 ;
8625 PyObject
* obj2
= 0 ;
8627 (char *) "self",(char *) "footer",(char *) "pg", NULL
8630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlEasyPrinting
,
8632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8634 arg2
= wxString_in_helper(obj1
);
8635 if (arg2
== NULL
) SWIG_fail
;
8639 arg3
= (int)SWIG_As_int(obj2
);
8640 if (PyErr_Occurred()) SWIG_fail
;
8643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8644 (arg1
)->SetFooter((wxString
const &)*arg2
,arg3
);
8646 wxPyEndAllowThreads(__tstate
);
8647 if (PyErr_Occurred()) SWIG_fail
;
8649 Py_INCREF(Py_None
); resultobj
= Py_None
;
8664 static PyObject
*_wrap_HtmlEasyPrinting_SetFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8665 PyObject
*resultobj
;
8666 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
8669 PyObject
*arg4
= (PyObject
*) NULL
;
8670 PyObject
* obj0
= 0 ;
8671 PyObject
* obj1
= 0 ;
8672 PyObject
* obj2
= 0 ;
8673 PyObject
* obj3
= 0 ;
8675 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
8678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlEasyPrinting
,
8680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8682 wxString
* sptr
= wxString_in_helper(obj1
);
8683 if (sptr
== NULL
) SWIG_fail
;
8688 wxString
* sptr
= wxString_in_helper(obj2
);
8689 if (sptr
== NULL
) SWIG_fail
;
8697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8698 wxHtmlEasyPrinting_SetFonts(arg1
,arg2
,arg3
,arg4
);
8700 wxPyEndAllowThreads(__tstate
);
8701 if (PyErr_Occurred()) SWIG_fail
;
8703 Py_INCREF(Py_None
); resultobj
= Py_None
;
8710 static PyObject
*_wrap_HtmlEasyPrinting_NormalizeFontSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8711 PyObject
*resultobj
;
8712 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
8713 int arg2
= (int) -1 ;
8714 PyObject
* obj0
= 0 ;
8715 PyObject
* obj1
= 0 ;
8717 (char *) "self",(char *) "size", NULL
8720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HtmlEasyPrinting_NormalizeFontSizes",kwnames
,&obj0
,&obj1
)) goto fail
;
8721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlEasyPrinting
,
8722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8724 arg2
= (int)SWIG_As_int(obj1
);
8725 if (PyErr_Occurred()) SWIG_fail
;
8728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8729 (arg1
)->NormalizeFontSizes(arg2
);
8731 wxPyEndAllowThreads(__tstate
);
8732 if (PyErr_Occurred()) SWIG_fail
;
8734 Py_INCREF(Py_None
); resultobj
= Py_None
;
8741 static PyObject
*_wrap_HtmlEasyPrinting_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8742 PyObject
*resultobj
;
8743 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
8744 wxPrintData
*result
;
8745 PyObject
* obj0
= 0 ;
8747 (char *) "self", NULL
8750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlEasyPrinting_GetPrintData",kwnames
,&obj0
)) goto fail
;
8751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlEasyPrinting
,
8752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8755 result
= (wxPrintData
*)(arg1
)->GetPrintData();
8757 wxPyEndAllowThreads(__tstate
);
8758 if (PyErr_Occurred()) SWIG_fail
;
8760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
8767 static PyObject
*_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8768 PyObject
*resultobj
;
8769 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
8770 wxPageSetupDialogData
*result
;
8771 PyObject
* obj0
= 0 ;
8773 (char *) "self", NULL
8776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlEasyPrinting_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
8777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlEasyPrinting
,
8778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8781 result
= (wxPageSetupDialogData
*)(arg1
)->GetPageSetupData();
8783 wxPyEndAllowThreads(__tstate
);
8784 if (PyErr_Occurred()) SWIG_fail
;
8786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
8793 static PyObject
* HtmlEasyPrinting_swigregister(PyObject
*, PyObject
*args
) {
8795 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8796 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlEasyPrinting
, obj
);
8798 return Py_BuildValue((char *)"");
8800 static PyObject
*_wrap_new_HtmlBookRecord(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8801 PyObject
*resultobj
;
8802 wxString
*arg1
= 0 ;
8803 wxString
*arg2
= 0 ;
8804 wxString
*arg3
= 0 ;
8805 wxString
*arg4
= 0 ;
8806 wxHtmlBookRecord
*result
;
8807 bool temp1
= False
;
8808 bool temp2
= False
;
8809 bool temp3
= False
;
8810 bool temp4
= False
;
8811 PyObject
* obj0
= 0 ;
8812 PyObject
* obj1
= 0 ;
8813 PyObject
* obj2
= 0 ;
8814 PyObject
* obj3
= 0 ;
8816 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
8819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_HtmlBookRecord",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8821 arg1
= wxString_in_helper(obj0
);
8822 if (arg1
== NULL
) SWIG_fail
;
8826 arg2
= wxString_in_helper(obj1
);
8827 if (arg2
== NULL
) SWIG_fail
;
8831 arg3
= wxString_in_helper(obj2
);
8832 if (arg3
== NULL
) SWIG_fail
;
8836 arg4
= wxString_in_helper(obj3
);
8837 if (arg4
== NULL
) SWIG_fail
;
8841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8842 result
= (wxHtmlBookRecord
*)new wxHtmlBookRecord((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
8844 wxPyEndAllowThreads(__tstate
);
8845 if (PyErr_Occurred()) SWIG_fail
;
8847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlBookRecord
, 1);
8886 static PyObject
*_wrap_HtmlBookRecord_GetBookFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8887 PyObject
*resultobj
;
8888 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
8890 PyObject
* obj0
= 0 ;
8892 (char *) "self", NULL
8895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetBookFile",kwnames
,&obj0
)) goto fail
;
8896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlBookRecord
,
8897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8900 result
= (arg1
)->GetBookFile();
8902 wxPyEndAllowThreads(__tstate
);
8903 if (PyErr_Occurred()) SWIG_fail
;
8907 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8909 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8918 static PyObject
*_wrap_HtmlBookRecord_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8919 PyObject
*resultobj
;
8920 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
8922 PyObject
* obj0
= 0 ;
8924 (char *) "self", NULL
8927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetTitle",kwnames
,&obj0
)) goto fail
;
8928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlBookRecord
,
8929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8932 result
= (arg1
)->GetTitle();
8934 wxPyEndAllowThreads(__tstate
);
8935 if (PyErr_Occurred()) SWIG_fail
;
8939 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8941 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8950 static PyObject
*_wrap_HtmlBookRecord_GetStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8951 PyObject
*resultobj
;
8952 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
8954 PyObject
* obj0
= 0 ;
8956 (char *) "self", NULL
8959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetStart",kwnames
,&obj0
)) goto fail
;
8960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlBookRecord
,
8961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8964 result
= (arg1
)->GetStart();
8966 wxPyEndAllowThreads(__tstate
);
8967 if (PyErr_Occurred()) SWIG_fail
;
8971 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8973 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8982 static PyObject
*_wrap_HtmlBookRecord_GetBasePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8983 PyObject
*resultobj
;
8984 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
8986 PyObject
* obj0
= 0 ;
8988 (char *) "self", NULL
8991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetBasePath",kwnames
,&obj0
)) goto fail
;
8992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlBookRecord
,
8993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8996 result
= (arg1
)->GetBasePath();
8998 wxPyEndAllowThreads(__tstate
);
8999 if (PyErr_Occurred()) SWIG_fail
;
9003 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9005 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9014 static PyObject
*_wrap_HtmlBookRecord_SetContentsRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9015 PyObject
*resultobj
;
9016 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
9019 PyObject
* obj0
= 0 ;
9020 PyObject
* obj1
= 0 ;
9021 PyObject
* obj2
= 0 ;
9023 (char *) "self",(char *) "start",(char *) "end", NULL
9026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlBookRecord
,
9028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9029 arg2
= (int)SWIG_As_int(obj1
);
9030 if (PyErr_Occurred()) SWIG_fail
;
9031 arg3
= (int)SWIG_As_int(obj2
);
9032 if (PyErr_Occurred()) SWIG_fail
;
9034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9035 (arg1
)->SetContentsRange(arg2
,arg3
);
9037 wxPyEndAllowThreads(__tstate
);
9038 if (PyErr_Occurred()) SWIG_fail
;
9040 Py_INCREF(Py_None
); resultobj
= Py_None
;
9047 static PyObject
*_wrap_HtmlBookRecord_GetContentsStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9048 PyObject
*resultobj
;
9049 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
9051 PyObject
* obj0
= 0 ;
9053 (char *) "self", NULL
9056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetContentsStart",kwnames
,&obj0
)) goto fail
;
9057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlBookRecord
,
9058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9061 result
= (int)(arg1
)->GetContentsStart();
9063 wxPyEndAllowThreads(__tstate
);
9064 if (PyErr_Occurred()) SWIG_fail
;
9066 resultobj
= SWIG_From_int((int)result
);
9073 static PyObject
*_wrap_HtmlBookRecord_GetContentsEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9074 PyObject
*resultobj
;
9075 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
9077 PyObject
* obj0
= 0 ;
9079 (char *) "self", NULL
9082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetContentsEnd",kwnames
,&obj0
)) goto fail
;
9083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlBookRecord
,
9084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9087 result
= (int)(arg1
)->GetContentsEnd();
9089 wxPyEndAllowThreads(__tstate
);
9090 if (PyErr_Occurred()) SWIG_fail
;
9092 resultobj
= SWIG_From_int((int)result
);
9099 static PyObject
*_wrap_HtmlBookRecord_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9100 PyObject
*resultobj
;
9101 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
9102 wxString
*arg2
= 0 ;
9103 bool temp2
= False
;
9104 PyObject
* obj0
= 0 ;
9105 PyObject
* obj1
= 0 ;
9107 (char *) "self",(char *) "title", NULL
9110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
9111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlBookRecord
,
9112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9114 arg2
= wxString_in_helper(obj1
);
9115 if (arg2
== NULL
) SWIG_fail
;
9119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9120 (arg1
)->SetTitle((wxString
const &)*arg2
);
9122 wxPyEndAllowThreads(__tstate
);
9123 if (PyErr_Occurred()) SWIG_fail
;
9125 Py_INCREF(Py_None
); resultobj
= Py_None
;
9140 static PyObject
*_wrap_HtmlBookRecord_SetBasePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9141 PyObject
*resultobj
;
9142 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
9143 wxString
*arg2
= 0 ;
9144 bool temp2
= False
;
9145 PyObject
* obj0
= 0 ;
9146 PyObject
* obj1
= 0 ;
9148 (char *) "self",(char *) "path", NULL
9151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames
,&obj0
,&obj1
)) goto fail
;
9152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlBookRecord
,
9153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9155 arg2
= wxString_in_helper(obj1
);
9156 if (arg2
== NULL
) SWIG_fail
;
9160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9161 (arg1
)->SetBasePath((wxString
const &)*arg2
);
9163 wxPyEndAllowThreads(__tstate
);
9164 if (PyErr_Occurred()) SWIG_fail
;
9166 Py_INCREF(Py_None
); resultobj
= Py_None
;
9181 static PyObject
*_wrap_HtmlBookRecord_SetStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9182 PyObject
*resultobj
;
9183 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
9184 wxString
*arg2
= 0 ;
9185 bool temp2
= False
;
9186 PyObject
* obj0
= 0 ;
9187 PyObject
* obj1
= 0 ;
9189 (char *) "self",(char *) "start", NULL
9192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetStart",kwnames
,&obj0
,&obj1
)) goto fail
;
9193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlBookRecord
,
9194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9196 arg2
= wxString_in_helper(obj1
);
9197 if (arg2
== NULL
) SWIG_fail
;
9201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9202 (arg1
)->SetStart((wxString
const &)*arg2
);
9204 wxPyEndAllowThreads(__tstate
);
9205 if (PyErr_Occurred()) SWIG_fail
;
9207 Py_INCREF(Py_None
); resultobj
= Py_None
;
9222 static PyObject
*_wrap_HtmlBookRecord_GetFullPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9223 PyObject
*resultobj
;
9224 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
9225 wxString
*arg2
= 0 ;
9227 bool temp2
= False
;
9228 PyObject
* obj0
= 0 ;
9229 PyObject
* obj1
= 0 ;
9231 (char *) "self",(char *) "page", NULL
9234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames
,&obj0
,&obj1
)) goto fail
;
9235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlBookRecord
,
9236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9238 arg2
= wxString_in_helper(obj1
);
9239 if (arg2
== NULL
) SWIG_fail
;
9243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9244 result
= ((wxHtmlBookRecord
const *)arg1
)->GetFullPath((wxString
const &)*arg2
);
9246 wxPyEndAllowThreads(__tstate
);
9247 if (PyErr_Occurred()) SWIG_fail
;
9251 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9253 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9270 static PyObject
* HtmlBookRecord_swigregister(PyObject
*, PyObject
*args
) {
9272 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9273 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlBookRecord
, obj
);
9275 return Py_BuildValue((char *)"");
9277 static PyObject
*_wrap_HtmlContentsItem_GetLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9278 PyObject
*resultobj
;
9279 wxHtmlContentsItem
*arg1
= (wxHtmlContentsItem
*) 0 ;
9281 PyObject
* obj0
= 0 ;
9283 (char *) "self", NULL
9286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContentsItem_GetLevel",kwnames
,&obj0
)) goto fail
;
9287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContentsItem
,
9288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9291 result
= (int)wxHtmlContentsItem_GetLevel(arg1
);
9293 wxPyEndAllowThreads(__tstate
);
9294 if (PyErr_Occurred()) SWIG_fail
;
9296 resultobj
= SWIG_From_int((int)result
);
9303 static PyObject
*_wrap_HtmlContentsItem_GetID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9304 PyObject
*resultobj
;
9305 wxHtmlContentsItem
*arg1
= (wxHtmlContentsItem
*) 0 ;
9307 PyObject
* obj0
= 0 ;
9309 (char *) "self", NULL
9312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContentsItem_GetID",kwnames
,&obj0
)) goto fail
;
9313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContentsItem
,
9314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9317 result
= (int)wxHtmlContentsItem_GetID(arg1
);
9319 wxPyEndAllowThreads(__tstate
);
9320 if (PyErr_Occurred()) SWIG_fail
;
9322 resultobj
= SWIG_From_int((int)result
);
9329 static PyObject
*_wrap_HtmlContentsItem_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9330 PyObject
*resultobj
;
9331 wxHtmlContentsItem
*arg1
= (wxHtmlContentsItem
*) 0 ;
9333 PyObject
* obj0
= 0 ;
9335 (char *) "self", NULL
9338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContentsItem_GetName",kwnames
,&obj0
)) goto fail
;
9339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContentsItem
,
9340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9343 result
= wxHtmlContentsItem_GetName(arg1
);
9345 wxPyEndAllowThreads(__tstate
);
9346 if (PyErr_Occurred()) SWIG_fail
;
9350 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9352 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9361 static PyObject
*_wrap_HtmlContentsItem_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9362 PyObject
*resultobj
;
9363 wxHtmlContentsItem
*arg1
= (wxHtmlContentsItem
*) 0 ;
9365 PyObject
* obj0
= 0 ;
9367 (char *) "self", NULL
9370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContentsItem_GetPage",kwnames
,&obj0
)) goto fail
;
9371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContentsItem
,
9372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9375 result
= wxHtmlContentsItem_GetPage(arg1
);
9377 wxPyEndAllowThreads(__tstate
);
9378 if (PyErr_Occurred()) SWIG_fail
;
9382 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9384 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9393 static PyObject
*_wrap_HtmlContentsItem_GetBook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9394 PyObject
*resultobj
;
9395 wxHtmlContentsItem
*arg1
= (wxHtmlContentsItem
*) 0 ;
9396 wxHtmlBookRecord
*result
;
9397 PyObject
* obj0
= 0 ;
9399 (char *) "self", NULL
9402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContentsItem_GetBook",kwnames
,&obj0
)) goto fail
;
9403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContentsItem
,
9404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9407 result
= (wxHtmlBookRecord
*)wxHtmlContentsItem_GetBook(arg1
);
9409 wxPyEndAllowThreads(__tstate
);
9410 if (PyErr_Occurred()) SWIG_fail
;
9412 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlBookRecord
, 0);
9419 static PyObject
* HtmlContentsItem_swigregister(PyObject
*, PyObject
*args
) {
9421 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9422 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContentsItem
, obj
);
9424 return Py_BuildValue((char *)"");
9426 static PyObject
*_wrap_HtmlSearchStatus_Search(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9427 PyObject
*resultobj
;
9428 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
9430 PyObject
* obj0
= 0 ;
9432 (char *) "self", NULL
9435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_Search",kwnames
,&obj0
)) goto fail
;
9436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSearchStatus
,
9437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9440 result
= (bool)(arg1
)->Search();
9442 wxPyEndAllowThreads(__tstate
);
9443 if (PyErr_Occurred()) SWIG_fail
;
9446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9454 static PyObject
*_wrap_HtmlSearchStatus_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9455 PyObject
*resultobj
;
9456 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
9458 PyObject
* obj0
= 0 ;
9460 (char *) "self", NULL
9463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_IsActive",kwnames
,&obj0
)) goto fail
;
9464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSearchStatus
,
9465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9468 result
= (bool)(arg1
)->IsActive();
9470 wxPyEndAllowThreads(__tstate
);
9471 if (PyErr_Occurred()) SWIG_fail
;
9474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9482 static PyObject
*_wrap_HtmlSearchStatus_GetCurIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9483 PyObject
*resultobj
;
9484 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
9486 PyObject
* obj0
= 0 ;
9488 (char *) "self", NULL
9491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_GetCurIndex",kwnames
,&obj0
)) goto fail
;
9492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSearchStatus
,
9493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9496 result
= (int)(arg1
)->GetCurIndex();
9498 wxPyEndAllowThreads(__tstate
);
9499 if (PyErr_Occurred()) SWIG_fail
;
9501 resultobj
= SWIG_From_int((int)result
);
9508 static PyObject
*_wrap_HtmlSearchStatus_GetMaxIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9509 PyObject
*resultobj
;
9510 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
9512 PyObject
* obj0
= 0 ;
9514 (char *) "self", NULL
9517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_GetMaxIndex",kwnames
,&obj0
)) goto fail
;
9518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSearchStatus
,
9519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9522 result
= (int)(arg1
)->GetMaxIndex();
9524 wxPyEndAllowThreads(__tstate
);
9525 if (PyErr_Occurred()) SWIG_fail
;
9527 resultobj
= SWIG_From_int((int)result
);
9534 static PyObject
*_wrap_HtmlSearchStatus_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9535 PyObject
*resultobj
;
9536 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
9538 PyObject
* obj0
= 0 ;
9540 (char *) "self", NULL
9543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_GetName",kwnames
,&obj0
)) goto fail
;
9544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSearchStatus
,
9545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9549 wxString
const &_result_ref
= (arg1
)->GetName();
9550 result
= (wxString
*) &_result_ref
;
9553 wxPyEndAllowThreads(__tstate
);
9554 if (PyErr_Occurred()) SWIG_fail
;
9558 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9560 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9569 static PyObject
*_wrap_HtmlSearchStatus_GetContentsItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9570 PyObject
*resultobj
;
9571 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
9572 wxHtmlContentsItem
*result
;
9573 PyObject
* obj0
= 0 ;
9575 (char *) "self", NULL
9578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_GetContentsItem",kwnames
,&obj0
)) goto fail
;
9579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSearchStatus
,
9580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9583 result
= (wxHtmlContentsItem
*)(arg1
)->GetContentsItem();
9585 wxPyEndAllowThreads(__tstate
);
9586 if (PyErr_Occurred()) SWIG_fail
;
9588 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContentsItem
, 0);
9595 static PyObject
* HtmlSearchStatus_swigregister(PyObject
*, PyObject
*args
) {
9597 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9598 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSearchStatus
, obj
);
9600 return Py_BuildValue((char *)"");
9602 static PyObject
*_wrap_new_HtmlHelpData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9603 PyObject
*resultobj
;
9604 wxHtmlHelpData
*result
;
9609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlHelpData",kwnames
)) goto fail
;
9611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9612 result
= (wxHtmlHelpData
*)new wxHtmlHelpData();
9614 wxPyEndAllowThreads(__tstate
);
9615 if (PyErr_Occurred()) SWIG_fail
;
9617 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpData
, 1);
9624 static PyObject
*_wrap_delete_HtmlHelpData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9625 PyObject
*resultobj
;
9626 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
9627 PyObject
* obj0
= 0 ;
9629 (char *) "self", NULL
9632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlHelpData",kwnames
,&obj0
)) goto fail
;
9633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpData
,
9634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9639 wxPyEndAllowThreads(__tstate
);
9640 if (PyErr_Occurred()) SWIG_fail
;
9642 Py_INCREF(Py_None
); resultobj
= Py_None
;
9649 static PyObject
*_wrap_HtmlHelpData_SetTempDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9650 PyObject
*resultobj
;
9651 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
9652 wxString
*arg2
= 0 ;
9653 bool temp2
= False
;
9654 PyObject
* obj0
= 0 ;
9655 PyObject
* obj1
= 0 ;
9657 (char *) "self",(char *) "path", NULL
9660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_SetTempDir",kwnames
,&obj0
,&obj1
)) goto fail
;
9661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpData
,
9662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9664 arg2
= wxString_in_helper(obj1
);
9665 if (arg2
== NULL
) SWIG_fail
;
9669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9670 (arg1
)->SetTempDir((wxString
const &)*arg2
);
9672 wxPyEndAllowThreads(__tstate
);
9673 if (PyErr_Occurred()) SWIG_fail
;
9675 Py_INCREF(Py_None
); resultobj
= Py_None
;
9690 static PyObject
*_wrap_HtmlHelpData_AddBook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9691 PyObject
*resultobj
;
9692 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
9693 wxString
*arg2
= 0 ;
9695 bool temp2
= False
;
9696 PyObject
* obj0
= 0 ;
9697 PyObject
* obj1
= 0 ;
9699 (char *) "self",(char *) "book", NULL
9702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_AddBook",kwnames
,&obj0
,&obj1
)) goto fail
;
9703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpData
,
9704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9706 arg2
= wxString_in_helper(obj1
);
9707 if (arg2
== NULL
) SWIG_fail
;
9711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9712 result
= (bool)(arg1
)->AddBook((wxString
const &)*arg2
);
9714 wxPyEndAllowThreads(__tstate
);
9715 if (PyErr_Occurred()) SWIG_fail
;
9718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9734 static PyObject
*_wrap_HtmlHelpData_FindPageByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9735 PyObject
*resultobj
;
9736 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
9737 wxString
*arg2
= 0 ;
9739 bool temp2
= False
;
9740 PyObject
* obj0
= 0 ;
9741 PyObject
* obj1
= 0 ;
9743 (char *) "self",(char *) "page", NULL
9746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_FindPageByName",kwnames
,&obj0
,&obj1
)) goto fail
;
9747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpData
,
9748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9750 arg2
= wxString_in_helper(obj1
);
9751 if (arg2
== NULL
) SWIG_fail
;
9755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9756 result
= (arg1
)->FindPageByName((wxString
const &)*arg2
);
9758 wxPyEndAllowThreads(__tstate
);
9759 if (PyErr_Occurred()) SWIG_fail
;
9763 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9765 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9782 static PyObject
*_wrap_HtmlHelpData_FindPageById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9783 PyObject
*resultobj
;
9784 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
9787 PyObject
* obj0
= 0 ;
9788 PyObject
* obj1
= 0 ;
9790 (char *) "self",(char *) "id", NULL
9793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_FindPageById",kwnames
,&obj0
,&obj1
)) goto fail
;
9794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpData
,
9795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9796 arg2
= (int)SWIG_As_int(obj1
);
9797 if (PyErr_Occurred()) SWIG_fail
;
9799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9800 result
= (arg1
)->FindPageById(arg2
);
9802 wxPyEndAllowThreads(__tstate
);
9803 if (PyErr_Occurred()) SWIG_fail
;
9807 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9809 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9818 static PyObject
*_wrap_HtmlHelpData_GetBookRecArray(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9819 PyObject
*resultobj
;
9820 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
9821 wxHtmlBookRecArray
*result
;
9822 PyObject
* obj0
= 0 ;
9824 (char *) "self", NULL
9827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpData_GetBookRecArray",kwnames
,&obj0
)) goto fail
;
9828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpData
,
9829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9833 wxHtmlBookRecArray
const &_result_ref
= (arg1
)->GetBookRecArray();
9834 result
= (wxHtmlBookRecArray
*) &_result_ref
;
9837 wxPyEndAllowThreads(__tstate
);
9838 if (PyErr_Occurred()) SWIG_fail
;
9840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlBookRecArray
, 0);
9847 static PyObject
*_wrap_HtmlHelpData_GetContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9848 PyObject
*resultobj
;
9849 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
9850 wxHtmlContentsItem
*result
;
9851 PyObject
* obj0
= 0 ;
9853 (char *) "self", NULL
9856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpData_GetContents",kwnames
,&obj0
)) goto fail
;
9857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpData
,
9858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9861 result
= (wxHtmlContentsItem
*)(arg1
)->GetContents();
9863 wxPyEndAllowThreads(__tstate
);
9864 if (PyErr_Occurred()) SWIG_fail
;
9866 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContentsItem
, 0);
9873 static PyObject
*_wrap_HtmlHelpData_GetContentsCnt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9874 PyObject
*resultobj
;
9875 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
9877 PyObject
* obj0
= 0 ;
9879 (char *) "self", NULL
9882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpData_GetContentsCnt",kwnames
,&obj0
)) goto fail
;
9883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpData
,
9884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9887 result
= (int)(arg1
)->GetContentsCnt();
9889 wxPyEndAllowThreads(__tstate
);
9890 if (PyErr_Occurred()) SWIG_fail
;
9892 resultobj
= SWIG_From_int((int)result
);
9899 static PyObject
*_wrap_HtmlHelpData_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9900 PyObject
*resultobj
;
9901 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
9902 wxHtmlContentsItem
*result
;
9903 PyObject
* obj0
= 0 ;
9905 (char *) "self", NULL
9908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpData_GetIndex",kwnames
,&obj0
)) goto fail
;
9909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpData
,
9910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9913 result
= (wxHtmlContentsItem
*)(arg1
)->GetIndex();
9915 wxPyEndAllowThreads(__tstate
);
9916 if (PyErr_Occurred()) SWIG_fail
;
9918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContentsItem
, 0);
9925 static PyObject
*_wrap_HtmlHelpData_GetIndexCnt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9926 PyObject
*resultobj
;
9927 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
9929 PyObject
* obj0
= 0 ;
9931 (char *) "self", NULL
9934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpData_GetIndexCnt",kwnames
,&obj0
)) goto fail
;
9935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpData
,
9936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9939 result
= (int)(arg1
)->GetIndexCnt();
9941 wxPyEndAllowThreads(__tstate
);
9942 if (PyErr_Occurred()) SWIG_fail
;
9944 resultobj
= SWIG_From_int((int)result
);
9951 static PyObject
* HtmlHelpData_swigregister(PyObject
*, PyObject
*args
) {
9953 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9954 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpData
, obj
);
9956 return Py_BuildValue((char *)"");
9958 static PyObject
*_wrap_new_HtmlHelpFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9959 PyObject
*resultobj
;
9960 wxWindow
*arg1
= (wxWindow
*) 0 ;
9962 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9963 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9964 int arg4
= (int) wxHF_DEFAULTSTYLE
;
9965 wxHtmlHelpData
*arg5
= (wxHtmlHelpData
*) NULL
;
9966 wxHtmlHelpFrame
*result
;
9967 bool temp3
= False
;
9968 PyObject
* obj0
= 0 ;
9969 PyObject
* obj1
= 0 ;
9970 PyObject
* obj2
= 0 ;
9971 PyObject
* obj3
= 0 ;
9972 PyObject
* obj4
= 0 ;
9974 (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL
9977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9980 arg2
= (int)SWIG_As_int(obj1
);
9981 if (PyErr_Occurred()) SWIG_fail
;
9984 arg3
= wxString_in_helper(obj2
);
9985 if (arg3
== NULL
) SWIG_fail
;
9990 arg4
= (int)SWIG_As_int(obj3
);
9991 if (PyErr_Occurred()) SWIG_fail
;
9994 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxHtmlHelpData
,
9995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9998 if (!wxPyCheckForApp()) SWIG_fail
;
9999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10000 result
= (wxHtmlHelpFrame
*)new wxHtmlHelpFrame(arg1
,arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
10002 wxPyEndAllowThreads(__tstate
);
10003 if (PyErr_Occurred()) SWIG_fail
;
10005 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpFrame
, 1);
10020 static PyObject
*_wrap_HtmlHelpFrame_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10021 PyObject
*resultobj
;
10022 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
10023 wxHtmlHelpData
*result
;
10024 PyObject
* obj0
= 0 ;
10025 char *kwnames
[] = {
10026 (char *) "self", NULL
10029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpFrame_GetData",kwnames
,&obj0
)) goto fail
;
10030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpFrame
,
10031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10034 result
= (wxHtmlHelpData
*)(arg1
)->GetData();
10036 wxPyEndAllowThreads(__tstate
);
10037 if (PyErr_Occurred()) SWIG_fail
;
10039 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpData
, 0);
10046 static PyObject
*_wrap_HtmlHelpFrame_SetTitleFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10047 PyObject
*resultobj
;
10048 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
10049 wxString
*arg2
= 0 ;
10050 bool temp2
= False
;
10051 PyObject
* obj0
= 0 ;
10052 PyObject
* obj1
= 0 ;
10053 char *kwnames
[] = {
10054 (char *) "self",(char *) "format", NULL
10057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
10058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpFrame
,
10059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10061 arg2
= wxString_in_helper(obj1
);
10062 if (arg2
== NULL
) SWIG_fail
;
10066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10067 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
10069 wxPyEndAllowThreads(__tstate
);
10070 if (PyErr_Occurred()) SWIG_fail
;
10072 Py_INCREF(Py_None
); resultobj
= Py_None
;
10087 static PyObject
*_wrap_HtmlHelpFrame_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10088 PyObject
*resultobj
;
10089 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
10090 wxString
*arg2
= 0 ;
10091 bool temp2
= False
;
10092 PyObject
* obj0
= 0 ;
10093 PyObject
* obj1
= 0 ;
10094 char *kwnames
[] = {
10095 (char *) "self",(char *) "x", NULL
10098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_Display",kwnames
,&obj0
,&obj1
)) goto fail
;
10099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpFrame
,
10100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10102 arg2
= wxString_in_helper(obj1
);
10103 if (arg2
== NULL
) SWIG_fail
;
10107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10108 (arg1
)->Display((wxString
const &)*arg2
);
10110 wxPyEndAllowThreads(__tstate
);
10111 if (PyErr_Occurred()) SWIG_fail
;
10113 Py_INCREF(Py_None
); resultobj
= Py_None
;
10128 static PyObject
*_wrap_HtmlHelpFrame_DisplayID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10129 PyObject
*resultobj
;
10130 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
10132 PyObject
* obj0
= 0 ;
10133 PyObject
* obj1
= 0 ;
10134 char *kwnames
[] = {
10135 (char *) "self",(char *) "id", NULL
10138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_DisplayID",kwnames
,&obj0
,&obj1
)) goto fail
;
10139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpFrame
,
10140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10141 arg2
= (int)SWIG_As_int(obj1
);
10142 if (PyErr_Occurred()) SWIG_fail
;
10144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10145 (arg1
)->Display(arg2
);
10147 wxPyEndAllowThreads(__tstate
);
10148 if (PyErr_Occurred()) SWIG_fail
;
10150 Py_INCREF(Py_None
); resultobj
= Py_None
;
10157 static PyObject
*_wrap_HtmlHelpFrame_DisplayContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10158 PyObject
*resultobj
;
10159 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
10160 PyObject
* obj0
= 0 ;
10161 char *kwnames
[] = {
10162 (char *) "self", NULL
10165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpFrame_DisplayContents",kwnames
,&obj0
)) goto fail
;
10166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpFrame
,
10167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10170 (arg1
)->DisplayContents();
10172 wxPyEndAllowThreads(__tstate
);
10173 if (PyErr_Occurred()) SWIG_fail
;
10175 Py_INCREF(Py_None
); resultobj
= Py_None
;
10182 static PyObject
*_wrap_HtmlHelpFrame_DisplayIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10183 PyObject
*resultobj
;
10184 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
10185 PyObject
* obj0
= 0 ;
10186 char *kwnames
[] = {
10187 (char *) "self", NULL
10190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpFrame_DisplayIndex",kwnames
,&obj0
)) goto fail
;
10191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpFrame
,
10192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10195 (arg1
)->DisplayIndex();
10197 wxPyEndAllowThreads(__tstate
);
10198 if (PyErr_Occurred()) SWIG_fail
;
10200 Py_INCREF(Py_None
); resultobj
= Py_None
;
10207 static PyObject
*_wrap_HtmlHelpFrame_KeywordSearch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10208 PyObject
*resultobj
;
10209 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
10210 wxString
*arg2
= 0 ;
10212 bool temp2
= False
;
10213 PyObject
* obj0
= 0 ;
10214 PyObject
* obj1
= 0 ;
10215 char *kwnames
[] = {
10216 (char *) "self",(char *) "keyword", NULL
10219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_KeywordSearch",kwnames
,&obj0
,&obj1
)) goto fail
;
10220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpFrame
,
10221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10223 arg2
= wxString_in_helper(obj1
);
10224 if (arg2
== NULL
) SWIG_fail
;
10228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10229 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
);
10231 wxPyEndAllowThreads(__tstate
);
10232 if (PyErr_Occurred()) SWIG_fail
;
10235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10251 static PyObject
*_wrap_HtmlHelpFrame_UseConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10252 PyObject
*resultobj
;
10253 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
10254 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
10255 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10256 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10257 bool temp3
= False
;
10258 PyObject
* obj0
= 0 ;
10259 PyObject
* obj1
= 0 ;
10260 PyObject
* obj2
= 0 ;
10261 char *kwnames
[] = {
10262 (char *) "self",(char *) "config",(char *) "rootpath", NULL
10265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpFrame_UseConfig",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpFrame
,
10267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10268 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
10269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10272 arg3
= wxString_in_helper(obj2
);
10273 if (arg3
== NULL
) SWIG_fail
;
10278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10279 (arg1
)->UseConfig(arg2
,(wxString
const &)*arg3
);
10281 wxPyEndAllowThreads(__tstate
);
10282 if (PyErr_Occurred()) SWIG_fail
;
10284 Py_INCREF(Py_None
); resultobj
= Py_None
;
10299 static PyObject
*_wrap_HtmlHelpFrame_ReadCustomization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10300 PyObject
*resultobj
;
10301 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
10302 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
10303 wxString arg3
= (wxString
) wxPyEmptyString
;
10304 PyObject
* obj0
= 0 ;
10305 PyObject
* obj1
= 0 ;
10306 PyObject
* obj2
= 0 ;
10307 char *kwnames
[] = {
10308 (char *) "self",(char *) "cfg",(char *) "path", NULL
10311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpFrame_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpFrame
,
10313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10314 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
10315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10318 wxString
* sptr
= wxString_in_helper(obj2
);
10319 if (sptr
== NULL
) SWIG_fail
;
10325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10326 (arg1
)->ReadCustomization(arg2
,arg3
);
10328 wxPyEndAllowThreads(__tstate
);
10329 if (PyErr_Occurred()) SWIG_fail
;
10331 Py_INCREF(Py_None
); resultobj
= Py_None
;
10338 static PyObject
*_wrap_HtmlHelpFrame_WriteCustomization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10339 PyObject
*resultobj
;
10340 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
10341 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
10342 wxString arg3
= (wxString
) wxPyEmptyString
;
10343 PyObject
* obj0
= 0 ;
10344 PyObject
* obj1
= 0 ;
10345 PyObject
* obj2
= 0 ;
10346 char *kwnames
[] = {
10347 (char *) "self",(char *) "cfg",(char *) "path", NULL
10350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpFrame_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpFrame
,
10352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10353 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
10354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10357 wxString
* sptr
= wxString_in_helper(obj2
);
10358 if (sptr
== NULL
) SWIG_fail
;
10364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10365 (arg1
)->WriteCustomization(arg2
,arg3
);
10367 wxPyEndAllowThreads(__tstate
);
10368 if (PyErr_Occurred()) SWIG_fail
;
10370 Py_INCREF(Py_None
); resultobj
= Py_None
;
10377 static PyObject
* HtmlHelpFrame_swigregister(PyObject
*, PyObject
*args
) {
10379 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10380 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpFrame
, obj
);
10382 return Py_BuildValue((char *)"");
10384 static PyObject
*_wrap_new_HtmlHelpController(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10385 PyObject
*resultobj
;
10386 int arg1
= (int) wxHF_DEFAULTSTYLE
;
10387 wxHtmlHelpController
*result
;
10388 PyObject
* obj0
= 0 ;
10389 char *kwnames
[] = {
10390 (char *) "style", NULL
10393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_HtmlHelpController",kwnames
,&obj0
)) goto fail
;
10395 arg1
= (int)SWIG_As_int(obj0
);
10396 if (PyErr_Occurred()) SWIG_fail
;
10399 if (!wxPyCheckForApp()) SWIG_fail
;
10400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10401 result
= (wxHtmlHelpController
*)new wxHtmlHelpController(arg1
);
10403 wxPyEndAllowThreads(__tstate
);
10404 if (PyErr_Occurred()) SWIG_fail
;
10406 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpController
, 1);
10413 static PyObject
*_wrap_delete_HtmlHelpController(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10414 PyObject
*resultobj
;
10415 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
10416 PyObject
* obj0
= 0 ;
10417 char *kwnames
[] = {
10418 (char *) "self", NULL
10421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlHelpController",kwnames
,&obj0
)) goto fail
;
10422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
10423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10428 wxPyEndAllowThreads(__tstate
);
10429 if (PyErr_Occurred()) SWIG_fail
;
10431 Py_INCREF(Py_None
); resultobj
= Py_None
;
10438 static PyObject
*_wrap_HtmlHelpController_SetTitleFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10439 PyObject
*resultobj
;
10440 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
10441 wxString
*arg2
= 0 ;
10442 bool temp2
= False
;
10443 PyObject
* obj0
= 0 ;
10444 PyObject
* obj1
= 0 ;
10445 char *kwnames
[] = {
10446 (char *) "self",(char *) "format", NULL
10449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
10450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
10451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10453 arg2
= wxString_in_helper(obj1
);
10454 if (arg2
== NULL
) SWIG_fail
;
10458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10459 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
10461 wxPyEndAllowThreads(__tstate
);
10462 if (PyErr_Occurred()) SWIG_fail
;
10464 Py_INCREF(Py_None
); resultobj
= Py_None
;
10479 static PyObject
*_wrap_HtmlHelpController_SetTempDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10480 PyObject
*resultobj
;
10481 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
10482 wxString
*arg2
= 0 ;
10483 bool temp2
= False
;
10484 PyObject
* obj0
= 0 ;
10485 PyObject
* obj1
= 0 ;
10486 char *kwnames
[] = {
10487 (char *) "self",(char *) "path", NULL
10490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetTempDir",kwnames
,&obj0
,&obj1
)) goto fail
;
10491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
10492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10494 arg2
= wxString_in_helper(obj1
);
10495 if (arg2
== NULL
) SWIG_fail
;
10499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10500 (arg1
)->SetTempDir((wxString
const &)*arg2
);
10502 wxPyEndAllowThreads(__tstate
);
10503 if (PyErr_Occurred()) SWIG_fail
;
10505 Py_INCREF(Py_None
); resultobj
= Py_None
;
10520 static PyObject
*_wrap_HtmlHelpController_AddBook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10521 PyObject
*resultobj
;
10522 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
10523 wxString
*arg2
= 0 ;
10524 int arg3
= (int) False
;
10526 bool temp2
= False
;
10527 PyObject
* obj0
= 0 ;
10528 PyObject
* obj1
= 0 ;
10529 PyObject
* obj2
= 0 ;
10530 char *kwnames
[] = {
10531 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
10534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_AddBook",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
10536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10538 arg2
= wxString_in_helper(obj1
);
10539 if (arg2
== NULL
) SWIG_fail
;
10543 arg3
= (int)SWIG_As_int(obj2
);
10544 if (PyErr_Occurred()) SWIG_fail
;
10547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10548 result
= (bool)(arg1
)->AddBook((wxString
const &)*arg2
,arg3
);
10550 wxPyEndAllowThreads(__tstate
);
10551 if (PyErr_Occurred()) SWIG_fail
;
10554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10570 static PyObject
*_wrap_HtmlHelpController_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10571 PyObject
*resultobj
;
10572 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
10573 wxString
*arg2
= 0 ;
10574 bool temp2
= False
;
10575 PyObject
* obj0
= 0 ;
10576 PyObject
* obj1
= 0 ;
10577 char *kwnames
[] = {
10578 (char *) "self",(char *) "x", NULL
10581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_Display",kwnames
,&obj0
,&obj1
)) goto fail
;
10582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
10583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10585 arg2
= wxString_in_helper(obj1
);
10586 if (arg2
== NULL
) SWIG_fail
;
10590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10591 (arg1
)->Display((wxString
const &)*arg2
);
10593 wxPyEndAllowThreads(__tstate
);
10594 if (PyErr_Occurred()) SWIG_fail
;
10596 Py_INCREF(Py_None
); resultobj
= Py_None
;
10611 static PyObject
*_wrap_HtmlHelpController_DisplayID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10612 PyObject
*resultobj
;
10613 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
10615 PyObject
* obj0
= 0 ;
10616 PyObject
* obj1
= 0 ;
10617 char *kwnames
[] = {
10618 (char *) "self",(char *) "id", NULL
10621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_DisplayID",kwnames
,&obj0
,&obj1
)) goto fail
;
10622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
10623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10624 arg2
= (int)SWIG_As_int(obj1
);
10625 if (PyErr_Occurred()) SWIG_fail
;
10627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10628 (arg1
)->Display(arg2
);
10630 wxPyEndAllowThreads(__tstate
);
10631 if (PyErr_Occurred()) SWIG_fail
;
10633 Py_INCREF(Py_None
); resultobj
= Py_None
;
10640 static PyObject
*_wrap_HtmlHelpController_DisplayContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10641 PyObject
*resultobj
;
10642 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
10643 PyObject
* obj0
= 0 ;
10644 char *kwnames
[] = {
10645 (char *) "self", NULL
10648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpController_DisplayContents",kwnames
,&obj0
)) goto fail
;
10649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
10650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10653 (arg1
)->DisplayContents();
10655 wxPyEndAllowThreads(__tstate
);
10656 if (PyErr_Occurred()) SWIG_fail
;
10658 Py_INCREF(Py_None
); resultobj
= Py_None
;
10665 static PyObject
*_wrap_HtmlHelpController_DisplayIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10666 PyObject
*resultobj
;
10667 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
10668 PyObject
* obj0
= 0 ;
10669 char *kwnames
[] = {
10670 (char *) "self", NULL
10673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpController_DisplayIndex",kwnames
,&obj0
)) goto fail
;
10674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
10675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10678 (arg1
)->DisplayIndex();
10680 wxPyEndAllowThreads(__tstate
);
10681 if (PyErr_Occurred()) SWIG_fail
;
10683 Py_INCREF(Py_None
); resultobj
= Py_None
;
10690 static PyObject
*_wrap_HtmlHelpController_KeywordSearch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10691 PyObject
*resultobj
;
10692 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
10693 wxString
*arg2
= 0 ;
10695 bool temp2
= False
;
10696 PyObject
* obj0
= 0 ;
10697 PyObject
* obj1
= 0 ;
10698 char *kwnames
[] = {
10699 (char *) "self",(char *) "keyword", NULL
10702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames
,&obj0
,&obj1
)) goto fail
;
10703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
10704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10706 arg2
= wxString_in_helper(obj1
);
10707 if (arg2
== NULL
) SWIG_fail
;
10711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10712 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
);
10714 wxPyEndAllowThreads(__tstate
);
10715 if (PyErr_Occurred()) SWIG_fail
;
10718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10734 static PyObject
*_wrap_HtmlHelpController_UseConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10735 PyObject
*resultobj
;
10736 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
10737 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
10738 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10739 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10740 bool temp3
= False
;
10741 PyObject
* obj0
= 0 ;
10742 PyObject
* obj1
= 0 ;
10743 PyObject
* obj2
= 0 ;
10744 char *kwnames
[] = {
10745 (char *) "self",(char *) "config",(char *) "rootpath", NULL
10748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
10750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10751 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
10752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10755 arg3
= wxString_in_helper(obj2
);
10756 if (arg3
== NULL
) SWIG_fail
;
10761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10762 (arg1
)->UseConfig(arg2
,(wxString
const &)*arg3
);
10764 wxPyEndAllowThreads(__tstate
);
10765 if (PyErr_Occurred()) SWIG_fail
;
10767 Py_INCREF(Py_None
); resultobj
= Py_None
;
10782 static PyObject
*_wrap_HtmlHelpController_ReadCustomization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10783 PyObject
*resultobj
;
10784 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
10785 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
10786 wxString arg3
= (wxString
) wxPyEmptyString
;
10787 PyObject
* obj0
= 0 ;
10788 PyObject
* obj1
= 0 ;
10789 PyObject
* obj2
= 0 ;
10790 char *kwnames
[] = {
10791 (char *) "self",(char *) "cfg",(char *) "path", NULL
10794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
10796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10797 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
10798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10801 wxString
* sptr
= wxString_in_helper(obj2
);
10802 if (sptr
== NULL
) SWIG_fail
;
10808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10809 (arg1
)->ReadCustomization(arg2
,arg3
);
10811 wxPyEndAllowThreads(__tstate
);
10812 if (PyErr_Occurred()) SWIG_fail
;
10814 Py_INCREF(Py_None
); resultobj
= Py_None
;
10821 static PyObject
*_wrap_HtmlHelpController_WriteCustomization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10822 PyObject
*resultobj
;
10823 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
10824 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
10825 wxString arg3
= (wxString
) wxPyEmptyString
;
10826 PyObject
* obj0
= 0 ;
10827 PyObject
* obj1
= 0 ;
10828 PyObject
* obj2
= 0 ;
10829 char *kwnames
[] = {
10830 (char *) "self",(char *) "cfg",(char *) "path", NULL
10833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
10835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10836 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
10837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10840 wxString
* sptr
= wxString_in_helper(obj2
);
10841 if (sptr
== NULL
) SWIG_fail
;
10847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10848 (arg1
)->WriteCustomization(arg2
,arg3
);
10850 wxPyEndAllowThreads(__tstate
);
10851 if (PyErr_Occurred()) SWIG_fail
;
10853 Py_INCREF(Py_None
); resultobj
= Py_None
;
10860 static PyObject
*_wrap_HtmlHelpController_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10861 PyObject
*resultobj
;
10862 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
10863 wxHtmlHelpFrame
*result
;
10864 PyObject
* obj0
= 0 ;
10865 char *kwnames
[] = {
10866 (char *) "self", NULL
10869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpController_GetFrame",kwnames
,&obj0
)) goto fail
;
10870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
10871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10874 result
= (wxHtmlHelpFrame
*)(arg1
)->GetFrame();
10876 wxPyEndAllowThreads(__tstate
);
10877 if (PyErr_Occurred()) SWIG_fail
;
10879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpFrame
, 0);
10886 static PyObject
* HtmlHelpController_swigregister(PyObject
*, PyObject
*args
) {
10888 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10889 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpController
, obj
);
10891 return Py_BuildValue((char *)"");
10893 static PyMethodDef SwigMethods
[] = {
10894 { (char *)"new_HtmlLinkInfo", (PyCFunction
) _wrap_new_HtmlLinkInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10895 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction
) _wrap_HtmlLinkInfo_GetHref
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10896 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction
) _wrap_HtmlLinkInfo_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10897 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction
) _wrap_HtmlLinkInfo_GetEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10898 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction
) _wrap_HtmlLinkInfo_GetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10899 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction
) _wrap_HtmlLinkInfo_SetEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10900 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction
) _wrap_HtmlLinkInfo_SetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10901 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister
, METH_VARARGS
, NULL
},
10902 { (char *)"HtmlTag_GetName", (PyCFunction
) _wrap_HtmlTag_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10903 { (char *)"HtmlTag_HasParam", (PyCFunction
) _wrap_HtmlTag_HasParam
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10904 { (char *)"HtmlTag_GetParam", (PyCFunction
) _wrap_HtmlTag_GetParam
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10905 { (char *)"HtmlTag_GetAllParams", (PyCFunction
) _wrap_HtmlTag_GetAllParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10906 { (char *)"HtmlTag_HasEnding", (PyCFunction
) _wrap_HtmlTag_HasEnding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10907 { (char *)"HtmlTag_GetBeginPos", (PyCFunction
) _wrap_HtmlTag_GetBeginPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10908 { (char *)"HtmlTag_GetEndPos1", (PyCFunction
) _wrap_HtmlTag_GetEndPos1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10909 { (char *)"HtmlTag_GetEndPos2", (PyCFunction
) _wrap_HtmlTag_GetEndPos2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10910 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister
, METH_VARARGS
, NULL
},
10911 { (char *)"HtmlParser_SetFS", (PyCFunction
) _wrap_HtmlParser_SetFS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10912 { (char *)"HtmlParser_GetFS", (PyCFunction
) _wrap_HtmlParser_GetFS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10913 { (char *)"HtmlParser_Parse", (PyCFunction
) _wrap_HtmlParser_Parse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10914 { (char *)"HtmlParser_InitParser", (PyCFunction
) _wrap_HtmlParser_InitParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10915 { (char *)"HtmlParser_DoneParser", (PyCFunction
) _wrap_HtmlParser_DoneParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10916 { (char *)"HtmlParser_DoParsing", (PyCFunction
) _wrap_HtmlParser_DoParsing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10917 { (char *)"HtmlParser_StopParsing", (PyCFunction
) _wrap_HtmlParser_StopParsing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10918 { (char *)"HtmlParser_AddTagHandler", (PyCFunction
) _wrap_HtmlParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10919 { (char *)"HtmlParser_GetSource", (PyCFunction
) _wrap_HtmlParser_GetSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10920 { (char *)"HtmlParser_PushTagHandler", (PyCFunction
) _wrap_HtmlParser_PushTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10921 { (char *)"HtmlParser_PopTagHandler", (PyCFunction
) _wrap_HtmlParser_PopTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10922 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister
, METH_VARARGS
, NULL
},
10923 { (char *)"new_HtmlWinParser", (PyCFunction
) _wrap_new_HtmlWinParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10924 { (char *)"HtmlWinParser_SetDC", (PyCFunction
) _wrap_HtmlWinParser_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10925 { (char *)"HtmlWinParser_GetDC", (PyCFunction
) _wrap_HtmlWinParser_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10926 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction
) _wrap_HtmlWinParser_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10927 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction
) _wrap_HtmlWinParser_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10928 { (char *)"HtmlWinParser_GetWindow", (PyCFunction
) _wrap_HtmlWinParser_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10929 { (char *)"HtmlWinParser_SetFonts", (PyCFunction
) _wrap_HtmlWinParser_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10930 { (char *)"HtmlWinParser_NormalizeFontSizes", (PyCFunction
) _wrap_HtmlWinParser_NormalizeFontSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10931 { (char *)"HtmlWinParser_GetContainer", (PyCFunction
) _wrap_HtmlWinParser_GetContainer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10932 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction
) _wrap_HtmlWinParser_OpenContainer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10933 { (char *)"HtmlWinParser_SetContainer", (PyCFunction
) _wrap_HtmlWinParser_SetContainer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10934 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction
) _wrap_HtmlWinParser_CloseContainer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10935 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction
) _wrap_HtmlWinParser_GetFontSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10936 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction
) _wrap_HtmlWinParser_SetFontSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10937 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction
) _wrap_HtmlWinParser_GetFontBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10938 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction
) _wrap_HtmlWinParser_SetFontBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10939 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction
) _wrap_HtmlWinParser_GetFontItalic
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10940 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction
) _wrap_HtmlWinParser_SetFontItalic
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10941 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction
) _wrap_HtmlWinParser_GetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10942 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction
) _wrap_HtmlWinParser_SetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10943 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction
) _wrap_HtmlWinParser_GetFontFixed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10944 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction
) _wrap_HtmlWinParser_SetFontFixed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10945 { (char *)"HtmlWinParser_GetAlign", (PyCFunction
) _wrap_HtmlWinParser_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10946 { (char *)"HtmlWinParser_SetAlign", (PyCFunction
) _wrap_HtmlWinParser_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10947 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction
) _wrap_HtmlWinParser_GetLinkColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10948 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction
) _wrap_HtmlWinParser_SetLinkColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10949 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction
) _wrap_HtmlWinParser_GetActualColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10950 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction
) _wrap_HtmlWinParser_SetActualColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10951 { (char *)"HtmlWinParser_SetLink", (PyCFunction
) _wrap_HtmlWinParser_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10952 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction
) _wrap_HtmlWinParser_CreateCurrentFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10953 { (char *)"HtmlWinParser_GetLink", (PyCFunction
) _wrap_HtmlWinParser_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10954 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister
, METH_VARARGS
, NULL
},
10955 { (char *)"new_HtmlTagHandler", (PyCFunction
) _wrap_new_HtmlTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10956 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction
) _wrap_HtmlTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10957 { (char *)"HtmlTagHandler_SetParser", (PyCFunction
) _wrap_HtmlTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10958 { (char *)"HtmlTagHandler_GetParser", (PyCFunction
) _wrap_HtmlTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10959 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction
) _wrap_HtmlTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10960 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister
, METH_VARARGS
, NULL
},
10961 { (char *)"new_HtmlWinTagHandler", (PyCFunction
) _wrap_new_HtmlWinTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10962 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction
) _wrap_HtmlWinTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10963 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction
) _wrap_HtmlWinTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10964 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction
) _wrap_HtmlWinTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10965 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction
) _wrap_HtmlWinTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10966 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister
, METH_VARARGS
, NULL
},
10967 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction
) _wrap_HtmlWinParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10968 { (char *)"new_HtmlSelection", (PyCFunction
) _wrap_new_HtmlSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10969 { (char *)"delete_HtmlSelection", (PyCFunction
) _wrap_delete_HtmlSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10970 { (char *)"HtmlSelection_Set", (PyCFunction
) _wrap_HtmlSelection_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10971 { (char *)"HtmlSelection_SetCells", (PyCFunction
) _wrap_HtmlSelection_SetCells
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10972 { (char *)"HtmlSelection_GetFromCell", (PyCFunction
) _wrap_HtmlSelection_GetFromCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10973 { (char *)"HtmlSelection_GetToCell", (PyCFunction
) _wrap_HtmlSelection_GetToCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10974 { (char *)"HtmlSelection_GetFromPos", (PyCFunction
) _wrap_HtmlSelection_GetFromPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10975 { (char *)"HtmlSelection_GetToPos", (PyCFunction
) _wrap_HtmlSelection_GetToPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10976 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction
) _wrap_HtmlSelection_GetFromPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10977 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction
) _wrap_HtmlSelection_GetToPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10978 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction
) _wrap_HtmlSelection_SetFromPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10979 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction
) _wrap_HtmlSelection_SetToPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10980 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction
) _wrap_HtmlSelection_ClearPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10981 { (char *)"HtmlSelection_IsEmpty", (PyCFunction
) _wrap_HtmlSelection_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10982 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister
, METH_VARARGS
, NULL
},
10983 { (char *)"new_HtmlRenderingState", (PyCFunction
) _wrap_new_HtmlRenderingState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10984 { (char *)"delete_HtmlRenderingState", (PyCFunction
) _wrap_delete_HtmlRenderingState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10985 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction
) _wrap_HtmlRenderingState_SetSelectionState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10986 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction
) _wrap_HtmlRenderingState_GetSelectionState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10987 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction
) _wrap_HtmlRenderingState_SetFgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10988 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction
) _wrap_HtmlRenderingState_GetFgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10989 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction
) _wrap_HtmlRenderingState_SetBgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10990 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction
) _wrap_HtmlRenderingState_GetBgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10991 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister
, METH_VARARGS
, NULL
},
10992 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction
) _wrap_HtmlRenderingStyle_GetSelectedTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10993 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction
) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10994 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister
, METH_VARARGS
, NULL
},
10995 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextColour", (PyCFunction
) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10996 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction
) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10997 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister
, METH_VARARGS
, NULL
},
10998 { (char *)"new_HtmlRenderingInfo", (PyCFunction
) _wrap_new_HtmlRenderingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10999 { (char *)"delete_HtmlRenderingInfo", (PyCFunction
) _wrap_delete_HtmlRenderingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11000 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction
) _wrap_HtmlRenderingInfo_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11001 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction
) _wrap_HtmlRenderingInfo_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11002 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction
) _wrap_HtmlRenderingInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11003 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction
) _wrap_HtmlRenderingInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11004 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction
) _wrap_HtmlRenderingInfo_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11005 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister
, METH_VARARGS
, NULL
},
11006 { (char *)"new_HtmlCell", (PyCFunction
) _wrap_new_HtmlCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11007 { (char *)"HtmlCell_GetPosX", (PyCFunction
) _wrap_HtmlCell_GetPosX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11008 { (char *)"HtmlCell_GetPosY", (PyCFunction
) _wrap_HtmlCell_GetPosY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11009 { (char *)"HtmlCell_GetWidth", (PyCFunction
) _wrap_HtmlCell_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11010 { (char *)"HtmlCell_GetHeight", (PyCFunction
) _wrap_HtmlCell_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11011 { (char *)"HtmlCell_GetDescent", (PyCFunction
) _wrap_HtmlCell_GetDescent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11012 { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction
) _wrap_HtmlCell_GetMaxTotalWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11013 { (char *)"HtmlCell_GetId", (PyCFunction
) _wrap_HtmlCell_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11014 { (char *)"HtmlCell_SetId", (PyCFunction
) _wrap_HtmlCell_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11015 { (char *)"HtmlCell_GetLink", (PyCFunction
) _wrap_HtmlCell_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11016 { (char *)"HtmlCell_GetNext", (PyCFunction
) _wrap_HtmlCell_GetNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11017 { (char *)"HtmlCell_GetParent", (PyCFunction
) _wrap_HtmlCell_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11018 { (char *)"HtmlCell_GetFirstChild", (PyCFunction
) _wrap_HtmlCell_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11019 { (char *)"HtmlCell_GetCursor", (PyCFunction
) _wrap_HtmlCell_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11020 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction
) _wrap_HtmlCell_IsFormattingCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11021 { (char *)"HtmlCell_SetLink", (PyCFunction
) _wrap_HtmlCell_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11022 { (char *)"HtmlCell_SetNext", (PyCFunction
) _wrap_HtmlCell_SetNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11023 { (char *)"HtmlCell_SetParent", (PyCFunction
) _wrap_HtmlCell_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11024 { (char *)"HtmlCell_SetPos", (PyCFunction
) _wrap_HtmlCell_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11025 { (char *)"HtmlCell_Layout", (PyCFunction
) _wrap_HtmlCell_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11026 { (char *)"HtmlCell_Draw", (PyCFunction
) _wrap_HtmlCell_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11027 { (char *)"HtmlCell_DrawInvisible", (PyCFunction
) _wrap_HtmlCell_DrawInvisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11028 { (char *)"HtmlCell_Find", (PyCFunction
) _wrap_HtmlCell_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11029 { (char *)"HtmlCell_AdjustPagebreak", (PyCFunction
) _wrap_HtmlCell_AdjustPagebreak
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11030 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction
) _wrap_HtmlCell_SetCanLiveOnPagebreak
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11031 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction
) _wrap_HtmlCell_IsLinebreakAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11032 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction
) _wrap_HtmlCell_IsTerminalCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11033 { (char *)"HtmlCell_FindCellByPos", (PyCFunction
) _wrap_HtmlCell_FindCellByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11034 { (char *)"HtmlCell_GetAbsPos", (PyCFunction
) _wrap_HtmlCell_GetAbsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11035 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction
) _wrap_HtmlCell_GetFirstTerminal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11036 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction
) _wrap_HtmlCell_GetLastTerminal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11037 { (char *)"HtmlCell_GetDepth", (PyCFunction
) _wrap_HtmlCell_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11038 { (char *)"HtmlCell_IsBefore", (PyCFunction
) _wrap_HtmlCell_IsBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11039 { (char *)"HtmlCell_ConvertToText", (PyCFunction
) _wrap_HtmlCell_ConvertToText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11040 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister
, METH_VARARGS
, NULL
},
11041 { (char *)"new_HtmlWordCell", (PyCFunction
) _wrap_new_HtmlWordCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11042 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister
, METH_VARARGS
, NULL
},
11043 { (char *)"new_HtmlContainerCell", (PyCFunction
) _wrap_new_HtmlContainerCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11044 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction
) _wrap_HtmlContainerCell_InsertCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11045 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction
) _wrap_HtmlContainerCell_SetAlignHor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11046 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction
) _wrap_HtmlContainerCell_GetAlignHor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11047 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction
) _wrap_HtmlContainerCell_SetAlignVer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11048 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction
) _wrap_HtmlContainerCell_GetAlignVer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11049 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction
) _wrap_HtmlContainerCell_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11050 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction
) _wrap_HtmlContainerCell_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11051 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction
) _wrap_HtmlContainerCell_GetIndentUnits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11052 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction
) _wrap_HtmlContainerCell_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11053 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction
) _wrap_HtmlContainerCell_SetWidthFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11054 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction
) _wrap_HtmlContainerCell_SetWidthFloatFromTag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11055 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction
) _wrap_HtmlContainerCell_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11056 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction
) _wrap_HtmlContainerCell_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11057 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction
) _wrap_HtmlContainerCell_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11058 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction
) _wrap_HtmlContainerCell_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11059 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction
) _wrap_HtmlContainerCell_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11060 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister
, METH_VARARGS
, NULL
},
11061 { (char *)"new_HtmlColourCell", (PyCFunction
) _wrap_new_HtmlColourCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11062 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister
, METH_VARARGS
, NULL
},
11063 { (char *)"new_HtmlFontCell", (PyCFunction
) _wrap_new_HtmlFontCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11064 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister
, METH_VARARGS
, NULL
},
11065 { (char *)"new_HtmlWidgetCell", (PyCFunction
) _wrap_new_HtmlWidgetCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11066 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister
, METH_VARARGS
, NULL
},
11067 { (char *)"new_HtmlFilter", (PyCFunction
) _wrap_new_HtmlFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11068 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction
) _wrap_HtmlFilter__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11069 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister
, METH_VARARGS
, NULL
},
11070 { (char *)"new_HtmlWindow", (PyCFunction
) _wrap_new_HtmlWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11071 { (char *)"new_PreHtmlWindow", (PyCFunction
) _wrap_new_PreHtmlWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11072 { (char *)"HtmlWindow_Create", (PyCFunction
) _wrap_HtmlWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11073 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction
) _wrap_HtmlWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11074 { (char *)"HtmlWindow_SetPage", (PyCFunction
) _wrap_HtmlWindow_SetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11075 { (char *)"HtmlWindow_LoadPage", (PyCFunction
) _wrap_HtmlWindow_LoadPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11076 { (char *)"HtmlWindow_LoadFile", (PyCFunction
) _wrap_HtmlWindow_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11077 { (char *)"HtmlWindow_AppendToPage", (PyCFunction
) _wrap_HtmlWindow_AppendToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11078 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction
) _wrap_HtmlWindow_GetOpenedPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11079 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction
) _wrap_HtmlWindow_GetOpenedAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11080 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction
) _wrap_HtmlWindow_GetOpenedPageTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11081 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction
) _wrap_HtmlWindow_SetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11082 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction
) _wrap_HtmlWindow_GetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11083 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction
) _wrap_HtmlWindow_SetRelatedStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11084 { (char *)"HtmlWindow_SetFonts", (PyCFunction
) _wrap_HtmlWindow_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11085 { (char *)"HtmlWindow_NormalizeFontSizes", (PyCFunction
) _wrap_HtmlWindow_NormalizeFontSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11086 { (char *)"HtmlWindow_SetTitle", (PyCFunction
) _wrap_HtmlWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11087 { (char *)"HtmlWindow_SetBorders", (PyCFunction
) _wrap_HtmlWindow_SetBorders
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11088 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction
) _wrap_HtmlWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11089 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction
) _wrap_HtmlWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11090 { (char *)"HtmlWindow_HistoryBack", (PyCFunction
) _wrap_HtmlWindow_HistoryBack
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11091 { (char *)"HtmlWindow_HistoryForward", (PyCFunction
) _wrap_HtmlWindow_HistoryForward
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11092 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction
) _wrap_HtmlWindow_HistoryCanBack
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11093 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction
) _wrap_HtmlWindow_HistoryCanForward
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11094 { (char *)"HtmlWindow_HistoryClear", (PyCFunction
) _wrap_HtmlWindow_HistoryClear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11095 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction
) _wrap_HtmlWindow_GetInternalRepresentation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11096 { (char *)"HtmlWindow_GetParser", (PyCFunction
) _wrap_HtmlWindow_GetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11097 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction
) _wrap_HtmlWindow_ScrollToAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11098 { (char *)"HtmlWindow_HasAnchor", (PyCFunction
) _wrap_HtmlWindow_HasAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11099 { (char *)"HtmlWindow_AddFilter", (PyCFunction
) _wrap_HtmlWindow_AddFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11100 { (char *)"HtmlWindow_SelectWord", (PyCFunction
) _wrap_HtmlWindow_SelectWord
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11101 { (char *)"HtmlWindow_SelectLine", (PyCFunction
) _wrap_HtmlWindow_SelectLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11102 { (char *)"HtmlWindow_SelectAll", (PyCFunction
) _wrap_HtmlWindow_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11103 { (char *)"HtmlWindow_SelectionToText", (PyCFunction
) _wrap_HtmlWindow_SelectionToText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11104 { (char *)"HtmlWindow_ToText", (PyCFunction
) _wrap_HtmlWindow_ToText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11105 { (char *)"HtmlWindow_base_OnLinkClicked", (PyCFunction
) _wrap_HtmlWindow_base_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11106 { (char *)"HtmlWindow_base_OnSetTitle", (PyCFunction
) _wrap_HtmlWindow_base_OnSetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11107 { (char *)"HtmlWindow_base_OnCellMouseHover", (PyCFunction
) _wrap_HtmlWindow_base_OnCellMouseHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11108 { (char *)"HtmlWindow_base_OnCellClicked", (PyCFunction
) _wrap_HtmlWindow_base_OnCellClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11109 { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_HtmlWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11110 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister
, METH_VARARGS
, NULL
},
11111 { (char *)"new_HtmlDCRenderer", (PyCFunction
) _wrap_new_HtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11112 { (char *)"delete_HtmlDCRenderer", (PyCFunction
) _wrap_delete_HtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11113 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction
) _wrap_HtmlDCRenderer_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11114 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction
) _wrap_HtmlDCRenderer_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11115 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction
) _wrap_HtmlDCRenderer_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11116 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction
) _wrap_HtmlDCRenderer_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11117 { (char *)"HtmlDCRenderer_NormalizeFontSizes", (PyCFunction
) _wrap_HtmlDCRenderer_NormalizeFontSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11118 { (char *)"HtmlDCRenderer_Render", (PyCFunction
) _wrap_HtmlDCRenderer_Render
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11119 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction
) _wrap_HtmlDCRenderer_GetTotalHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11120 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister
, METH_VARARGS
, NULL
},
11121 { (char *)"new_HtmlPrintout", (PyCFunction
) _wrap_new_HtmlPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11122 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction
) _wrap_HtmlPrintout_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11123 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction
) _wrap_HtmlPrintout_SetHtmlFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11124 { (char *)"HtmlPrintout_SetHeader", (PyCFunction
) _wrap_HtmlPrintout_SetHeader
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11125 { (char *)"HtmlPrintout_SetFooter", (PyCFunction
) _wrap_HtmlPrintout_SetFooter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11126 { (char *)"HtmlPrintout_SetFonts", (PyCFunction
) _wrap_HtmlPrintout_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11127 { (char *)"HtmlPrintout_NormalizeFontSizes", (PyCFunction
) _wrap_HtmlPrintout_NormalizeFontSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11128 { (char *)"HtmlPrintout_SetMargins", (PyCFunction
) _wrap_HtmlPrintout_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11129 { (char *)"HtmlPrintout_AddFilter", (PyCFunction
) _wrap_HtmlPrintout_AddFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11130 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction
) _wrap_HtmlPrintout_CleanUpStatics
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11131 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister
, METH_VARARGS
, NULL
},
11132 { (char *)"new_HtmlEasyPrinting", (PyCFunction
) _wrap_new_HtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11133 { (char *)"delete_HtmlEasyPrinting", (PyCFunction
) _wrap_delete_HtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11134 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction
) _wrap_HtmlEasyPrinting_PreviewFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11135 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction
) _wrap_HtmlEasyPrinting_PreviewText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11136 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction
) _wrap_HtmlEasyPrinting_PrintFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11137 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction
) _wrap_HtmlEasyPrinting_PrintText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11138 { (char *)"HtmlEasyPrinting_PrinterSetup", (PyCFunction
) _wrap_HtmlEasyPrinting_PrinterSetup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11139 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction
) _wrap_HtmlEasyPrinting_PageSetup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11140 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction
) _wrap_HtmlEasyPrinting_SetHeader
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11141 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction
) _wrap_HtmlEasyPrinting_SetFooter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11142 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction
) _wrap_HtmlEasyPrinting_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11143 { (char *)"HtmlEasyPrinting_NormalizeFontSizes", (PyCFunction
) _wrap_HtmlEasyPrinting_NormalizeFontSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11144 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction
) _wrap_HtmlEasyPrinting_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11145 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction
) _wrap_HtmlEasyPrinting_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11146 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister
, METH_VARARGS
, NULL
},
11147 { (char *)"new_HtmlBookRecord", (PyCFunction
) _wrap_new_HtmlBookRecord
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11148 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction
) _wrap_HtmlBookRecord_GetBookFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11149 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction
) _wrap_HtmlBookRecord_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11150 { (char *)"HtmlBookRecord_GetStart", (PyCFunction
) _wrap_HtmlBookRecord_GetStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11151 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction
) _wrap_HtmlBookRecord_GetBasePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11152 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction
) _wrap_HtmlBookRecord_SetContentsRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11153 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction
) _wrap_HtmlBookRecord_GetContentsStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11154 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction
) _wrap_HtmlBookRecord_GetContentsEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11155 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction
) _wrap_HtmlBookRecord_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11156 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction
) _wrap_HtmlBookRecord_SetBasePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11157 { (char *)"HtmlBookRecord_SetStart", (PyCFunction
) _wrap_HtmlBookRecord_SetStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11158 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction
) _wrap_HtmlBookRecord_GetFullPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11159 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister
, METH_VARARGS
, NULL
},
11160 { (char *)"HtmlContentsItem_GetLevel", (PyCFunction
) _wrap_HtmlContentsItem_GetLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11161 { (char *)"HtmlContentsItem_GetID", (PyCFunction
) _wrap_HtmlContentsItem_GetID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11162 { (char *)"HtmlContentsItem_GetName", (PyCFunction
) _wrap_HtmlContentsItem_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11163 { (char *)"HtmlContentsItem_GetPage", (PyCFunction
) _wrap_HtmlContentsItem_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11164 { (char *)"HtmlContentsItem_GetBook", (PyCFunction
) _wrap_HtmlContentsItem_GetBook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11165 { (char *)"HtmlContentsItem_swigregister", HtmlContentsItem_swigregister
, METH_VARARGS
, NULL
},
11166 { (char *)"HtmlSearchStatus_Search", (PyCFunction
) _wrap_HtmlSearchStatus_Search
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11167 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction
) _wrap_HtmlSearchStatus_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11168 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction
) _wrap_HtmlSearchStatus_GetCurIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11169 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction
) _wrap_HtmlSearchStatus_GetMaxIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11170 { (char *)"HtmlSearchStatus_GetName", (PyCFunction
) _wrap_HtmlSearchStatus_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11171 { (char *)"HtmlSearchStatus_GetContentsItem", (PyCFunction
) _wrap_HtmlSearchStatus_GetContentsItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11172 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister
, METH_VARARGS
, NULL
},
11173 { (char *)"new_HtmlHelpData", (PyCFunction
) _wrap_new_HtmlHelpData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11174 { (char *)"delete_HtmlHelpData", (PyCFunction
) _wrap_delete_HtmlHelpData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11175 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction
) _wrap_HtmlHelpData_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11176 { (char *)"HtmlHelpData_AddBook", (PyCFunction
) _wrap_HtmlHelpData_AddBook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11177 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction
) _wrap_HtmlHelpData_FindPageByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11178 { (char *)"HtmlHelpData_FindPageById", (PyCFunction
) _wrap_HtmlHelpData_FindPageById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11179 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction
) _wrap_HtmlHelpData_GetBookRecArray
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11180 { (char *)"HtmlHelpData_GetContents", (PyCFunction
) _wrap_HtmlHelpData_GetContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11181 { (char *)"HtmlHelpData_GetContentsCnt", (PyCFunction
) _wrap_HtmlHelpData_GetContentsCnt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11182 { (char *)"HtmlHelpData_GetIndex", (PyCFunction
) _wrap_HtmlHelpData_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11183 { (char *)"HtmlHelpData_GetIndexCnt", (PyCFunction
) _wrap_HtmlHelpData_GetIndexCnt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11184 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister
, METH_VARARGS
, NULL
},
11185 { (char *)"new_HtmlHelpFrame", (PyCFunction
) _wrap_new_HtmlHelpFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11186 { (char *)"HtmlHelpFrame_GetData", (PyCFunction
) _wrap_HtmlHelpFrame_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11187 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpFrame_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11188 { (char *)"HtmlHelpFrame_Display", (PyCFunction
) _wrap_HtmlHelpFrame_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11189 { (char *)"HtmlHelpFrame_DisplayID", (PyCFunction
) _wrap_HtmlHelpFrame_DisplayID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11190 { (char *)"HtmlHelpFrame_DisplayContents", (PyCFunction
) _wrap_HtmlHelpFrame_DisplayContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11191 { (char *)"HtmlHelpFrame_DisplayIndex", (PyCFunction
) _wrap_HtmlHelpFrame_DisplayIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11192 { (char *)"HtmlHelpFrame_KeywordSearch", (PyCFunction
) _wrap_HtmlHelpFrame_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11193 { (char *)"HtmlHelpFrame_UseConfig", (PyCFunction
) _wrap_HtmlHelpFrame_UseConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11194 { (char *)"HtmlHelpFrame_ReadCustomization", (PyCFunction
) _wrap_HtmlHelpFrame_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11195 { (char *)"HtmlHelpFrame_WriteCustomization", (PyCFunction
) _wrap_HtmlHelpFrame_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11196 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister
, METH_VARARGS
, NULL
},
11197 { (char *)"new_HtmlHelpController", (PyCFunction
) _wrap_new_HtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11198 { (char *)"delete_HtmlHelpController", (PyCFunction
) _wrap_delete_HtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11199 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpController_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11200 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction
) _wrap_HtmlHelpController_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11201 { (char *)"HtmlHelpController_AddBook", (PyCFunction
) _wrap_HtmlHelpController_AddBook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11202 { (char *)"HtmlHelpController_Display", (PyCFunction
) _wrap_HtmlHelpController_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11203 { (char *)"HtmlHelpController_DisplayID", (PyCFunction
) _wrap_HtmlHelpController_DisplayID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11204 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction
) _wrap_HtmlHelpController_DisplayContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11205 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction
) _wrap_HtmlHelpController_DisplayIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11206 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction
) _wrap_HtmlHelpController_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11207 { (char *)"HtmlHelpController_UseConfig", (PyCFunction
) _wrap_HtmlHelpController_UseConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11208 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction
) _wrap_HtmlHelpController_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11209 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction
) _wrap_HtmlHelpController_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11210 { (char *)"HtmlHelpController_GetFrame", (PyCFunction
) _wrap_HtmlHelpController_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11211 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister
, METH_VARARGS
, NULL
},
11212 { NULL
, NULL
, 0, NULL
}
11216 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
11218 static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x
) {
11219 return (void *)((wxHtmlRenderingStyle
*) ((wxDefaultHtmlRenderingStyle
*) x
));
11221 static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x
) {
11222 return (void *)((wxHtmlParser
*) ((wxHtmlWinParser
*) x
));
11224 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
11225 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
11227 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
11228 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
11230 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
11231 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
11233 static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x
) {
11234 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
11236 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
11237 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
11239 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
11240 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
11242 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
11243 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
11245 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
11246 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
11248 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
11249 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
11251 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
11252 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
11254 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
11255 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
11257 static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x
) {
11258 return (void *)((wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
11260 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
11261 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
11263 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
11264 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
11266 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
11267 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
11269 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
11270 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
11272 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
11273 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
11275 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
11276 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
11278 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
11279 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
11281 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
11282 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
11284 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
11285 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
11287 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
11288 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
11290 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
11291 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
11293 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
11294 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
11296 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
11297 return (void *)((wxWindow
*) ((wxPanel
*) x
));
11299 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
11300 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
11302 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
11303 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
11305 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
11306 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
11308 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
11309 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
11311 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
11312 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
11314 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
11315 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
11317 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
11318 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
11320 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
11321 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
11323 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
11324 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
11326 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
11327 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
11329 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
11330 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
11332 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
11333 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
11335 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
11336 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
11338 static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x
) {
11339 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
11341 static void *_p_wxControlTo_p_wxWindow(void *x
) {
11342 return (void *)((wxWindow
*) ((wxControl
*) x
));
11344 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
11345 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
11347 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
11348 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
11350 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
11351 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
11353 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
11354 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
11356 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
11357 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
11359 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
11360 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
11362 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
11363 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
11365 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
11366 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
11368 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
11369 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
11371 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
11372 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
11374 static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x
) {
11375 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
11377 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
11378 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
11380 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
11381 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
11383 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
11384 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
11386 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
11387 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
11389 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
11390 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
11392 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
11393 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
11395 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
11396 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
11398 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
11399 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
11401 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
11402 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
11404 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
11405 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
11407 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
11408 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
11410 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
11411 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
11413 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
11414 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
11416 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
11417 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
11419 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
11420 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
11422 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
11423 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
11425 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
11426 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
11428 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
11429 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
11431 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
11432 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
11434 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
11435 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
11437 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
11438 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
11440 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
11441 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
11443 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
11444 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
11446 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
11447 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
11449 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
11450 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
11452 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
11453 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
11455 static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x
) {
11456 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxHtmlHelpFrame
*) x
));
11458 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
11459 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
11461 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
11462 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
11464 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
11465 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
11467 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
11468 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
11470 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
11471 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
11473 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
11474 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
11476 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
11477 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
11479 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
11480 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
11482 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
11483 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
11485 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
11486 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
11488 static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x
) {
11489 return (void *)((wxObject
*) ((wxHtmlLinkInfo
*) x
));
11491 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
11492 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
11494 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
11495 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
11497 static void *_p_wxSizerTo_p_wxObject(void *x
) {
11498 return (void *)((wxObject
*) ((wxSizer
*) x
));
11500 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
11501 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
11503 static void *_p_wxHtmlFontCellTo_p_wxObject(void *x
) {
11504 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlFontCell
*) x
));
11506 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
11507 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
11509 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
11510 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
11512 static void *_p_wxEventTo_p_wxObject(void *x
) {
11513 return (void *)((wxObject
*) ((wxEvent
*) x
));
11515 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
11516 return (void *)((wxObject
*) ((wxFontData
*) x
));
11518 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
11519 return (void *)((wxObject
*) ((wxPrintData
*) x
));
11521 static void *_p_wxHtmlTagTo_p_wxObject(void *x
) {
11522 return (void *)((wxObject
*) ((wxHtmlTag
*) x
));
11524 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
11525 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
11527 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
11528 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
11530 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
11531 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
11533 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
11534 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
11536 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
11537 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
11539 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
11540 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
11542 static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x
) {
11543 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
11545 static void *_p_wxHtmlCellTo_p_wxObject(void *x
) {
11546 return (void *)((wxObject
*) ((wxHtmlCell
*) x
));
11548 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
11549 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
11551 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
11552 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
11554 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
11555 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
11557 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
11558 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
11560 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
11561 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
11563 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
11564 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
11566 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
11567 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
11569 static void *_p_wxControlTo_p_wxObject(void *x
) {
11570 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
11572 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
11573 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
11575 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
11576 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
11578 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
11579 return (void *)((wxObject
*) ((wxFSFile
*) x
));
11581 static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x
) {
11582 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlWidgetCell
*) x
));
11584 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
11585 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
11587 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
11588 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
11590 static void *_p_wxHtmlColourCellTo_p_wxObject(void *x
) {
11591 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlColourCell
*) x
));
11593 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
11594 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
11596 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
11597 return (void *)((wxObject
*) ((wxColourData
*) x
));
11599 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
11600 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
11602 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
11603 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
11605 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
11606 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
11608 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
11609 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
11611 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
11612 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
11614 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
11615 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
11617 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
11618 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
11620 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
11621 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
11623 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
11624 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
11626 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
11627 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
11629 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
11630 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
11632 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
11633 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
11635 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
11636 return (void *)((wxObject
*) ((wxPrinter
*) x
));
11638 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
11639 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
11641 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
11642 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
11644 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
11645 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
11647 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
11648 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
11650 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
11651 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
11653 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
11654 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
11656 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
11657 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
11659 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
11660 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
11662 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
11663 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
11665 static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x
) {
11666 return (void *)((wxObject
*) ((wxPyHtmlFilter
*) x
));
11668 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
11669 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
11671 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
11672 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
11674 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
11675 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
11677 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
11678 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
11680 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
11681 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
11683 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
11684 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
11686 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
11687 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
11689 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
11690 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
11692 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
11693 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
11695 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
11696 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
11698 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
11699 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
11701 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
11702 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
11704 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
11705 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
11707 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
11708 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
11710 static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x
) {
11711 return (void *)((wxObject
*) ((wxPyHtmlTagHandler
*) x
));
11713 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x
) {
11714 return (void *)((wxObject
*) (wxPyHtmlTagHandler
*) ((wxPyHtmlWinTagHandler
*) x
));
11716 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
11717 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
11719 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
11720 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
11722 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
11723 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
11725 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
11726 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
11728 static void *_p_wxImageTo_p_wxObject(void *x
) {
11729 return (void *)((wxObject
*) ((wxImage
*) x
));
11731 static void *_p_wxFrameTo_p_wxObject(void *x
) {
11732 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
11734 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
11735 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
11737 static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x
) {
11738 return (void *)((wxObject
*) (wxPyPrintout
*) ((wxHtmlPrintout
*) x
));
11740 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
11741 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
11743 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
11744 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
11746 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
11747 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
11749 static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x
) {
11750 return (void *)((wxObject
*) ((wxHtmlDCRenderer
*) x
));
11752 static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x
) {
11753 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlContainerCell
*) x
));
11755 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
11756 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
11758 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
11759 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
11761 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
11762 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
11764 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
11765 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
11767 static void *_p_wxWindowTo_p_wxObject(void *x
) {
11768 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
11770 static void *_p_wxMenuTo_p_wxObject(void *x
) {
11771 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
11773 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
11774 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
11776 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
11777 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
11779 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
11780 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
11782 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
11783 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
11785 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
11786 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
11788 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
11789 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
11791 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
11792 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
11794 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
11795 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
11797 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
11798 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
11800 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
11801 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
11803 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
11804 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
11806 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
11807 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
11809 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
11810 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
11812 static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x
) {
11813 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
11815 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
11816 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
11818 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
11819 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
11821 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
11822 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
11824 static void *_p_wxPanelTo_p_wxObject(void *x
) {
11825 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
11827 static void *_p_wxDialogTo_p_wxObject(void *x
) {
11828 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
11830 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
11831 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
11833 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
11834 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
11836 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
11837 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
11839 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
11840 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
11842 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
11843 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
11845 static void *_p_wxHtmlParserTo_p_wxObject(void *x
) {
11846 return (void *)((wxObject
*) ((wxHtmlParser
*) x
));
11848 static void *_p_wxHtmlWinParserTo_p_wxObject(void *x
) {
11849 return (void *)((wxObject
*) (wxHtmlParser
*) ((wxHtmlWinParser
*) x
));
11851 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
11852 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
11854 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
11855 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
11857 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
11858 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
11860 static void *_p_wxHtmlWordCellTo_p_wxObject(void *x
) {
11861 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlWordCell
*) x
));
11863 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
11864 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
11866 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
11867 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
11869 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
11870 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
11872 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
11873 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
11875 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
11876 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
11878 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
11879 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
11881 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
11882 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
11884 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
11885 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
11887 static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x
) {
11888 return (void *)((wxObject
*) ((wxHtmlEasyPrinting
*) x
));
11890 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
11891 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
11893 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
11894 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
11896 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
11897 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
11899 static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x
) {
11900 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxHtmlHelpController
*) x
));
11902 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
11903 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
11905 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
11906 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
11908 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
11909 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
11911 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
11912 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
11914 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
11915 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
11917 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x
) {
11918 return (void *)((wxPyHtmlTagHandler
*) ((wxPyHtmlWinTagHandler
*) x
));
11920 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
11921 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
11923 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
11924 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
11926 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
11927 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
11929 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
11930 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
11932 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
11933 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
11935 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
11936 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
11938 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
11939 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
11941 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
11942 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
11944 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
11945 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
11947 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
11948 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
11950 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
11951 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
11953 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
11954 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
11956 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
11957 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
11959 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
11960 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
11962 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
11963 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
11965 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
11966 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
11968 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
11969 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
11971 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
11972 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
11974 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
11975 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
11977 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
11978 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
11980 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
11981 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
11983 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
11984 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
11986 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
11987 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
11989 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
11990 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
11992 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
11993 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
11995 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
11996 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
11998 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
11999 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
12001 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
12002 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
12004 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
12005 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
12007 static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x
) {
12008 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
12010 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
12011 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
12013 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
12014 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
12016 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
12017 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
12019 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
12020 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
12022 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
12023 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
12025 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
12026 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
12028 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
12029 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
12031 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
12032 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
12034 static void *_p_wxHtmlHelpControllerTo_p_wxEvtHandler(void *x
) {
12035 return (void *)((wxEvtHandler
*) ((wxHtmlHelpController
*) x
));
12037 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
12038 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
12040 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
12041 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
12043 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
12044 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
12046 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
12047 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
12049 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
12050 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
12052 static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x
) {
12053 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
12055 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
12056 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
12058 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
12059 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
12061 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
12062 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
12064 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
12065 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
12067 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
12068 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
12070 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
12071 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
12073 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
12074 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
12076 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
12077 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
12079 static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x
) {
12080 return (void *)((wxPyPrintout
*) ((wxHtmlPrintout
*) x
));
12082 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
12083 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
12085 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
12086 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
12088 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
12089 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
12091 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
12092 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
12094 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
12095 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
12097 static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x
) {
12098 return (void *)((wxFrame
*) ((wxHtmlHelpFrame
*) x
));
12100 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
12101 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
12103 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
12104 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
12106 static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x
) {
12107 return (void *)((wxHtmlCell
*) ((wxHtmlContainerCell
*) x
));
12109 static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x
) {
12110 return (void *)((wxHtmlCell
*) ((wxHtmlWidgetCell
*) x
));
12112 static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x
) {
12113 return (void *)((wxHtmlCell
*) ((wxHtmlColourCell
*) x
));
12115 static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x
) {
12116 return (void *)((wxHtmlCell
*) ((wxHtmlWordCell
*) x
));
12118 static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x
) {
12119 return (void *)((wxHtmlCell
*) ((wxHtmlFontCell
*) x
));
12121 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}};
12122 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}};
12123 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}};
12124 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}};
12125 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}};
12126 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}};
12127 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}};
12128 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}};
12129 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}};
12130 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}};
12131 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}};
12132 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}};
12133 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}};
12134 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}};
12135 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}};
12136 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}};
12137 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}};
12138 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}};
12139 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}};
12140 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}};
12141 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}};
12142 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}};
12143 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}};
12144 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}};
12145 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}};
12146 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}};
12147 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}};
12148 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}};
12149 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}};
12150 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}};
12151 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}};
12152 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}};
12153 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}};
12154 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}};
12155 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}};
12156 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}};
12157 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}};
12158 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}};
12159 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}};
12160 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}};
12161 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}};
12162 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}};
12163 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}};
12164 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}};
12165 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}};
12166 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}};
12167 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}};
12168 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}};
12169 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}};
12170 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}};
12171 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}};
12172 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}};
12173 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}};
12175 static swig_type_info
*swig_types_initial
[] = {
12176 _swigt__p_wxHtmlDCRenderer
,
12177 _swigt__p_wxColour
,
12178 _swigt__p_wxPageSetupDialogData
,
12180 _swigt__p_wxDefaultHtmlRenderingStyle
,
12181 _swigt__p_wxHtmlRenderingStyle
,
12182 _swigt__p_wxMouseEvent
,
12183 _swigt__p_wxHtmlWordCell
,
12184 _swigt__p_wxVisualAttributes
,
12185 _swigt__p_wxHtmlHelpData
,
12187 _swigt__p_wxHtmlWinParser
,
12188 _swigt__p_wxHtmlParser
,
12191 _swigt__p_wxPyHtmlWindow
,
12192 _swigt__p_wxScrolledWindow
,
12193 _swigt__p_wxWindow
,
12194 _swigt__p_wxTopLevelWindow
,
12195 _swigt__p_wxHtmlColourCell
,
12196 _swigt__p_wxHtmlFontCell
,
12197 _swigt__p_wxHtmlEasyPrinting
,
12198 _swigt__p_wxHtmlSelection
,
12199 _swigt__p_wxHtmlRenderingInfo
,
12200 _swigt__p_wxHtmlWidgetCell
,
12201 _swigt__p_wxObject
,
12202 _swigt__p_wxString
,
12203 _swigt__p_wxPyHtmlWinTagHandler
,
12204 _swigt__p_wxHtmlTagHandler
,
12205 _swigt__p_wxPyHtmlTagHandler
,
12206 _swigt__p_wxEvtHandler
,
12208 _swigt__p_wxHtmlHelpController
,
12209 _swigt__p_wxCursor
,
12210 _swigt__p_wxFileSystem
,
12211 _swigt__p_wxHtmlBookRecArray
,
12212 _swigt__p_wxPyPrintout
,
12213 _swigt__p_wxHtmlPrintout
,
12214 _swigt__p_wxHtmlSearchStatus
,
12215 _swigt__p_wxHtmlContentsItem
,
12216 _swigt__p_wxConfigBase
,
12217 _swigt__p_wxPrintData
,
12218 _swigt__p_wxHtmlHelpFrame
,
12219 _swigt__p_wxHtmlRenderingState
,
12221 _swigt__p_wxPyHtmlFilter
,
12222 _swigt__p_wxHtmlFilter
,
12223 _swigt__p_wxHtmlCell
,
12224 _swigt__p_wxHtmlContainerCell
,
12225 _swigt__p_wxHtmlTag
,
12227 _swigt__p_wxHtmlLinkInfo
,
12228 _swigt__p_wxHtmlBookRecord
,
12233 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
12235 static swig_const_info swig_const_table
[] = {
12236 {0, 0, 0, 0.0, 0, 0}};
12245 SWIGEXPORT(void) SWIG_init(void) {
12246 static PyObject
*SWIG_globals
= 0;
12247 static int typeinit
= 0;
12250 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
12251 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
12252 d
= PyModule_GetDict(m
);
12255 for (i
= 0; swig_types_initial
[i
]; i
++) {
12256 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
12260 SWIG_InstallConstants(d
,swig_const_table
);
12262 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
12263 SWIG_addvarlink(SWIG_globals
,(char*)"HtmlWindowNameStr",_wrap_HtmlWindowNameStr_get
, _wrap_HtmlWindowNameStr_set
);
12264 SWIG_addvarlink(SWIG_globals
,(char*)"HtmlPrintoutTitleStr",_wrap_HtmlPrintoutTitleStr_get
, _wrap_HtmlPrintoutTitleStr_set
);
12265 SWIG_addvarlink(SWIG_globals
,(char*)"HtmlPrintingTitleStr",_wrap_HtmlPrintingTitleStr_get
, _wrap_HtmlPrintingTitleStr_set
);
12266 PyDict_SetItemString(d
,"HTML_ALIGN_LEFT", SWIG_From_int((int)wxHTML_ALIGN_LEFT
));
12267 PyDict_SetItemString(d
,"HTML_ALIGN_CENTER", SWIG_From_int((int)wxHTML_ALIGN_CENTER
));
12268 PyDict_SetItemString(d
,"HTML_ALIGN_RIGHT", SWIG_From_int((int)wxHTML_ALIGN_RIGHT
));
12269 PyDict_SetItemString(d
,"HTML_ALIGN_BOTTOM", SWIG_From_int((int)wxHTML_ALIGN_BOTTOM
));
12270 PyDict_SetItemString(d
,"HTML_ALIGN_TOP", SWIG_From_int((int)wxHTML_ALIGN_TOP
));
12271 PyDict_SetItemString(d
,"HTML_CLR_FOREGROUND", SWIG_From_int((int)wxHTML_CLR_FOREGROUND
));
12272 PyDict_SetItemString(d
,"HTML_CLR_BACKGROUND", SWIG_From_int((int)wxHTML_CLR_BACKGROUND
));
12273 PyDict_SetItemString(d
,"HTML_UNITS_PIXELS", SWIG_From_int((int)wxHTML_UNITS_PIXELS
));
12274 PyDict_SetItemString(d
,"HTML_UNITS_PERCENT", SWIG_From_int((int)wxHTML_UNITS_PERCENT
));
12275 PyDict_SetItemString(d
,"HTML_INDENT_LEFT", SWIG_From_int((int)wxHTML_INDENT_LEFT
));
12276 PyDict_SetItemString(d
,"HTML_INDENT_RIGHT", SWIG_From_int((int)wxHTML_INDENT_RIGHT
));
12277 PyDict_SetItemString(d
,"HTML_INDENT_TOP", SWIG_From_int((int)wxHTML_INDENT_TOP
));
12278 PyDict_SetItemString(d
,"HTML_INDENT_BOTTOM", SWIG_From_int((int)wxHTML_INDENT_BOTTOM
));
12279 PyDict_SetItemString(d
,"HTML_INDENT_HORIZONTAL", SWIG_From_int((int)wxHTML_INDENT_HORIZONTAL
));
12280 PyDict_SetItemString(d
,"HTML_INDENT_VERTICAL", SWIG_From_int((int)wxHTML_INDENT_VERTICAL
));
12281 PyDict_SetItemString(d
,"HTML_INDENT_ALL", SWIG_From_int((int)wxHTML_INDENT_ALL
));
12282 PyDict_SetItemString(d
,"HTML_COND_ISANCHOR", SWIG_From_int((int)wxHTML_COND_ISANCHOR
));
12283 PyDict_SetItemString(d
,"HTML_COND_ISIMAGEMAP", SWIG_From_int((int)wxHTML_COND_ISIMAGEMAP
));
12284 PyDict_SetItemString(d
,"HTML_COND_USER", SWIG_From_int((int)wxHTML_COND_USER
));
12285 PyDict_SetItemString(d
,"HTML_FONT_SIZE_1", SWIG_From_int((int)wxHTML_FONT_SIZE_1
));
12286 PyDict_SetItemString(d
,"HTML_FONT_SIZE_2", SWIG_From_int((int)wxHTML_FONT_SIZE_2
));
12287 PyDict_SetItemString(d
,"HTML_FONT_SIZE_3", SWIG_From_int((int)wxHTML_FONT_SIZE_3
));
12288 PyDict_SetItemString(d
,"HTML_FONT_SIZE_4", SWIG_From_int((int)wxHTML_FONT_SIZE_4
));
12289 PyDict_SetItemString(d
,"HTML_FONT_SIZE_5", SWIG_From_int((int)wxHTML_FONT_SIZE_5
));
12290 PyDict_SetItemString(d
,"HTML_FONT_SIZE_6", SWIG_From_int((int)wxHTML_FONT_SIZE_6
));
12291 PyDict_SetItemString(d
,"HTML_FONT_SIZE_7", SWIG_From_int((int)wxHTML_FONT_SIZE_7
));
12292 PyDict_SetItemString(d
,"HW_SCROLLBAR_NEVER", SWIG_From_int((int)wxHW_SCROLLBAR_NEVER
));
12293 PyDict_SetItemString(d
,"HW_SCROLLBAR_AUTO", SWIG_From_int((int)wxHW_SCROLLBAR_AUTO
));
12294 PyDict_SetItemString(d
,"HW_NO_SELECTION", SWIG_From_int((int)wxHW_NO_SELECTION
));
12295 PyDict_SetItemString(d
,"HW_DEFAULT_STYLE", SWIG_From_int((int)wxHW_DEFAULT_STYLE
));
12296 PyDict_SetItemString(d
,"HTML_OPEN", SWIG_From_int((int)wxHTML_OPEN
));
12297 PyDict_SetItemString(d
,"HTML_BLOCK", SWIG_From_int((int)wxHTML_BLOCK
));
12298 PyDict_SetItemString(d
,"HTML_REDIRECT", SWIG_From_int((int)wxHTML_REDIRECT
));
12299 PyDict_SetItemString(d
,"HTML_URL_PAGE", SWIG_From_int((int)wxHTML_URL_PAGE
));
12300 PyDict_SetItemString(d
,"HTML_URL_IMAGE", SWIG_From_int((int)wxHTML_URL_IMAGE
));
12301 PyDict_SetItemString(d
,"HTML_URL_OTHER", SWIG_From_int((int)wxHTML_URL_OTHER
));
12302 PyDict_SetItemString(d
,"HTML_SEL_OUT", SWIG_From_int((int)wxHTML_SEL_OUT
));
12303 PyDict_SetItemString(d
,"HTML_SEL_IN", SWIG_From_int((int)wxHTML_SEL_IN
));
12304 PyDict_SetItemString(d
,"HTML_SEL_CHANGING", SWIG_From_int((int)wxHTML_SEL_CHANGING
));
12305 PyDict_SetItemString(d
,"HTML_FIND_EXACT", SWIG_From_int((int)wxHTML_FIND_EXACT
));
12306 PyDict_SetItemString(d
,"HTML_FIND_NEAREST_BEFORE", SWIG_From_int((int)wxHTML_FIND_NEAREST_BEFORE
));
12307 PyDict_SetItemString(d
,"HTML_FIND_NEAREST_AFTER", SWIG_From_int((int)wxHTML_FIND_NEAREST_AFTER
));
12308 PyDict_SetItemString(d
,"PAGE_ODD", SWIG_From_int((int)wxPAGE_ODD
));
12309 PyDict_SetItemString(d
,"PAGE_EVEN", SWIG_From_int((int)wxPAGE_EVEN
));
12310 PyDict_SetItemString(d
,"PAGE_ALL", SWIG_From_int((int)wxPAGE_ALL
));
12311 PyDict_SetItemString(d
,"HF_TOOLBAR", SWIG_From_int((int)wxHF_TOOLBAR
));
12312 PyDict_SetItemString(d
,"HF_FLATTOOLBAR", SWIG_From_int((int)wxHF_FLATTOOLBAR
));
12313 PyDict_SetItemString(d
,"HF_CONTENTS", SWIG_From_int((int)wxHF_CONTENTS
));
12314 PyDict_SetItemString(d
,"HF_INDEX", SWIG_From_int((int)wxHF_INDEX
));
12315 PyDict_SetItemString(d
,"HF_SEARCH", SWIG_From_int((int)wxHF_SEARCH
));
12316 PyDict_SetItemString(d
,"HF_BOOKMARKS", SWIG_From_int((int)wxHF_BOOKMARKS
));
12317 PyDict_SetItemString(d
,"HF_OPENFILES", SWIG_From_int((int)wxHF_OPENFILES
));
12318 PyDict_SetItemString(d
,"HF_PRINT", SWIG_From_int((int)wxHF_PRINT
));
12319 PyDict_SetItemString(d
,"HF_DEFAULTSTYLE", SWIG_From_int((int)wxHF_DEFAULTSTYLE
));
12321 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
12322 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
12323 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
12324 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");