1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxHtmlDCRenderer swig_types[0]
210 #define SWIGTYPE_p_wxColour swig_types[1]
211 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[2]
212 #define SWIGTYPE_p_wxDC swig_types[3]
213 #define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[4]
214 #define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[5]
215 #define SWIGTYPE_p_wxMouseEvent swig_types[6]
216 #define SWIGTYPE_p_wxHtmlWordCell swig_types[7]
217 #define SWIGTYPE_p_wxVisualAttributes swig_types[8]
218 #define SWIGTYPE_p_wxHtmlHelpData swig_types[9]
219 #define SWIGTYPE_p_char swig_types[10]
220 #define SWIGTYPE_p_wxHtmlWinParser swig_types[11]
221 #define SWIGTYPE_p_wxHtmlParser swig_types[12]
222 #define SWIGTYPE_p_wxPanel swig_types[13]
223 #define SWIGTYPE_p_wxFont swig_types[14]
224 #define SWIGTYPE_p_wxHtmlColourCell swig_types[15]
225 #define SWIGTYPE_p_wxPyHtmlWindow swig_types[16]
226 #define SWIGTYPE_p_wxScrolledWindow swig_types[17]
227 #define SWIGTYPE_p_wxWindow swig_types[18]
228 #define SWIGTYPE_p_wxTopLevelWindow swig_types[19]
229 #define SWIGTYPE_p_wxHtmlFontCell swig_types[20]
230 #define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[21]
231 #define SWIGTYPE_p_wxHtmlSelection swig_types[22]
232 #define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[23]
233 #define SWIGTYPE_p_wxHtmlWidgetCell swig_types[24]
234 #define SWIGTYPE_p_wxObject swig_types[25]
235 #define SWIGTYPE_p_wxString swig_types[26]
236 #define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[27]
237 #define SWIGTYPE_p_wxHtmlTagHandler swig_types[28]
238 #define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[29]
239 #define SWIGTYPE_p_wxEvtHandler swig_types[30]
240 #define SWIGTYPE_p_wxPoint swig_types[31]
241 #define SWIGTYPE_p_wxHtmlHelpController swig_types[32]
242 #define SWIGTYPE_p_wxCursor swig_types[33]
243 #define SWIGTYPE_p_wxFileSystem swig_types[34]
244 #define SWIGTYPE_p_wxHtmlBookRecArray swig_types[35]
245 #define SWIGTYPE_p_wxPyPrintout swig_types[36]
246 #define SWIGTYPE_p_wxHtmlPrintout swig_types[37]
247 #define SWIGTYPE_p_wxHtmlSearchStatus swig_types[38]
248 #define SWIGTYPE_p_wxHtmlContentsItem swig_types[39]
249 #define SWIGTYPE_p_wxConfigBase swig_types[40]
250 #define SWIGTYPE_p_wxPrintData swig_types[41]
251 #define SWIGTYPE_p_wxHtmlHelpFrame swig_types[42]
252 #define SWIGTYPE_p_wxHtmlRenderingState swig_types[43]
253 #define SWIGTYPE_p_wxFrame swig_types[44]
254 #define SWIGTYPE_p_wxPyHtmlFilter swig_types[45]
255 #define SWIGTYPE_p_wxHtmlFilter swig_types[46]
256 #define SWIGTYPE_p_wxHtmlCell swig_types[47]
257 #define SWIGTYPE_p_wxHtmlContainerCell swig_types[48]
258 #define SWIGTYPE_p_wxHtmlTag swig_types[49]
259 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[50]
260 #define SWIGTYPE_p_int swig_types[51]
261 #define SWIGTYPE_p_wxHtmlBookRecord swig_types[52]
262 static swig_type_info
*swig_types
[54];
264 /* -------- TYPES TABLE (END) -------- */
267 /*-----------------------------------------------
269 ------------------------------------------------*/
270 #define SWIG_init init_html
272 #define SWIG_name "_html"
274 /* Auxiliar swig macros */
277 #define SWIGSTATICINLINE(a) static inline a
278 #define SWIGSTATIC(a) static a
279 #define swig_new_array(type, size) (new type[(size)])
280 #define swig_delete_array(cptr) delete[] cptr
281 #define swig_const_cast(type,a) const_cast<type>(a)
282 #define swig_static_cast(type,a) static_cast<type>(a)
283 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
285 #ifdef HAVE_NUMERIC_CAST
286 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
288 #define swig_numeric_cast(type,a) static_cast<type>(a)
293 #define SWIGSTATICINLINE(a) static a
294 #define SWIGSTATIC(a) static a
295 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
296 #define swig_delete_array(cptr) free((char*)cptr)
297 #define swig_const_cast(type,a) (type)(a)
298 #define swig_static_cast(type,a) (type)(a)
299 #define swig_reinterpret_cast(type,a) (type)(a)
300 #define swig_numeric_cast(type,a) (type)(a)
302 #endif /* __cplusplus */
305 #define SWIG_FromSignedChar PyInt_FromLong
306 #define SWIG_FromUnsignedChar PyInt_FromLong
307 #define SWIG_FromShort PyInt_FromLong
308 #define SWIG_FromUnsignedShort PyInt_FromLong
309 #define SWIG_FromInt PyInt_FromLong
310 #define SWIG_FromLong PyInt_FromLong
311 #define SWIG_FromFloat PyFloat_FromDouble
312 #define SWIG_FromDouble PyFloat_FromDouble
313 #define SWIG_FromFloat PyFloat_FromDouble
314 #define SWIG_FromDouble PyFloat_FromDouble
317 #include "wx/wxPython/wxPython.h"
318 #include "wx/wxPython/pyclasses.h"
319 #include "wx/wxPython/pyistream.h"
320 #include "wx/wxPython/printfw.h"
322 #include <wx/html/htmlwin.h>
323 #include <wx/html/htmprint.h>
324 #include <wx/html/helpctrl.h>
327 static const wxString
wxPyEmptyString(wxEmptyString
);
328 static const wxString
wxPyHtmlWindowNameStr(wxT("htmlWindow"));
329 static const wxString
wxPyHtmlPrintoutTitleStr(wxT("Printout"));
330 static const wxString
wxPyHtmlPrintingTitleStr(wxT("Printing"));
335 SWIGSTATICINLINE(long)
336 SWIG_CheckLongInRange(long value
, const char* type
,
337 long min_value
, long max_value
)
339 if (!PyErr_Occurred()) {
340 if (value
< min_value
) {
342 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
343 value
, type
, min_value
);
345 PyErr_SetObject(PyExc_OverflowError
, err
);
347 } else if (value
> max_value
) {
349 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
350 value
, type
, max_value
);
351 PyErr_SetObject(PyExc_OverflowError
, err
);
359 SWIGSTATICINLINE(long)
360 SWIG_AsLong(PyObject
* obj
)
362 if (PyNumber_Check(obj
))
363 return PyInt_AsLong(obj
);
365 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
366 obj
->ob_type
->tp_name
);
367 PyErr_SetObject(PyExc_TypeError
, errmsg
);
374 #if INT_MAX != LONG_MAX
375 SWIGSTATICINLINE(int)
376 SWIG_AsInt(PyObject
*obj
)
378 return swig_numeric_cast(int,
379 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
380 "int", INT_MIN
, INT_MAX
));
383 #define SWIG_AsInt SWIG_AsLong
387 SWIGSTATICINLINE(int)
388 SWIG_CheckInt(PyObject
* obj
)
391 if (PyErr_Occurred()) {
399 void wxHtmlWinParser_SetFonts(wxHtmlWinParser
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
){
401 if (sizes
) temp
= int_LIST_helper(sizes
);
402 self
->SetFonts(normal_face
, fixed_face
, temp
);
407 class wxPyHtmlTagHandler
: public wxHtmlTagHandler
{
408 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler
);
410 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
412 wxHtmlParser
* GetParser() { return m_Parser
; }
413 void ParseInner(const wxHtmlTag
& tag
) { wxHtmlTagHandler::ParseInner(tag
); }
415 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
416 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
421 IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler
, wxHtmlTagHandler
);
423 IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, GetSupportedTags
);
424 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, HandleTag
);
427 class wxPyHtmlWinTagHandler
: public wxHtmlWinTagHandler
{
428 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler
);
430 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
432 wxHtmlWinParser
* GetParser() { return m_WParser
; }
433 void ParseInner(const wxHtmlTag
& tag
)
434 { wxHtmlWinTagHandler::ParseInner(tag
); }
436 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
437 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
442 IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
);
444 IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, GetSupportedTags
);
445 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, HandleTag
);
449 class wxPyHtmlTagsModule
: public wxHtmlTagsModule
{
451 wxPyHtmlTagsModule(PyObject
* thc
) : wxHtmlTagsModule() {
452 m_tagHandlerClass
= thc
;
453 Py_INCREF(m_tagHandlerClass
);
454 RegisterModule(this);
455 wxHtmlWinParser::AddModule(this);
459 bool blocked
= wxPyBeginBlockThreads();
460 Py_DECREF(m_tagHandlerClass
);
461 m_tagHandlerClass
= NULL
;
462 for (size_t x
=0; x
< m_objArray
.GetCount(); x
++) {
463 PyObject
* obj
= (PyObject
*)m_objArray
.Item(x
);
466 wxPyEndBlockThreads(blocked
);
469 void FillHandlersTable(wxHtmlWinParser
*parser
) {
470 // Wave our magic wand... (if it works it's a miracle! ;-)
472 // First, make a new instance of the tag handler
473 bool blocked
= wxPyBeginBlockThreads();
474 PyObject
* arg
= PyTuple_New(0);
475 PyObject
* obj
= PyObject_CallObject(m_tagHandlerClass
, arg
);
478 // now figure out where it's C++ object is...
479 wxPyHtmlWinTagHandler
* thPtr
;
480 if (! wxPyConvertSwigPtr(obj
, (void **)&thPtr
, wxT("wxPyHtmlWinTagHandler"))) {
481 wxPyEndBlockThreads(blocked
);
484 wxPyEndBlockThreads(blocked
);
487 parser
->AddTagHandler(thPtr
);
494 PyObject
* m_tagHandlerClass
;
495 wxArrayPtrVoid m_objArray
;
500 void wxHtmlWinParser_AddTagHandler(PyObject
* tagHandlerClass
) {
501 // Dynamically create a new wxModule. Refcounts tagHandlerClass
502 // and adds itself to the wxModules list and to the wxHtmlWinParser.
503 new wxPyHtmlTagsModule(tagHandlerClass
);
507 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
513 } else if (target
== Py_None
) {
517 if (!PyTuple_Check(target
)) {
519 target
= PyTuple_New(1);
520 PyTuple_SetItem(target
, 0, o2
);
523 PyTuple_SetItem(o3
, 0, o
);
526 target
= PySequence_Concat(o2
, o3
);
534 SWIGSTATICINLINE(bool)
535 SWIG_AsBool(PyObject
*obj
)
537 return PyObject_IsTrue(obj
) ? true : false;
541 SWIGSTATICINLINE(int)
542 SWIG_CheckBool(PyObject
* obj
)
545 if (PyErr_Occurred()) {
554 SWIGSTATICINLINE(unsigned long)
555 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
556 unsigned long max_value
)
558 if (!PyErr_Occurred()) {
559 if (value
> max_value
) {
561 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
562 value
, type
, max_value
);
563 PyErr_SetObject(PyExc_OverflowError
, err
);
571 SWIGSTATICINLINE(unsigned long)
572 SWIG_AsUnsignedLong(PyObject
* obj
)
574 if (PyLong_Check(obj
)) {
575 return PyLong_AsUnsignedLong(obj
);
577 long i
= SWIG_AsLong(obj
);
578 if ( !PyErr_Occurred() && (i
< 0)) {
579 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
586 #if UINT_MAX != ULONG_MAX
587 SWIGSTATICINLINE(unsigned int)
588 SWIG_AsUnsignedInt(PyObject
*obj
)
590 return swig_numeric_cast(unsigned int,
591 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
592 "unsigned int", UINT_MAX
));
595 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
599 SWIGSTATICINLINE(int)
600 SWIG_CheckUnsignedInt(PyObject
* obj
)
602 SWIG_AsUnsignedInt(obj
);
603 if (PyErr_Occurred()) {
612 SWIGSTATICINLINE(PyObject
* )
613 SWIG_FromUnsignedLong(unsigned long value
)
615 return (value
> LONG_MAX
) ?
616 PyLong_FromUnsignedLong(value
)
617 : PyInt_FromLong(swig_numeric_cast(long,value
));
621 #if UINT_MAX < LONG_MAX
622 #define SWIG_FromUnsignedInt SWIG_FromLong
624 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
627 // here's the C++ version
628 class wxPyHtmlFilter
: public wxHtmlFilter
{
629 DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter
);
631 wxPyHtmlFilter() : wxHtmlFilter() {}
633 // returns True if this filter is able to open&read given file
634 virtual bool CanRead(const wxFSFile
& file
) const {
637 bool blocked
= wxPyBeginBlockThreads();
638 if ((found
= wxPyCBH_findCallback(m_myInst
, "CanRead"))) {
639 PyObject
* obj
= wxPyMake_wxObject((wxFSFile
*)&file
,false); // cast away const
640 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
643 wxPyEndBlockThreads(blocked
);
648 // Reads given file and returns HTML document.
649 // Returns empty string if opening failed
650 virtual wxString
ReadFile(const wxFSFile
& file
) const {
653 bool blocked
= wxPyBeginBlockThreads();
654 if ((found
= wxPyCBH_findCallback(m_myInst
, "ReadFile"))) {
655 PyObject
* obj
= wxPyMake_wxObject((wxFSFile
*)&file
,false); // cast away const
657 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(O)", obj
));
660 rval
= Py2wxString(ro
);
664 wxPyEndBlockThreads(blocked
);
671 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter
, wxHtmlFilter
);
674 class wxPyHtmlWindow
: public wxHtmlWindow
{
675 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow
);
677 wxPyHtmlWindow(wxWindow
*parent
, wxWindowID id
= -1,
678 const wxPoint
& pos
= wxDefaultPosition
,
679 const wxSize
& size
= wxDefaultSize
,
680 long style
= wxHW_DEFAULT_STYLE
,
681 const wxString
& name
= wxPyHtmlWindowNameStr
)
682 : wxHtmlWindow(parent
, id
, pos
, size
, style
, name
) {};
683 wxPyHtmlWindow() : wxHtmlWindow() {};
685 bool ScrollToAnchor(const wxString
& anchor
) {
686 return wxHtmlWindow::ScrollToAnchor(anchor
);
689 bool HasAnchor(const wxString
& anchor
) {
690 const wxHtmlCell
*c
= m_Cell
->Find(wxHTML_COND_ISANCHOR
, &anchor
);
694 void OnLinkClicked(const wxHtmlLinkInfo
& link
);
695 void base_OnLinkClicked(const wxHtmlLinkInfo
& link
);
697 wxHtmlOpeningStatus
OnOpeningURL(wxHtmlURLType type
,
699 wxString
*redirect
) const;
701 DEC_PYCALLBACK__STRING(OnSetTitle
);
702 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover
);
703 DEC_PYCALLBACK__CELLINTINTME(OnCellClicked
);
707 IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow
, wxHtmlWindow
);
708 IMP_PYCALLBACK__STRING(wxPyHtmlWindow
, wxHtmlWindow
, OnSetTitle
);
709 IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow
, wxHtmlWindow
, OnCellMouseHover
);
710 IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow
, wxHtmlWindow
, OnCellClicked
);
713 void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo
& link
) {
715 bool blocked
= wxPyBeginBlockThreads();
716 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
717 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
718 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
721 wxPyEndBlockThreads(blocked
);
723 wxHtmlWindow::OnLinkClicked(link
);
725 void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo
& link
) {
726 wxHtmlWindow::OnLinkClicked(link
);
730 wxHtmlOpeningStatus
wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type
,
732 wxString
*redirect
) const {
734 wxHtmlOpeningStatus rval
;
735 bool blocked
= wxPyBeginBlockThreads();
736 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnOpeningURL"))) {
738 PyObject
* s
= wx2PyString(url
);
739 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(iO)", type
, s
));
741 if (PyString_Check(ro
)
742 #if PYTHON_API_VERSION >= 1009
743 || PyUnicode_Check(ro
)
746 *redirect
= Py2wxString(ro
);
747 rval
= wxHTML_REDIRECT
;
750 PyObject
* num
= PyNumber_Int(ro
);
751 rval
= (wxHtmlOpeningStatus
)PyInt_AsLong(num
);
756 wxPyEndBlockThreads(blocked
);
758 rval
= wxHtmlWindow::OnOpeningURL(type
, url
, redirect
);
764 void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
){
766 if (sizes
) temp
= int_LIST_helper(sizes
);
767 self
->SetFonts(normal_face
, fixed_face
, temp
);
771 void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
){
773 if (sizes
) temp
= int_LIST_helper(sizes
);
774 self
->SetFonts(normal_face
, fixed_face
, temp
);
778 void wxHtmlPrintout_SetFonts(wxHtmlPrintout
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
){
780 if (sizes
) temp
= int_LIST_helper(sizes
);
781 self
->SetFonts(normal_face
, fixed_face
, temp
);
789 SWIG_FloatCast(double value
)
792 if (!PyErr_Occurred()) {
793 if (value
< FLT_MIN
) {
795 PyString_FromFormat("value %g is less than float minimum %g",
797 PyErr_SetObject(PyExc_OverflowError
, err
);
799 } else if (value
> FLT_MAX
) {
801 PyString_FromFormat("value %g is greater than float maximum %g",
803 PyErr_SetObject(PyExc_OverflowError
, err
);
806 f
= swig_numeric_cast(float, value
);
813 SWIGSTATICINLINE(double)
814 SWIG_AsDouble(PyObject
*obj
)
816 if (PyNumber_Check(obj
))
817 return PyFloat_AsDouble(obj
);
819 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
820 obj
->ob_type
->tp_name
);
821 PyErr_SetObject(PyExc_TypeError
, errmsg
);
828 SWIGSTATICINLINE(float)
829 SWIG_AsFloat(PyObject
*obj
)
831 return SWIG_FloatCast(SWIG_AsDouble(obj
));
835 SWIGSTATICINLINE(int)
836 SWIG_CheckFloat(PyObject
* obj
)
839 if (PyErr_Occurred()) {
847 void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
){
849 if (sizes
) temp
= int_LIST_helper(sizes
);
850 self
->SetFonts(normal_face
, fixed_face
, temp
);
854 int wxHtmlContentsItem_GetLevel(wxHtmlContentsItem
*self
){ return self
->m_Level
; }
855 int wxHtmlContentsItem_GetID(wxHtmlContentsItem
*self
){ return self
->m_ID
; }
856 wxString
wxHtmlContentsItem_GetName(wxHtmlContentsItem
*self
){ return self
->m_Name
; }
857 wxString
wxHtmlContentsItem_GetPage(wxHtmlContentsItem
*self
){ return self
->m_Page
; }
858 wxHtmlBookRecord
*wxHtmlContentsItem_GetBook(wxHtmlContentsItem
*self
){ return self
->m_Book
; }
862 static int _wrap_HtmlWindowNameStr_set(PyObject
*_val
) {
863 PyErr_SetString(PyExc_TypeError
,"Variable HtmlWindowNameStr is read-only.");
868 static PyObject
*_wrap_HtmlWindowNameStr_get() {
873 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr
)->c_str(), (&wxPyHtmlWindowNameStr
)->Len());
875 pyobj
= PyString_FromStringAndSize((&wxPyHtmlWindowNameStr
)->c_str(), (&wxPyHtmlWindowNameStr
)->Len());
882 static int _wrap_HtmlPrintoutTitleStr_set(PyObject
*_val
) {
883 PyErr_SetString(PyExc_TypeError
,"Variable HtmlPrintoutTitleStr is read-only.");
888 static PyObject
*_wrap_HtmlPrintoutTitleStr_get() {
893 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr
)->c_str(), (&wxPyHtmlPrintoutTitleStr
)->Len());
895 pyobj
= PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr
)->c_str(), (&wxPyHtmlPrintoutTitleStr
)->Len());
902 static int _wrap_HtmlPrintingTitleStr_set(PyObject
*_val
) {
903 PyErr_SetString(PyExc_TypeError
,"Variable HtmlPrintingTitleStr is read-only.");
908 static PyObject
*_wrap_HtmlPrintingTitleStr_get() {
913 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr
)->c_str(), (&wxPyHtmlPrintingTitleStr
)->Len());
915 pyobj
= PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr
)->c_str(), (&wxPyHtmlPrintingTitleStr
)->Len());
922 static PyObject
*_wrap_new_HtmlLinkInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
925 wxString
const &arg2_defvalue
= wxPyEmptyString
;
926 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
927 wxHtmlLinkInfo
*result
;
930 PyObject
* obj0
= 0 ;
931 PyObject
* obj1
= 0 ;
933 (char *) "href",(char *) "target", NULL
936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlLinkInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
938 arg1
= wxString_in_helper(obj0
);
939 if (arg1
== NULL
) SWIG_fail
;
944 arg2
= wxString_in_helper(obj1
);
945 if (arg2
== NULL
) SWIG_fail
;
950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
951 result
= (wxHtmlLinkInfo
*)new wxHtmlLinkInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
);
953 wxPyEndAllowThreads(__tstate
);
954 if (PyErr_Occurred()) SWIG_fail
;
956 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlLinkInfo
, 1);
979 static PyObject
*_wrap_HtmlLinkInfo_GetHref(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
981 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
983 PyObject
* obj0
= 0 ;
985 (char *) "self", NULL
988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlLinkInfo_GetHref",kwnames
,&obj0
)) goto fail
;
989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlLinkInfo
,
990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
993 result
= (arg1
)->GetHref();
995 wxPyEndAllowThreads(__tstate
);
996 if (PyErr_Occurred()) SWIG_fail
;
1000 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1002 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1011 static PyObject
*_wrap_HtmlLinkInfo_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1012 PyObject
*resultobj
;
1013 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
1015 PyObject
* obj0
= 0 ;
1017 (char *) "self", NULL
1020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlLinkInfo_GetTarget",kwnames
,&obj0
)) goto fail
;
1021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlLinkInfo
,
1022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1025 result
= (arg1
)->GetTarget();
1027 wxPyEndAllowThreads(__tstate
);
1028 if (PyErr_Occurred()) SWIG_fail
;
1032 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1034 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1043 static PyObject
*_wrap_HtmlLinkInfo_GetEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1044 PyObject
*resultobj
;
1045 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
1046 wxMouseEvent
*result
;
1047 PyObject
* obj0
= 0 ;
1049 (char *) "self", NULL
1052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlLinkInfo_GetEvent",kwnames
,&obj0
)) goto fail
;
1053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlLinkInfo
,
1054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1057 result
= (wxMouseEvent
*)(arg1
)->GetEvent();
1059 wxPyEndAllowThreads(__tstate
);
1060 if (PyErr_Occurred()) SWIG_fail
;
1063 resultobj
= wxPyMake_wxObject(result
, 0);
1071 static PyObject
*_wrap_HtmlLinkInfo_GetHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1072 PyObject
*resultobj
;
1073 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
1075 PyObject
* obj0
= 0 ;
1077 (char *) "self", NULL
1080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlLinkInfo_GetHtmlCell",kwnames
,&obj0
)) goto fail
;
1081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlLinkInfo
,
1082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1085 result
= (wxHtmlCell
*)(arg1
)->GetHtmlCell();
1087 wxPyEndAllowThreads(__tstate
);
1088 if (PyErr_Occurred()) SWIG_fail
;
1090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
1097 static PyObject
*_wrap_HtmlLinkInfo_SetEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1098 PyObject
*resultobj
;
1099 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
1100 wxMouseEvent
*arg2
= (wxMouseEvent
*) 0 ;
1101 PyObject
* obj0
= 0 ;
1102 PyObject
* obj1
= 0 ;
1104 (char *) "self",(char *) "e", NULL
1107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
1108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlLinkInfo
,
1109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1110 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
1111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1114 (arg1
)->SetEvent((wxMouseEvent
const *)arg2
);
1116 wxPyEndAllowThreads(__tstate
);
1117 if (PyErr_Occurred()) SWIG_fail
;
1119 Py_INCREF(Py_None
); resultobj
= Py_None
;
1126 static PyObject
*_wrap_HtmlLinkInfo_SetHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1127 PyObject
*resultobj
;
1128 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
1129 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
1130 PyObject
* obj0
= 0 ;
1131 PyObject
* obj1
= 0 ;
1133 (char *) "self",(char *) "e", NULL
1136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames
,&obj0
,&obj1
)) goto fail
;
1137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlLinkInfo
,
1138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1139 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlCell
,
1140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1143 (arg1
)->SetHtmlCell((wxHtmlCell
const *)arg2
);
1145 wxPyEndAllowThreads(__tstate
);
1146 if (PyErr_Occurred()) SWIG_fail
;
1148 Py_INCREF(Py_None
); resultobj
= Py_None
;
1155 static PyObject
* HtmlLinkInfo_swigregister(PyObject
*self
, PyObject
*args
) {
1157 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1158 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlLinkInfo
, obj
);
1160 return Py_BuildValue((char *)"");
1162 static PyObject
*_wrap_HtmlTag_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1163 PyObject
*resultobj
;
1164 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
1166 PyObject
* obj0
= 0 ;
1168 (char *) "self", NULL
1171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_GetName",kwnames
,&obj0
)) goto fail
;
1172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlTag
,
1173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1176 result
= (arg1
)->GetName();
1178 wxPyEndAllowThreads(__tstate
);
1179 if (PyErr_Occurred()) SWIG_fail
;
1183 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1185 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1194 static PyObject
*_wrap_HtmlTag_HasParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1195 PyObject
*resultobj
;
1196 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
1197 wxString
*arg2
= 0 ;
1199 bool temp2
= False
;
1200 PyObject
* obj0
= 0 ;
1201 PyObject
* obj1
= 0 ;
1203 (char *) "self",(char *) "par", NULL
1206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTag_HasParam",kwnames
,&obj0
,&obj1
)) goto fail
;
1207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlTag
,
1208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1210 arg2
= wxString_in_helper(obj1
);
1211 if (arg2
== NULL
) SWIG_fail
;
1215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1216 result
= (bool)(arg1
)->HasParam((wxString
const &)*arg2
);
1218 wxPyEndAllowThreads(__tstate
);
1219 if (PyErr_Occurred()) SWIG_fail
;
1222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1238 static PyObject
*_wrap_HtmlTag_GetParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1239 PyObject
*resultobj
;
1240 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
1241 wxString
*arg2
= 0 ;
1242 int arg3
= (int) False
;
1244 bool temp2
= False
;
1245 PyObject
* obj0
= 0 ;
1246 PyObject
* obj1
= 0 ;
1247 PyObject
* obj2
= 0 ;
1249 (char *) "self",(char *) "par",(char *) "with_commas", NULL
1252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlTag_GetParam",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlTag
,
1254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1256 arg2
= wxString_in_helper(obj1
);
1257 if (arg2
== NULL
) SWIG_fail
;
1261 arg3
= (int) SWIG_AsInt(obj2
);
1262 if (PyErr_Occurred()) SWIG_fail
;
1265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1266 result
= (arg1
)->GetParam((wxString
const &)*arg2
,arg3
);
1268 wxPyEndAllowThreads(__tstate
);
1269 if (PyErr_Occurred()) SWIG_fail
;
1273 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1275 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1292 static PyObject
*_wrap_HtmlTag_GetAllParams(PyObject
*self
, 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_GetAllParams",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
)->GetAllParams();
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_HasEnding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1325 PyObject
*resultobj
;
1326 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
1328 PyObject
* obj0
= 0 ;
1330 (char *) "self", NULL
1333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_HasEnding",kwnames
,&obj0
)) goto fail
;
1334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlTag
,
1335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1338 result
= (bool)(arg1
)->HasEnding();
1340 wxPyEndAllowThreads(__tstate
);
1341 if (PyErr_Occurred()) SWIG_fail
;
1344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1352 static PyObject
*_wrap_HtmlTag_GetBeginPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1353 PyObject
*resultobj
;
1354 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
1356 PyObject
* obj0
= 0 ;
1358 (char *) "self", NULL
1361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_GetBeginPos",kwnames
,&obj0
)) goto fail
;
1362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlTag
,
1363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1366 result
= (int)(arg1
)->GetBeginPos();
1368 wxPyEndAllowThreads(__tstate
);
1369 if (PyErr_Occurred()) SWIG_fail
;
1371 resultobj
= SWIG_FromInt((int)result
);
1378 static PyObject
*_wrap_HtmlTag_GetEndPos1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1379 PyObject
*resultobj
;
1380 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
1382 PyObject
* obj0
= 0 ;
1384 (char *) "self", NULL
1387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_GetEndPos1",kwnames
,&obj0
)) goto fail
;
1388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlTag
,
1389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1392 result
= (int)(arg1
)->GetEndPos1();
1394 wxPyEndAllowThreads(__tstate
);
1395 if (PyErr_Occurred()) SWIG_fail
;
1397 resultobj
= SWIG_FromInt((int)result
);
1404 static PyObject
*_wrap_HtmlTag_GetEndPos2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1405 PyObject
*resultobj
;
1406 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
1408 PyObject
* obj0
= 0 ;
1410 (char *) "self", NULL
1413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_GetEndPos2",kwnames
,&obj0
)) goto fail
;
1414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlTag
,
1415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1418 result
= (int)(arg1
)->GetEndPos2();
1420 wxPyEndAllowThreads(__tstate
);
1421 if (PyErr_Occurred()) SWIG_fail
;
1423 resultobj
= SWIG_FromInt((int)result
);
1430 static PyObject
* HtmlTag_swigregister(PyObject
*self
, PyObject
*args
) {
1432 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1433 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlTag
, obj
);
1435 return Py_BuildValue((char *)"");
1437 static PyObject
*_wrap_HtmlParser_SetFS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1438 PyObject
*resultobj
;
1439 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1440 wxFileSystem
*arg2
= (wxFileSystem
*) 0 ;
1441 PyObject
* obj0
= 0 ;
1442 PyObject
* obj1
= 0 ;
1444 (char *) "self",(char *) "fs", NULL
1447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_SetFS",kwnames
,&obj0
,&obj1
)) goto fail
;
1448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlParser
,
1449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1450 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
1451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1454 (arg1
)->SetFS(arg2
);
1456 wxPyEndAllowThreads(__tstate
);
1457 if (PyErr_Occurred()) SWIG_fail
;
1459 Py_INCREF(Py_None
); resultobj
= Py_None
;
1466 static PyObject
*_wrap_HtmlParser_GetFS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1467 PyObject
*resultobj
;
1468 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1469 wxFileSystem
*result
;
1470 PyObject
* obj0
= 0 ;
1472 (char *) "self", NULL
1475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlParser_GetFS",kwnames
,&obj0
)) goto fail
;
1476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlParser
,
1477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1480 result
= (wxFileSystem
*)(arg1
)->GetFS();
1482 wxPyEndAllowThreads(__tstate
);
1483 if (PyErr_Occurred()) SWIG_fail
;
1486 resultobj
= wxPyMake_wxObject(result
, 0);
1494 static PyObject
*_wrap_HtmlParser_Parse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1495 PyObject
*resultobj
;
1496 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1497 wxString
*arg2
= 0 ;
1499 bool temp2
= False
;
1500 PyObject
* obj0
= 0 ;
1501 PyObject
* obj1
= 0 ;
1503 (char *) "self",(char *) "source", NULL
1506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_Parse",kwnames
,&obj0
,&obj1
)) goto fail
;
1507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlParser
,
1508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1510 arg2
= wxString_in_helper(obj1
);
1511 if (arg2
== NULL
) SWIG_fail
;
1515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1516 result
= (wxObject
*)(arg1
)->Parse((wxString
const &)*arg2
);
1518 wxPyEndAllowThreads(__tstate
);
1519 if (PyErr_Occurred()) SWIG_fail
;
1522 resultobj
= wxPyMake_wxObject(result
, 0);
1538 static PyObject
*_wrap_HtmlParser_InitParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1539 PyObject
*resultobj
;
1540 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1541 wxString
*arg2
= 0 ;
1542 bool temp2
= False
;
1543 PyObject
* obj0
= 0 ;
1544 PyObject
* obj1
= 0 ;
1546 (char *) "self",(char *) "source", NULL
1549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_InitParser",kwnames
,&obj0
,&obj1
)) goto fail
;
1550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlParser
,
1551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1553 arg2
= wxString_in_helper(obj1
);
1554 if (arg2
== NULL
) SWIG_fail
;
1558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1559 (arg1
)->InitParser((wxString
const &)*arg2
);
1561 wxPyEndAllowThreads(__tstate
);
1562 if (PyErr_Occurred()) SWIG_fail
;
1564 Py_INCREF(Py_None
); resultobj
= Py_None
;
1579 static PyObject
*_wrap_HtmlParser_DoneParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1580 PyObject
*resultobj
;
1581 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1582 PyObject
* obj0
= 0 ;
1584 (char *) "self", NULL
1587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlParser_DoneParser",kwnames
,&obj0
)) goto fail
;
1588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlParser
,
1589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1592 (arg1
)->DoneParser();
1594 wxPyEndAllowThreads(__tstate
);
1595 if (PyErr_Occurred()) SWIG_fail
;
1597 Py_INCREF(Py_None
); resultobj
= Py_None
;
1604 static PyObject
*_wrap_HtmlParser_DoParsing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1605 PyObject
*resultobj
;
1606 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1609 PyObject
* obj0
= 0 ;
1610 PyObject
* obj1
= 0 ;
1611 PyObject
* obj2
= 0 ;
1613 (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
1616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlParser_DoParsing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlParser
,
1618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1619 arg2
= (int) SWIG_AsInt(obj1
);
1620 if (PyErr_Occurred()) SWIG_fail
;
1621 arg3
= (int) SWIG_AsInt(obj2
);
1622 if (PyErr_Occurred()) SWIG_fail
;
1624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1625 (arg1
)->DoParsing(arg2
,arg3
);
1627 wxPyEndAllowThreads(__tstate
);
1628 if (PyErr_Occurred()) SWIG_fail
;
1630 Py_INCREF(Py_None
); resultobj
= Py_None
;
1637 static PyObject
*_wrap_HtmlParser_StopParsing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1638 PyObject
*resultobj
;
1639 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1640 PyObject
* obj0
= 0 ;
1642 (char *) "self", NULL
1645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlParser_StopParsing",kwnames
,&obj0
)) goto fail
;
1646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlParser
,
1647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1650 (arg1
)->StopParsing();
1652 wxPyEndAllowThreads(__tstate
);
1653 if (PyErr_Occurred()) SWIG_fail
;
1655 Py_INCREF(Py_None
); resultobj
= Py_None
;
1662 static PyObject
*_wrap_HtmlParser_AddTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1663 PyObject
*resultobj
;
1664 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1665 wxHtmlTagHandler
*arg2
= (wxHtmlTagHandler
*) 0 ;
1666 PyObject
* obj0
= 0 ;
1667 PyObject
* obj1
= 0 ;
1669 (char *) "self",(char *) "handler", NULL
1672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_AddTagHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
1673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlParser
,
1674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1675 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlTagHandler
,
1676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1679 (arg1
)->AddTagHandler(arg2
);
1681 wxPyEndAllowThreads(__tstate
);
1682 if (PyErr_Occurred()) SWIG_fail
;
1684 Py_INCREF(Py_None
); resultobj
= Py_None
;
1691 static PyObject
*_wrap_HtmlParser_GetSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1692 PyObject
*resultobj
;
1693 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1695 PyObject
* obj0
= 0 ;
1697 (char *) "self", NULL
1700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlParser_GetSource",kwnames
,&obj0
)) goto fail
;
1701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlParser
,
1702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1705 result
= (wxString
*)(arg1
)->GetSource();
1707 wxPyEndAllowThreads(__tstate
);
1708 if (PyErr_Occurred()) SWIG_fail
;
1712 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
1714 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
1723 static PyObject
*_wrap_HtmlParser_PushTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1724 PyObject
*resultobj
;
1725 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1726 wxHtmlTagHandler
*arg2
= (wxHtmlTagHandler
*) 0 ;
1728 PyObject
* obj0
= 0 ;
1729 PyObject
* obj1
= 0 ;
1730 PyObject
* obj2
= 0 ;
1732 (char *) "self",(char *) "handler",(char *) "tags", NULL
1735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlParser_PushTagHandler",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlParser
,
1737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1738 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlTagHandler
,
1739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1741 wxString
* sptr
= wxString_in_helper(obj2
);
1742 if (sptr
== NULL
) SWIG_fail
;
1747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1748 (arg1
)->PushTagHandler(arg2
,arg3
);
1750 wxPyEndAllowThreads(__tstate
);
1751 if (PyErr_Occurred()) SWIG_fail
;
1753 Py_INCREF(Py_None
); resultobj
= Py_None
;
1760 static PyObject
*_wrap_HtmlParser_PopTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1761 PyObject
*resultobj
;
1762 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
1763 PyObject
* obj0
= 0 ;
1765 (char *) "self", NULL
1768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlParser_PopTagHandler",kwnames
,&obj0
)) goto fail
;
1769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlParser
,
1770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1773 (arg1
)->PopTagHandler();
1775 wxPyEndAllowThreads(__tstate
);
1776 if (PyErr_Occurred()) SWIG_fail
;
1778 Py_INCREF(Py_None
); resultobj
= Py_None
;
1785 static PyObject
* HtmlParser_swigregister(PyObject
*self
, PyObject
*args
) {
1787 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1788 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlParser
, obj
);
1790 return Py_BuildValue((char *)"");
1792 static PyObject
*_wrap_new_HtmlWinParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1793 PyObject
*resultobj
;
1794 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) NULL
;
1795 wxHtmlWinParser
*result
;
1796 PyObject
* obj0
= 0 ;
1798 (char *) "wnd", NULL
1801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_HtmlWinParser",kwnames
,&obj0
)) goto fail
;
1803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
1804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1808 result
= (wxHtmlWinParser
*)new wxHtmlWinParser(arg1
);
1810 wxPyEndAllowThreads(__tstate
);
1811 if (PyErr_Occurred()) SWIG_fail
;
1813 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlWinParser
, 1);
1820 static PyObject
*_wrap_HtmlWinParser_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1821 PyObject
*resultobj
;
1822 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
1823 wxDC
*arg2
= (wxDC
*) 0 ;
1824 PyObject
* obj0
= 0 ;
1825 PyObject
* obj1
= 0 ;
1827 (char *) "self",(char *) "dc", NULL
1830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
1831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
1832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1833 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
1834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1837 (arg1
)->SetDC(arg2
);
1839 wxPyEndAllowThreads(__tstate
);
1840 if (PyErr_Occurred()) SWIG_fail
;
1842 Py_INCREF(Py_None
); resultobj
= Py_None
;
1849 static PyObject
*_wrap_HtmlWinParser_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1850 PyObject
*resultobj
;
1851 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
1853 PyObject
* obj0
= 0 ;
1855 (char *) "self", NULL
1858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetDC",kwnames
,&obj0
)) goto fail
;
1859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
1860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1863 result
= (wxDC
*)(arg1
)->GetDC();
1865 wxPyEndAllowThreads(__tstate
);
1866 if (PyErr_Occurred()) SWIG_fail
;
1869 resultobj
= wxPyMake_wxObject(result
, 0);
1877 static PyObject
*_wrap_HtmlWinParser_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1878 PyObject
*resultobj
;
1879 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
1881 PyObject
* obj0
= 0 ;
1883 (char *) "self", NULL
1886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetCharHeight",kwnames
,&obj0
)) goto fail
;
1887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
1888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1891 result
= (int)(arg1
)->GetCharHeight();
1893 wxPyEndAllowThreads(__tstate
);
1894 if (PyErr_Occurred()) SWIG_fail
;
1896 resultobj
= SWIG_FromInt((int)result
);
1903 static PyObject
*_wrap_HtmlWinParser_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1904 PyObject
*resultobj
;
1905 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
1907 PyObject
* obj0
= 0 ;
1909 (char *) "self", NULL
1912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetCharWidth",kwnames
,&obj0
)) goto fail
;
1913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
1914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1917 result
= (int)(arg1
)->GetCharWidth();
1919 wxPyEndAllowThreads(__tstate
);
1920 if (PyErr_Occurred()) SWIG_fail
;
1922 resultobj
= SWIG_FromInt((int)result
);
1929 static PyObject
*_wrap_HtmlWinParser_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1930 PyObject
*resultobj
;
1931 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
1932 wxPyHtmlWindow
*result
;
1933 PyObject
* obj0
= 0 ;
1935 (char *) "self", NULL
1938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetWindow",kwnames
,&obj0
)) goto fail
;
1939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
1940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1943 result
= (wxPyHtmlWindow
*)(arg1
)->GetWindow();
1945 wxPyEndAllowThreads(__tstate
);
1946 if (PyErr_Occurred()) SWIG_fail
;
1949 resultobj
= wxPyMake_wxObject(result
, 0);
1957 static PyObject
*_wrap_HtmlWinParser_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1958 PyObject
*resultobj
;
1959 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
1962 PyObject
*arg4
= (PyObject
*) NULL
;
1963 PyObject
* obj0
= 0 ;
1964 PyObject
* obj1
= 0 ;
1965 PyObject
* obj2
= 0 ;
1966 PyObject
* obj3
= 0 ;
1968 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
1971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
1973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1975 wxString
* sptr
= wxString_in_helper(obj1
);
1976 if (sptr
== NULL
) SWIG_fail
;
1981 wxString
* sptr
= wxString_in_helper(obj2
);
1982 if (sptr
== NULL
) SWIG_fail
;
1990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1991 wxHtmlWinParser_SetFonts(arg1
,arg2
,arg3
,arg4
);
1993 wxPyEndAllowThreads(__tstate
);
1994 if (PyErr_Occurred()) SWIG_fail
;
1996 Py_INCREF(Py_None
); resultobj
= Py_None
;
2003 static PyObject
*_wrap_HtmlWinParser_NormalizeFontSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2004 PyObject
*resultobj
;
2005 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2006 int arg2
= (int) -1 ;
2007 PyObject
* obj0
= 0 ;
2008 PyObject
* obj1
= 0 ;
2010 (char *) "self",(char *) "size", NULL
2013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HtmlWinParser_NormalizeFontSizes",kwnames
,&obj0
,&obj1
)) goto fail
;
2014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2017 arg2
= (int) SWIG_AsInt(obj1
);
2018 if (PyErr_Occurred()) SWIG_fail
;
2021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2022 (arg1
)->NormalizeFontSizes(arg2
);
2024 wxPyEndAllowThreads(__tstate
);
2025 if (PyErr_Occurred()) SWIG_fail
;
2027 Py_INCREF(Py_None
); resultobj
= Py_None
;
2034 static PyObject
*_wrap_HtmlWinParser_GetContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2035 PyObject
*resultobj
;
2036 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2037 wxHtmlContainerCell
*result
;
2038 PyObject
* obj0
= 0 ;
2040 (char *) "self", NULL
2043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetContainer",kwnames
,&obj0
)) goto fail
;
2044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2048 result
= (wxHtmlContainerCell
*)(arg1
)->GetContainer();
2050 wxPyEndAllowThreads(__tstate
);
2051 if (PyErr_Occurred()) SWIG_fail
;
2053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0);
2060 static PyObject
*_wrap_HtmlWinParser_OpenContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2061 PyObject
*resultobj
;
2062 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2063 wxHtmlContainerCell
*result
;
2064 PyObject
* obj0
= 0 ;
2066 (char *) "self", NULL
2069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_OpenContainer",kwnames
,&obj0
)) goto fail
;
2070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2074 result
= (wxHtmlContainerCell
*)(arg1
)->OpenContainer();
2076 wxPyEndAllowThreads(__tstate
);
2077 if (PyErr_Occurred()) SWIG_fail
;
2079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0);
2086 static PyObject
*_wrap_HtmlWinParser_SetContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2087 PyObject
*resultobj
;
2088 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2089 wxHtmlContainerCell
*arg2
= (wxHtmlContainerCell
*) 0 ;
2090 wxHtmlContainerCell
*result
;
2091 PyObject
* obj0
= 0 ;
2092 PyObject
* obj1
= 0 ;
2094 (char *) "self",(char *) "c", NULL
2097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetContainer",kwnames
,&obj0
,&obj1
)) goto fail
;
2098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2100 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlContainerCell
,
2101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2104 result
= (wxHtmlContainerCell
*)(arg1
)->SetContainer(arg2
);
2106 wxPyEndAllowThreads(__tstate
);
2107 if (PyErr_Occurred()) SWIG_fail
;
2109 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0);
2116 static PyObject
*_wrap_HtmlWinParser_CloseContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2117 PyObject
*resultobj
;
2118 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2119 wxHtmlContainerCell
*result
;
2120 PyObject
* obj0
= 0 ;
2122 (char *) "self", NULL
2125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_CloseContainer",kwnames
,&obj0
)) goto fail
;
2126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2130 result
= (wxHtmlContainerCell
*)(arg1
)->CloseContainer();
2132 wxPyEndAllowThreads(__tstate
);
2133 if (PyErr_Occurred()) SWIG_fail
;
2135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0);
2142 static PyObject
*_wrap_HtmlWinParser_GetFontSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2143 PyObject
*resultobj
;
2144 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2146 PyObject
* obj0
= 0 ;
2148 (char *) "self", NULL
2151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetFontSize",kwnames
,&obj0
)) goto fail
;
2152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2156 result
= (int)(arg1
)->GetFontSize();
2158 wxPyEndAllowThreads(__tstate
);
2159 if (PyErr_Occurred()) SWIG_fail
;
2161 resultobj
= SWIG_FromInt((int)result
);
2168 static PyObject
*_wrap_HtmlWinParser_SetFontSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2169 PyObject
*resultobj
;
2170 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2172 PyObject
* obj0
= 0 ;
2173 PyObject
* obj1
= 0 ;
2175 (char *) "self",(char *) "s", NULL
2178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontSize",kwnames
,&obj0
,&obj1
)) goto fail
;
2179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2181 arg2
= (int) SWIG_AsInt(obj1
);
2182 if (PyErr_Occurred()) SWIG_fail
;
2184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2185 (arg1
)->SetFontSize(arg2
);
2187 wxPyEndAllowThreads(__tstate
);
2188 if (PyErr_Occurred()) SWIG_fail
;
2190 Py_INCREF(Py_None
); resultobj
= Py_None
;
2197 static PyObject
*_wrap_HtmlWinParser_GetFontBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2198 PyObject
*resultobj
;
2199 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2201 PyObject
* obj0
= 0 ;
2203 (char *) "self", NULL
2206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetFontBold",kwnames
,&obj0
)) goto fail
;
2207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2211 result
= (int)(arg1
)->GetFontBold();
2213 wxPyEndAllowThreads(__tstate
);
2214 if (PyErr_Occurred()) SWIG_fail
;
2216 resultobj
= SWIG_FromInt((int)result
);
2223 static PyObject
*_wrap_HtmlWinParser_SetFontBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2224 PyObject
*resultobj
;
2225 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2227 PyObject
* obj0
= 0 ;
2228 PyObject
* obj1
= 0 ;
2230 (char *) "self",(char *) "x", NULL
2233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontBold",kwnames
,&obj0
,&obj1
)) goto fail
;
2234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2236 arg2
= (int) SWIG_AsInt(obj1
);
2237 if (PyErr_Occurred()) SWIG_fail
;
2239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2240 (arg1
)->SetFontBold(arg2
);
2242 wxPyEndAllowThreads(__tstate
);
2243 if (PyErr_Occurred()) SWIG_fail
;
2245 Py_INCREF(Py_None
); resultobj
= Py_None
;
2252 static PyObject
*_wrap_HtmlWinParser_GetFontItalic(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2253 PyObject
*resultobj
;
2254 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2256 PyObject
* obj0
= 0 ;
2258 (char *) "self", NULL
2261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetFontItalic",kwnames
,&obj0
)) goto fail
;
2262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2266 result
= (int)(arg1
)->GetFontItalic();
2268 wxPyEndAllowThreads(__tstate
);
2269 if (PyErr_Occurred()) SWIG_fail
;
2271 resultobj
= SWIG_FromInt((int)result
);
2278 static PyObject
*_wrap_HtmlWinParser_SetFontItalic(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2279 PyObject
*resultobj
;
2280 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2282 PyObject
* obj0
= 0 ;
2283 PyObject
* obj1
= 0 ;
2285 (char *) "self",(char *) "x", NULL
2288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames
,&obj0
,&obj1
)) goto fail
;
2289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2291 arg2
= (int) SWIG_AsInt(obj1
);
2292 if (PyErr_Occurred()) SWIG_fail
;
2294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2295 (arg1
)->SetFontItalic(arg2
);
2297 wxPyEndAllowThreads(__tstate
);
2298 if (PyErr_Occurred()) SWIG_fail
;
2300 Py_INCREF(Py_None
); resultobj
= Py_None
;
2307 static PyObject
*_wrap_HtmlWinParser_GetFontUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2308 PyObject
*resultobj
;
2309 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2311 PyObject
* obj0
= 0 ;
2313 (char *) "self", NULL
2316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetFontUnderlined",kwnames
,&obj0
)) goto fail
;
2317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2321 result
= (int)(arg1
)->GetFontUnderlined();
2323 wxPyEndAllowThreads(__tstate
);
2324 if (PyErr_Occurred()) SWIG_fail
;
2326 resultobj
= SWIG_FromInt((int)result
);
2333 static PyObject
*_wrap_HtmlWinParser_SetFontUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2334 PyObject
*resultobj
;
2335 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2337 PyObject
* obj0
= 0 ;
2338 PyObject
* obj1
= 0 ;
2340 (char *) "self",(char *) "x", NULL
2343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
2344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2346 arg2
= (int) SWIG_AsInt(obj1
);
2347 if (PyErr_Occurred()) SWIG_fail
;
2349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2350 (arg1
)->SetFontUnderlined(arg2
);
2352 wxPyEndAllowThreads(__tstate
);
2353 if (PyErr_Occurred()) SWIG_fail
;
2355 Py_INCREF(Py_None
); resultobj
= Py_None
;
2362 static PyObject
*_wrap_HtmlWinParser_GetFontFixed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2363 PyObject
*resultobj
;
2364 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2366 PyObject
* obj0
= 0 ;
2368 (char *) "self", NULL
2371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetFontFixed",kwnames
,&obj0
)) goto fail
;
2372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2376 result
= (int)(arg1
)->GetFontFixed();
2378 wxPyEndAllowThreads(__tstate
);
2379 if (PyErr_Occurred()) SWIG_fail
;
2381 resultobj
= SWIG_FromInt((int)result
);
2388 static PyObject
*_wrap_HtmlWinParser_SetFontFixed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2389 PyObject
*resultobj
;
2390 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2392 PyObject
* obj0
= 0 ;
2393 PyObject
* obj1
= 0 ;
2395 (char *) "self",(char *) "x", NULL
2398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames
,&obj0
,&obj1
)) goto fail
;
2399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2401 arg2
= (int) SWIG_AsInt(obj1
);
2402 if (PyErr_Occurred()) SWIG_fail
;
2404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2405 (arg1
)->SetFontFixed(arg2
);
2407 wxPyEndAllowThreads(__tstate
);
2408 if (PyErr_Occurred()) SWIG_fail
;
2410 Py_INCREF(Py_None
); resultobj
= Py_None
;
2417 static PyObject
*_wrap_HtmlWinParser_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2418 PyObject
*resultobj
;
2419 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2421 PyObject
* obj0
= 0 ;
2423 (char *) "self", NULL
2426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetAlign",kwnames
,&obj0
)) goto fail
;
2427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2431 result
= (int)(arg1
)->GetAlign();
2433 wxPyEndAllowThreads(__tstate
);
2434 if (PyErr_Occurred()) SWIG_fail
;
2436 resultobj
= SWIG_FromInt((int)result
);
2443 static PyObject
*_wrap_HtmlWinParser_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2444 PyObject
*resultobj
;
2445 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2447 PyObject
* obj0
= 0 ;
2448 PyObject
* obj1
= 0 ;
2450 (char *) "self",(char *) "a", NULL
2453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
2454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2456 arg2
= (int) SWIG_AsInt(obj1
);
2457 if (PyErr_Occurred()) SWIG_fail
;
2459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2460 (arg1
)->SetAlign(arg2
);
2462 wxPyEndAllowThreads(__tstate
);
2463 if (PyErr_Occurred()) SWIG_fail
;
2465 Py_INCREF(Py_None
); resultobj
= Py_None
;
2472 static PyObject
*_wrap_HtmlWinParser_GetLinkColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2473 PyObject
*resultobj
;
2474 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2476 PyObject
* obj0
= 0 ;
2478 (char *) "self", NULL
2481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetLinkColor",kwnames
,&obj0
)) goto fail
;
2482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2486 result
= (arg1
)->GetLinkColor();
2488 wxPyEndAllowThreads(__tstate
);
2489 if (PyErr_Occurred()) SWIG_fail
;
2492 wxColour
* resultptr
;
2493 resultptr
= new wxColour((wxColour
&) result
);
2494 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2502 static PyObject
*_wrap_HtmlWinParser_SetLinkColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2503 PyObject
*resultobj
;
2504 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2505 wxColour
*arg2
= 0 ;
2507 PyObject
* obj0
= 0 ;
2508 PyObject
* obj1
= 0 ;
2510 (char *) "self",(char *) "clr", NULL
2513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames
,&obj0
,&obj1
)) goto fail
;
2514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2518 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2522 (arg1
)->SetLinkColor((wxColour
const &)*arg2
);
2524 wxPyEndAllowThreads(__tstate
);
2525 if (PyErr_Occurred()) SWIG_fail
;
2527 Py_INCREF(Py_None
); resultobj
= Py_None
;
2534 static PyObject
*_wrap_HtmlWinParser_GetActualColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2535 PyObject
*resultobj
;
2536 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2538 PyObject
* obj0
= 0 ;
2540 (char *) "self", NULL
2543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetActualColor",kwnames
,&obj0
)) goto fail
;
2544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2548 result
= (arg1
)->GetActualColor();
2550 wxPyEndAllowThreads(__tstate
);
2551 if (PyErr_Occurred()) SWIG_fail
;
2554 wxColour
* resultptr
;
2555 resultptr
= new wxColour((wxColour
&) result
);
2556 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2564 static PyObject
*_wrap_HtmlWinParser_SetActualColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2565 PyObject
*resultobj
;
2566 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2567 wxColour
*arg2
= 0 ;
2569 PyObject
* obj0
= 0 ;
2570 PyObject
* obj1
= 0 ;
2572 (char *) "self",(char *) "clr", NULL
2575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetActualColor",kwnames
,&obj0
,&obj1
)) goto fail
;
2576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2580 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2584 (arg1
)->SetActualColor((wxColour
const &)*arg2
);
2586 wxPyEndAllowThreads(__tstate
);
2587 if (PyErr_Occurred()) SWIG_fail
;
2589 Py_INCREF(Py_None
); resultobj
= Py_None
;
2596 static PyObject
*_wrap_HtmlWinParser_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2597 PyObject
*resultobj
;
2598 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2599 wxString
*arg2
= 0 ;
2600 bool temp2
= False
;
2601 PyObject
* obj0
= 0 ;
2602 PyObject
* obj1
= 0 ;
2604 (char *) "self",(char *) "link", NULL
2607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
2608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2611 arg2
= wxString_in_helper(obj1
);
2612 if (arg2
== NULL
) SWIG_fail
;
2616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2617 (arg1
)->SetLink((wxString
const &)*arg2
);
2619 wxPyEndAllowThreads(__tstate
);
2620 if (PyErr_Occurred()) SWIG_fail
;
2622 Py_INCREF(Py_None
); resultobj
= Py_None
;
2637 static PyObject
*_wrap_HtmlWinParser_CreateCurrentFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2638 PyObject
*resultobj
;
2639 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2641 PyObject
* obj0
= 0 ;
2643 (char *) "self", NULL
2646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_CreateCurrentFont",kwnames
,&obj0
)) goto fail
;
2647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2651 result
= (wxFont
*)(arg1
)->CreateCurrentFont();
2653 wxPyEndAllowThreads(__tstate
);
2654 if (PyErr_Occurred()) SWIG_fail
;
2656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
2663 static PyObject
*_wrap_HtmlWinParser_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2664 PyObject
*resultobj
;
2665 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
2666 SwigValueWrapper
< wxHtmlLinkInfo
> result
;
2667 PyObject
* obj0
= 0 ;
2669 (char *) "self", NULL
2672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetLink",kwnames
,&obj0
)) goto fail
;
2673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlWinParser
,
2674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2677 result
= (arg1
)->GetLink();
2679 wxPyEndAllowThreads(__tstate
);
2680 if (PyErr_Occurred()) SWIG_fail
;
2683 wxHtmlLinkInfo
* resultptr
;
2684 resultptr
= new wxHtmlLinkInfo((wxHtmlLinkInfo
&) result
);
2685 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxHtmlLinkInfo
, 1);
2693 static PyObject
* HtmlWinParser_swigregister(PyObject
*self
, PyObject
*args
) {
2695 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2696 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWinParser
, obj
);
2698 return Py_BuildValue((char *)"");
2700 static PyObject
*_wrap_new_HtmlTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2701 PyObject
*resultobj
;
2702 wxPyHtmlTagHandler
*result
;
2707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlTagHandler",kwnames
)) goto fail
;
2709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2710 result
= (wxPyHtmlTagHandler
*)new wxPyHtmlTagHandler();
2712 wxPyEndAllowThreads(__tstate
);
2713 if (PyErr_Occurred()) SWIG_fail
;
2715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlTagHandler
, 1);
2722 static PyObject
*_wrap_HtmlTagHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2723 PyObject
*resultobj
;
2724 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
2725 PyObject
*arg2
= (PyObject
*) 0 ;
2726 PyObject
*arg3
= (PyObject
*) 0 ;
2727 PyObject
* obj0
= 0 ;
2728 PyObject
* obj1
= 0 ;
2729 PyObject
* obj2
= 0 ;
2731 (char *) "self",(char *) "self",(char *) "_class", NULL
2734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlTagHandler
,
2736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2741 (arg1
)->_setCallbackInfo(arg2
,arg3
);
2743 wxPyEndAllowThreads(__tstate
);
2744 if (PyErr_Occurred()) SWIG_fail
;
2746 Py_INCREF(Py_None
); resultobj
= Py_None
;
2753 static PyObject
*_wrap_HtmlTagHandler_SetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2754 PyObject
*resultobj
;
2755 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
2756 wxHtmlParser
*arg2
= (wxHtmlParser
*) 0 ;
2757 PyObject
* obj0
= 0 ;
2758 PyObject
* obj1
= 0 ;
2760 (char *) "self",(char *) "parser", NULL
2763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTagHandler_SetParser",kwnames
,&obj0
,&obj1
)) goto fail
;
2764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlTagHandler
,
2765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2766 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlParser
,
2767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2770 (arg1
)->SetParser(arg2
);
2772 wxPyEndAllowThreads(__tstate
);
2773 if (PyErr_Occurred()) SWIG_fail
;
2775 Py_INCREF(Py_None
); resultobj
= Py_None
;
2782 static PyObject
*_wrap_HtmlTagHandler_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2783 PyObject
*resultobj
;
2784 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
2785 wxHtmlParser
*result
;
2786 PyObject
* obj0
= 0 ;
2788 (char *) "self", NULL
2791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTagHandler_GetParser",kwnames
,&obj0
)) goto fail
;
2792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlTagHandler
,
2793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2796 result
= (wxHtmlParser
*)(arg1
)->GetParser();
2798 wxPyEndAllowThreads(__tstate
);
2799 if (PyErr_Occurred()) SWIG_fail
;
2801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlParser
, 0);
2808 static PyObject
*_wrap_HtmlTagHandler_ParseInner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2809 PyObject
*resultobj
;
2810 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
2811 wxHtmlTag
*arg2
= 0 ;
2812 PyObject
* obj0
= 0 ;
2813 PyObject
* obj1
= 0 ;
2815 (char *) "self",(char *) "tag", NULL
2818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTagHandler_ParseInner",kwnames
,&obj0
,&obj1
)) goto fail
;
2819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlTagHandler
,
2820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2821 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlTag
,
2822 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2825 PyErr_SetString(PyExc_TypeError
,"null reference");
2829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2830 (arg1
)->ParseInner((wxHtmlTag
const &)*arg2
);
2832 wxPyEndAllowThreads(__tstate
);
2833 if (PyErr_Occurred()) SWIG_fail
;
2835 Py_INCREF(Py_None
); resultobj
= Py_None
;
2842 static PyObject
* HtmlTagHandler_swigregister(PyObject
*self
, PyObject
*args
) {
2844 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2845 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlTagHandler
, obj
);
2847 return Py_BuildValue((char *)"");
2849 static PyObject
*_wrap_new_HtmlWinTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2850 PyObject
*resultobj
;
2851 wxPyHtmlWinTagHandler
*result
;
2856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlWinTagHandler",kwnames
)) goto fail
;
2858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2859 result
= (wxPyHtmlWinTagHandler
*)new wxPyHtmlWinTagHandler();
2861 wxPyEndAllowThreads(__tstate
);
2862 if (PyErr_Occurred()) SWIG_fail
;
2864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlWinTagHandler
, 1);
2871 static PyObject
*_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2872 PyObject
*resultobj
;
2873 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
2874 PyObject
*arg2
= (PyObject
*) 0 ;
2875 PyObject
*arg3
= (PyObject
*) 0 ;
2876 PyObject
* obj0
= 0 ;
2877 PyObject
* obj1
= 0 ;
2878 PyObject
* obj2
= 0 ;
2880 (char *) "self",(char *) "self",(char *) "_class", NULL
2883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWinTagHandler
,
2885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2890 (arg1
)->_setCallbackInfo(arg2
,arg3
);
2892 wxPyEndAllowThreads(__tstate
);
2893 if (PyErr_Occurred()) SWIG_fail
;
2895 Py_INCREF(Py_None
); resultobj
= Py_None
;
2902 static PyObject
*_wrap_HtmlWinTagHandler_SetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2903 PyObject
*resultobj
;
2904 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
2905 wxHtmlParser
*arg2
= (wxHtmlParser
*) 0 ;
2906 PyObject
* obj0
= 0 ;
2907 PyObject
* obj1
= 0 ;
2909 (char *) "self",(char *) "parser", NULL
2912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames
,&obj0
,&obj1
)) goto fail
;
2913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWinTagHandler
,
2914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2915 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlParser
,
2916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2919 (arg1
)->SetParser(arg2
);
2921 wxPyEndAllowThreads(__tstate
);
2922 if (PyErr_Occurred()) SWIG_fail
;
2924 Py_INCREF(Py_None
); resultobj
= Py_None
;
2931 static PyObject
*_wrap_HtmlWinTagHandler_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2932 PyObject
*resultobj
;
2933 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
2934 wxHtmlWinParser
*result
;
2935 PyObject
* obj0
= 0 ;
2937 (char *) "self", NULL
2940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinTagHandler_GetParser",kwnames
,&obj0
)) goto fail
;
2941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWinTagHandler
,
2942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2945 result
= (wxHtmlWinParser
*)(arg1
)->GetParser();
2947 wxPyEndAllowThreads(__tstate
);
2948 if (PyErr_Occurred()) SWIG_fail
;
2950 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlWinParser
, 0);
2957 static PyObject
*_wrap_HtmlWinTagHandler_ParseInner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2958 PyObject
*resultobj
;
2959 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
2960 wxHtmlTag
*arg2
= 0 ;
2961 PyObject
* obj0
= 0 ;
2962 PyObject
* obj1
= 0 ;
2964 (char *) "self",(char *) "tag", NULL
2967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames
,&obj0
,&obj1
)) goto fail
;
2968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWinTagHandler
,
2969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2970 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlTag
,
2971 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2974 PyErr_SetString(PyExc_TypeError
,"null reference");
2978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2979 (arg1
)->ParseInner((wxHtmlTag
const &)*arg2
);
2981 wxPyEndAllowThreads(__tstate
);
2982 if (PyErr_Occurred()) SWIG_fail
;
2984 Py_INCREF(Py_None
); resultobj
= Py_None
;
2991 static PyObject
* HtmlWinTagHandler_swigregister(PyObject
*self
, PyObject
*args
) {
2993 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2994 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler
, obj
);
2996 return Py_BuildValue((char *)"");
2998 static PyObject
*_wrap_HtmlWinParser_AddTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2999 PyObject
*resultobj
;
3000 PyObject
*arg1
= (PyObject
*) 0 ;
3001 PyObject
* obj0
= 0 ;
3003 (char *) "tagHandlerClass", NULL
3006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_AddTagHandler",kwnames
,&obj0
)) goto fail
;
3009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3010 wxHtmlWinParser_AddTagHandler(arg1
);
3012 wxPyEndAllowThreads(__tstate
);
3013 if (PyErr_Occurred()) SWIG_fail
;
3015 Py_INCREF(Py_None
); resultobj
= Py_None
;
3022 static PyObject
*_wrap_new_HtmlSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3023 PyObject
*resultobj
;
3024 wxHtmlSelection
*result
;
3029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlSelection",kwnames
)) goto fail
;
3031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3032 result
= (wxHtmlSelection
*)new wxHtmlSelection();
3034 wxPyEndAllowThreads(__tstate
);
3035 if (PyErr_Occurred()) SWIG_fail
;
3037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlSelection
, 1);
3044 static PyObject
*_wrap_delete_HtmlSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3045 PyObject
*resultobj
;
3046 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3047 PyObject
* obj0
= 0 ;
3049 (char *) "self", NULL
3052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlSelection",kwnames
,&obj0
)) goto fail
;
3053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSelection
,
3054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3059 wxPyEndAllowThreads(__tstate
);
3060 if (PyErr_Occurred()) SWIG_fail
;
3062 Py_INCREF(Py_None
); resultobj
= Py_None
;
3069 static PyObject
*_wrap_HtmlSelection_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3070 PyObject
*resultobj
;
3071 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3073 wxHtmlCell
*arg3
= (wxHtmlCell
*) 0 ;
3075 wxHtmlCell
*arg5
= (wxHtmlCell
*) 0 ;
3078 PyObject
* obj0
= 0 ;
3079 PyObject
* obj1
= 0 ;
3080 PyObject
* obj2
= 0 ;
3081 PyObject
* obj3
= 0 ;
3082 PyObject
* obj4
= 0 ;
3084 (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
3087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlSelection_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSelection
,
3089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3092 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3094 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxHtmlCell
,
3095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3098 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3100 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxHtmlCell
,
3101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3104 (arg1
)->Set((wxPoint
const &)*arg2
,(wxHtmlCell
const *)arg3
,(wxPoint
const &)*arg4
,(wxHtmlCell
const *)arg5
);
3106 wxPyEndAllowThreads(__tstate
);
3107 if (PyErr_Occurred()) SWIG_fail
;
3109 Py_INCREF(Py_None
); resultobj
= Py_None
;
3116 static PyObject
*_wrap_HtmlSelection_SetCells(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3117 PyObject
*resultobj
;
3118 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3119 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
3120 wxHtmlCell
*arg3
= (wxHtmlCell
*) 0 ;
3121 PyObject
* obj0
= 0 ;
3122 PyObject
* obj1
= 0 ;
3123 PyObject
* obj2
= 0 ;
3125 (char *) "self",(char *) "fromCell",(char *) "toCell", NULL
3128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlSelection_SetCells",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSelection
,
3130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3131 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlCell
,
3132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3133 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxHtmlCell
,
3134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3137 (arg1
)->Set((wxHtmlCell
const *)arg2
,(wxHtmlCell
const *)arg3
);
3139 wxPyEndAllowThreads(__tstate
);
3140 if (PyErr_Occurred()) SWIG_fail
;
3142 Py_INCREF(Py_None
); resultobj
= Py_None
;
3149 static PyObject
*_wrap_HtmlSelection_GetFromCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3150 PyObject
*resultobj
;
3151 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3153 PyObject
* obj0
= 0 ;
3155 (char *) "self", NULL
3158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetFromCell",kwnames
,&obj0
)) goto fail
;
3159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSelection
,
3160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3163 result
= (wxHtmlCell
*)((wxHtmlSelection
const *)arg1
)->GetFromCell();
3165 wxPyEndAllowThreads(__tstate
);
3166 if (PyErr_Occurred()) SWIG_fail
;
3168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
3175 static PyObject
*_wrap_HtmlSelection_GetToCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3176 PyObject
*resultobj
;
3177 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3179 PyObject
* obj0
= 0 ;
3181 (char *) "self", NULL
3184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetToCell",kwnames
,&obj0
)) goto fail
;
3185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSelection
,
3186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3189 result
= (wxHtmlCell
*)((wxHtmlSelection
const *)arg1
)->GetToCell();
3191 wxPyEndAllowThreads(__tstate
);
3192 if (PyErr_Occurred()) SWIG_fail
;
3194 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
3201 static PyObject
*_wrap_HtmlSelection_GetFromPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3202 PyObject
*resultobj
;
3203 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3205 PyObject
* obj0
= 0 ;
3207 (char *) "self", NULL
3210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetFromPos",kwnames
,&obj0
)) goto fail
;
3211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSelection
,
3212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3216 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetFromPos();
3217 result
= (wxPoint
*) &_result_ref
;
3220 wxPyEndAllowThreads(__tstate
);
3221 if (PyErr_Occurred()) SWIG_fail
;
3223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3230 static PyObject
*_wrap_HtmlSelection_GetToPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3231 PyObject
*resultobj
;
3232 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3234 PyObject
* obj0
= 0 ;
3236 (char *) "self", NULL
3239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetToPos",kwnames
,&obj0
)) goto fail
;
3240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSelection
,
3241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3245 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetToPos();
3246 result
= (wxPoint
*) &_result_ref
;
3249 wxPyEndAllowThreads(__tstate
);
3250 if (PyErr_Occurred()) SWIG_fail
;
3252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3259 static PyObject
*_wrap_HtmlSelection_GetFromPrivPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3260 PyObject
*resultobj
;
3261 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3263 PyObject
* obj0
= 0 ;
3265 (char *) "self", NULL
3268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetFromPrivPos",kwnames
,&obj0
)) goto fail
;
3269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSelection
,
3270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3274 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetFromPrivPos();
3275 result
= (wxPoint
*) &_result_ref
;
3278 wxPyEndAllowThreads(__tstate
);
3279 if (PyErr_Occurred()) SWIG_fail
;
3281 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3288 static PyObject
*_wrap_HtmlSelection_GetToPrivPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3289 PyObject
*resultobj
;
3290 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3292 PyObject
* obj0
= 0 ;
3294 (char *) "self", NULL
3297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetToPrivPos",kwnames
,&obj0
)) goto fail
;
3298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSelection
,
3299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3303 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetToPrivPos();
3304 result
= (wxPoint
*) &_result_ref
;
3307 wxPyEndAllowThreads(__tstate
);
3308 if (PyErr_Occurred()) SWIG_fail
;
3310 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3317 static PyObject
*_wrap_HtmlSelection_SetFromPrivPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3318 PyObject
*resultobj
;
3319 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3322 PyObject
* obj0
= 0 ;
3323 PyObject
* obj1
= 0 ;
3325 (char *) "self",(char *) "pos", NULL
3328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames
,&obj0
,&obj1
)) goto fail
;
3329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSelection
,
3330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3333 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3337 (arg1
)->SetFromPrivPos((wxPoint
const &)*arg2
);
3339 wxPyEndAllowThreads(__tstate
);
3340 if (PyErr_Occurred()) SWIG_fail
;
3342 Py_INCREF(Py_None
); resultobj
= Py_None
;
3349 static PyObject
*_wrap_HtmlSelection_SetToPrivPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3350 PyObject
*resultobj
;
3351 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3354 PyObject
* obj0
= 0 ;
3355 PyObject
* obj1
= 0 ;
3357 (char *) "self",(char *) "pos", NULL
3360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames
,&obj0
,&obj1
)) goto fail
;
3361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSelection
,
3362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3365 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3369 (arg1
)->SetToPrivPos((wxPoint
const &)*arg2
);
3371 wxPyEndAllowThreads(__tstate
);
3372 if (PyErr_Occurred()) SWIG_fail
;
3374 Py_INCREF(Py_None
); resultobj
= Py_None
;
3381 static PyObject
*_wrap_HtmlSelection_ClearPrivPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3382 PyObject
*resultobj
;
3383 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3384 PyObject
* obj0
= 0 ;
3386 (char *) "self", NULL
3389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_ClearPrivPos",kwnames
,&obj0
)) goto fail
;
3390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSelection
,
3391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3394 (arg1
)->ClearPrivPos();
3396 wxPyEndAllowThreads(__tstate
);
3397 if (PyErr_Occurred()) SWIG_fail
;
3399 Py_INCREF(Py_None
); resultobj
= Py_None
;
3406 static PyObject
*_wrap_HtmlSelection_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3407 PyObject
*resultobj
;
3408 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
3410 PyObject
* obj0
= 0 ;
3412 (char *) "self", NULL
3415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_IsEmpty",kwnames
,&obj0
)) goto fail
;
3416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSelection
,
3417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3420 result
= (bool)((wxHtmlSelection
const *)arg1
)->IsEmpty();
3422 wxPyEndAllowThreads(__tstate
);
3423 if (PyErr_Occurred()) SWIG_fail
;
3426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3434 static PyObject
* HtmlSelection_swigregister(PyObject
*self
, PyObject
*args
) {
3436 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3437 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSelection
, obj
);
3439 return Py_BuildValue((char *)"");
3441 static PyObject
*_wrap_new_HtmlRenderingState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3442 PyObject
*resultobj
;
3443 wxHtmlRenderingState
*result
;
3448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlRenderingState",kwnames
)) goto fail
;
3450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3451 result
= (wxHtmlRenderingState
*)new wxHtmlRenderingState();
3453 wxPyEndAllowThreads(__tstate
);
3454 if (PyErr_Occurred()) SWIG_fail
;
3456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlRenderingState
, 1);
3463 static PyObject
*_wrap_delete_HtmlRenderingState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3464 PyObject
*resultobj
;
3465 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
3466 PyObject
* obj0
= 0 ;
3468 (char *) "self", NULL
3471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlRenderingState",kwnames
,&obj0
)) goto fail
;
3472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlRenderingState
,
3473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3478 wxPyEndAllowThreads(__tstate
);
3479 if (PyErr_Occurred()) SWIG_fail
;
3481 Py_INCREF(Py_None
); resultobj
= Py_None
;
3488 static PyObject
*_wrap_HtmlRenderingState_SetSelectionState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3489 PyObject
*resultobj
;
3490 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
3492 PyObject
* obj0
= 0 ;
3493 PyObject
* obj1
= 0 ;
3495 (char *) "self",(char *) "s", NULL
3498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames
,&obj0
,&obj1
)) goto fail
;
3499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlRenderingState
,
3500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3501 arg2
= (wxHtmlSelectionState
) SWIG_AsInt(obj1
);
3502 if (PyErr_Occurred()) SWIG_fail
;
3504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3505 (arg1
)->SetSelectionState((wxHtmlSelectionState
)arg2
);
3507 wxPyEndAllowThreads(__tstate
);
3508 if (PyErr_Occurred()) SWIG_fail
;
3510 Py_INCREF(Py_None
); resultobj
= Py_None
;
3517 static PyObject
*_wrap_HtmlRenderingState_GetSelectionState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3518 PyObject
*resultobj
;
3519 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
3521 PyObject
* obj0
= 0 ;
3523 (char *) "self", NULL
3526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingState_GetSelectionState",kwnames
,&obj0
)) goto fail
;
3527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlRenderingState
,
3528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3531 result
= (int)((wxHtmlRenderingState
const *)arg1
)->GetSelectionState();
3533 wxPyEndAllowThreads(__tstate
);
3534 if (PyErr_Occurred()) SWIG_fail
;
3536 resultobj
= SWIG_FromInt((int)result
);
3543 static PyObject
*_wrap_HtmlRenderingState_SetFgColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3544 PyObject
*resultobj
;
3545 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
3546 wxColour
*arg2
= 0 ;
3548 PyObject
* obj0
= 0 ;
3549 PyObject
* obj1
= 0 ;
3551 (char *) "self",(char *) "c", NULL
3554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlRenderingState
,
3556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3559 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3563 (arg1
)->SetFgColour((wxColour
const &)*arg2
);
3565 wxPyEndAllowThreads(__tstate
);
3566 if (PyErr_Occurred()) SWIG_fail
;
3568 Py_INCREF(Py_None
); resultobj
= Py_None
;
3575 static PyObject
*_wrap_HtmlRenderingState_GetFgColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3576 PyObject
*resultobj
;
3577 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
3579 PyObject
* obj0
= 0 ;
3581 (char *) "self", NULL
3584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingState_GetFgColour",kwnames
,&obj0
)) goto fail
;
3585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlRenderingState
,
3586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3590 wxColour
const &_result_ref
= ((wxHtmlRenderingState
const *)arg1
)->GetFgColour();
3591 result
= (wxColour
*) &_result_ref
;
3594 wxPyEndAllowThreads(__tstate
);
3595 if (PyErr_Occurred()) SWIG_fail
;
3597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
3604 static PyObject
*_wrap_HtmlRenderingState_SetBgColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3605 PyObject
*resultobj
;
3606 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
3607 wxColour
*arg2
= 0 ;
3609 PyObject
* obj0
= 0 ;
3610 PyObject
* obj1
= 0 ;
3612 (char *) "self",(char *) "c", NULL
3615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlRenderingState
,
3617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3620 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3624 (arg1
)->SetBgColour((wxColour
const &)*arg2
);
3626 wxPyEndAllowThreads(__tstate
);
3627 if (PyErr_Occurred()) SWIG_fail
;
3629 Py_INCREF(Py_None
); resultobj
= Py_None
;
3636 static PyObject
*_wrap_HtmlRenderingState_GetBgColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3637 PyObject
*resultobj
;
3638 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
3640 PyObject
* obj0
= 0 ;
3642 (char *) "self", NULL
3645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingState_GetBgColour",kwnames
,&obj0
)) goto fail
;
3646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlRenderingState
,
3647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3651 wxColour
const &_result_ref
= ((wxHtmlRenderingState
const *)arg1
)->GetBgColour();
3652 result
= (wxColour
*) &_result_ref
;
3655 wxPyEndAllowThreads(__tstate
);
3656 if (PyErr_Occurred()) SWIG_fail
;
3658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
3665 static PyObject
* HtmlRenderingState_swigregister(PyObject
*self
, PyObject
*args
) {
3667 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3668 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingState
, obj
);
3670 return Py_BuildValue((char *)"");
3672 static PyObject
*_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3673 PyObject
*resultobj
;
3674 wxHtmlRenderingStyle
*arg1
= (wxHtmlRenderingStyle
*) 0 ;
3675 wxColour
*arg2
= 0 ;
3678 PyObject
* obj0
= 0 ;
3679 PyObject
* obj1
= 0 ;
3681 (char *) "self",(char *) "clr", NULL
3684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlRenderingStyle
,
3686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3689 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3693 result
= (arg1
)->GetSelectedTextColour((wxColour
const &)*arg2
);
3695 wxPyEndAllowThreads(__tstate
);
3696 if (PyErr_Occurred()) SWIG_fail
;
3699 wxColour
* resultptr
;
3700 resultptr
= new wxColour((wxColour
&) result
);
3701 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3709 static PyObject
*_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3710 PyObject
*resultobj
;
3711 wxHtmlRenderingStyle
*arg1
= (wxHtmlRenderingStyle
*) 0 ;
3712 wxColour
*arg2
= 0 ;
3715 PyObject
* obj0
= 0 ;
3716 PyObject
* obj1
= 0 ;
3718 (char *) "self",(char *) "clr", NULL
3721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlRenderingStyle
,
3723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3726 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3730 result
= (arg1
)->GetSelectedTextBgColour((wxColour
const &)*arg2
);
3732 wxPyEndAllowThreads(__tstate
);
3733 if (PyErr_Occurred()) SWIG_fail
;
3736 wxColour
* resultptr
;
3737 resultptr
= new wxColour((wxColour
&) result
);
3738 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3746 static PyObject
* HtmlRenderingStyle_swigregister(PyObject
*self
, PyObject
*args
) {
3748 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3749 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingStyle
, obj
);
3751 return Py_BuildValue((char *)"");
3753 static PyObject
*_wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3754 PyObject
*resultobj
;
3755 wxDefaultHtmlRenderingStyle
*arg1
= (wxDefaultHtmlRenderingStyle
*) 0 ;
3756 wxColour
*arg2
= 0 ;
3759 PyObject
* obj0
= 0 ;
3760 PyObject
* obj1
= 0 ;
3762 (char *) "self",(char *) "clr", NULL
3765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDefaultHtmlRenderingStyle
,
3767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3770 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3774 result
= (arg1
)->GetSelectedTextColour((wxColour
const &)*arg2
);
3776 wxPyEndAllowThreads(__tstate
);
3777 if (PyErr_Occurred()) SWIG_fail
;
3780 wxColour
* resultptr
;
3781 resultptr
= new wxColour((wxColour
&) result
);
3782 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3790 static PyObject
*_wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3791 PyObject
*resultobj
;
3792 wxDefaultHtmlRenderingStyle
*arg1
= (wxDefaultHtmlRenderingStyle
*) 0 ;
3793 wxColour
*arg2
= 0 ;
3796 PyObject
* obj0
= 0 ;
3797 PyObject
* obj1
= 0 ;
3799 (char *) "self",(char *) "clr", NULL
3802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextBgColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDefaultHtmlRenderingStyle
,
3804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3807 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3811 result
= (arg1
)->GetSelectedTextBgColour((wxColour
const &)*arg2
);
3813 wxPyEndAllowThreads(__tstate
);
3814 if (PyErr_Occurred()) SWIG_fail
;
3817 wxColour
* resultptr
;
3818 resultptr
= new wxColour((wxColour
&) result
);
3819 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3827 static PyObject
* DefaultHtmlRenderingStyle_swigregister(PyObject
*self
, PyObject
*args
) {
3829 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3830 SWIG_TypeClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle
, obj
);
3832 return Py_BuildValue((char *)"");
3834 static PyObject
*_wrap_new_HtmlRenderingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3835 PyObject
*resultobj
;
3836 wxHtmlRenderingInfo
*result
;
3841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlRenderingInfo",kwnames
)) goto fail
;
3843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3844 result
= (wxHtmlRenderingInfo
*)new wxHtmlRenderingInfo();
3846 wxPyEndAllowThreads(__tstate
);
3847 if (PyErr_Occurred()) SWIG_fail
;
3849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlRenderingInfo
, 1);
3856 static PyObject
*_wrap_delete_HtmlRenderingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3857 PyObject
*resultobj
;
3858 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
3859 PyObject
* obj0
= 0 ;
3861 (char *) "self", NULL
3864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlRenderingInfo",kwnames
,&obj0
)) goto fail
;
3865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlRenderingInfo
,
3866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3871 wxPyEndAllowThreads(__tstate
);
3872 if (PyErr_Occurred()) SWIG_fail
;
3874 Py_INCREF(Py_None
); resultobj
= Py_None
;
3881 static PyObject
*_wrap_HtmlRenderingInfo_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3882 PyObject
*resultobj
;
3883 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
3884 wxHtmlSelection
*arg2
= (wxHtmlSelection
*) 0 ;
3885 PyObject
* obj0
= 0 ;
3886 PyObject
* obj1
= 0 ;
3888 (char *) "self",(char *) "s", NULL
3891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlRenderingInfo
,
3893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3894 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlSelection
,
3895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3898 (arg1
)->SetSelection(arg2
);
3900 wxPyEndAllowThreads(__tstate
);
3901 if (PyErr_Occurred()) SWIG_fail
;
3903 Py_INCREF(Py_None
); resultobj
= Py_None
;
3910 static PyObject
*_wrap_HtmlRenderingInfo_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3911 PyObject
*resultobj
;
3912 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
3913 wxHtmlSelection
*result
;
3914 PyObject
* obj0
= 0 ;
3916 (char *) "self", NULL
3919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingInfo_GetSelection",kwnames
,&obj0
)) goto fail
;
3920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlRenderingInfo
,
3921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3924 result
= (wxHtmlSelection
*)((wxHtmlRenderingInfo
const *)arg1
)->GetSelection();
3926 wxPyEndAllowThreads(__tstate
);
3927 if (PyErr_Occurred()) SWIG_fail
;
3929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlSelection
, 0);
3936 static PyObject
*_wrap_HtmlRenderingInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3937 PyObject
*resultobj
;
3938 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
3939 wxHtmlRenderingStyle
*arg2
= (wxHtmlRenderingStyle
*) 0 ;
3940 PyObject
* obj0
= 0 ;
3941 PyObject
* obj1
= 0 ;
3943 (char *) "self",(char *) "style", NULL
3946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
3947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlRenderingInfo
,
3948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3949 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlRenderingStyle
,
3950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3953 (arg1
)->SetStyle(arg2
);
3955 wxPyEndAllowThreads(__tstate
);
3956 if (PyErr_Occurred()) SWIG_fail
;
3958 Py_INCREF(Py_None
); resultobj
= Py_None
;
3965 static PyObject
*_wrap_HtmlRenderingInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3966 PyObject
*resultobj
;
3967 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
3968 wxHtmlRenderingStyle
*result
;
3969 PyObject
* obj0
= 0 ;
3971 (char *) "self", NULL
3974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
3975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlRenderingInfo
,
3976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3980 wxHtmlRenderingStyle
&_result_ref
= (arg1
)->GetStyle();
3981 result
= (wxHtmlRenderingStyle
*) &_result_ref
;
3984 wxPyEndAllowThreads(__tstate
);
3985 if (PyErr_Occurred()) SWIG_fail
;
3987 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlRenderingStyle
, 0);
3994 static PyObject
*_wrap_HtmlRenderingInfo_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3995 PyObject
*resultobj
;
3996 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
3997 wxHtmlRenderingState
*result
;
3998 PyObject
* obj0
= 0 ;
4000 (char *) "self", NULL
4003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingInfo_GetState",kwnames
,&obj0
)) goto fail
;
4004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlRenderingInfo
,
4005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4009 wxHtmlRenderingState
&_result_ref
= (arg1
)->GetState();
4010 result
= (wxHtmlRenderingState
*) &_result_ref
;
4013 wxPyEndAllowThreads(__tstate
);
4014 if (PyErr_Occurred()) SWIG_fail
;
4016 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlRenderingState
, 0);
4023 static PyObject
* HtmlRenderingInfo_swigregister(PyObject
*self
, PyObject
*args
) {
4025 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4026 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingInfo
, obj
);
4028 return Py_BuildValue((char *)"");
4030 static PyObject
*_wrap_new_HtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4031 PyObject
*resultobj
;
4037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlCell",kwnames
)) goto fail
;
4039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4040 result
= (wxHtmlCell
*)new wxHtmlCell();
4042 wxPyEndAllowThreads(__tstate
);
4043 if (PyErr_Occurred()) SWIG_fail
;
4045 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 1);
4052 static PyObject
*_wrap_HtmlCell_GetPosX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4053 PyObject
*resultobj
;
4054 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4056 PyObject
* obj0
= 0 ;
4058 (char *) "self", NULL
4061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetPosX",kwnames
,&obj0
)) goto fail
;
4062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4066 result
= (int)(arg1
)->GetPosX();
4068 wxPyEndAllowThreads(__tstate
);
4069 if (PyErr_Occurred()) SWIG_fail
;
4071 resultobj
= SWIG_FromInt((int)result
);
4078 static PyObject
*_wrap_HtmlCell_GetPosY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4079 PyObject
*resultobj
;
4080 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4082 PyObject
* obj0
= 0 ;
4084 (char *) "self", NULL
4087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetPosY",kwnames
,&obj0
)) goto fail
;
4088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4092 result
= (int)(arg1
)->GetPosY();
4094 wxPyEndAllowThreads(__tstate
);
4095 if (PyErr_Occurred()) SWIG_fail
;
4097 resultobj
= SWIG_FromInt((int)result
);
4104 static PyObject
*_wrap_HtmlCell_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4105 PyObject
*resultobj
;
4106 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4108 PyObject
* obj0
= 0 ;
4110 (char *) "self", NULL
4113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetWidth",kwnames
,&obj0
)) goto fail
;
4114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4118 result
= (int)(arg1
)->GetWidth();
4120 wxPyEndAllowThreads(__tstate
);
4121 if (PyErr_Occurred()) SWIG_fail
;
4123 resultobj
= SWIG_FromInt((int)result
);
4130 static PyObject
*_wrap_HtmlCell_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4131 PyObject
*resultobj
;
4132 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4134 PyObject
* obj0
= 0 ;
4136 (char *) "self", NULL
4139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetHeight",kwnames
,&obj0
)) goto fail
;
4140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4144 result
= (int)(arg1
)->GetHeight();
4146 wxPyEndAllowThreads(__tstate
);
4147 if (PyErr_Occurred()) SWIG_fail
;
4149 resultobj
= SWIG_FromInt((int)result
);
4156 static PyObject
*_wrap_HtmlCell_GetDescent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4157 PyObject
*resultobj
;
4158 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4160 PyObject
* obj0
= 0 ;
4162 (char *) "self", NULL
4165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetDescent",kwnames
,&obj0
)) goto fail
;
4166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4170 result
= (int)(arg1
)->GetDescent();
4172 wxPyEndAllowThreads(__tstate
);
4173 if (PyErr_Occurred()) SWIG_fail
;
4175 resultobj
= SWIG_FromInt((int)result
);
4182 static PyObject
*_wrap_HtmlCell_GetMaxTotalWidth(PyObject
*self
, 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_GetMaxTotalWidth",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)((wxHtmlCell
const *)arg1
)->GetMaxTotalWidth();
4198 wxPyEndAllowThreads(__tstate
);
4199 if (PyErr_Occurred()) SWIG_fail
;
4201 resultobj
= SWIG_FromInt((int)result
);
4208 static PyObject
*_wrap_HtmlCell_GetId(PyObject
*self
, 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_GetId",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();
4223 wxString
const &_result_ref
= ((wxHtmlCell
const *)arg1
)->GetId();
4224 result
= (wxString
*) &_result_ref
;
4227 wxPyEndAllowThreads(__tstate
);
4228 if (PyErr_Occurred()) SWIG_fail
;
4232 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4234 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4243 static PyObject
*_wrap_HtmlCell_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4244 PyObject
*resultobj
;
4245 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4246 wxString
*arg2
= 0 ;
4247 bool temp2
= False
;
4248 PyObject
* obj0
= 0 ;
4249 PyObject
* obj1
= 0 ;
4251 (char *) "self",(char *) "id", NULL
4254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
4255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4258 arg2
= wxString_in_helper(obj1
);
4259 if (arg2
== NULL
) SWIG_fail
;
4263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4264 (arg1
)->SetId((wxString
const &)*arg2
);
4266 wxPyEndAllowThreads(__tstate
);
4267 if (PyErr_Occurred()) SWIG_fail
;
4269 Py_INCREF(Py_None
); resultobj
= Py_None
;
4284 static PyObject
*_wrap_HtmlCell_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4285 PyObject
*resultobj
;
4286 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4287 int arg2
= (int) 0 ;
4288 int arg3
= (int) 0 ;
4289 wxHtmlLinkInfo
*result
;
4290 PyObject
* obj0
= 0 ;
4291 PyObject
* obj1
= 0 ;
4292 PyObject
* obj2
= 0 ;
4294 (char *) "self",(char *) "x",(char *) "y", NULL
4297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:HtmlCell_GetLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4301 arg2
= (int) SWIG_AsInt(obj1
);
4302 if (PyErr_Occurred()) SWIG_fail
;
4305 arg3
= (int) SWIG_AsInt(obj2
);
4306 if (PyErr_Occurred()) SWIG_fail
;
4309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4310 result
= (wxHtmlLinkInfo
*)(arg1
)->GetLink(arg2
,arg3
);
4312 wxPyEndAllowThreads(__tstate
);
4313 if (PyErr_Occurred()) SWIG_fail
;
4315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlLinkInfo
, 0);
4322 static PyObject
*_wrap_HtmlCell_GetNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4323 PyObject
*resultobj
;
4324 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4326 PyObject
* obj0
= 0 ;
4328 (char *) "self", NULL
4331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetNext",kwnames
,&obj0
)) goto fail
;
4332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4336 result
= (wxHtmlCell
*)(arg1
)->GetNext();
4338 wxPyEndAllowThreads(__tstate
);
4339 if (PyErr_Occurred()) SWIG_fail
;
4341 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
4348 static PyObject
*_wrap_HtmlCell_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4349 PyObject
*resultobj
;
4350 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4351 wxHtmlContainerCell
*result
;
4352 PyObject
* obj0
= 0 ;
4354 (char *) "self", NULL
4357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetParent",kwnames
,&obj0
)) goto fail
;
4358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4362 result
= (wxHtmlContainerCell
*)(arg1
)->GetParent();
4364 wxPyEndAllowThreads(__tstate
);
4365 if (PyErr_Occurred()) SWIG_fail
;
4367 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0);
4374 static PyObject
*_wrap_HtmlCell_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4375 PyObject
*resultobj
;
4376 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4378 PyObject
* obj0
= 0 ;
4380 (char *) "self", NULL
4383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetFirstChild",kwnames
,&obj0
)) goto fail
;
4384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4388 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetFirstChild();
4390 wxPyEndAllowThreads(__tstate
);
4391 if (PyErr_Occurred()) SWIG_fail
;
4393 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
4400 static PyObject
*_wrap_HtmlCell_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4401 PyObject
*resultobj
;
4402 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4404 PyObject
* obj0
= 0 ;
4406 (char *) "self", NULL
4409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetCursor",kwnames
,&obj0
)) goto fail
;
4410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4414 result
= ((wxHtmlCell
const *)arg1
)->GetCursor();
4416 wxPyEndAllowThreads(__tstate
);
4417 if (PyErr_Occurred()) SWIG_fail
;
4420 wxCursor
* resultptr
;
4421 resultptr
= new wxCursor((wxCursor
&) result
);
4422 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
4430 static PyObject
*_wrap_HtmlCell_IsFormattingCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4431 PyObject
*resultobj
;
4432 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4434 PyObject
* obj0
= 0 ;
4436 (char *) "self", NULL
4439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_IsFormattingCell",kwnames
,&obj0
)) goto fail
;
4440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4444 result
= (bool)((wxHtmlCell
const *)arg1
)->IsFormattingCell();
4446 wxPyEndAllowThreads(__tstate
);
4447 if (PyErr_Occurred()) SWIG_fail
;
4450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4458 static PyObject
*_wrap_HtmlCell_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4459 PyObject
*resultobj
;
4460 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4461 wxHtmlLinkInfo
*arg2
= 0 ;
4462 PyObject
* obj0
= 0 ;
4463 PyObject
* obj1
= 0 ;
4465 (char *) "self",(char *) "link", NULL
4468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
4469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4471 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlLinkInfo
,
4472 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4475 PyErr_SetString(PyExc_TypeError
,"null reference");
4479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4480 (arg1
)->SetLink((wxHtmlLinkInfo
const &)*arg2
);
4482 wxPyEndAllowThreads(__tstate
);
4483 if (PyErr_Occurred()) SWIG_fail
;
4485 Py_INCREF(Py_None
); resultobj
= Py_None
;
4492 static PyObject
*_wrap_HtmlCell_SetNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4493 PyObject
*resultobj
;
4494 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4495 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
4496 PyObject
* obj0
= 0 ;
4497 PyObject
* obj1
= 0 ;
4499 (char *) "self",(char *) "cell", NULL
4502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetNext",kwnames
,&obj0
,&obj1
)) goto fail
;
4503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4505 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlCell
,
4506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4509 (arg1
)->SetNext(arg2
);
4511 wxPyEndAllowThreads(__tstate
);
4512 if (PyErr_Occurred()) SWIG_fail
;
4514 Py_INCREF(Py_None
); resultobj
= Py_None
;
4521 static PyObject
*_wrap_HtmlCell_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4522 PyObject
*resultobj
;
4523 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4524 wxHtmlContainerCell
*arg2
= (wxHtmlContainerCell
*) 0 ;
4525 PyObject
* obj0
= 0 ;
4526 PyObject
* obj1
= 0 ;
4528 (char *) "self",(char *) "p", NULL
4531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
4532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4534 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlContainerCell
,
4535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4538 (arg1
)->SetParent(arg2
);
4540 wxPyEndAllowThreads(__tstate
);
4541 if (PyErr_Occurred()) SWIG_fail
;
4543 Py_INCREF(Py_None
); resultobj
= Py_None
;
4550 static PyObject
*_wrap_HtmlCell_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4551 PyObject
*resultobj
;
4552 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4555 PyObject
* obj0
= 0 ;
4556 PyObject
* obj1
= 0 ;
4557 PyObject
* obj2
= 0 ;
4559 (char *) "self",(char *) "x",(char *) "y", NULL
4562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlCell_SetPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4565 arg2
= (int) SWIG_AsInt(obj1
);
4566 if (PyErr_Occurred()) SWIG_fail
;
4567 arg3
= (int) SWIG_AsInt(obj2
);
4568 if (PyErr_Occurred()) SWIG_fail
;
4570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4571 (arg1
)->SetPos(arg2
,arg3
);
4573 wxPyEndAllowThreads(__tstate
);
4574 if (PyErr_Occurred()) SWIG_fail
;
4576 Py_INCREF(Py_None
); resultobj
= Py_None
;
4583 static PyObject
*_wrap_HtmlCell_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4584 PyObject
*resultobj
;
4585 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4587 PyObject
* obj0
= 0 ;
4588 PyObject
* obj1
= 0 ;
4590 (char *) "self",(char *) "w", NULL
4593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_Layout",kwnames
,&obj0
,&obj1
)) goto fail
;
4594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4596 arg2
= (int) SWIG_AsInt(obj1
);
4597 if (PyErr_Occurred()) SWIG_fail
;
4599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4600 (arg1
)->Layout(arg2
);
4602 wxPyEndAllowThreads(__tstate
);
4603 if (PyErr_Occurred()) SWIG_fail
;
4605 Py_INCREF(Py_None
); resultobj
= Py_None
;
4612 static PyObject
*_wrap_HtmlCell_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4613 PyObject
*resultobj
;
4614 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4620 wxHtmlRenderingInfo
*arg7
= 0 ;
4621 PyObject
* obj0
= 0 ;
4622 PyObject
* obj1
= 0 ;
4623 PyObject
* obj2
= 0 ;
4624 PyObject
* obj3
= 0 ;
4625 PyObject
* obj4
= 0 ;
4626 PyObject
* obj5
= 0 ;
4627 PyObject
* obj6
= 0 ;
4629 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
4632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:HtmlCell_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) 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_wxDC
,
4636 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4639 PyErr_SetString(PyExc_TypeError
,"null reference");
4642 arg3
= (int) SWIG_AsInt(obj2
);
4643 if (PyErr_Occurred()) SWIG_fail
;
4644 arg4
= (int) SWIG_AsInt(obj3
);
4645 if (PyErr_Occurred()) SWIG_fail
;
4646 arg5
= (int) SWIG_AsInt(obj4
);
4647 if (PyErr_Occurred()) SWIG_fail
;
4648 arg6
= (int) SWIG_AsInt(obj5
);
4649 if (PyErr_Occurred()) SWIG_fail
;
4650 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxHtmlRenderingInfo
,
4651 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4654 PyErr_SetString(PyExc_TypeError
,"null reference");
4658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4659 (arg1
)->Draw(*arg2
,arg3
,arg4
,arg5
,arg6
,*arg7
);
4661 wxPyEndAllowThreads(__tstate
);
4662 if (PyErr_Occurred()) SWIG_fail
;
4664 Py_INCREF(Py_None
); resultobj
= Py_None
;
4671 static PyObject
*_wrap_HtmlCell_DrawInvisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4672 PyObject
*resultobj
;
4673 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4677 wxHtmlRenderingInfo
*arg5
= 0 ;
4678 PyObject
* obj0
= 0 ;
4679 PyObject
* obj1
= 0 ;
4680 PyObject
* obj2
= 0 ;
4681 PyObject
* obj3
= 0 ;
4682 PyObject
* obj4
= 0 ;
4684 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
4687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4690 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
4691 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4694 PyErr_SetString(PyExc_TypeError
,"null reference");
4697 arg3
= (int) SWIG_AsInt(obj2
);
4698 if (PyErr_Occurred()) SWIG_fail
;
4699 arg4
= (int) SWIG_AsInt(obj3
);
4700 if (PyErr_Occurred()) SWIG_fail
;
4701 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxHtmlRenderingInfo
,
4702 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4705 PyErr_SetString(PyExc_TypeError
,"null reference");
4709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4710 (arg1
)->DrawInvisible(*arg2
,arg3
,arg4
,*arg5
);
4712 wxPyEndAllowThreads(__tstate
);
4713 if (PyErr_Occurred()) SWIG_fail
;
4715 Py_INCREF(Py_None
); resultobj
= Py_None
;
4722 static PyObject
*_wrap_HtmlCell_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4723 PyObject
*resultobj
;
4724 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4726 void *arg3
= (void *) 0 ;
4728 PyObject
* obj0
= 0 ;
4729 PyObject
* obj1
= 0 ;
4730 PyObject
* obj2
= 0 ;
4732 (char *) "self",(char *) "condition",(char *) "param", NULL
4735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlCell_Find",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4738 arg2
= (int) SWIG_AsInt(obj1
);
4739 if (PyErr_Occurred()) SWIG_fail
;
4740 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4743 result
= (wxHtmlCell
*)(arg1
)->Find(arg2
,(void const *)arg3
);
4745 wxPyEndAllowThreads(__tstate
);
4746 if (PyErr_Occurred()) SWIG_fail
;
4748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
4755 static PyObject
*_wrap_HtmlCell_AdjustPagebreak(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4756 PyObject
*resultobj
;
4757 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4758 int *arg2
= (int *) 0 ;
4761 PyObject
* obj0
= 0 ;
4762 PyObject
* obj1
= 0 ;
4764 (char *) "self",(char *) "INOUT", NULL
4767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_AdjustPagebreak",kwnames
,&obj0
,&obj1
)) goto fail
;
4768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4771 temp2
= PyInt_AsLong(obj1
);
4772 if (PyErr_Occurred()) SWIG_fail
;
4776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4777 result
= (bool)(arg1
)->AdjustPagebreak(arg2
);
4779 wxPyEndAllowThreads(__tstate
);
4780 if (PyErr_Occurred()) SWIG_fail
;
4783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4786 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4787 resultobj
= t_output_helper(resultobj
,o
);
4795 static PyObject
*_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4796 PyObject
*resultobj
;
4797 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4799 PyObject
* obj0
= 0 ;
4800 PyObject
* obj1
= 0 ;
4802 (char *) "self",(char *) "can", NULL
4805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames
,&obj0
,&obj1
)) goto fail
;
4806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4808 arg2
= (bool) SWIG_AsBool(obj1
);
4809 if (PyErr_Occurred()) SWIG_fail
;
4811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4812 (arg1
)->SetCanLiveOnPagebreak(arg2
);
4814 wxPyEndAllowThreads(__tstate
);
4815 if (PyErr_Occurred()) SWIG_fail
;
4817 Py_INCREF(Py_None
); resultobj
= Py_None
;
4824 static PyObject
*_wrap_HtmlCell_IsLinebreakAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4825 PyObject
*resultobj
;
4826 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4828 PyObject
* obj0
= 0 ;
4830 (char *) "self", NULL
4833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_IsLinebreakAllowed",kwnames
,&obj0
)) goto fail
;
4834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4838 result
= (bool)((wxHtmlCell
const *)arg1
)->IsLinebreakAllowed();
4840 wxPyEndAllowThreads(__tstate
);
4841 if (PyErr_Occurred()) SWIG_fail
;
4844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4852 static PyObject
*_wrap_HtmlCell_IsTerminalCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4853 PyObject
*resultobj
;
4854 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4856 PyObject
* obj0
= 0 ;
4858 (char *) "self", NULL
4861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_IsTerminalCell",kwnames
,&obj0
)) goto fail
;
4862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4866 result
= (bool)((wxHtmlCell
const *)arg1
)->IsTerminalCell();
4868 wxPyEndAllowThreads(__tstate
);
4869 if (PyErr_Occurred()) SWIG_fail
;
4872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4880 static PyObject
*_wrap_HtmlCell_FindCellByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4881 PyObject
*resultobj
;
4882 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4885 unsigned int arg4
= (unsigned int) wxHTML_FIND_EXACT
;
4887 PyObject
* obj0
= 0 ;
4888 PyObject
* obj1
= 0 ;
4889 PyObject
* obj2
= 0 ;
4890 PyObject
* obj3
= 0 ;
4892 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
4895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4898 arg2
= (int) SWIG_AsInt(obj1
);
4899 if (PyErr_Occurred()) SWIG_fail
;
4900 arg3
= (int) SWIG_AsInt(obj2
);
4901 if (PyErr_Occurred()) SWIG_fail
;
4903 arg4
= (unsigned int) SWIG_AsUnsignedInt(obj3
);
4904 if (PyErr_Occurred()) SWIG_fail
;
4907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4908 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->FindCellByPos(arg2
,arg3
,arg4
);
4910 wxPyEndAllowThreads(__tstate
);
4911 if (PyErr_Occurred()) SWIG_fail
;
4913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
4920 static PyObject
*_wrap_HtmlCell_GetAbsPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4921 PyObject
*resultobj
;
4922 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4924 PyObject
* obj0
= 0 ;
4926 (char *) "self", NULL
4929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetAbsPos",kwnames
,&obj0
)) goto fail
;
4930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4934 result
= ((wxHtmlCell
const *)arg1
)->GetAbsPos();
4936 wxPyEndAllowThreads(__tstate
);
4937 if (PyErr_Occurred()) SWIG_fail
;
4940 wxPoint
* resultptr
;
4941 resultptr
= new wxPoint((wxPoint
&) result
);
4942 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4950 static PyObject
*_wrap_HtmlCell_GetFirstTerminal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4951 PyObject
*resultobj
;
4952 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4954 PyObject
* obj0
= 0 ;
4956 (char *) "self", NULL
4959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetFirstTerminal",kwnames
,&obj0
)) goto fail
;
4960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4964 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetFirstTerminal();
4966 wxPyEndAllowThreads(__tstate
);
4967 if (PyErr_Occurred()) SWIG_fail
;
4969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
4976 static PyObject
*_wrap_HtmlCell_GetLastTerminal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4977 PyObject
*resultobj
;
4978 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
4980 PyObject
* obj0
= 0 ;
4982 (char *) "self", NULL
4985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetLastTerminal",kwnames
,&obj0
)) goto fail
;
4986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
4987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4990 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetLastTerminal();
4992 wxPyEndAllowThreads(__tstate
);
4993 if (PyErr_Occurred()) SWIG_fail
;
4995 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
5002 static PyObject
*_wrap_HtmlCell_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5003 PyObject
*resultobj
;
5004 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5005 unsigned int result
;
5006 PyObject
* obj0
= 0 ;
5008 (char *) "self", NULL
5011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetDepth",kwnames
,&obj0
)) goto fail
;
5012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
5013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5016 result
= (unsigned int)((wxHtmlCell
const *)arg1
)->GetDepth();
5018 wxPyEndAllowThreads(__tstate
);
5019 if (PyErr_Occurred()) SWIG_fail
;
5021 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
5028 static PyObject
*_wrap_HtmlCell_IsBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5029 PyObject
*resultobj
;
5030 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5031 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
5033 PyObject
* obj0
= 0 ;
5034 PyObject
* obj1
= 0 ;
5036 (char *) "self",(char *) "cell", NULL
5039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_IsBefore",kwnames
,&obj0
,&obj1
)) goto fail
;
5040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
5041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5042 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlCell
,
5043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5046 result
= (bool)((wxHtmlCell
const *)arg1
)->IsBefore(arg2
);
5048 wxPyEndAllowThreads(__tstate
);
5049 if (PyErr_Occurred()) SWIG_fail
;
5052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5060 static PyObject
*_wrap_HtmlCell_ConvertToText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5061 PyObject
*resultobj
;
5062 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5063 wxHtmlSelection
*arg2
= (wxHtmlSelection
*) 0 ;
5065 PyObject
* obj0
= 0 ;
5066 PyObject
* obj1
= 0 ;
5068 (char *) "self",(char *) "sel", NULL
5071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_ConvertToText",kwnames
,&obj0
,&obj1
)) goto fail
;
5072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlCell
,
5073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5074 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlSelection
,
5075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5078 result
= ((wxHtmlCell
const *)arg1
)->ConvertToText(arg2
);
5080 wxPyEndAllowThreads(__tstate
);
5081 if (PyErr_Occurred()) SWIG_fail
;
5085 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5087 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5096 static PyObject
* HtmlCell_swigregister(PyObject
*self
, PyObject
*args
) {
5098 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5099 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlCell
, obj
);
5101 return Py_BuildValue((char *)"");
5103 static PyObject
*_wrap_new_HtmlWordCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5104 PyObject
*resultobj
;
5105 wxString
*arg1
= 0 ;
5107 wxHtmlWordCell
*result
;
5108 bool temp1
= False
;
5109 PyObject
* obj0
= 0 ;
5110 PyObject
* obj1
= 0 ;
5112 (char *) "word",(char *) "dc", NULL
5115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_HtmlWordCell",kwnames
,&obj0
,&obj1
)) goto fail
;
5117 arg1
= wxString_in_helper(obj0
);
5118 if (arg1
== NULL
) SWIG_fail
;
5121 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5122 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5125 PyErr_SetString(PyExc_TypeError
,"null reference");
5129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5130 result
= (wxHtmlWordCell
*)new wxHtmlWordCell((wxString
const &)*arg1
,*arg2
);
5132 wxPyEndAllowThreads(__tstate
);
5133 if (PyErr_Occurred()) SWIG_fail
;
5135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlWordCell
, 1);
5150 static PyObject
* HtmlWordCell_swigregister(PyObject
*self
, PyObject
*args
) {
5152 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5153 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWordCell
, obj
);
5155 return Py_BuildValue((char *)"");
5157 static PyObject
*_wrap_new_HtmlContainerCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5158 PyObject
*resultobj
;
5159 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5160 wxHtmlContainerCell
*result
;
5161 PyObject
* obj0
= 0 ;
5163 (char *) "parent", NULL
5166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_HtmlContainerCell",kwnames
,&obj0
)) goto fail
;
5167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5171 result
= (wxHtmlContainerCell
*)new wxHtmlContainerCell(arg1
);
5173 wxPyEndAllowThreads(__tstate
);
5174 if (PyErr_Occurred()) SWIG_fail
;
5176 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContainerCell
, 1);
5183 static PyObject
*_wrap_HtmlContainerCell_InsertCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5184 PyObject
*resultobj
;
5185 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5186 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
5187 PyObject
* obj0
= 0 ;
5188 PyObject
* obj1
= 0 ;
5190 (char *) "self",(char *) "cell", NULL
5193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_InsertCell",kwnames
,&obj0
,&obj1
)) goto fail
;
5194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5196 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlCell
,
5197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5200 (arg1
)->InsertCell(arg2
);
5202 wxPyEndAllowThreads(__tstate
);
5203 if (PyErr_Occurred()) SWIG_fail
;
5205 Py_INCREF(Py_None
); resultobj
= Py_None
;
5212 static PyObject
*_wrap_HtmlContainerCell_SetAlignHor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5213 PyObject
*resultobj
;
5214 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5216 PyObject
* obj0
= 0 ;
5217 PyObject
* obj1
= 0 ;
5219 (char *) "self",(char *) "al", NULL
5222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames
,&obj0
,&obj1
)) goto fail
;
5223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5225 arg2
= (int) SWIG_AsInt(obj1
);
5226 if (PyErr_Occurred()) SWIG_fail
;
5228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5229 (arg1
)->SetAlignHor(arg2
);
5231 wxPyEndAllowThreads(__tstate
);
5232 if (PyErr_Occurred()) SWIG_fail
;
5234 Py_INCREF(Py_None
); resultobj
= Py_None
;
5241 static PyObject
*_wrap_HtmlContainerCell_GetAlignHor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5242 PyObject
*resultobj
;
5243 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5245 PyObject
* obj0
= 0 ;
5247 (char *) "self", NULL
5250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContainerCell_GetAlignHor",kwnames
,&obj0
)) goto fail
;
5251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5255 result
= (int)(arg1
)->GetAlignHor();
5257 wxPyEndAllowThreads(__tstate
);
5258 if (PyErr_Occurred()) SWIG_fail
;
5260 resultobj
= SWIG_FromInt((int)result
);
5267 static PyObject
*_wrap_HtmlContainerCell_SetAlignVer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5268 PyObject
*resultobj
;
5269 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5271 PyObject
* obj0
= 0 ;
5272 PyObject
* obj1
= 0 ;
5274 (char *) "self",(char *) "al", NULL
5277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames
,&obj0
,&obj1
)) goto fail
;
5278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5280 arg2
= (int) SWIG_AsInt(obj1
);
5281 if (PyErr_Occurred()) SWIG_fail
;
5283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5284 (arg1
)->SetAlignVer(arg2
);
5286 wxPyEndAllowThreads(__tstate
);
5287 if (PyErr_Occurred()) SWIG_fail
;
5289 Py_INCREF(Py_None
); resultobj
= Py_None
;
5296 static PyObject
*_wrap_HtmlContainerCell_GetAlignVer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5297 PyObject
*resultobj
;
5298 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5300 PyObject
* obj0
= 0 ;
5302 (char *) "self", NULL
5305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContainerCell_GetAlignVer",kwnames
,&obj0
)) goto fail
;
5306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5310 result
= (int)(arg1
)->GetAlignVer();
5312 wxPyEndAllowThreads(__tstate
);
5313 if (PyErr_Occurred()) SWIG_fail
;
5315 resultobj
= SWIG_FromInt((int)result
);
5322 static PyObject
*_wrap_HtmlContainerCell_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5323 PyObject
*resultobj
;
5324 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5327 int arg4
= (int) wxHTML_UNITS_PIXELS
;
5328 PyObject
* obj0
= 0 ;
5329 PyObject
* obj1
= 0 ;
5330 PyObject
* obj2
= 0 ;
5331 PyObject
* obj3
= 0 ;
5333 (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
5336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5339 arg2
= (int) SWIG_AsInt(obj1
);
5340 if (PyErr_Occurred()) SWIG_fail
;
5341 arg3
= (int) SWIG_AsInt(obj2
);
5342 if (PyErr_Occurred()) SWIG_fail
;
5344 arg4
= (int) SWIG_AsInt(obj3
);
5345 if (PyErr_Occurred()) SWIG_fail
;
5348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5349 (arg1
)->SetIndent(arg2
,arg3
,arg4
);
5351 wxPyEndAllowThreads(__tstate
);
5352 if (PyErr_Occurred()) SWIG_fail
;
5354 Py_INCREF(Py_None
); resultobj
= Py_None
;
5361 static PyObject
*_wrap_HtmlContainerCell_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5362 PyObject
*resultobj
;
5363 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5366 PyObject
* obj0
= 0 ;
5367 PyObject
* obj1
= 0 ;
5369 (char *) "self",(char *) "ind", NULL
5372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_GetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
5373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5375 arg2
= (int) SWIG_AsInt(obj1
);
5376 if (PyErr_Occurred()) SWIG_fail
;
5378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5379 result
= (int)(arg1
)->GetIndent(arg2
);
5381 wxPyEndAllowThreads(__tstate
);
5382 if (PyErr_Occurred()) SWIG_fail
;
5384 resultobj
= SWIG_FromInt((int)result
);
5391 static PyObject
*_wrap_HtmlContainerCell_GetIndentUnits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5392 PyObject
*resultobj
;
5393 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5396 PyObject
* obj0
= 0 ;
5397 PyObject
* obj1
= 0 ;
5399 (char *) "self",(char *) "ind", NULL
5402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames
,&obj0
,&obj1
)) goto fail
;
5403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5405 arg2
= (int) SWIG_AsInt(obj1
);
5406 if (PyErr_Occurred()) SWIG_fail
;
5408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5409 result
= (int)(arg1
)->GetIndentUnits(arg2
);
5411 wxPyEndAllowThreads(__tstate
);
5412 if (PyErr_Occurred()) SWIG_fail
;
5414 resultobj
= SWIG_FromInt((int)result
);
5421 static PyObject
*_wrap_HtmlContainerCell_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5422 PyObject
*resultobj
;
5423 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5424 wxHtmlTag
*arg2
= 0 ;
5425 PyObject
* obj0
= 0 ;
5426 PyObject
* obj1
= 0 ;
5428 (char *) "self",(char *) "tag", NULL
5431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
5432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5434 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlTag
,
5435 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5438 PyErr_SetString(PyExc_TypeError
,"null reference");
5442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5443 (arg1
)->SetAlign((wxHtmlTag
const &)*arg2
);
5445 wxPyEndAllowThreads(__tstate
);
5446 if (PyErr_Occurred()) SWIG_fail
;
5448 Py_INCREF(Py_None
); resultobj
= Py_None
;
5455 static PyObject
*_wrap_HtmlContainerCell_SetWidthFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5456 PyObject
*resultobj
;
5457 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5460 PyObject
* obj0
= 0 ;
5461 PyObject
* obj1
= 0 ;
5462 PyObject
* obj2
= 0 ;
5464 (char *) "self",(char *) "w",(char *) "units", NULL
5467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5470 arg2
= (int) SWIG_AsInt(obj1
);
5471 if (PyErr_Occurred()) SWIG_fail
;
5472 arg3
= (int) SWIG_AsInt(obj2
);
5473 if (PyErr_Occurred()) SWIG_fail
;
5475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5476 (arg1
)->SetWidthFloat(arg2
,arg3
);
5478 wxPyEndAllowThreads(__tstate
);
5479 if (PyErr_Occurred()) SWIG_fail
;
5481 Py_INCREF(Py_None
); resultobj
= Py_None
;
5488 static PyObject
*_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5489 PyObject
*resultobj
;
5490 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5491 wxHtmlTag
*arg2
= 0 ;
5492 PyObject
* obj0
= 0 ;
5493 PyObject
* obj1
= 0 ;
5495 (char *) "self",(char *) "tag", NULL
5498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames
,&obj0
,&obj1
)) goto fail
;
5499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5501 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlTag
,
5502 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5505 PyErr_SetString(PyExc_TypeError
,"null reference");
5509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5510 (arg1
)->SetWidthFloat((wxHtmlTag
const &)*arg2
);
5512 wxPyEndAllowThreads(__tstate
);
5513 if (PyErr_Occurred()) SWIG_fail
;
5515 Py_INCREF(Py_None
); resultobj
= Py_None
;
5522 static PyObject
*_wrap_HtmlContainerCell_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5523 PyObject
*resultobj
;
5524 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5526 int arg3
= (int) wxHTML_ALIGN_TOP
;
5527 PyObject
* obj0
= 0 ;
5528 PyObject
* obj1
= 0 ;
5529 PyObject
* obj2
= 0 ;
5531 (char *) "self",(char *) "h",(char *) "align", NULL
5534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5537 arg2
= (int) SWIG_AsInt(obj1
);
5538 if (PyErr_Occurred()) SWIG_fail
;
5540 arg3
= (int) SWIG_AsInt(obj2
);
5541 if (PyErr_Occurred()) SWIG_fail
;
5544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5545 (arg1
)->SetMinHeight(arg2
,arg3
);
5547 wxPyEndAllowThreads(__tstate
);
5548 if (PyErr_Occurred()) SWIG_fail
;
5550 Py_INCREF(Py_None
); resultobj
= Py_None
;
5557 static PyObject
*_wrap_HtmlContainerCell_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5558 PyObject
*resultobj
;
5559 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5560 wxColour
*arg2
= 0 ;
5562 PyObject
* obj0
= 0 ;
5563 PyObject
* obj1
= 0 ;
5565 (char *) "self",(char *) "clr", NULL
5568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5573 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5577 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
5579 wxPyEndAllowThreads(__tstate
);
5580 if (PyErr_Occurred()) SWIG_fail
;
5582 Py_INCREF(Py_None
); resultobj
= Py_None
;
5589 static PyObject
*_wrap_HtmlContainerCell_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5590 PyObject
*resultobj
;
5591 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5593 PyObject
* obj0
= 0 ;
5595 (char *) "self", NULL
5598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContainerCell_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
5599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5603 result
= (arg1
)->GetBackgroundColour();
5605 wxPyEndAllowThreads(__tstate
);
5606 if (PyErr_Occurred()) SWIG_fail
;
5609 wxColour
* resultptr
;
5610 resultptr
= new wxColour((wxColour
&) result
);
5611 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
5619 static PyObject
*_wrap_HtmlContainerCell_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5620 PyObject
*resultobj
;
5621 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5622 wxColour
*arg2
= 0 ;
5623 wxColour
*arg3
= 0 ;
5626 PyObject
* obj0
= 0 ;
5627 PyObject
* obj1
= 0 ;
5628 PyObject
* obj2
= 0 ;
5630 (char *) "self",(char *) "clr1",(char *) "clr2", NULL
5633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5638 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5642 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5646 (arg1
)->SetBorder((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
5648 wxPyEndAllowThreads(__tstate
);
5649 if (PyErr_Occurred()) SWIG_fail
;
5651 Py_INCREF(Py_None
); resultobj
= Py_None
;
5658 static PyObject
*_wrap_HtmlContainerCell_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5659 PyObject
*resultobj
;
5660 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
5662 PyObject
* obj0
= 0 ;
5664 (char *) "self", NULL
5667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContainerCell_GetFirstChild",kwnames
,&obj0
)) goto fail
;
5668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContainerCell
,
5669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5672 result
= (wxHtmlCell
*)(arg1
)->GetFirstChild();
5674 wxPyEndAllowThreads(__tstate
);
5675 if (PyErr_Occurred()) SWIG_fail
;
5677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
5684 static PyObject
* HtmlContainerCell_swigregister(PyObject
*self
, PyObject
*args
) {
5686 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5687 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContainerCell
, obj
);
5689 return Py_BuildValue((char *)"");
5691 static PyObject
*_wrap_new_HtmlColourCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5692 PyObject
*resultobj
;
5694 int arg2
= (int) wxHTML_CLR_FOREGROUND
;
5695 wxHtmlColourCell
*result
;
5697 PyObject
* obj0
= 0 ;
5698 PyObject
* obj1
= 0 ;
5700 (char *) "clr",(char *) "flags", NULL
5703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlColourCell",kwnames
,&obj0
,&obj1
)) goto fail
;
5704 if ((SWIG_ConvertPtr(obj0
,(void **)(&argp1
),SWIGTYPE_p_wxColour
,
5705 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
5708 arg2
= (int) SWIG_AsInt(obj1
);
5709 if (PyErr_Occurred()) SWIG_fail
;
5712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5713 result
= (wxHtmlColourCell
*)new wxHtmlColourCell(arg1
,arg2
);
5715 wxPyEndAllowThreads(__tstate
);
5716 if (PyErr_Occurred()) SWIG_fail
;
5718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlColourCell
, 1);
5725 static PyObject
* HtmlColourCell_swigregister(PyObject
*self
, PyObject
*args
) {
5727 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5728 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlColourCell
, obj
);
5730 return Py_BuildValue((char *)"");
5732 static PyObject
*_wrap_new_HtmlFontCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5733 PyObject
*resultobj
;
5734 wxFont
*arg1
= (wxFont
*) 0 ;
5735 wxHtmlFontCell
*result
;
5736 PyObject
* obj0
= 0 ;
5738 (char *) "font", NULL
5741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_HtmlFontCell",kwnames
,&obj0
)) goto fail
;
5742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
5743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5746 result
= (wxHtmlFontCell
*)new wxHtmlFontCell(arg1
);
5748 wxPyEndAllowThreads(__tstate
);
5749 if (PyErr_Occurred()) SWIG_fail
;
5751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlFontCell
, 1);
5758 static PyObject
* HtmlFontCell_swigregister(PyObject
*self
, PyObject
*args
) {
5760 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5761 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlFontCell
, obj
);
5763 return Py_BuildValue((char *)"");
5765 static PyObject
*_wrap_new_HtmlWidgetCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5766 PyObject
*resultobj
;
5767 wxWindow
*arg1
= (wxWindow
*) 0 ;
5768 int arg2
= (int) 0 ;
5769 wxHtmlWidgetCell
*result
;
5770 PyObject
* obj0
= 0 ;
5771 PyObject
* obj1
= 0 ;
5773 (char *) "wnd",(char *) "w", NULL
5776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlWidgetCell",kwnames
,&obj0
,&obj1
)) goto fail
;
5777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5780 arg2
= (int) SWIG_AsInt(obj1
);
5781 if (PyErr_Occurred()) SWIG_fail
;
5784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5785 result
= (wxHtmlWidgetCell
*)new wxHtmlWidgetCell(arg1
,arg2
);
5787 wxPyEndAllowThreads(__tstate
);
5788 if (PyErr_Occurred()) SWIG_fail
;
5790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlWidgetCell
, 1);
5797 static PyObject
* HtmlWidgetCell_swigregister(PyObject
*self
, PyObject
*args
) {
5799 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5800 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWidgetCell
, obj
);
5802 return Py_BuildValue((char *)"");
5804 static PyObject
*_wrap_new_HtmlFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5805 PyObject
*resultobj
;
5806 wxPyHtmlFilter
*result
;
5811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlFilter",kwnames
)) goto fail
;
5813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5814 result
= (wxPyHtmlFilter
*)new wxPyHtmlFilter();
5816 wxPyEndAllowThreads(__tstate
);
5817 if (PyErr_Occurred()) SWIG_fail
;
5819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlFilter
, 1);
5826 static PyObject
*_wrap_HtmlFilter__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5827 PyObject
*resultobj
;
5828 wxPyHtmlFilter
*arg1
= (wxPyHtmlFilter
*) 0 ;
5829 PyObject
*arg2
= (PyObject
*) 0 ;
5830 PyObject
*arg3
= (PyObject
*) 0 ;
5831 PyObject
* obj0
= 0 ;
5832 PyObject
* obj1
= 0 ;
5833 PyObject
* obj2
= 0 ;
5835 (char *) "self",(char *) "self",(char *) "_class", NULL
5838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlFilter
,
5840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5845 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5847 wxPyEndAllowThreads(__tstate
);
5848 if (PyErr_Occurred()) SWIG_fail
;
5850 Py_INCREF(Py_None
); resultobj
= Py_None
;
5857 static PyObject
* HtmlFilter_swigregister(PyObject
*self
, PyObject
*args
) {
5859 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5860 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlFilter
, obj
);
5862 return Py_BuildValue((char *)"");
5864 static PyObject
*_wrap_new_HtmlWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5865 PyObject
*resultobj
;
5866 wxWindow
*arg1
= (wxWindow
*) 0 ;
5867 int arg2
= (int) -1 ;
5868 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5869 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5870 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5871 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5872 int arg5
= (int) wxHW_DEFAULT_STYLE
;
5873 wxString
const &arg6_defvalue
= wxPyHtmlWindowNameStr
;
5874 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5875 wxPyHtmlWindow
*result
;
5878 bool temp6
= False
;
5879 PyObject
* obj0
= 0 ;
5880 PyObject
* obj1
= 0 ;
5881 PyObject
* obj2
= 0 ;
5882 PyObject
* obj3
= 0 ;
5883 PyObject
* obj4
= 0 ;
5884 PyObject
* obj5
= 0 ;
5886 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5893 arg2
= (int) SWIG_AsInt(obj1
);
5894 if (PyErr_Occurred()) SWIG_fail
;
5899 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5905 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5909 arg5
= (int) SWIG_AsInt(obj4
);
5910 if (PyErr_Occurred()) SWIG_fail
;
5914 arg6
= wxString_in_helper(obj5
);
5915 if (arg6
== NULL
) SWIG_fail
;
5920 if (!wxPyCheckForApp()) SWIG_fail
;
5921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5922 result
= (wxPyHtmlWindow
*)new wxPyHtmlWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5924 wxPyEndAllowThreads(__tstate
);
5925 if (PyErr_Occurred()) SWIG_fail
;
5927 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlWindow
, 1);
5942 static PyObject
*_wrap_new_PreHtmlWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5943 PyObject
*resultobj
;
5944 wxPyHtmlWindow
*result
;
5949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlWindow",kwnames
)) goto fail
;
5951 if (!wxPyCheckForApp()) SWIG_fail
;
5952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5953 result
= (wxPyHtmlWindow
*)new wxPyHtmlWindow();
5955 wxPyEndAllowThreads(__tstate
);
5956 if (PyErr_Occurred()) SWIG_fail
;
5958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlWindow
, 1);
5965 static PyObject
*_wrap_HtmlWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5966 PyObject
*resultobj
;
5967 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
5968 wxWindow
*arg2
= (wxWindow
*) 0 ;
5969 int arg3
= (int) -1 ;
5970 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5971 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5972 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5973 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5974 int arg6
= (int) wxHW_SCROLLBAR_AUTO
;
5975 wxString
const &arg7_defvalue
= wxPyHtmlWindowNameStr
;
5976 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5980 bool temp7
= False
;
5981 PyObject
* obj0
= 0 ;
5982 PyObject
* obj1
= 0 ;
5983 PyObject
* obj2
= 0 ;
5984 PyObject
* obj3
= 0 ;
5985 PyObject
* obj4
= 0 ;
5986 PyObject
* obj5
= 0 ;
5987 PyObject
* obj6
= 0 ;
5989 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
5994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5995 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5998 arg3
= (int) SWIG_AsInt(obj2
);
5999 if (PyErr_Occurred()) SWIG_fail
;
6004 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6010 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6014 arg6
= (int) SWIG_AsInt(obj5
);
6015 if (PyErr_Occurred()) SWIG_fail
;
6019 arg7
= wxString_in_helper(obj6
);
6020 if (arg7
== NULL
) SWIG_fail
;
6025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6026 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6028 wxPyEndAllowThreads(__tstate
);
6029 if (PyErr_Occurred()) SWIG_fail
;
6032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6048 static PyObject
*_wrap_HtmlWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6049 PyObject
*resultobj
;
6050 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6051 PyObject
*arg2
= (PyObject
*) 0 ;
6052 PyObject
*arg3
= (PyObject
*) 0 ;
6053 PyObject
* obj0
= 0 ;
6054 PyObject
* obj1
= 0 ;
6055 PyObject
* obj2
= 0 ;
6057 (char *) "self",(char *) "self",(char *) "_class", NULL
6060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6067 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6069 wxPyEndAllowThreads(__tstate
);
6070 if (PyErr_Occurred()) SWIG_fail
;
6072 Py_INCREF(Py_None
); resultobj
= Py_None
;
6079 static PyObject
*_wrap_HtmlWindow_SetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6080 PyObject
*resultobj
;
6081 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6082 wxString
*arg2
= 0 ;
6084 bool temp2
= False
;
6085 PyObject
* obj0
= 0 ;
6086 PyObject
* obj1
= 0 ;
6088 (char *) "self",(char *) "source", NULL
6091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
6092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6095 arg2
= wxString_in_helper(obj1
);
6096 if (arg2
== NULL
) SWIG_fail
;
6100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6101 result
= (bool)(arg1
)->SetPage((wxString
const &)*arg2
);
6103 wxPyEndAllowThreads(__tstate
);
6104 if (PyErr_Occurred()) SWIG_fail
;
6107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6123 static PyObject
*_wrap_HtmlWindow_LoadPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6124 PyObject
*resultobj
;
6125 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6126 wxString
*arg2
= 0 ;
6128 bool temp2
= False
;
6129 PyObject
* obj0
= 0 ;
6130 PyObject
* obj1
= 0 ;
6132 (char *) "self",(char *) "location", NULL
6135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_LoadPage",kwnames
,&obj0
,&obj1
)) goto fail
;
6136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6139 arg2
= wxString_in_helper(obj1
);
6140 if (arg2
== NULL
) SWIG_fail
;
6144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6145 result
= (bool)(arg1
)->LoadPage((wxString
const &)*arg2
);
6147 wxPyEndAllowThreads(__tstate
);
6148 if (PyErr_Occurred()) SWIG_fail
;
6151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6167 static PyObject
*_wrap_HtmlWindow_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6168 PyObject
*resultobj
;
6169 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6170 wxString
*arg2
= 0 ;
6172 bool temp2
= False
;
6173 PyObject
* obj0
= 0 ;
6174 PyObject
* obj1
= 0 ;
6176 (char *) "self",(char *) "filename", NULL
6179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6183 arg2
= wxString_in_helper(obj1
);
6184 if (arg2
== NULL
) SWIG_fail
;
6188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6189 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
6191 wxPyEndAllowThreads(__tstate
);
6192 if (PyErr_Occurred()) SWIG_fail
;
6195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6211 static PyObject
*_wrap_HtmlWindow_AppendToPage(PyObject
*self
, 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_AppendToPage",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
)->AppendToPage((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_GetOpenedPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6256 PyObject
*resultobj
;
6257 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6259 PyObject
* obj0
= 0 ;
6261 (char *) "self", NULL
6264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetOpenedPage",kwnames
,&obj0
)) goto fail
;
6265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6269 result
= (arg1
)->GetOpenedPage();
6271 wxPyEndAllowThreads(__tstate
);
6272 if (PyErr_Occurred()) SWIG_fail
;
6276 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6278 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6287 static PyObject
*_wrap_HtmlWindow_GetOpenedAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6288 PyObject
*resultobj
;
6289 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6291 PyObject
* obj0
= 0 ;
6293 (char *) "self", NULL
6296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetOpenedAnchor",kwnames
,&obj0
)) goto fail
;
6297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6301 result
= (arg1
)->GetOpenedAnchor();
6303 wxPyEndAllowThreads(__tstate
);
6304 if (PyErr_Occurred()) SWIG_fail
;
6308 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6310 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6319 static PyObject
*_wrap_HtmlWindow_GetOpenedPageTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6320 PyObject
*resultobj
;
6321 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6323 PyObject
* obj0
= 0 ;
6325 (char *) "self", NULL
6328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetOpenedPageTitle",kwnames
,&obj0
)) goto fail
;
6329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6333 result
= (arg1
)->GetOpenedPageTitle();
6335 wxPyEndAllowThreads(__tstate
);
6336 if (PyErr_Occurred()) SWIG_fail
;
6340 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6342 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6351 static PyObject
*_wrap_HtmlWindow_SetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6352 PyObject
*resultobj
;
6353 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6354 wxFrame
*arg2
= (wxFrame
*) 0 ;
6355 wxString
*arg3
= 0 ;
6356 bool temp3
= False
;
6357 PyObject
* obj0
= 0 ;
6358 PyObject
* obj1
= 0 ;
6359 PyObject
* obj2
= 0 ;
6361 (char *) "self",(char *) "frame",(char *) "format", NULL
6364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6367 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
6368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6370 arg3
= wxString_in_helper(obj2
);
6371 if (arg3
== NULL
) SWIG_fail
;
6375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6376 (arg1
)->SetRelatedFrame(arg2
,(wxString
const &)*arg3
);
6378 wxPyEndAllowThreads(__tstate
);
6379 if (PyErr_Occurred()) SWIG_fail
;
6381 Py_INCREF(Py_None
); resultobj
= Py_None
;
6396 static PyObject
*_wrap_HtmlWindow_GetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6397 PyObject
*resultobj
;
6398 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6400 PyObject
* obj0
= 0 ;
6402 (char *) "self", NULL
6405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetRelatedFrame",kwnames
,&obj0
)) goto fail
;
6406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6410 result
= (wxFrame
*)(arg1
)->GetRelatedFrame();
6412 wxPyEndAllowThreads(__tstate
);
6413 if (PyErr_Occurred()) SWIG_fail
;
6416 resultobj
= wxPyMake_wxObject(result
, 0);
6424 static PyObject
*_wrap_HtmlWindow_SetRelatedStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6425 PyObject
*resultobj
;
6426 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6428 PyObject
* obj0
= 0 ;
6429 PyObject
* obj1
= 0 ;
6431 (char *) "self",(char *) "bar", NULL
6434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
6435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6437 arg2
= (int) SWIG_AsInt(obj1
);
6438 if (PyErr_Occurred()) SWIG_fail
;
6440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6441 (arg1
)->SetRelatedStatusBar(arg2
);
6443 wxPyEndAllowThreads(__tstate
);
6444 if (PyErr_Occurred()) SWIG_fail
;
6446 Py_INCREF(Py_None
); resultobj
= Py_None
;
6453 static PyObject
*_wrap_HtmlWindow_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6454 PyObject
*resultobj
;
6455 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6458 PyObject
*arg4
= (PyObject
*) NULL
;
6459 PyObject
* obj0
= 0 ;
6460 PyObject
* obj1
= 0 ;
6461 PyObject
* obj2
= 0 ;
6462 PyObject
* obj3
= 0 ;
6464 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
6467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6471 wxString
* sptr
= wxString_in_helper(obj1
);
6472 if (sptr
== NULL
) SWIG_fail
;
6477 wxString
* sptr
= wxString_in_helper(obj2
);
6478 if (sptr
== NULL
) SWIG_fail
;
6486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6487 wxPyHtmlWindow_SetFonts(arg1
,arg2
,arg3
,arg4
);
6489 wxPyEndAllowThreads(__tstate
);
6490 if (PyErr_Occurred()) SWIG_fail
;
6492 Py_INCREF(Py_None
); resultobj
= Py_None
;
6499 static PyObject
*_wrap_HtmlWindow_NormalizeFontSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6500 PyObject
*resultobj
;
6501 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6502 int arg2
= (int) -1 ;
6503 PyObject
* obj0
= 0 ;
6504 PyObject
* obj1
= 0 ;
6506 (char *) "self",(char *) "size", NULL
6509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HtmlWindow_NormalizeFontSizes",kwnames
,&obj0
,&obj1
)) goto fail
;
6510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6513 arg2
= (int) SWIG_AsInt(obj1
);
6514 if (PyErr_Occurred()) SWIG_fail
;
6517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6518 (arg1
)->NormalizeFontSizes(arg2
);
6520 wxPyEndAllowThreads(__tstate
);
6521 if (PyErr_Occurred()) SWIG_fail
;
6523 Py_INCREF(Py_None
); resultobj
= Py_None
;
6530 static PyObject
*_wrap_HtmlWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6531 PyObject
*resultobj
;
6532 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6533 wxString
*arg2
= 0 ;
6534 bool temp2
= False
;
6535 PyObject
* obj0
= 0 ;
6536 PyObject
* obj1
= 0 ;
6538 (char *) "self",(char *) "title", NULL
6541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
6542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6545 arg2
= wxString_in_helper(obj1
);
6546 if (arg2
== NULL
) SWIG_fail
;
6550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6551 (arg1
)->SetTitle((wxString
const &)*arg2
);
6553 wxPyEndAllowThreads(__tstate
);
6554 if (PyErr_Occurred()) SWIG_fail
;
6556 Py_INCREF(Py_None
); resultobj
= Py_None
;
6571 static PyObject
*_wrap_HtmlWindow_SetBorders(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6572 PyObject
*resultobj
;
6573 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6575 PyObject
* obj0
= 0 ;
6576 PyObject
* obj1
= 0 ;
6578 (char *) "self",(char *) "b", NULL
6581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetBorders",kwnames
,&obj0
,&obj1
)) goto fail
;
6582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6584 arg2
= (int) SWIG_AsInt(obj1
);
6585 if (PyErr_Occurred()) SWIG_fail
;
6587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6588 (arg1
)->SetBorders(arg2
);
6590 wxPyEndAllowThreads(__tstate
);
6591 if (PyErr_Occurred()) SWIG_fail
;
6593 Py_INCREF(Py_None
); resultobj
= Py_None
;
6600 static PyObject
*_wrap_HtmlWindow_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6601 PyObject
*resultobj
;
6602 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6603 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
6604 wxString arg3
= (wxString
) wxPyEmptyString
;
6605 PyObject
* obj0
= 0 ;
6606 PyObject
* obj1
= 0 ;
6607 PyObject
* obj2
= 0 ;
6609 (char *) "self",(char *) "cfg",(char *) "path", NULL
6612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6615 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
6616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6619 wxString
* sptr
= wxString_in_helper(obj2
);
6620 if (sptr
== NULL
) SWIG_fail
;
6626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6627 (arg1
)->ReadCustomization(arg2
,arg3
);
6629 wxPyEndAllowThreads(__tstate
);
6630 if (PyErr_Occurred()) SWIG_fail
;
6632 Py_INCREF(Py_None
); resultobj
= Py_None
;
6639 static PyObject
*_wrap_HtmlWindow_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6640 PyObject
*resultobj
;
6641 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6642 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
6643 wxString arg3
= (wxString
) wxPyEmptyString
;
6644 PyObject
* obj0
= 0 ;
6645 PyObject
* obj1
= 0 ;
6646 PyObject
* obj2
= 0 ;
6648 (char *) "self",(char *) "cfg",(char *) "path", NULL
6651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6654 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
6655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6658 wxString
* sptr
= wxString_in_helper(obj2
);
6659 if (sptr
== NULL
) SWIG_fail
;
6665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6666 (arg1
)->WriteCustomization(arg2
,arg3
);
6668 wxPyEndAllowThreads(__tstate
);
6669 if (PyErr_Occurred()) SWIG_fail
;
6671 Py_INCREF(Py_None
); resultobj
= Py_None
;
6678 static PyObject
*_wrap_HtmlWindow_HistoryBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6679 PyObject
*resultobj
;
6680 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6682 PyObject
* obj0
= 0 ;
6684 (char *) "self", NULL
6687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_HistoryBack",kwnames
,&obj0
)) goto fail
;
6688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6692 result
= (bool)(arg1
)->HistoryBack();
6694 wxPyEndAllowThreads(__tstate
);
6695 if (PyErr_Occurred()) SWIG_fail
;
6698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6706 static PyObject
*_wrap_HtmlWindow_HistoryForward(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6707 PyObject
*resultobj
;
6708 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6710 PyObject
* obj0
= 0 ;
6712 (char *) "self", NULL
6715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_HistoryForward",kwnames
,&obj0
)) goto fail
;
6716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6720 result
= (bool)(arg1
)->HistoryForward();
6722 wxPyEndAllowThreads(__tstate
);
6723 if (PyErr_Occurred()) SWIG_fail
;
6726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6734 static PyObject
*_wrap_HtmlWindow_HistoryCanBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6735 PyObject
*resultobj
;
6736 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6738 PyObject
* obj0
= 0 ;
6740 (char *) "self", NULL
6743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_HistoryCanBack",kwnames
,&obj0
)) goto fail
;
6744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6748 result
= (bool)(arg1
)->HistoryCanBack();
6750 wxPyEndAllowThreads(__tstate
);
6751 if (PyErr_Occurred()) SWIG_fail
;
6754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6762 static PyObject
*_wrap_HtmlWindow_HistoryCanForward(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6763 PyObject
*resultobj
;
6764 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6766 PyObject
* obj0
= 0 ;
6768 (char *) "self", NULL
6771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_HistoryCanForward",kwnames
,&obj0
)) goto fail
;
6772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6776 result
= (bool)(arg1
)->HistoryCanForward();
6778 wxPyEndAllowThreads(__tstate
);
6779 if (PyErr_Occurred()) SWIG_fail
;
6782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6790 static PyObject
*_wrap_HtmlWindow_HistoryClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6791 PyObject
*resultobj
;
6792 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6793 PyObject
* obj0
= 0 ;
6795 (char *) "self", NULL
6798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_HistoryClear",kwnames
,&obj0
)) goto fail
;
6799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6803 (arg1
)->HistoryClear();
6805 wxPyEndAllowThreads(__tstate
);
6806 if (PyErr_Occurred()) SWIG_fail
;
6808 Py_INCREF(Py_None
); resultobj
= Py_None
;
6815 static PyObject
*_wrap_HtmlWindow_GetInternalRepresentation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6816 PyObject
*resultobj
;
6817 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6818 wxHtmlContainerCell
*result
;
6819 PyObject
* obj0
= 0 ;
6821 (char *) "self", NULL
6824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetInternalRepresentation",kwnames
,&obj0
)) goto fail
;
6825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6829 result
= (wxHtmlContainerCell
*)(arg1
)->GetInternalRepresentation();
6831 wxPyEndAllowThreads(__tstate
);
6832 if (PyErr_Occurred()) SWIG_fail
;
6834 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0);
6841 static PyObject
*_wrap_HtmlWindow_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6842 PyObject
*resultobj
;
6843 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6844 wxHtmlWinParser
*result
;
6845 PyObject
* obj0
= 0 ;
6847 (char *) "self", NULL
6850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetParser",kwnames
,&obj0
)) goto fail
;
6851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6855 result
= (wxHtmlWinParser
*)(arg1
)->GetParser();
6857 wxPyEndAllowThreads(__tstate
);
6858 if (PyErr_Occurred()) SWIG_fail
;
6860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlWinParser
, 0);
6867 static PyObject
*_wrap_HtmlWindow_ScrollToAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6868 PyObject
*resultobj
;
6869 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6870 wxString
*arg2
= 0 ;
6872 bool temp2
= False
;
6873 PyObject
* obj0
= 0 ;
6874 PyObject
* obj1
= 0 ;
6876 (char *) "self",(char *) "anchor", NULL
6879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
6880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6883 arg2
= wxString_in_helper(obj1
);
6884 if (arg2
== NULL
) SWIG_fail
;
6888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6889 result
= (bool)(arg1
)->ScrollToAnchor((wxString
const &)*arg2
);
6891 wxPyEndAllowThreads(__tstate
);
6892 if (PyErr_Occurred()) SWIG_fail
;
6895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6911 static PyObject
*_wrap_HtmlWindow_HasAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6912 PyObject
*resultobj
;
6913 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6914 wxString
*arg2
= 0 ;
6916 bool temp2
= False
;
6917 PyObject
* obj0
= 0 ;
6918 PyObject
* obj1
= 0 ;
6920 (char *) "self",(char *) "anchor", NULL
6923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_HasAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
6924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6927 arg2
= wxString_in_helper(obj1
);
6928 if (arg2
== NULL
) SWIG_fail
;
6932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6933 result
= (bool)(arg1
)->HasAnchor((wxString
const &)*arg2
);
6935 wxPyEndAllowThreads(__tstate
);
6936 if (PyErr_Occurred()) SWIG_fail
;
6939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6955 static PyObject
*_wrap_HtmlWindow_AddFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6956 PyObject
*resultobj
;
6957 wxPyHtmlFilter
*arg1
= (wxPyHtmlFilter
*) 0 ;
6958 PyObject
* obj0
= 0 ;
6960 (char *) "filter", NULL
6963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_AddFilter",kwnames
,&obj0
)) goto fail
;
6964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlFilter
,
6965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6968 wxPyHtmlWindow::AddFilter(arg1
);
6970 wxPyEndAllowThreads(__tstate
);
6971 if (PyErr_Occurred()) SWIG_fail
;
6973 Py_INCREF(Py_None
); resultobj
= Py_None
;
6980 static PyObject
*_wrap_HtmlWindow_SelectWord(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6981 PyObject
*resultobj
;
6982 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
6985 PyObject
* obj0
= 0 ;
6986 PyObject
* obj1
= 0 ;
6988 (char *) "self",(char *) "pos", NULL
6991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SelectWord",kwnames
,&obj0
,&obj1
)) goto fail
;
6992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
6993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6996 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7000 (arg1
)->SelectWord((wxPoint
const &)*arg2
);
7002 wxPyEndAllowThreads(__tstate
);
7003 if (PyErr_Occurred()) SWIG_fail
;
7005 Py_INCREF(Py_None
); resultobj
= Py_None
;
7012 static PyObject
*_wrap_HtmlWindow_SelectLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7013 PyObject
*resultobj
;
7014 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7017 PyObject
* obj0
= 0 ;
7018 PyObject
* obj1
= 0 ;
7020 (char *) "self",(char *) "pos", NULL
7023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SelectLine",kwnames
,&obj0
,&obj1
)) goto fail
;
7024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
7025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7028 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7032 (arg1
)->SelectLine((wxPoint
const &)*arg2
);
7034 wxPyEndAllowThreads(__tstate
);
7035 if (PyErr_Occurred()) SWIG_fail
;
7037 Py_INCREF(Py_None
); resultobj
= Py_None
;
7044 static PyObject
*_wrap_HtmlWindow_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7045 PyObject
*resultobj
;
7046 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7047 PyObject
* obj0
= 0 ;
7049 (char *) "self", NULL
7052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_SelectAll",kwnames
,&obj0
)) goto fail
;
7053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
7054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7057 (arg1
)->SelectAll();
7059 wxPyEndAllowThreads(__tstate
);
7060 if (PyErr_Occurred()) SWIG_fail
;
7062 Py_INCREF(Py_None
); resultobj
= Py_None
;
7069 static PyObject
*_wrap_HtmlWindow_SelectionToText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7070 PyObject
*resultobj
;
7071 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7073 PyObject
* obj0
= 0 ;
7075 (char *) "self", NULL
7078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_SelectionToText",kwnames
,&obj0
)) goto fail
;
7079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
7080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7083 result
= (arg1
)->SelectionToText();
7085 wxPyEndAllowThreads(__tstate
);
7086 if (PyErr_Occurred()) SWIG_fail
;
7090 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7092 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7101 static PyObject
*_wrap_HtmlWindow_ToText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7102 PyObject
*resultobj
;
7103 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7105 PyObject
* obj0
= 0 ;
7107 (char *) "self", NULL
7110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_ToText",kwnames
,&obj0
)) goto fail
;
7111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
7112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7115 result
= (arg1
)->ToText();
7117 wxPyEndAllowThreads(__tstate
);
7118 if (PyErr_Occurred()) SWIG_fail
;
7122 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7124 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7133 static PyObject
*_wrap_HtmlWindow_base_OnLinkClicked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7134 PyObject
*resultobj
;
7135 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7136 wxHtmlLinkInfo
*arg2
= 0 ;
7137 PyObject
* obj0
= 0 ;
7138 PyObject
* obj1
= 0 ;
7140 (char *) "self",(char *) "link", NULL
7143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_base_OnLinkClicked",kwnames
,&obj0
,&obj1
)) goto fail
;
7144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
7145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7146 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlLinkInfo
,
7147 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7150 PyErr_SetString(PyExc_TypeError
,"null reference");
7154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7155 (arg1
)->base_OnLinkClicked((wxHtmlLinkInfo
const &)*arg2
);
7157 wxPyEndAllowThreads(__tstate
);
7158 if (PyErr_Occurred()) SWIG_fail
;
7160 Py_INCREF(Py_None
); resultobj
= Py_None
;
7167 static PyObject
*_wrap_HtmlWindow_base_OnSetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7168 PyObject
*resultobj
;
7169 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7170 wxString
*arg2
= 0 ;
7171 bool temp2
= False
;
7172 PyObject
* obj0
= 0 ;
7173 PyObject
* obj1
= 0 ;
7175 (char *) "self",(char *) "title", NULL
7178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_base_OnSetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
7179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
7180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7182 arg2
= wxString_in_helper(obj1
);
7183 if (arg2
== NULL
) SWIG_fail
;
7187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7188 (arg1
)->base_OnSetTitle((wxString
const &)*arg2
);
7190 wxPyEndAllowThreads(__tstate
);
7191 if (PyErr_Occurred()) SWIG_fail
;
7193 Py_INCREF(Py_None
); resultobj
= Py_None
;
7208 static PyObject
*_wrap_HtmlWindow_base_OnCellMouseHover(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7209 PyObject
*resultobj
;
7210 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7211 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
7214 PyObject
* obj0
= 0 ;
7215 PyObject
* obj1
= 0 ;
7216 PyObject
* obj2
= 0 ;
7217 PyObject
* obj3
= 0 ;
7219 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
7222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HtmlWindow_base_OnCellMouseHover",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
7224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7225 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlCell
,
7226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7227 arg3
= (int) SWIG_AsInt(obj2
);
7228 if (PyErr_Occurred()) SWIG_fail
;
7229 arg4
= (int) SWIG_AsInt(obj3
);
7230 if (PyErr_Occurred()) SWIG_fail
;
7232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7233 (arg1
)->base_OnCellMouseHover(arg2
,arg3
,arg4
);
7235 wxPyEndAllowThreads(__tstate
);
7236 if (PyErr_Occurred()) SWIG_fail
;
7238 Py_INCREF(Py_None
); resultobj
= Py_None
;
7245 static PyObject
*_wrap_HtmlWindow_base_OnCellClicked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7246 PyObject
*resultobj
;
7247 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7248 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
7251 wxMouseEvent
*arg5
= 0 ;
7252 PyObject
* obj0
= 0 ;
7253 PyObject
* obj1
= 0 ;
7254 PyObject
* obj2
= 0 ;
7255 PyObject
* obj3
= 0 ;
7256 PyObject
* obj4
= 0 ;
7258 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
7261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlWindow_base_OnCellClicked",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlWindow
,
7263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7264 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxHtmlCell
,
7265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7266 arg3
= (int) SWIG_AsInt(obj2
);
7267 if (PyErr_Occurred()) SWIG_fail
;
7268 arg4
= (int) SWIG_AsInt(obj3
);
7269 if (PyErr_Occurred()) SWIG_fail
;
7270 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMouseEvent
,
7271 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7274 PyErr_SetString(PyExc_TypeError
,"null reference");
7278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7279 (arg1
)->base_OnCellClicked(arg2
,arg3
,arg4
,(wxMouseEvent
const &)*arg5
);
7281 wxPyEndAllowThreads(__tstate
);
7282 if (PyErr_Occurred()) SWIG_fail
;
7284 Py_INCREF(Py_None
); resultobj
= Py_None
;
7291 static PyObject
*_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7292 PyObject
*resultobj
;
7293 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
7294 wxVisualAttributes result
;
7295 PyObject
* obj0
= 0 ;
7297 (char *) "variant", NULL
7300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7302 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
7303 if (PyErr_Occurred()) SWIG_fail
;
7306 if (!wxPyCheckForApp()) SWIG_fail
;
7307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7308 result
= wxPyHtmlWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
7310 wxPyEndAllowThreads(__tstate
);
7311 if (PyErr_Occurred()) SWIG_fail
;
7314 wxVisualAttributes
* resultptr
;
7315 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
7316 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7324 static PyObject
* HtmlWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7326 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7327 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWindow
, obj
);
7329 return Py_BuildValue((char *)"");
7331 static PyObject
*_wrap_new_HtmlDCRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7332 PyObject
*resultobj
;
7333 wxHtmlDCRenderer
*result
;
7338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlDCRenderer",kwnames
)) goto fail
;
7340 if (!wxPyCheckForApp()) SWIG_fail
;
7341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7342 result
= (wxHtmlDCRenderer
*)new wxHtmlDCRenderer();
7344 wxPyEndAllowThreads(__tstate
);
7345 if (PyErr_Occurred()) SWIG_fail
;
7347 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlDCRenderer
, 1);
7354 static PyObject
*_wrap_delete_HtmlDCRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7355 PyObject
*resultobj
;
7356 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
7357 PyObject
* obj0
= 0 ;
7359 (char *) "self", NULL
7362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlDCRenderer",kwnames
,&obj0
)) goto fail
;
7363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlDCRenderer
,
7364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7369 wxPyEndAllowThreads(__tstate
);
7370 if (PyErr_Occurred()) SWIG_fail
;
7372 Py_INCREF(Py_None
); resultobj
= Py_None
;
7379 static PyObject
*_wrap_HtmlDCRenderer_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7380 PyObject
*resultobj
;
7381 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
7382 wxDC
*arg2
= (wxDC
*) 0 ;
7384 PyObject
* obj0
= 0 ;
7385 PyObject
* obj1
= 0 ;
7386 PyObject
* obj2
= 0 ;
7388 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
7391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlDCRenderer
,
7393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7394 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
7395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7396 arg3
= (int) SWIG_AsInt(obj2
);
7397 if (PyErr_Occurred()) SWIG_fail
;
7399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7400 (arg1
)->SetDC(arg2
,arg3
);
7402 wxPyEndAllowThreads(__tstate
);
7403 if (PyErr_Occurred()) SWIG_fail
;
7405 Py_INCREF(Py_None
); resultobj
= Py_None
;
7412 static PyObject
*_wrap_HtmlDCRenderer_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7413 PyObject
*resultobj
;
7414 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
7417 PyObject
* obj0
= 0 ;
7418 PyObject
* obj1
= 0 ;
7419 PyObject
* obj2
= 0 ;
7421 (char *) "self",(char *) "width",(char *) "height", NULL
7424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlDCRenderer
,
7426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7427 arg2
= (int) SWIG_AsInt(obj1
);
7428 if (PyErr_Occurred()) SWIG_fail
;
7429 arg3
= (int) SWIG_AsInt(obj2
);
7430 if (PyErr_Occurred()) SWIG_fail
;
7432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7433 (arg1
)->SetSize(arg2
,arg3
);
7435 wxPyEndAllowThreads(__tstate
);
7436 if (PyErr_Occurred()) SWIG_fail
;
7438 Py_INCREF(Py_None
); resultobj
= Py_None
;
7445 static PyObject
*_wrap_HtmlDCRenderer_SetHtmlText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7446 PyObject
*resultobj
;
7447 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
7448 wxString
*arg2
= 0 ;
7449 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7450 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7451 bool arg4
= (bool) True
;
7452 bool temp2
= False
;
7453 bool temp3
= False
;
7454 PyObject
* obj0
= 0 ;
7455 PyObject
* obj1
= 0 ;
7456 PyObject
* obj2
= 0 ;
7457 PyObject
* obj3
= 0 ;
7459 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
7462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlDCRenderer
,
7464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7466 arg2
= wxString_in_helper(obj1
);
7467 if (arg2
== NULL
) SWIG_fail
;
7472 arg3
= wxString_in_helper(obj2
);
7473 if (arg3
== NULL
) SWIG_fail
;
7478 arg4
= (bool) SWIG_AsBool(obj3
);
7479 if (PyErr_Occurred()) SWIG_fail
;
7482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7483 (arg1
)->SetHtmlText((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
7485 wxPyEndAllowThreads(__tstate
);
7486 if (PyErr_Occurred()) SWIG_fail
;
7488 Py_INCREF(Py_None
); resultobj
= Py_None
;
7511 static PyObject
*_wrap_HtmlDCRenderer_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7512 PyObject
*resultobj
;
7513 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
7516 PyObject
*arg4
= (PyObject
*) NULL
;
7517 PyObject
* obj0
= 0 ;
7518 PyObject
* obj1
= 0 ;
7519 PyObject
* obj2
= 0 ;
7520 PyObject
* obj3
= 0 ;
7522 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
7525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlDCRenderer
,
7527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7529 wxString
* sptr
= wxString_in_helper(obj1
);
7530 if (sptr
== NULL
) SWIG_fail
;
7535 wxString
* sptr
= wxString_in_helper(obj2
);
7536 if (sptr
== NULL
) SWIG_fail
;
7544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7545 wxHtmlDCRenderer_SetFonts(arg1
,arg2
,arg3
,arg4
);
7547 wxPyEndAllowThreads(__tstate
);
7548 if (PyErr_Occurred()) SWIG_fail
;
7550 Py_INCREF(Py_None
); resultobj
= Py_None
;
7557 static PyObject
*_wrap_HtmlDCRenderer_NormalizeFontSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7558 PyObject
*resultobj
;
7559 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
7560 int arg2
= (int) -1 ;
7561 PyObject
* obj0
= 0 ;
7562 PyObject
* obj1
= 0 ;
7564 (char *) "self",(char *) "size", NULL
7567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HtmlDCRenderer_NormalizeFontSizes",kwnames
,&obj0
,&obj1
)) goto fail
;
7568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlDCRenderer
,
7569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7571 arg2
= (int) SWIG_AsInt(obj1
);
7572 if (PyErr_Occurred()) SWIG_fail
;
7575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7576 (arg1
)->NormalizeFontSizes(arg2
);
7578 wxPyEndAllowThreads(__tstate
);
7579 if (PyErr_Occurred()) SWIG_fail
;
7581 Py_INCREF(Py_None
); resultobj
= Py_None
;
7588 static PyObject
*_wrap_HtmlDCRenderer_Render(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7589 PyObject
*resultobj
;
7590 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
7593 int arg4
= (int) 0 ;
7594 int arg5
= (int) False
;
7595 int arg6
= (int) INT_MAX
;
7596 int *arg7
= (int *) NULL
;
7597 int arg8
= (int) 0 ;
7599 PyObject
* obj0
= 0 ;
7600 PyObject
* obj1
= 0 ;
7601 PyObject
* obj2
= 0 ;
7602 PyObject
* obj3
= 0 ;
7603 PyObject
* obj4
= 0 ;
7604 PyObject
* obj5
= 0 ;
7605 PyObject
* obj6
= 0 ;
7606 PyObject
* obj7
= 0 ;
7608 (char *) "self",(char *) "x",(char *) "y",(char *) "from",(char *) "dont_render",(char *) "to",(char *) "choices",(char *) "LCOUNT", NULL
7611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:HtmlDCRenderer_Render",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlDCRenderer
,
7613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7614 arg2
= (int) SWIG_AsInt(obj1
);
7615 if (PyErr_Occurred()) SWIG_fail
;
7616 arg3
= (int) SWIG_AsInt(obj2
);
7617 if (PyErr_Occurred()) SWIG_fail
;
7619 arg4
= (int) SWIG_AsInt(obj3
);
7620 if (PyErr_Occurred()) SWIG_fail
;
7623 arg5
= (int) SWIG_AsInt(obj4
);
7624 if (PyErr_Occurred()) SWIG_fail
;
7627 arg6
= (int) SWIG_AsInt(obj5
);
7628 if (PyErr_Occurred()) SWIG_fail
;
7631 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_int
,
7632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7635 arg8
= (int) SWIG_AsInt(obj7
);
7636 if (PyErr_Occurred()) SWIG_fail
;
7639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7640 result
= (int)(arg1
)->Render(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
7642 wxPyEndAllowThreads(__tstate
);
7643 if (PyErr_Occurred()) SWIG_fail
;
7645 resultobj
= SWIG_FromInt((int)result
);
7652 static PyObject
*_wrap_HtmlDCRenderer_GetTotalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7653 PyObject
*resultobj
;
7654 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
7656 PyObject
* obj0
= 0 ;
7658 (char *) "self", NULL
7661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlDCRenderer_GetTotalHeight",kwnames
,&obj0
)) goto fail
;
7662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlDCRenderer
,
7663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7666 result
= (int)(arg1
)->GetTotalHeight();
7668 wxPyEndAllowThreads(__tstate
);
7669 if (PyErr_Occurred()) SWIG_fail
;
7671 resultobj
= SWIG_FromInt((int)result
);
7678 static PyObject
* HtmlDCRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
7680 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7681 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlDCRenderer
, obj
);
7683 return Py_BuildValue((char *)"");
7685 static PyObject
*_wrap_new_HtmlPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7686 PyObject
*resultobj
;
7687 wxString
const &arg1_defvalue
= wxPyHtmlPrintoutTitleStr
;
7688 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
7689 wxHtmlPrintout
*result
;
7690 bool temp1
= False
;
7691 PyObject
* obj0
= 0 ;
7693 (char *) "title", NULL
7696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_HtmlPrintout",kwnames
,&obj0
)) goto fail
;
7699 arg1
= wxString_in_helper(obj0
);
7700 if (arg1
== NULL
) SWIG_fail
;
7705 if (!wxPyCheckForApp()) SWIG_fail
;
7706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7707 result
= (wxHtmlPrintout
*)new wxHtmlPrintout((wxString
const &)*arg1
);
7709 wxPyEndAllowThreads(__tstate
);
7710 if (PyErr_Occurred()) SWIG_fail
;
7712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlPrintout
, 1);
7727 static PyObject
*_wrap_HtmlPrintout_SetHtmlText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7728 PyObject
*resultobj
;
7729 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
7730 wxString
*arg2
= 0 ;
7731 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7732 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7733 bool arg4
= (bool) True
;
7734 bool temp2
= False
;
7735 bool temp3
= False
;
7736 PyObject
* obj0
= 0 ;
7737 PyObject
* obj1
= 0 ;
7738 PyObject
* obj2
= 0 ;
7739 PyObject
* obj3
= 0 ;
7741 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
7744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlPrintout
,
7746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7748 arg2
= wxString_in_helper(obj1
);
7749 if (arg2
== NULL
) SWIG_fail
;
7754 arg3
= wxString_in_helper(obj2
);
7755 if (arg3
== NULL
) SWIG_fail
;
7760 arg4
= (bool) SWIG_AsBool(obj3
);
7761 if (PyErr_Occurred()) SWIG_fail
;
7764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7765 (arg1
)->SetHtmlText((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
7767 wxPyEndAllowThreads(__tstate
);
7768 if (PyErr_Occurred()) SWIG_fail
;
7770 Py_INCREF(Py_None
); resultobj
= Py_None
;
7793 static PyObject
*_wrap_HtmlPrintout_SetHtmlFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7794 PyObject
*resultobj
;
7795 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
7796 wxString
*arg2
= 0 ;
7797 bool temp2
= False
;
7798 PyObject
* obj0
= 0 ;
7799 PyObject
* obj1
= 0 ;
7801 (char *) "self",(char *) "htmlfile", NULL
7804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlPrintout
,
7806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7808 arg2
= wxString_in_helper(obj1
);
7809 if (arg2
== NULL
) SWIG_fail
;
7813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7814 (arg1
)->SetHtmlFile((wxString
const &)*arg2
);
7816 wxPyEndAllowThreads(__tstate
);
7817 if (PyErr_Occurred()) SWIG_fail
;
7819 Py_INCREF(Py_None
); resultobj
= Py_None
;
7834 static PyObject
*_wrap_HtmlPrintout_SetHeader(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7835 PyObject
*resultobj
;
7836 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
7837 wxString
*arg2
= 0 ;
7838 int arg3
= (int) wxPAGE_ALL
;
7839 bool temp2
= False
;
7840 PyObject
* obj0
= 0 ;
7841 PyObject
* obj1
= 0 ;
7842 PyObject
* obj2
= 0 ;
7844 (char *) "self",(char *) "header",(char *) "pg", NULL
7847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlPrintout
,
7849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7851 arg2
= wxString_in_helper(obj1
);
7852 if (arg2
== NULL
) SWIG_fail
;
7856 arg3
= (int) SWIG_AsInt(obj2
);
7857 if (PyErr_Occurred()) SWIG_fail
;
7860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7861 (arg1
)->SetHeader((wxString
const &)*arg2
,arg3
);
7863 wxPyEndAllowThreads(__tstate
);
7864 if (PyErr_Occurred()) SWIG_fail
;
7866 Py_INCREF(Py_None
); resultobj
= Py_None
;
7881 static PyObject
*_wrap_HtmlPrintout_SetFooter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7882 PyObject
*resultobj
;
7883 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
7884 wxString
*arg2
= 0 ;
7885 int arg3
= (int) wxPAGE_ALL
;
7886 bool temp2
= False
;
7887 PyObject
* obj0
= 0 ;
7888 PyObject
* obj1
= 0 ;
7889 PyObject
* obj2
= 0 ;
7891 (char *) "self",(char *) "footer",(char *) "pg", NULL
7894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlPrintout
,
7896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7898 arg2
= wxString_in_helper(obj1
);
7899 if (arg2
== NULL
) SWIG_fail
;
7903 arg3
= (int) SWIG_AsInt(obj2
);
7904 if (PyErr_Occurred()) SWIG_fail
;
7907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7908 (arg1
)->SetFooter((wxString
const &)*arg2
,arg3
);
7910 wxPyEndAllowThreads(__tstate
);
7911 if (PyErr_Occurred()) SWIG_fail
;
7913 Py_INCREF(Py_None
); resultobj
= Py_None
;
7928 static PyObject
*_wrap_HtmlPrintout_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7929 PyObject
*resultobj
;
7930 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
7933 PyObject
*arg4
= (PyObject
*) NULL
;
7934 PyObject
* obj0
= 0 ;
7935 PyObject
* obj1
= 0 ;
7936 PyObject
* obj2
= 0 ;
7937 PyObject
* obj3
= 0 ;
7939 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
7942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlPrintout
,
7944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7946 wxString
* sptr
= wxString_in_helper(obj1
);
7947 if (sptr
== NULL
) SWIG_fail
;
7952 wxString
* sptr
= wxString_in_helper(obj2
);
7953 if (sptr
== NULL
) SWIG_fail
;
7961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7962 wxHtmlPrintout_SetFonts(arg1
,arg2
,arg3
,arg4
);
7964 wxPyEndAllowThreads(__tstate
);
7965 if (PyErr_Occurred()) SWIG_fail
;
7967 Py_INCREF(Py_None
); resultobj
= Py_None
;
7974 static PyObject
*_wrap_HtmlPrintout_NormalizeFontSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7975 PyObject
*resultobj
;
7976 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
7977 int arg2
= (int) -1 ;
7978 PyObject
* obj0
= 0 ;
7979 PyObject
* obj1
= 0 ;
7981 (char *) "self",(char *) "size", NULL
7984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HtmlPrintout_NormalizeFontSizes",kwnames
,&obj0
,&obj1
)) goto fail
;
7985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlPrintout
,
7986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7988 arg2
= (int) SWIG_AsInt(obj1
);
7989 if (PyErr_Occurred()) SWIG_fail
;
7992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7993 (arg1
)->NormalizeFontSizes(arg2
);
7995 wxPyEndAllowThreads(__tstate
);
7996 if (PyErr_Occurred()) SWIG_fail
;
7998 Py_INCREF(Py_None
); resultobj
= Py_None
;
8005 static PyObject
*_wrap_HtmlPrintout_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8006 PyObject
*resultobj
;
8007 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
8008 float arg2
= (float) 25.2 ;
8009 float arg3
= (float) 25.2 ;
8010 float arg4
= (float) 25.2 ;
8011 float arg5
= (float) 25.2 ;
8012 float arg6
= (float) 5 ;
8013 PyObject
* obj0
= 0 ;
8014 PyObject
* obj1
= 0 ;
8015 PyObject
* obj2
= 0 ;
8016 PyObject
* obj3
= 0 ;
8017 PyObject
* obj4
= 0 ;
8018 PyObject
* obj5
= 0 ;
8020 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
8023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlPrintout
,
8025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8027 arg2
= (float) SWIG_AsFloat(obj1
);
8028 if (PyErr_Occurred()) SWIG_fail
;
8031 arg3
= (float) SWIG_AsFloat(obj2
);
8032 if (PyErr_Occurred()) SWIG_fail
;
8035 arg4
= (float) SWIG_AsFloat(obj3
);
8036 if (PyErr_Occurred()) SWIG_fail
;
8039 arg5
= (float) SWIG_AsFloat(obj4
);
8040 if (PyErr_Occurred()) SWIG_fail
;
8043 arg6
= (float) SWIG_AsFloat(obj5
);
8044 if (PyErr_Occurred()) SWIG_fail
;
8047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8048 (arg1
)->SetMargins(arg2
,arg3
,arg4
,arg5
,arg6
);
8050 wxPyEndAllowThreads(__tstate
);
8051 if (PyErr_Occurred()) SWIG_fail
;
8053 Py_INCREF(Py_None
); resultobj
= Py_None
;
8060 static PyObject
*_wrap_HtmlPrintout_AddFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8061 PyObject
*resultobj
;
8062 wxHtmlFilter
*arg1
= (wxHtmlFilter
*) 0 ;
8063 PyObject
* obj0
= 0 ;
8065 (char *) "filter", NULL
8068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlPrintout_AddFilter",kwnames
,&obj0
)) goto fail
;
8069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlFilter
,
8070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8073 wxHtmlPrintout::AddFilter(arg1
);
8075 wxPyEndAllowThreads(__tstate
);
8076 if (PyErr_Occurred()) SWIG_fail
;
8078 Py_INCREF(Py_None
); resultobj
= Py_None
;
8085 static PyObject
*_wrap_HtmlPrintout_CleanUpStatics(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8086 PyObject
*resultobj
;
8091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HtmlPrintout_CleanUpStatics",kwnames
)) goto fail
;
8093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8094 wxHtmlPrintout::CleanUpStatics();
8096 wxPyEndAllowThreads(__tstate
);
8097 if (PyErr_Occurred()) SWIG_fail
;
8099 Py_INCREF(Py_None
); resultobj
= Py_None
;
8106 static PyObject
* HtmlPrintout_swigregister(PyObject
*self
, PyObject
*args
) {
8108 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8109 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlPrintout
, obj
);
8111 return Py_BuildValue((char *)"");
8113 static PyObject
*_wrap_new_HtmlEasyPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8114 PyObject
*resultobj
;
8115 wxString
const &arg1_defvalue
= wxPyHtmlPrintingTitleStr
;
8116 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
8117 wxWindow
*arg2
= (wxWindow
*) NULL
;
8118 wxHtmlEasyPrinting
*result
;
8119 bool temp1
= False
;
8120 PyObject
* obj0
= 0 ;
8121 PyObject
* obj1
= 0 ;
8123 (char *) "name",(char *) "parentWindow", NULL
8126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_HtmlEasyPrinting",kwnames
,&obj0
,&obj1
)) goto fail
;
8129 arg1
= wxString_in_helper(obj0
);
8130 if (arg1
== NULL
) SWIG_fail
;
8135 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8139 if (!wxPyCheckForApp()) SWIG_fail
;
8140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8141 result
= (wxHtmlEasyPrinting
*)new wxHtmlEasyPrinting((wxString
const &)*arg1
,arg2
);
8143 wxPyEndAllowThreads(__tstate
);
8144 if (PyErr_Occurred()) SWIG_fail
;
8146 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlEasyPrinting
, 1);
8161 static PyObject
*_wrap_delete_HtmlEasyPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8162 PyObject
*resultobj
;
8163 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
8164 PyObject
* obj0
= 0 ;
8166 (char *) "self", NULL
8169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlEasyPrinting",kwnames
,&obj0
)) goto fail
;
8170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlEasyPrinting
,
8171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8176 wxPyEndAllowThreads(__tstate
);
8177 if (PyErr_Occurred()) SWIG_fail
;
8179 Py_INCREF(Py_None
); resultobj
= Py_None
;
8186 static PyObject
*_wrap_HtmlEasyPrinting_PreviewFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8187 PyObject
*resultobj
;
8188 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
8189 wxString
*arg2
= 0 ;
8190 bool temp2
= False
;
8191 PyObject
* obj0
= 0 ;
8192 PyObject
* obj1
= 0 ;
8194 (char *) "self",(char *) "htmlfile", NULL
8197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlEasyPrinting
,
8199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8201 arg2
= wxString_in_helper(obj1
);
8202 if (arg2
== NULL
) SWIG_fail
;
8206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8207 (arg1
)->PreviewFile((wxString
const &)*arg2
);
8209 wxPyEndAllowThreads(__tstate
);
8210 if (PyErr_Occurred()) SWIG_fail
;
8212 Py_INCREF(Py_None
); resultobj
= Py_None
;
8227 static PyObject
*_wrap_HtmlEasyPrinting_PreviewText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8228 PyObject
*resultobj
;
8229 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
8230 wxString
*arg2
= 0 ;
8231 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8232 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8233 bool temp2
= False
;
8234 bool temp3
= False
;
8235 PyObject
* obj0
= 0 ;
8236 PyObject
* obj1
= 0 ;
8237 PyObject
* obj2
= 0 ;
8239 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
8242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlEasyPrinting
,
8244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8246 arg2
= wxString_in_helper(obj1
);
8247 if (arg2
== NULL
) SWIG_fail
;
8252 arg3
= wxString_in_helper(obj2
);
8253 if (arg3
== NULL
) SWIG_fail
;
8258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8259 (arg1
)->PreviewText((wxString
const &)*arg2
,(wxString
const &)*arg3
);
8261 wxPyEndAllowThreads(__tstate
);
8262 if (PyErr_Occurred()) SWIG_fail
;
8264 Py_INCREF(Py_None
); resultobj
= Py_None
;
8287 static PyObject
*_wrap_HtmlEasyPrinting_PrintFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8288 PyObject
*resultobj
;
8289 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
8290 wxString
*arg2
= 0 ;
8291 bool temp2
= False
;
8292 PyObject
* obj0
= 0 ;
8293 PyObject
* obj1
= 0 ;
8295 (char *) "self",(char *) "htmlfile", NULL
8298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlEasyPrinting
,
8300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8302 arg2
= wxString_in_helper(obj1
);
8303 if (arg2
== NULL
) SWIG_fail
;
8307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8308 (arg1
)->PrintFile((wxString
const &)*arg2
);
8310 wxPyEndAllowThreads(__tstate
);
8311 if (PyErr_Occurred()) SWIG_fail
;
8313 Py_INCREF(Py_None
); resultobj
= Py_None
;
8328 static PyObject
*_wrap_HtmlEasyPrinting_PrintText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8329 PyObject
*resultobj
;
8330 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
8331 wxString
*arg2
= 0 ;
8332 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8333 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8334 bool temp2
= False
;
8335 bool temp3
= False
;
8336 PyObject
* obj0
= 0 ;
8337 PyObject
* obj1
= 0 ;
8338 PyObject
* obj2
= 0 ;
8340 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
8343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlEasyPrinting
,
8345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8347 arg2
= wxString_in_helper(obj1
);
8348 if (arg2
== NULL
) SWIG_fail
;
8353 arg3
= wxString_in_helper(obj2
);
8354 if (arg3
== NULL
) SWIG_fail
;
8359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8360 (arg1
)->PrintText((wxString
const &)*arg2
,(wxString
const &)*arg3
);
8362 wxPyEndAllowThreads(__tstate
);
8363 if (PyErr_Occurred()) SWIG_fail
;
8365 Py_INCREF(Py_None
); resultobj
= Py_None
;
8388 static PyObject
*_wrap_HtmlEasyPrinting_PrinterSetup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8389 PyObject
*resultobj
;
8390 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
8391 PyObject
* obj0
= 0 ;
8393 (char *) "self", NULL
8396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlEasyPrinting_PrinterSetup",kwnames
,&obj0
)) goto fail
;
8397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlEasyPrinting
,
8398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8401 (arg1
)->PrinterSetup();
8403 wxPyEndAllowThreads(__tstate
);
8404 if (PyErr_Occurred()) SWIG_fail
;
8406 Py_INCREF(Py_None
); resultobj
= Py_None
;
8413 static PyObject
*_wrap_HtmlEasyPrinting_PageSetup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8414 PyObject
*resultobj
;
8415 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
8416 PyObject
* obj0
= 0 ;
8418 (char *) "self", NULL
8421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlEasyPrinting_PageSetup",kwnames
,&obj0
)) goto fail
;
8422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlEasyPrinting
,
8423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8426 (arg1
)->PageSetup();
8428 wxPyEndAllowThreads(__tstate
);
8429 if (PyErr_Occurred()) SWIG_fail
;
8431 Py_INCREF(Py_None
); resultobj
= Py_None
;
8438 static PyObject
*_wrap_HtmlEasyPrinting_SetHeader(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8439 PyObject
*resultobj
;
8440 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
8441 wxString
*arg2
= 0 ;
8442 int arg3
= (int) wxPAGE_ALL
;
8443 bool temp2
= False
;
8444 PyObject
* obj0
= 0 ;
8445 PyObject
* obj1
= 0 ;
8446 PyObject
* obj2
= 0 ;
8448 (char *) "self",(char *) "header",(char *) "pg", NULL
8451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlEasyPrinting
,
8453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8455 arg2
= wxString_in_helper(obj1
);
8456 if (arg2
== NULL
) SWIG_fail
;
8460 arg3
= (int) SWIG_AsInt(obj2
);
8461 if (PyErr_Occurred()) SWIG_fail
;
8464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8465 (arg1
)->SetHeader((wxString
const &)*arg2
,arg3
);
8467 wxPyEndAllowThreads(__tstate
);
8468 if (PyErr_Occurred()) SWIG_fail
;
8470 Py_INCREF(Py_None
); resultobj
= Py_None
;
8485 static PyObject
*_wrap_HtmlEasyPrinting_SetFooter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8486 PyObject
*resultobj
;
8487 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
8488 wxString
*arg2
= 0 ;
8489 int arg3
= (int) wxPAGE_ALL
;
8490 bool temp2
= False
;
8491 PyObject
* obj0
= 0 ;
8492 PyObject
* obj1
= 0 ;
8493 PyObject
* obj2
= 0 ;
8495 (char *) "self",(char *) "footer",(char *) "pg", NULL
8498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlEasyPrinting
,
8500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8502 arg2
= wxString_in_helper(obj1
);
8503 if (arg2
== NULL
) SWIG_fail
;
8507 arg3
= (int) SWIG_AsInt(obj2
);
8508 if (PyErr_Occurred()) SWIG_fail
;
8511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8512 (arg1
)->SetFooter((wxString
const &)*arg2
,arg3
);
8514 wxPyEndAllowThreads(__tstate
);
8515 if (PyErr_Occurred()) SWIG_fail
;
8517 Py_INCREF(Py_None
); resultobj
= Py_None
;
8532 static PyObject
*_wrap_HtmlEasyPrinting_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8533 PyObject
*resultobj
;
8534 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
8537 PyObject
*arg4
= (PyObject
*) NULL
;
8538 PyObject
* obj0
= 0 ;
8539 PyObject
* obj1
= 0 ;
8540 PyObject
* obj2
= 0 ;
8541 PyObject
* obj3
= 0 ;
8543 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
8546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlEasyPrinting
,
8548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8550 wxString
* sptr
= wxString_in_helper(obj1
);
8551 if (sptr
== NULL
) SWIG_fail
;
8556 wxString
* sptr
= wxString_in_helper(obj2
);
8557 if (sptr
== NULL
) SWIG_fail
;
8565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8566 wxHtmlEasyPrinting_SetFonts(arg1
,arg2
,arg3
,arg4
);
8568 wxPyEndAllowThreads(__tstate
);
8569 if (PyErr_Occurred()) SWIG_fail
;
8571 Py_INCREF(Py_None
); resultobj
= Py_None
;
8578 static PyObject
*_wrap_HtmlEasyPrinting_NormalizeFontSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8579 PyObject
*resultobj
;
8580 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
8581 int arg2
= (int) -1 ;
8582 PyObject
* obj0
= 0 ;
8583 PyObject
* obj1
= 0 ;
8585 (char *) "self",(char *) "size", NULL
8588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HtmlEasyPrinting_NormalizeFontSizes",kwnames
,&obj0
,&obj1
)) goto fail
;
8589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlEasyPrinting
,
8590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8592 arg2
= (int) SWIG_AsInt(obj1
);
8593 if (PyErr_Occurred()) SWIG_fail
;
8596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8597 (arg1
)->NormalizeFontSizes(arg2
);
8599 wxPyEndAllowThreads(__tstate
);
8600 if (PyErr_Occurred()) SWIG_fail
;
8602 Py_INCREF(Py_None
); resultobj
= Py_None
;
8609 static PyObject
*_wrap_HtmlEasyPrinting_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8610 PyObject
*resultobj
;
8611 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
8612 wxPrintData
*result
;
8613 PyObject
* obj0
= 0 ;
8615 (char *) "self", NULL
8618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlEasyPrinting_GetPrintData",kwnames
,&obj0
)) goto fail
;
8619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlEasyPrinting
,
8620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8623 result
= (wxPrintData
*)(arg1
)->GetPrintData();
8625 wxPyEndAllowThreads(__tstate
);
8626 if (PyErr_Occurred()) SWIG_fail
;
8628 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
8635 static PyObject
*_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8636 PyObject
*resultobj
;
8637 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
8638 wxPageSetupDialogData
*result
;
8639 PyObject
* obj0
= 0 ;
8641 (char *) "self", NULL
8644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlEasyPrinting_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
8645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlEasyPrinting
,
8646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8649 result
= (wxPageSetupDialogData
*)(arg1
)->GetPageSetupData();
8651 wxPyEndAllowThreads(__tstate
);
8652 if (PyErr_Occurred()) SWIG_fail
;
8654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
8661 static PyObject
* HtmlEasyPrinting_swigregister(PyObject
*self
, PyObject
*args
) {
8663 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8664 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlEasyPrinting
, obj
);
8666 return Py_BuildValue((char *)"");
8668 static PyObject
*_wrap_new_HtmlBookRecord(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8669 PyObject
*resultobj
;
8670 wxString
*arg1
= 0 ;
8671 wxString
*arg2
= 0 ;
8672 wxString
*arg3
= 0 ;
8673 wxString
*arg4
= 0 ;
8674 wxHtmlBookRecord
*result
;
8675 bool temp1
= False
;
8676 bool temp2
= False
;
8677 bool temp3
= False
;
8678 bool temp4
= False
;
8679 PyObject
* obj0
= 0 ;
8680 PyObject
* obj1
= 0 ;
8681 PyObject
* obj2
= 0 ;
8682 PyObject
* obj3
= 0 ;
8684 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
8687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_HtmlBookRecord",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8689 arg1
= wxString_in_helper(obj0
);
8690 if (arg1
== NULL
) SWIG_fail
;
8694 arg2
= wxString_in_helper(obj1
);
8695 if (arg2
== NULL
) SWIG_fail
;
8699 arg3
= wxString_in_helper(obj2
);
8700 if (arg3
== NULL
) SWIG_fail
;
8704 arg4
= wxString_in_helper(obj3
);
8705 if (arg4
== NULL
) SWIG_fail
;
8709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8710 result
= (wxHtmlBookRecord
*)new wxHtmlBookRecord((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
8712 wxPyEndAllowThreads(__tstate
);
8713 if (PyErr_Occurred()) SWIG_fail
;
8715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlBookRecord
, 1);
8754 static PyObject
*_wrap_HtmlBookRecord_GetBookFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8755 PyObject
*resultobj
;
8756 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
8758 PyObject
* obj0
= 0 ;
8760 (char *) "self", NULL
8763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetBookFile",kwnames
,&obj0
)) goto fail
;
8764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlBookRecord
,
8765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8768 result
= (arg1
)->GetBookFile();
8770 wxPyEndAllowThreads(__tstate
);
8771 if (PyErr_Occurred()) SWIG_fail
;
8775 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8777 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8786 static PyObject
*_wrap_HtmlBookRecord_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8787 PyObject
*resultobj
;
8788 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
8790 PyObject
* obj0
= 0 ;
8792 (char *) "self", NULL
8795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetTitle",kwnames
,&obj0
)) goto fail
;
8796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlBookRecord
,
8797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8800 result
= (arg1
)->GetTitle();
8802 wxPyEndAllowThreads(__tstate
);
8803 if (PyErr_Occurred()) SWIG_fail
;
8807 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8809 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8818 static PyObject
*_wrap_HtmlBookRecord_GetStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8819 PyObject
*resultobj
;
8820 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
8822 PyObject
* obj0
= 0 ;
8824 (char *) "self", NULL
8827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetStart",kwnames
,&obj0
)) goto fail
;
8828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlBookRecord
,
8829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8832 result
= (arg1
)->GetStart();
8834 wxPyEndAllowThreads(__tstate
);
8835 if (PyErr_Occurred()) SWIG_fail
;
8839 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8841 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8850 static PyObject
*_wrap_HtmlBookRecord_GetBasePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8851 PyObject
*resultobj
;
8852 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
8854 PyObject
* obj0
= 0 ;
8856 (char *) "self", NULL
8859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetBasePath",kwnames
,&obj0
)) goto fail
;
8860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlBookRecord
,
8861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8864 result
= (arg1
)->GetBasePath();
8866 wxPyEndAllowThreads(__tstate
);
8867 if (PyErr_Occurred()) SWIG_fail
;
8871 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8873 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8882 static PyObject
*_wrap_HtmlBookRecord_SetContentsRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8883 PyObject
*resultobj
;
8884 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
8887 PyObject
* obj0
= 0 ;
8888 PyObject
* obj1
= 0 ;
8889 PyObject
* obj2
= 0 ;
8891 (char *) "self",(char *) "start",(char *) "end", NULL
8894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlBookRecord
,
8896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8897 arg2
= (int) SWIG_AsInt(obj1
);
8898 if (PyErr_Occurred()) SWIG_fail
;
8899 arg3
= (int) SWIG_AsInt(obj2
);
8900 if (PyErr_Occurred()) SWIG_fail
;
8902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8903 (arg1
)->SetContentsRange(arg2
,arg3
);
8905 wxPyEndAllowThreads(__tstate
);
8906 if (PyErr_Occurred()) SWIG_fail
;
8908 Py_INCREF(Py_None
); resultobj
= Py_None
;
8915 static PyObject
*_wrap_HtmlBookRecord_GetContentsStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8916 PyObject
*resultobj
;
8917 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
8919 PyObject
* obj0
= 0 ;
8921 (char *) "self", NULL
8924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetContentsStart",kwnames
,&obj0
)) goto fail
;
8925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlBookRecord
,
8926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8929 result
= (int)(arg1
)->GetContentsStart();
8931 wxPyEndAllowThreads(__tstate
);
8932 if (PyErr_Occurred()) SWIG_fail
;
8934 resultobj
= SWIG_FromInt((int)result
);
8941 static PyObject
*_wrap_HtmlBookRecord_GetContentsEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8942 PyObject
*resultobj
;
8943 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
8945 PyObject
* obj0
= 0 ;
8947 (char *) "self", NULL
8950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetContentsEnd",kwnames
,&obj0
)) goto fail
;
8951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlBookRecord
,
8952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8955 result
= (int)(arg1
)->GetContentsEnd();
8957 wxPyEndAllowThreads(__tstate
);
8958 if (PyErr_Occurred()) SWIG_fail
;
8960 resultobj
= SWIG_FromInt((int)result
);
8967 static PyObject
*_wrap_HtmlBookRecord_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8968 PyObject
*resultobj
;
8969 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
8970 wxString
*arg2
= 0 ;
8971 bool temp2
= False
;
8972 PyObject
* obj0
= 0 ;
8973 PyObject
* obj1
= 0 ;
8975 (char *) "self",(char *) "title", NULL
8978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
8979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlBookRecord
,
8980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8982 arg2
= wxString_in_helper(obj1
);
8983 if (arg2
== NULL
) SWIG_fail
;
8987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8988 (arg1
)->SetTitle((wxString
const &)*arg2
);
8990 wxPyEndAllowThreads(__tstate
);
8991 if (PyErr_Occurred()) SWIG_fail
;
8993 Py_INCREF(Py_None
); resultobj
= Py_None
;
9008 static PyObject
*_wrap_HtmlBookRecord_SetBasePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9009 PyObject
*resultobj
;
9010 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
9011 wxString
*arg2
= 0 ;
9012 bool temp2
= False
;
9013 PyObject
* obj0
= 0 ;
9014 PyObject
* obj1
= 0 ;
9016 (char *) "self",(char *) "path", NULL
9019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames
,&obj0
,&obj1
)) goto fail
;
9020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlBookRecord
,
9021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9023 arg2
= wxString_in_helper(obj1
);
9024 if (arg2
== NULL
) SWIG_fail
;
9028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9029 (arg1
)->SetBasePath((wxString
const &)*arg2
);
9031 wxPyEndAllowThreads(__tstate
);
9032 if (PyErr_Occurred()) SWIG_fail
;
9034 Py_INCREF(Py_None
); resultobj
= Py_None
;
9049 static PyObject
*_wrap_HtmlBookRecord_SetStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9050 PyObject
*resultobj
;
9051 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
9052 wxString
*arg2
= 0 ;
9053 bool temp2
= False
;
9054 PyObject
* obj0
= 0 ;
9055 PyObject
* obj1
= 0 ;
9057 (char *) "self",(char *) "start", NULL
9060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetStart",kwnames
,&obj0
,&obj1
)) goto fail
;
9061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlBookRecord
,
9062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9064 arg2
= wxString_in_helper(obj1
);
9065 if (arg2
== NULL
) SWIG_fail
;
9069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9070 (arg1
)->SetStart((wxString
const &)*arg2
);
9072 wxPyEndAllowThreads(__tstate
);
9073 if (PyErr_Occurred()) SWIG_fail
;
9075 Py_INCREF(Py_None
); resultobj
= Py_None
;
9090 static PyObject
*_wrap_HtmlBookRecord_GetFullPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9091 PyObject
*resultobj
;
9092 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
9093 wxString
*arg2
= 0 ;
9095 bool temp2
= False
;
9096 PyObject
* obj0
= 0 ;
9097 PyObject
* obj1
= 0 ;
9099 (char *) "self",(char *) "page", NULL
9102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames
,&obj0
,&obj1
)) goto fail
;
9103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlBookRecord
,
9104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9106 arg2
= wxString_in_helper(obj1
);
9107 if (arg2
== NULL
) SWIG_fail
;
9111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9112 result
= ((wxHtmlBookRecord
const *)arg1
)->GetFullPath((wxString
const &)*arg2
);
9114 wxPyEndAllowThreads(__tstate
);
9115 if (PyErr_Occurred()) SWIG_fail
;
9119 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9121 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9138 static PyObject
* HtmlBookRecord_swigregister(PyObject
*self
, PyObject
*args
) {
9140 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9141 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlBookRecord
, obj
);
9143 return Py_BuildValue((char *)"");
9145 static PyObject
*_wrap_HtmlContentsItem_GetLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9146 PyObject
*resultobj
;
9147 wxHtmlContentsItem
*arg1
= (wxHtmlContentsItem
*) 0 ;
9149 PyObject
* obj0
= 0 ;
9151 (char *) "self", NULL
9154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContentsItem_GetLevel",kwnames
,&obj0
)) goto fail
;
9155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContentsItem
,
9156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9159 result
= (int)wxHtmlContentsItem_GetLevel(arg1
);
9161 wxPyEndAllowThreads(__tstate
);
9162 if (PyErr_Occurred()) SWIG_fail
;
9164 resultobj
= SWIG_FromInt((int)result
);
9171 static PyObject
*_wrap_HtmlContentsItem_GetID(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9172 PyObject
*resultobj
;
9173 wxHtmlContentsItem
*arg1
= (wxHtmlContentsItem
*) 0 ;
9175 PyObject
* obj0
= 0 ;
9177 (char *) "self", NULL
9180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContentsItem_GetID",kwnames
,&obj0
)) goto fail
;
9181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContentsItem
,
9182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9185 result
= (int)wxHtmlContentsItem_GetID(arg1
);
9187 wxPyEndAllowThreads(__tstate
);
9188 if (PyErr_Occurred()) SWIG_fail
;
9190 resultobj
= SWIG_FromInt((int)result
);
9197 static PyObject
*_wrap_HtmlContentsItem_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9198 PyObject
*resultobj
;
9199 wxHtmlContentsItem
*arg1
= (wxHtmlContentsItem
*) 0 ;
9201 PyObject
* obj0
= 0 ;
9203 (char *) "self", NULL
9206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContentsItem_GetName",kwnames
,&obj0
)) goto fail
;
9207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContentsItem
,
9208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9211 result
= wxHtmlContentsItem_GetName(arg1
);
9213 wxPyEndAllowThreads(__tstate
);
9214 if (PyErr_Occurred()) SWIG_fail
;
9218 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9220 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9229 static PyObject
*_wrap_HtmlContentsItem_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9230 PyObject
*resultobj
;
9231 wxHtmlContentsItem
*arg1
= (wxHtmlContentsItem
*) 0 ;
9233 PyObject
* obj0
= 0 ;
9235 (char *) "self", NULL
9238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContentsItem_GetPage",kwnames
,&obj0
)) goto fail
;
9239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContentsItem
,
9240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9243 result
= wxHtmlContentsItem_GetPage(arg1
);
9245 wxPyEndAllowThreads(__tstate
);
9246 if (PyErr_Occurred()) SWIG_fail
;
9250 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9252 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9261 static PyObject
*_wrap_HtmlContentsItem_GetBook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9262 PyObject
*resultobj
;
9263 wxHtmlContentsItem
*arg1
= (wxHtmlContentsItem
*) 0 ;
9264 wxHtmlBookRecord
*result
;
9265 PyObject
* obj0
= 0 ;
9267 (char *) "self", NULL
9270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContentsItem_GetBook",kwnames
,&obj0
)) goto fail
;
9271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlContentsItem
,
9272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9275 result
= (wxHtmlBookRecord
*)wxHtmlContentsItem_GetBook(arg1
);
9277 wxPyEndAllowThreads(__tstate
);
9278 if (PyErr_Occurred()) SWIG_fail
;
9280 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlBookRecord
, 0);
9287 static PyObject
* HtmlContentsItem_swigregister(PyObject
*self
, PyObject
*args
) {
9289 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9290 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContentsItem
, obj
);
9292 return Py_BuildValue((char *)"");
9294 static PyObject
*_wrap_HtmlSearchStatus_Search(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9295 PyObject
*resultobj
;
9296 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
9298 PyObject
* obj0
= 0 ;
9300 (char *) "self", NULL
9303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_Search",kwnames
,&obj0
)) goto fail
;
9304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSearchStatus
,
9305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9308 result
= (bool)(arg1
)->Search();
9310 wxPyEndAllowThreads(__tstate
);
9311 if (PyErr_Occurred()) SWIG_fail
;
9314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9322 static PyObject
*_wrap_HtmlSearchStatus_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9323 PyObject
*resultobj
;
9324 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
9326 PyObject
* obj0
= 0 ;
9328 (char *) "self", NULL
9331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_IsActive",kwnames
,&obj0
)) goto fail
;
9332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSearchStatus
,
9333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9336 result
= (bool)(arg1
)->IsActive();
9338 wxPyEndAllowThreads(__tstate
);
9339 if (PyErr_Occurred()) SWIG_fail
;
9342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9350 static PyObject
*_wrap_HtmlSearchStatus_GetCurIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9351 PyObject
*resultobj
;
9352 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
9354 PyObject
* obj0
= 0 ;
9356 (char *) "self", NULL
9359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_GetCurIndex",kwnames
,&obj0
)) goto fail
;
9360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSearchStatus
,
9361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9364 result
= (int)(arg1
)->GetCurIndex();
9366 wxPyEndAllowThreads(__tstate
);
9367 if (PyErr_Occurred()) SWIG_fail
;
9369 resultobj
= SWIG_FromInt((int)result
);
9376 static PyObject
*_wrap_HtmlSearchStatus_GetMaxIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9377 PyObject
*resultobj
;
9378 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
9380 PyObject
* obj0
= 0 ;
9382 (char *) "self", NULL
9385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_GetMaxIndex",kwnames
,&obj0
)) goto fail
;
9386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSearchStatus
,
9387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9390 result
= (int)(arg1
)->GetMaxIndex();
9392 wxPyEndAllowThreads(__tstate
);
9393 if (PyErr_Occurred()) SWIG_fail
;
9395 resultobj
= SWIG_FromInt((int)result
);
9402 static PyObject
*_wrap_HtmlSearchStatus_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9403 PyObject
*resultobj
;
9404 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
9406 PyObject
* obj0
= 0 ;
9408 (char *) "self", NULL
9411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_GetName",kwnames
,&obj0
)) goto fail
;
9412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSearchStatus
,
9413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9417 wxString
const &_result_ref
= (arg1
)->GetName();
9418 result
= (wxString
*) &_result_ref
;
9421 wxPyEndAllowThreads(__tstate
);
9422 if (PyErr_Occurred()) SWIG_fail
;
9426 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9428 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9437 static PyObject
*_wrap_HtmlSearchStatus_GetContentsItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9438 PyObject
*resultobj
;
9439 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
9440 wxHtmlContentsItem
*result
;
9441 PyObject
* obj0
= 0 ;
9443 (char *) "self", NULL
9446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_GetContentsItem",kwnames
,&obj0
)) goto fail
;
9447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlSearchStatus
,
9448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9451 result
= (wxHtmlContentsItem
*)(arg1
)->GetContentsItem();
9453 wxPyEndAllowThreads(__tstate
);
9454 if (PyErr_Occurred()) SWIG_fail
;
9456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContentsItem
, 0);
9463 static PyObject
* HtmlSearchStatus_swigregister(PyObject
*self
, PyObject
*args
) {
9465 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9466 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSearchStatus
, obj
);
9468 return Py_BuildValue((char *)"");
9470 static PyObject
*_wrap_new_HtmlHelpData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9471 PyObject
*resultobj
;
9472 wxHtmlHelpData
*result
;
9477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlHelpData",kwnames
)) goto fail
;
9479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9480 result
= (wxHtmlHelpData
*)new wxHtmlHelpData();
9482 wxPyEndAllowThreads(__tstate
);
9483 if (PyErr_Occurred()) SWIG_fail
;
9485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpData
, 1);
9492 static PyObject
*_wrap_delete_HtmlHelpData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9493 PyObject
*resultobj
;
9494 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
9495 PyObject
* obj0
= 0 ;
9497 (char *) "self", NULL
9500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlHelpData",kwnames
,&obj0
)) goto fail
;
9501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpData
,
9502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9507 wxPyEndAllowThreads(__tstate
);
9508 if (PyErr_Occurred()) SWIG_fail
;
9510 Py_INCREF(Py_None
); resultobj
= Py_None
;
9517 static PyObject
*_wrap_HtmlHelpData_SetTempDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9518 PyObject
*resultobj
;
9519 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
9520 wxString
*arg2
= 0 ;
9521 bool temp2
= False
;
9522 PyObject
* obj0
= 0 ;
9523 PyObject
* obj1
= 0 ;
9525 (char *) "self",(char *) "path", NULL
9528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_SetTempDir",kwnames
,&obj0
,&obj1
)) goto fail
;
9529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpData
,
9530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9532 arg2
= wxString_in_helper(obj1
);
9533 if (arg2
== NULL
) SWIG_fail
;
9537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9538 (arg1
)->SetTempDir((wxString
const &)*arg2
);
9540 wxPyEndAllowThreads(__tstate
);
9541 if (PyErr_Occurred()) SWIG_fail
;
9543 Py_INCREF(Py_None
); resultobj
= Py_None
;
9558 static PyObject
*_wrap_HtmlHelpData_AddBook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9559 PyObject
*resultobj
;
9560 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
9561 wxString
*arg2
= 0 ;
9563 bool temp2
= False
;
9564 PyObject
* obj0
= 0 ;
9565 PyObject
* obj1
= 0 ;
9567 (char *) "self",(char *) "book", NULL
9570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_AddBook",kwnames
,&obj0
,&obj1
)) goto fail
;
9571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpData
,
9572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9574 arg2
= wxString_in_helper(obj1
);
9575 if (arg2
== NULL
) SWIG_fail
;
9579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9580 result
= (bool)(arg1
)->AddBook((wxString
const &)*arg2
);
9582 wxPyEndAllowThreads(__tstate
);
9583 if (PyErr_Occurred()) SWIG_fail
;
9586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9602 static PyObject
*_wrap_HtmlHelpData_FindPageByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9603 PyObject
*resultobj
;
9604 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
9605 wxString
*arg2
= 0 ;
9607 bool temp2
= False
;
9608 PyObject
* obj0
= 0 ;
9609 PyObject
* obj1
= 0 ;
9611 (char *) "self",(char *) "page", NULL
9614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_FindPageByName",kwnames
,&obj0
,&obj1
)) goto fail
;
9615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpData
,
9616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9618 arg2
= wxString_in_helper(obj1
);
9619 if (arg2
== NULL
) SWIG_fail
;
9623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9624 result
= (arg1
)->FindPageByName((wxString
const &)*arg2
);
9626 wxPyEndAllowThreads(__tstate
);
9627 if (PyErr_Occurred()) SWIG_fail
;
9631 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9633 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9650 static PyObject
*_wrap_HtmlHelpData_FindPageById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9651 PyObject
*resultobj
;
9652 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
9655 PyObject
* obj0
= 0 ;
9656 PyObject
* obj1
= 0 ;
9658 (char *) "self",(char *) "id", NULL
9661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_FindPageById",kwnames
,&obj0
,&obj1
)) goto fail
;
9662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpData
,
9663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9664 arg2
= (int) SWIG_AsInt(obj1
);
9665 if (PyErr_Occurred()) SWIG_fail
;
9667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9668 result
= (arg1
)->FindPageById(arg2
);
9670 wxPyEndAllowThreads(__tstate
);
9671 if (PyErr_Occurred()) SWIG_fail
;
9675 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9677 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9686 static PyObject
*_wrap_HtmlHelpData_GetBookRecArray(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9687 PyObject
*resultobj
;
9688 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
9689 wxHtmlBookRecArray
*result
;
9690 PyObject
* obj0
= 0 ;
9692 (char *) "self", NULL
9695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpData_GetBookRecArray",kwnames
,&obj0
)) goto fail
;
9696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpData
,
9697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9701 wxHtmlBookRecArray
const &_result_ref
= (arg1
)->GetBookRecArray();
9702 result
= (wxHtmlBookRecArray
*) &_result_ref
;
9705 wxPyEndAllowThreads(__tstate
);
9706 if (PyErr_Occurred()) SWIG_fail
;
9708 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlBookRecArray
, 0);
9715 static PyObject
*_wrap_HtmlHelpData_GetContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9716 PyObject
*resultobj
;
9717 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
9718 wxHtmlContentsItem
*result
;
9719 PyObject
* obj0
= 0 ;
9721 (char *) "self", NULL
9724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpData_GetContents",kwnames
,&obj0
)) goto fail
;
9725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpData
,
9726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9729 result
= (wxHtmlContentsItem
*)(arg1
)->GetContents();
9731 wxPyEndAllowThreads(__tstate
);
9732 if (PyErr_Occurred()) SWIG_fail
;
9734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContentsItem
, 0);
9741 static PyObject
*_wrap_HtmlHelpData_GetContentsCnt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9742 PyObject
*resultobj
;
9743 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
9745 PyObject
* obj0
= 0 ;
9747 (char *) "self", NULL
9750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpData_GetContentsCnt",kwnames
,&obj0
)) goto fail
;
9751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpData
,
9752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9755 result
= (int)(arg1
)->GetContentsCnt();
9757 wxPyEndAllowThreads(__tstate
);
9758 if (PyErr_Occurred()) SWIG_fail
;
9760 resultobj
= SWIG_FromInt((int)result
);
9767 static PyObject
*_wrap_HtmlHelpData_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9768 PyObject
*resultobj
;
9769 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
9770 wxHtmlContentsItem
*result
;
9771 PyObject
* obj0
= 0 ;
9773 (char *) "self", NULL
9776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpData_GetIndex",kwnames
,&obj0
)) goto fail
;
9777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpData
,
9778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9781 result
= (wxHtmlContentsItem
*)(arg1
)->GetIndex();
9783 wxPyEndAllowThreads(__tstate
);
9784 if (PyErr_Occurred()) SWIG_fail
;
9786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContentsItem
, 0);
9793 static PyObject
*_wrap_HtmlHelpData_GetIndexCnt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9794 PyObject
*resultobj
;
9795 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
9797 PyObject
* obj0
= 0 ;
9799 (char *) "self", NULL
9802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpData_GetIndexCnt",kwnames
,&obj0
)) goto fail
;
9803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpData
,
9804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9807 result
= (int)(arg1
)->GetIndexCnt();
9809 wxPyEndAllowThreads(__tstate
);
9810 if (PyErr_Occurred()) SWIG_fail
;
9812 resultobj
= SWIG_FromInt((int)result
);
9819 static PyObject
* HtmlHelpData_swigregister(PyObject
*self
, PyObject
*args
) {
9821 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9822 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpData
, obj
);
9824 return Py_BuildValue((char *)"");
9826 static PyObject
*_wrap_new_HtmlHelpFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9827 PyObject
*resultobj
;
9828 wxWindow
*arg1
= (wxWindow
*) 0 ;
9830 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9831 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9832 int arg4
= (int) wxHF_DEFAULTSTYLE
;
9833 wxHtmlHelpData
*arg5
= (wxHtmlHelpData
*) NULL
;
9834 wxHtmlHelpFrame
*result
;
9835 bool temp3
= False
;
9836 PyObject
* obj0
= 0 ;
9837 PyObject
* obj1
= 0 ;
9838 PyObject
* obj2
= 0 ;
9839 PyObject
* obj3
= 0 ;
9840 PyObject
* obj4
= 0 ;
9842 (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL
9845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9848 arg2
= (int) SWIG_AsInt(obj1
);
9849 if (PyErr_Occurred()) SWIG_fail
;
9852 arg3
= wxString_in_helper(obj2
);
9853 if (arg3
== NULL
) SWIG_fail
;
9858 arg4
= (int) SWIG_AsInt(obj3
);
9859 if (PyErr_Occurred()) SWIG_fail
;
9862 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxHtmlHelpData
,
9863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9866 if (!wxPyCheckForApp()) SWIG_fail
;
9867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9868 result
= (wxHtmlHelpFrame
*)new wxHtmlHelpFrame(arg1
,arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
9870 wxPyEndAllowThreads(__tstate
);
9871 if (PyErr_Occurred()) SWIG_fail
;
9873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpFrame
, 1);
9888 static PyObject
*_wrap_HtmlHelpFrame_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9889 PyObject
*resultobj
;
9890 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
9891 wxHtmlHelpData
*result
;
9892 PyObject
* obj0
= 0 ;
9894 (char *) "self", NULL
9897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpFrame_GetData",kwnames
,&obj0
)) goto fail
;
9898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpFrame
,
9899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9902 result
= (wxHtmlHelpData
*)(arg1
)->GetData();
9904 wxPyEndAllowThreads(__tstate
);
9905 if (PyErr_Occurred()) SWIG_fail
;
9907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpData
, 0);
9914 static PyObject
*_wrap_HtmlHelpFrame_SetTitleFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9915 PyObject
*resultobj
;
9916 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
9917 wxString
*arg2
= 0 ;
9918 bool temp2
= False
;
9919 PyObject
* obj0
= 0 ;
9920 PyObject
* obj1
= 0 ;
9922 (char *) "self",(char *) "format", NULL
9925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
9926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpFrame
,
9927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9929 arg2
= wxString_in_helper(obj1
);
9930 if (arg2
== NULL
) SWIG_fail
;
9934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9935 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
9937 wxPyEndAllowThreads(__tstate
);
9938 if (PyErr_Occurred()) SWIG_fail
;
9940 Py_INCREF(Py_None
); resultobj
= Py_None
;
9955 static PyObject
*_wrap_HtmlHelpFrame_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9956 PyObject
*resultobj
;
9957 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
9958 wxString
*arg2
= 0 ;
9959 bool temp2
= False
;
9960 PyObject
* obj0
= 0 ;
9961 PyObject
* obj1
= 0 ;
9963 (char *) "self",(char *) "x", NULL
9966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_Display",kwnames
,&obj0
,&obj1
)) goto fail
;
9967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpFrame
,
9968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9970 arg2
= wxString_in_helper(obj1
);
9971 if (arg2
== NULL
) SWIG_fail
;
9975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9976 (arg1
)->Display((wxString
const &)*arg2
);
9978 wxPyEndAllowThreads(__tstate
);
9979 if (PyErr_Occurred()) SWIG_fail
;
9981 Py_INCREF(Py_None
); resultobj
= Py_None
;
9996 static PyObject
*_wrap_HtmlHelpFrame_DisplayID(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9997 PyObject
*resultobj
;
9998 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
10000 PyObject
* obj0
= 0 ;
10001 PyObject
* obj1
= 0 ;
10002 char *kwnames
[] = {
10003 (char *) "self",(char *) "id", NULL
10006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_DisplayID",kwnames
,&obj0
,&obj1
)) goto fail
;
10007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpFrame
,
10008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10009 arg2
= (int) SWIG_AsInt(obj1
);
10010 if (PyErr_Occurred()) SWIG_fail
;
10012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10013 (arg1
)->Display(arg2
);
10015 wxPyEndAllowThreads(__tstate
);
10016 if (PyErr_Occurred()) SWIG_fail
;
10018 Py_INCREF(Py_None
); resultobj
= Py_None
;
10025 static PyObject
*_wrap_HtmlHelpFrame_DisplayContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10026 PyObject
*resultobj
;
10027 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
10028 PyObject
* obj0
= 0 ;
10029 char *kwnames
[] = {
10030 (char *) "self", NULL
10033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpFrame_DisplayContents",kwnames
,&obj0
)) goto fail
;
10034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpFrame
,
10035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10038 (arg1
)->DisplayContents();
10040 wxPyEndAllowThreads(__tstate
);
10041 if (PyErr_Occurred()) SWIG_fail
;
10043 Py_INCREF(Py_None
); resultobj
= Py_None
;
10050 static PyObject
*_wrap_HtmlHelpFrame_DisplayIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10051 PyObject
*resultobj
;
10052 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
10053 PyObject
* obj0
= 0 ;
10054 char *kwnames
[] = {
10055 (char *) "self", NULL
10058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpFrame_DisplayIndex",kwnames
,&obj0
)) goto fail
;
10059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpFrame
,
10060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10063 (arg1
)->DisplayIndex();
10065 wxPyEndAllowThreads(__tstate
);
10066 if (PyErr_Occurred()) SWIG_fail
;
10068 Py_INCREF(Py_None
); resultobj
= Py_None
;
10075 static PyObject
*_wrap_HtmlHelpFrame_KeywordSearch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10076 PyObject
*resultobj
;
10077 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
10078 wxString
*arg2
= 0 ;
10080 bool temp2
= False
;
10081 PyObject
* obj0
= 0 ;
10082 PyObject
* obj1
= 0 ;
10083 char *kwnames
[] = {
10084 (char *) "self",(char *) "keyword", NULL
10087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_KeywordSearch",kwnames
,&obj0
,&obj1
)) goto fail
;
10088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpFrame
,
10089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10091 arg2
= wxString_in_helper(obj1
);
10092 if (arg2
== NULL
) SWIG_fail
;
10096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10097 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
);
10099 wxPyEndAllowThreads(__tstate
);
10100 if (PyErr_Occurred()) SWIG_fail
;
10103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10119 static PyObject
*_wrap_HtmlHelpFrame_UseConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10120 PyObject
*resultobj
;
10121 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
10122 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
10123 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10124 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10125 bool temp3
= False
;
10126 PyObject
* obj0
= 0 ;
10127 PyObject
* obj1
= 0 ;
10128 PyObject
* obj2
= 0 ;
10129 char *kwnames
[] = {
10130 (char *) "self",(char *) "config",(char *) "rootpath", NULL
10133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpFrame_UseConfig",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpFrame
,
10135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10136 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
10137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10140 arg3
= wxString_in_helper(obj2
);
10141 if (arg3
== NULL
) SWIG_fail
;
10146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10147 (arg1
)->UseConfig(arg2
,(wxString
const &)*arg3
);
10149 wxPyEndAllowThreads(__tstate
);
10150 if (PyErr_Occurred()) SWIG_fail
;
10152 Py_INCREF(Py_None
); resultobj
= Py_None
;
10167 static PyObject
*_wrap_HtmlHelpFrame_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10168 PyObject
*resultobj
;
10169 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
10170 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
10171 wxString arg3
= (wxString
) wxPyEmptyString
;
10172 PyObject
* obj0
= 0 ;
10173 PyObject
* obj1
= 0 ;
10174 PyObject
* obj2
= 0 ;
10175 char *kwnames
[] = {
10176 (char *) "self",(char *) "cfg",(char *) "path", NULL
10179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpFrame_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpFrame
,
10181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10182 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
10183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10186 wxString
* sptr
= wxString_in_helper(obj2
);
10187 if (sptr
== NULL
) SWIG_fail
;
10193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10194 (arg1
)->ReadCustomization(arg2
,arg3
);
10196 wxPyEndAllowThreads(__tstate
);
10197 if (PyErr_Occurred()) SWIG_fail
;
10199 Py_INCREF(Py_None
); resultobj
= Py_None
;
10206 static PyObject
*_wrap_HtmlHelpFrame_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10207 PyObject
*resultobj
;
10208 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
10209 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
10210 wxString arg3
= (wxString
) wxPyEmptyString
;
10211 PyObject
* obj0
= 0 ;
10212 PyObject
* obj1
= 0 ;
10213 PyObject
* obj2
= 0 ;
10214 char *kwnames
[] = {
10215 (char *) "self",(char *) "cfg",(char *) "path", NULL
10218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpFrame_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpFrame
,
10220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10221 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
10222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10225 wxString
* sptr
= wxString_in_helper(obj2
);
10226 if (sptr
== NULL
) SWIG_fail
;
10232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10233 (arg1
)->WriteCustomization(arg2
,arg3
);
10235 wxPyEndAllowThreads(__tstate
);
10236 if (PyErr_Occurred()) SWIG_fail
;
10238 Py_INCREF(Py_None
); resultobj
= Py_None
;
10245 static PyObject
* HtmlHelpFrame_swigregister(PyObject
*self
, PyObject
*args
) {
10247 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10248 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpFrame
, obj
);
10250 return Py_BuildValue((char *)"");
10252 static PyObject
*_wrap_new_HtmlHelpController(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10253 PyObject
*resultobj
;
10254 int arg1
= (int) wxHF_DEFAULTSTYLE
;
10255 wxHtmlHelpController
*result
;
10256 PyObject
* obj0
= 0 ;
10257 char *kwnames
[] = {
10258 (char *) "style", NULL
10261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_HtmlHelpController",kwnames
,&obj0
)) goto fail
;
10263 arg1
= (int) SWIG_AsInt(obj0
);
10264 if (PyErr_Occurred()) SWIG_fail
;
10267 if (!wxPyCheckForApp()) SWIG_fail
;
10268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10269 result
= (wxHtmlHelpController
*)new wxHtmlHelpController(arg1
);
10271 wxPyEndAllowThreads(__tstate
);
10272 if (PyErr_Occurred()) SWIG_fail
;
10274 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpController
, 1);
10281 static PyObject
*_wrap_delete_HtmlHelpController(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10282 PyObject
*resultobj
;
10283 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
10284 PyObject
* obj0
= 0 ;
10285 char *kwnames
[] = {
10286 (char *) "self", NULL
10289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlHelpController",kwnames
,&obj0
)) goto fail
;
10290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
10291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10296 wxPyEndAllowThreads(__tstate
);
10297 if (PyErr_Occurred()) SWIG_fail
;
10299 Py_INCREF(Py_None
); resultobj
= Py_None
;
10306 static PyObject
*_wrap_HtmlHelpController_SetTitleFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10307 PyObject
*resultobj
;
10308 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
10309 wxString
*arg2
= 0 ;
10310 bool temp2
= False
;
10311 PyObject
* obj0
= 0 ;
10312 PyObject
* obj1
= 0 ;
10313 char *kwnames
[] = {
10314 (char *) "self",(char *) "format", NULL
10317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
10318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
10319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10321 arg2
= wxString_in_helper(obj1
);
10322 if (arg2
== NULL
) SWIG_fail
;
10326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10327 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
10329 wxPyEndAllowThreads(__tstate
);
10330 if (PyErr_Occurred()) SWIG_fail
;
10332 Py_INCREF(Py_None
); resultobj
= Py_None
;
10347 static PyObject
*_wrap_HtmlHelpController_SetTempDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10348 PyObject
*resultobj
;
10349 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
10350 wxString
*arg2
= 0 ;
10351 bool temp2
= False
;
10352 PyObject
* obj0
= 0 ;
10353 PyObject
* obj1
= 0 ;
10354 char *kwnames
[] = {
10355 (char *) "self",(char *) "path", NULL
10358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetTempDir",kwnames
,&obj0
,&obj1
)) goto fail
;
10359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
10360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10362 arg2
= wxString_in_helper(obj1
);
10363 if (arg2
== NULL
) SWIG_fail
;
10367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10368 (arg1
)->SetTempDir((wxString
const &)*arg2
);
10370 wxPyEndAllowThreads(__tstate
);
10371 if (PyErr_Occurred()) SWIG_fail
;
10373 Py_INCREF(Py_None
); resultobj
= Py_None
;
10388 static PyObject
*_wrap_HtmlHelpController_AddBook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10389 PyObject
*resultobj
;
10390 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
10391 wxString
*arg2
= 0 ;
10392 int arg3
= (int) False
;
10394 bool temp2
= False
;
10395 PyObject
* obj0
= 0 ;
10396 PyObject
* obj1
= 0 ;
10397 PyObject
* obj2
= 0 ;
10398 char *kwnames
[] = {
10399 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
10402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_AddBook",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
10404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10406 arg2
= wxString_in_helper(obj1
);
10407 if (arg2
== NULL
) SWIG_fail
;
10411 arg3
= (int) SWIG_AsInt(obj2
);
10412 if (PyErr_Occurred()) SWIG_fail
;
10415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10416 result
= (bool)(arg1
)->AddBook((wxString
const &)*arg2
,arg3
);
10418 wxPyEndAllowThreads(__tstate
);
10419 if (PyErr_Occurred()) SWIG_fail
;
10422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10438 static PyObject
*_wrap_HtmlHelpController_Display(PyObject
*self
, 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 *) "x", NULL
10449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_Display",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
)->Display((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_DisplayID(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10480 PyObject
*resultobj
;
10481 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
10483 PyObject
* obj0
= 0 ;
10484 PyObject
* obj1
= 0 ;
10485 char *kwnames
[] = {
10486 (char *) "self",(char *) "id", NULL
10489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_DisplayID",kwnames
,&obj0
,&obj1
)) goto fail
;
10490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
10491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10492 arg2
= (int) SWIG_AsInt(obj1
);
10493 if (PyErr_Occurred()) SWIG_fail
;
10495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10496 (arg1
)->Display(arg2
);
10498 wxPyEndAllowThreads(__tstate
);
10499 if (PyErr_Occurred()) SWIG_fail
;
10501 Py_INCREF(Py_None
); resultobj
= Py_None
;
10508 static PyObject
*_wrap_HtmlHelpController_DisplayContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10509 PyObject
*resultobj
;
10510 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
10511 PyObject
* obj0
= 0 ;
10512 char *kwnames
[] = {
10513 (char *) "self", NULL
10516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpController_DisplayContents",kwnames
,&obj0
)) goto fail
;
10517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
10518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10521 (arg1
)->DisplayContents();
10523 wxPyEndAllowThreads(__tstate
);
10524 if (PyErr_Occurred()) SWIG_fail
;
10526 Py_INCREF(Py_None
); resultobj
= Py_None
;
10533 static PyObject
*_wrap_HtmlHelpController_DisplayIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10534 PyObject
*resultobj
;
10535 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
10536 PyObject
* obj0
= 0 ;
10537 char *kwnames
[] = {
10538 (char *) "self", NULL
10541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpController_DisplayIndex",kwnames
,&obj0
)) goto fail
;
10542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
10543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10546 (arg1
)->DisplayIndex();
10548 wxPyEndAllowThreads(__tstate
);
10549 if (PyErr_Occurred()) SWIG_fail
;
10551 Py_INCREF(Py_None
); resultobj
= Py_None
;
10558 static PyObject
*_wrap_HtmlHelpController_KeywordSearch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10559 PyObject
*resultobj
;
10560 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
10561 wxString
*arg2
= 0 ;
10563 bool temp2
= False
;
10564 PyObject
* obj0
= 0 ;
10565 PyObject
* obj1
= 0 ;
10566 char *kwnames
[] = {
10567 (char *) "self",(char *) "keyword", NULL
10570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames
,&obj0
,&obj1
)) goto fail
;
10571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
10572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10574 arg2
= wxString_in_helper(obj1
);
10575 if (arg2
== NULL
) SWIG_fail
;
10579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10580 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
);
10582 wxPyEndAllowThreads(__tstate
);
10583 if (PyErr_Occurred()) SWIG_fail
;
10586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10602 static PyObject
*_wrap_HtmlHelpController_UseConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10603 PyObject
*resultobj
;
10604 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
10605 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
10606 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10607 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10608 bool temp3
= False
;
10609 PyObject
* obj0
= 0 ;
10610 PyObject
* obj1
= 0 ;
10611 PyObject
* obj2
= 0 ;
10612 char *kwnames
[] = {
10613 (char *) "self",(char *) "config",(char *) "rootpath", NULL
10616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
10618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10619 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
10620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10623 arg3
= wxString_in_helper(obj2
);
10624 if (arg3
== NULL
) SWIG_fail
;
10629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10630 (arg1
)->UseConfig(arg2
,(wxString
const &)*arg3
);
10632 wxPyEndAllowThreads(__tstate
);
10633 if (PyErr_Occurred()) SWIG_fail
;
10635 Py_INCREF(Py_None
); resultobj
= Py_None
;
10650 static PyObject
*_wrap_HtmlHelpController_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10651 PyObject
*resultobj
;
10652 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
10653 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
10654 wxString arg3
= (wxString
) wxPyEmptyString
;
10655 PyObject
* obj0
= 0 ;
10656 PyObject
* obj1
= 0 ;
10657 PyObject
* obj2
= 0 ;
10658 char *kwnames
[] = {
10659 (char *) "self",(char *) "cfg",(char *) "path", NULL
10662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
10664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10665 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
10666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10669 wxString
* sptr
= wxString_in_helper(obj2
);
10670 if (sptr
== NULL
) SWIG_fail
;
10676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10677 (arg1
)->ReadCustomization(arg2
,arg3
);
10679 wxPyEndAllowThreads(__tstate
);
10680 if (PyErr_Occurred()) SWIG_fail
;
10682 Py_INCREF(Py_None
); resultobj
= Py_None
;
10689 static PyObject
*_wrap_HtmlHelpController_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10690 PyObject
*resultobj
;
10691 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
10692 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
10693 wxString arg3
= (wxString
) wxPyEmptyString
;
10694 PyObject
* obj0
= 0 ;
10695 PyObject
* obj1
= 0 ;
10696 PyObject
* obj2
= 0 ;
10697 char *kwnames
[] = {
10698 (char *) "self",(char *) "cfg",(char *) "path", NULL
10701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
10703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10704 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
10705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10708 wxString
* sptr
= wxString_in_helper(obj2
);
10709 if (sptr
== NULL
) SWIG_fail
;
10715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10716 (arg1
)->WriteCustomization(arg2
,arg3
);
10718 wxPyEndAllowThreads(__tstate
);
10719 if (PyErr_Occurred()) SWIG_fail
;
10721 Py_INCREF(Py_None
); resultobj
= Py_None
;
10728 static PyObject
*_wrap_HtmlHelpController_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10729 PyObject
*resultobj
;
10730 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
10731 wxHtmlHelpFrame
*result
;
10732 PyObject
* obj0
= 0 ;
10733 char *kwnames
[] = {
10734 (char *) "self", NULL
10737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpController_GetFrame",kwnames
,&obj0
)) goto fail
;
10738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHtmlHelpController
,
10739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10742 result
= (wxHtmlHelpFrame
*)(arg1
)->GetFrame();
10744 wxPyEndAllowThreads(__tstate
);
10745 if (PyErr_Occurred()) SWIG_fail
;
10747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpFrame
, 0);
10754 static PyObject
* HtmlHelpController_swigregister(PyObject
*self
, PyObject
*args
) {
10756 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10757 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpController
, obj
);
10759 return Py_BuildValue((char *)"");
10761 static PyMethodDef SwigMethods
[] = {
10762 { (char *)"new_HtmlLinkInfo", (PyCFunction
) _wrap_new_HtmlLinkInfo
, METH_VARARGS
| METH_KEYWORDS
},
10763 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction
) _wrap_HtmlLinkInfo_GetHref
, METH_VARARGS
| METH_KEYWORDS
},
10764 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction
) _wrap_HtmlLinkInfo_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
10765 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction
) _wrap_HtmlLinkInfo_GetEvent
, METH_VARARGS
| METH_KEYWORDS
},
10766 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction
) _wrap_HtmlLinkInfo_GetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
10767 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction
) _wrap_HtmlLinkInfo_SetEvent
, METH_VARARGS
| METH_KEYWORDS
},
10768 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction
) _wrap_HtmlLinkInfo_SetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
10769 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister
, METH_VARARGS
},
10770 { (char *)"HtmlTag_GetName", (PyCFunction
) _wrap_HtmlTag_GetName
, METH_VARARGS
| METH_KEYWORDS
},
10771 { (char *)"HtmlTag_HasParam", (PyCFunction
) _wrap_HtmlTag_HasParam
, METH_VARARGS
| METH_KEYWORDS
},
10772 { (char *)"HtmlTag_GetParam", (PyCFunction
) _wrap_HtmlTag_GetParam
, METH_VARARGS
| METH_KEYWORDS
},
10773 { (char *)"HtmlTag_GetAllParams", (PyCFunction
) _wrap_HtmlTag_GetAllParams
, METH_VARARGS
| METH_KEYWORDS
},
10774 { (char *)"HtmlTag_HasEnding", (PyCFunction
) _wrap_HtmlTag_HasEnding
, METH_VARARGS
| METH_KEYWORDS
},
10775 { (char *)"HtmlTag_GetBeginPos", (PyCFunction
) _wrap_HtmlTag_GetBeginPos
, METH_VARARGS
| METH_KEYWORDS
},
10776 { (char *)"HtmlTag_GetEndPos1", (PyCFunction
) _wrap_HtmlTag_GetEndPos1
, METH_VARARGS
| METH_KEYWORDS
},
10777 { (char *)"HtmlTag_GetEndPos2", (PyCFunction
) _wrap_HtmlTag_GetEndPos2
, METH_VARARGS
| METH_KEYWORDS
},
10778 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister
, METH_VARARGS
},
10779 { (char *)"HtmlParser_SetFS", (PyCFunction
) _wrap_HtmlParser_SetFS
, METH_VARARGS
| METH_KEYWORDS
},
10780 { (char *)"HtmlParser_GetFS", (PyCFunction
) _wrap_HtmlParser_GetFS
, METH_VARARGS
| METH_KEYWORDS
},
10781 { (char *)"HtmlParser_Parse", (PyCFunction
) _wrap_HtmlParser_Parse
, METH_VARARGS
| METH_KEYWORDS
},
10782 { (char *)"HtmlParser_InitParser", (PyCFunction
) _wrap_HtmlParser_InitParser
, METH_VARARGS
| METH_KEYWORDS
},
10783 { (char *)"HtmlParser_DoneParser", (PyCFunction
) _wrap_HtmlParser_DoneParser
, METH_VARARGS
| METH_KEYWORDS
},
10784 { (char *)"HtmlParser_DoParsing", (PyCFunction
) _wrap_HtmlParser_DoParsing
, METH_VARARGS
| METH_KEYWORDS
},
10785 { (char *)"HtmlParser_StopParsing", (PyCFunction
) _wrap_HtmlParser_StopParsing
, METH_VARARGS
| METH_KEYWORDS
},
10786 { (char *)"HtmlParser_AddTagHandler", (PyCFunction
) _wrap_HtmlParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
10787 { (char *)"HtmlParser_GetSource", (PyCFunction
) _wrap_HtmlParser_GetSource
, METH_VARARGS
| METH_KEYWORDS
},
10788 { (char *)"HtmlParser_PushTagHandler", (PyCFunction
) _wrap_HtmlParser_PushTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
10789 { (char *)"HtmlParser_PopTagHandler", (PyCFunction
) _wrap_HtmlParser_PopTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
10790 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister
, METH_VARARGS
},
10791 { (char *)"new_HtmlWinParser", (PyCFunction
) _wrap_new_HtmlWinParser
, METH_VARARGS
| METH_KEYWORDS
},
10792 { (char *)"HtmlWinParser_SetDC", (PyCFunction
) _wrap_HtmlWinParser_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
10793 { (char *)"HtmlWinParser_GetDC", (PyCFunction
) _wrap_HtmlWinParser_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
10794 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction
) _wrap_HtmlWinParser_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
10795 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction
) _wrap_HtmlWinParser_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
10796 { (char *)"HtmlWinParser_GetWindow", (PyCFunction
) _wrap_HtmlWinParser_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10797 { (char *)"HtmlWinParser_SetFonts", (PyCFunction
) _wrap_HtmlWinParser_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
10798 { (char *)"HtmlWinParser_NormalizeFontSizes", (PyCFunction
) _wrap_HtmlWinParser_NormalizeFontSizes
, METH_VARARGS
| METH_KEYWORDS
},
10799 { (char *)"HtmlWinParser_GetContainer", (PyCFunction
) _wrap_HtmlWinParser_GetContainer
, METH_VARARGS
| METH_KEYWORDS
},
10800 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction
) _wrap_HtmlWinParser_OpenContainer
, METH_VARARGS
| METH_KEYWORDS
},
10801 { (char *)"HtmlWinParser_SetContainer", (PyCFunction
) _wrap_HtmlWinParser_SetContainer
, METH_VARARGS
| METH_KEYWORDS
},
10802 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction
) _wrap_HtmlWinParser_CloseContainer
, METH_VARARGS
| METH_KEYWORDS
},
10803 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction
) _wrap_HtmlWinParser_GetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
10804 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction
) _wrap_HtmlWinParser_SetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
10805 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction
) _wrap_HtmlWinParser_GetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
10806 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction
) _wrap_HtmlWinParser_SetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
10807 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction
) _wrap_HtmlWinParser_GetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
10808 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction
) _wrap_HtmlWinParser_SetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
10809 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction
) _wrap_HtmlWinParser_GetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
10810 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction
) _wrap_HtmlWinParser_SetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
10811 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction
) _wrap_HtmlWinParser_GetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
10812 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction
) _wrap_HtmlWinParser_SetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
10813 { (char *)"HtmlWinParser_GetAlign", (PyCFunction
) _wrap_HtmlWinParser_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
10814 { (char *)"HtmlWinParser_SetAlign", (PyCFunction
) _wrap_HtmlWinParser_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
10815 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction
) _wrap_HtmlWinParser_GetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
10816 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction
) _wrap_HtmlWinParser_SetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
10817 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction
) _wrap_HtmlWinParser_GetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
10818 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction
) _wrap_HtmlWinParser_SetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
10819 { (char *)"HtmlWinParser_SetLink", (PyCFunction
) _wrap_HtmlWinParser_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
10820 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction
) _wrap_HtmlWinParser_CreateCurrentFont
, METH_VARARGS
| METH_KEYWORDS
},
10821 { (char *)"HtmlWinParser_GetLink", (PyCFunction
) _wrap_HtmlWinParser_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
10822 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister
, METH_VARARGS
},
10823 { (char *)"new_HtmlTagHandler", (PyCFunction
) _wrap_new_HtmlTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
10824 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction
) _wrap_HtmlTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10825 { (char *)"HtmlTagHandler_SetParser", (PyCFunction
) _wrap_HtmlTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
10826 { (char *)"HtmlTagHandler_GetParser", (PyCFunction
) _wrap_HtmlTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
10827 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction
) _wrap_HtmlTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
10828 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister
, METH_VARARGS
},
10829 { (char *)"new_HtmlWinTagHandler", (PyCFunction
) _wrap_new_HtmlWinTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
10830 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction
) _wrap_HtmlWinTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10831 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction
) _wrap_HtmlWinTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
10832 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction
) _wrap_HtmlWinTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
10833 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction
) _wrap_HtmlWinTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
10834 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister
, METH_VARARGS
},
10835 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction
) _wrap_HtmlWinParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
10836 { (char *)"new_HtmlSelection", (PyCFunction
) _wrap_new_HtmlSelection
, METH_VARARGS
| METH_KEYWORDS
},
10837 { (char *)"delete_HtmlSelection", (PyCFunction
) _wrap_delete_HtmlSelection
, METH_VARARGS
| METH_KEYWORDS
},
10838 { (char *)"HtmlSelection_Set", (PyCFunction
) _wrap_HtmlSelection_Set
, METH_VARARGS
| METH_KEYWORDS
},
10839 { (char *)"HtmlSelection_SetCells", (PyCFunction
) _wrap_HtmlSelection_SetCells
, METH_VARARGS
| METH_KEYWORDS
},
10840 { (char *)"HtmlSelection_GetFromCell", (PyCFunction
) _wrap_HtmlSelection_GetFromCell
, METH_VARARGS
| METH_KEYWORDS
},
10841 { (char *)"HtmlSelection_GetToCell", (PyCFunction
) _wrap_HtmlSelection_GetToCell
, METH_VARARGS
| METH_KEYWORDS
},
10842 { (char *)"HtmlSelection_GetFromPos", (PyCFunction
) _wrap_HtmlSelection_GetFromPos
, METH_VARARGS
| METH_KEYWORDS
},
10843 { (char *)"HtmlSelection_GetToPos", (PyCFunction
) _wrap_HtmlSelection_GetToPos
, METH_VARARGS
| METH_KEYWORDS
},
10844 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction
) _wrap_HtmlSelection_GetFromPrivPos
, METH_VARARGS
| METH_KEYWORDS
},
10845 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction
) _wrap_HtmlSelection_GetToPrivPos
, METH_VARARGS
| METH_KEYWORDS
},
10846 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction
) _wrap_HtmlSelection_SetFromPrivPos
, METH_VARARGS
| METH_KEYWORDS
},
10847 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction
) _wrap_HtmlSelection_SetToPrivPos
, METH_VARARGS
| METH_KEYWORDS
},
10848 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction
) _wrap_HtmlSelection_ClearPrivPos
, METH_VARARGS
| METH_KEYWORDS
},
10849 { (char *)"HtmlSelection_IsEmpty", (PyCFunction
) _wrap_HtmlSelection_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
10850 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister
, METH_VARARGS
},
10851 { (char *)"new_HtmlRenderingState", (PyCFunction
) _wrap_new_HtmlRenderingState
, METH_VARARGS
| METH_KEYWORDS
},
10852 { (char *)"delete_HtmlRenderingState", (PyCFunction
) _wrap_delete_HtmlRenderingState
, METH_VARARGS
| METH_KEYWORDS
},
10853 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction
) _wrap_HtmlRenderingState_SetSelectionState
, METH_VARARGS
| METH_KEYWORDS
},
10854 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction
) _wrap_HtmlRenderingState_GetSelectionState
, METH_VARARGS
| METH_KEYWORDS
},
10855 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction
) _wrap_HtmlRenderingState_SetFgColour
, METH_VARARGS
| METH_KEYWORDS
},
10856 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction
) _wrap_HtmlRenderingState_GetFgColour
, METH_VARARGS
| METH_KEYWORDS
},
10857 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction
) _wrap_HtmlRenderingState_SetBgColour
, METH_VARARGS
| METH_KEYWORDS
},
10858 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction
) _wrap_HtmlRenderingState_GetBgColour
, METH_VARARGS
| METH_KEYWORDS
},
10859 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister
, METH_VARARGS
},
10860 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction
) _wrap_HtmlRenderingStyle_GetSelectedTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10861 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction
) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour
, METH_VARARGS
| METH_KEYWORDS
},
10862 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister
, METH_VARARGS
},
10863 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextColour", (PyCFunction
) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10864 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction
) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour
, METH_VARARGS
| METH_KEYWORDS
},
10865 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister
, METH_VARARGS
},
10866 { (char *)"new_HtmlRenderingInfo", (PyCFunction
) _wrap_new_HtmlRenderingInfo
, METH_VARARGS
| METH_KEYWORDS
},
10867 { (char *)"delete_HtmlRenderingInfo", (PyCFunction
) _wrap_delete_HtmlRenderingInfo
, METH_VARARGS
| METH_KEYWORDS
},
10868 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction
) _wrap_HtmlRenderingInfo_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10869 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction
) _wrap_HtmlRenderingInfo_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10870 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction
) _wrap_HtmlRenderingInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
10871 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction
) _wrap_HtmlRenderingInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
10872 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction
) _wrap_HtmlRenderingInfo_GetState
, METH_VARARGS
| METH_KEYWORDS
},
10873 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister
, METH_VARARGS
},
10874 { (char *)"new_HtmlCell", (PyCFunction
) _wrap_new_HtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
10875 { (char *)"HtmlCell_GetPosX", (PyCFunction
) _wrap_HtmlCell_GetPosX
, METH_VARARGS
| METH_KEYWORDS
},
10876 { (char *)"HtmlCell_GetPosY", (PyCFunction
) _wrap_HtmlCell_GetPosY
, METH_VARARGS
| METH_KEYWORDS
},
10877 { (char *)"HtmlCell_GetWidth", (PyCFunction
) _wrap_HtmlCell_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
10878 { (char *)"HtmlCell_GetHeight", (PyCFunction
) _wrap_HtmlCell_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
10879 { (char *)"HtmlCell_GetDescent", (PyCFunction
) _wrap_HtmlCell_GetDescent
, METH_VARARGS
| METH_KEYWORDS
},
10880 { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction
) _wrap_HtmlCell_GetMaxTotalWidth
, METH_VARARGS
| METH_KEYWORDS
},
10881 { (char *)"HtmlCell_GetId", (PyCFunction
) _wrap_HtmlCell_GetId
, METH_VARARGS
| METH_KEYWORDS
},
10882 { (char *)"HtmlCell_SetId", (PyCFunction
) _wrap_HtmlCell_SetId
, METH_VARARGS
| METH_KEYWORDS
},
10883 { (char *)"HtmlCell_GetLink", (PyCFunction
) _wrap_HtmlCell_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
10884 { (char *)"HtmlCell_GetNext", (PyCFunction
) _wrap_HtmlCell_GetNext
, METH_VARARGS
| METH_KEYWORDS
},
10885 { (char *)"HtmlCell_GetParent", (PyCFunction
) _wrap_HtmlCell_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
10886 { (char *)"HtmlCell_GetFirstChild", (PyCFunction
) _wrap_HtmlCell_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
10887 { (char *)"HtmlCell_GetCursor", (PyCFunction
) _wrap_HtmlCell_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
10888 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction
) _wrap_HtmlCell_IsFormattingCell
, METH_VARARGS
| METH_KEYWORDS
},
10889 { (char *)"HtmlCell_SetLink", (PyCFunction
) _wrap_HtmlCell_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
10890 { (char *)"HtmlCell_SetNext", (PyCFunction
) _wrap_HtmlCell_SetNext
, METH_VARARGS
| METH_KEYWORDS
},
10891 { (char *)"HtmlCell_SetParent", (PyCFunction
) _wrap_HtmlCell_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
10892 { (char *)"HtmlCell_SetPos", (PyCFunction
) _wrap_HtmlCell_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
10893 { (char *)"HtmlCell_Layout", (PyCFunction
) _wrap_HtmlCell_Layout
, METH_VARARGS
| METH_KEYWORDS
},
10894 { (char *)"HtmlCell_Draw", (PyCFunction
) _wrap_HtmlCell_Draw
, METH_VARARGS
| METH_KEYWORDS
},
10895 { (char *)"HtmlCell_DrawInvisible", (PyCFunction
) _wrap_HtmlCell_DrawInvisible
, METH_VARARGS
| METH_KEYWORDS
},
10896 { (char *)"HtmlCell_Find", (PyCFunction
) _wrap_HtmlCell_Find
, METH_VARARGS
| METH_KEYWORDS
},
10897 { (char *)"HtmlCell_AdjustPagebreak", (PyCFunction
) _wrap_HtmlCell_AdjustPagebreak
, METH_VARARGS
| METH_KEYWORDS
},
10898 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction
) _wrap_HtmlCell_SetCanLiveOnPagebreak
, METH_VARARGS
| METH_KEYWORDS
},
10899 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction
) _wrap_HtmlCell_IsLinebreakAllowed
, METH_VARARGS
| METH_KEYWORDS
},
10900 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction
) _wrap_HtmlCell_IsTerminalCell
, METH_VARARGS
| METH_KEYWORDS
},
10901 { (char *)"HtmlCell_FindCellByPos", (PyCFunction
) _wrap_HtmlCell_FindCellByPos
, METH_VARARGS
| METH_KEYWORDS
},
10902 { (char *)"HtmlCell_GetAbsPos", (PyCFunction
) _wrap_HtmlCell_GetAbsPos
, METH_VARARGS
| METH_KEYWORDS
},
10903 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction
) _wrap_HtmlCell_GetFirstTerminal
, METH_VARARGS
| METH_KEYWORDS
},
10904 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction
) _wrap_HtmlCell_GetLastTerminal
, METH_VARARGS
| METH_KEYWORDS
},
10905 { (char *)"HtmlCell_GetDepth", (PyCFunction
) _wrap_HtmlCell_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
10906 { (char *)"HtmlCell_IsBefore", (PyCFunction
) _wrap_HtmlCell_IsBefore
, METH_VARARGS
| METH_KEYWORDS
},
10907 { (char *)"HtmlCell_ConvertToText", (PyCFunction
) _wrap_HtmlCell_ConvertToText
, METH_VARARGS
| METH_KEYWORDS
},
10908 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister
, METH_VARARGS
},
10909 { (char *)"new_HtmlWordCell", (PyCFunction
) _wrap_new_HtmlWordCell
, METH_VARARGS
| METH_KEYWORDS
},
10910 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister
, METH_VARARGS
},
10911 { (char *)"new_HtmlContainerCell", (PyCFunction
) _wrap_new_HtmlContainerCell
, METH_VARARGS
| METH_KEYWORDS
},
10912 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction
) _wrap_HtmlContainerCell_InsertCell
, METH_VARARGS
| METH_KEYWORDS
},
10913 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction
) _wrap_HtmlContainerCell_SetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
10914 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction
) _wrap_HtmlContainerCell_GetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
10915 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction
) _wrap_HtmlContainerCell_SetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
10916 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction
) _wrap_HtmlContainerCell_GetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
10917 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction
) _wrap_HtmlContainerCell_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
10918 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction
) _wrap_HtmlContainerCell_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
10919 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction
) _wrap_HtmlContainerCell_GetIndentUnits
, METH_VARARGS
| METH_KEYWORDS
},
10920 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction
) _wrap_HtmlContainerCell_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
10921 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction
) _wrap_HtmlContainerCell_SetWidthFloat
, METH_VARARGS
| METH_KEYWORDS
},
10922 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction
) _wrap_HtmlContainerCell_SetWidthFloatFromTag
, METH_VARARGS
| METH_KEYWORDS
},
10923 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction
) _wrap_HtmlContainerCell_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
10924 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction
) _wrap_HtmlContainerCell_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10925 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction
) _wrap_HtmlContainerCell_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10926 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction
) _wrap_HtmlContainerCell_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
10927 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction
) _wrap_HtmlContainerCell_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
10928 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister
, METH_VARARGS
},
10929 { (char *)"new_HtmlColourCell", (PyCFunction
) _wrap_new_HtmlColourCell
, METH_VARARGS
| METH_KEYWORDS
},
10930 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister
, METH_VARARGS
},
10931 { (char *)"new_HtmlFontCell", (PyCFunction
) _wrap_new_HtmlFontCell
, METH_VARARGS
| METH_KEYWORDS
},
10932 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister
, METH_VARARGS
},
10933 { (char *)"new_HtmlWidgetCell", (PyCFunction
) _wrap_new_HtmlWidgetCell
, METH_VARARGS
| METH_KEYWORDS
},
10934 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister
, METH_VARARGS
},
10935 { (char *)"new_HtmlFilter", (PyCFunction
) _wrap_new_HtmlFilter
, METH_VARARGS
| METH_KEYWORDS
},
10936 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction
) _wrap_HtmlFilter__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10937 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister
, METH_VARARGS
},
10938 { (char *)"new_HtmlWindow", (PyCFunction
) _wrap_new_HtmlWindow
, METH_VARARGS
| METH_KEYWORDS
},
10939 { (char *)"new_PreHtmlWindow", (PyCFunction
) _wrap_new_PreHtmlWindow
, METH_VARARGS
| METH_KEYWORDS
},
10940 { (char *)"HtmlWindow_Create", (PyCFunction
) _wrap_HtmlWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
10941 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction
) _wrap_HtmlWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10942 { (char *)"HtmlWindow_SetPage", (PyCFunction
) _wrap_HtmlWindow_SetPage
, METH_VARARGS
| METH_KEYWORDS
},
10943 { (char *)"HtmlWindow_LoadPage", (PyCFunction
) _wrap_HtmlWindow_LoadPage
, METH_VARARGS
| METH_KEYWORDS
},
10944 { (char *)"HtmlWindow_LoadFile", (PyCFunction
) _wrap_HtmlWindow_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
10945 { (char *)"HtmlWindow_AppendToPage", (PyCFunction
) _wrap_HtmlWindow_AppendToPage
, METH_VARARGS
| METH_KEYWORDS
},
10946 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction
) _wrap_HtmlWindow_GetOpenedPage
, METH_VARARGS
| METH_KEYWORDS
},
10947 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction
) _wrap_HtmlWindow_GetOpenedAnchor
, METH_VARARGS
| METH_KEYWORDS
},
10948 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction
) _wrap_HtmlWindow_GetOpenedPageTitle
, METH_VARARGS
| METH_KEYWORDS
},
10949 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction
) _wrap_HtmlWindow_SetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
10950 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction
) _wrap_HtmlWindow_GetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
10951 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction
) _wrap_HtmlWindow_SetRelatedStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
10952 { (char *)"HtmlWindow_SetFonts", (PyCFunction
) _wrap_HtmlWindow_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
10953 { (char *)"HtmlWindow_NormalizeFontSizes", (PyCFunction
) _wrap_HtmlWindow_NormalizeFontSizes
, METH_VARARGS
| METH_KEYWORDS
},
10954 { (char *)"HtmlWindow_SetTitle", (PyCFunction
) _wrap_HtmlWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
10955 { (char *)"HtmlWindow_SetBorders", (PyCFunction
) _wrap_HtmlWindow_SetBorders
, METH_VARARGS
| METH_KEYWORDS
},
10956 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction
) _wrap_HtmlWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
10957 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction
) _wrap_HtmlWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
10958 { (char *)"HtmlWindow_HistoryBack", (PyCFunction
) _wrap_HtmlWindow_HistoryBack
, METH_VARARGS
| METH_KEYWORDS
},
10959 { (char *)"HtmlWindow_HistoryForward", (PyCFunction
) _wrap_HtmlWindow_HistoryForward
, METH_VARARGS
| METH_KEYWORDS
},
10960 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction
) _wrap_HtmlWindow_HistoryCanBack
, METH_VARARGS
| METH_KEYWORDS
},
10961 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction
) _wrap_HtmlWindow_HistoryCanForward
, METH_VARARGS
| METH_KEYWORDS
},
10962 { (char *)"HtmlWindow_HistoryClear", (PyCFunction
) _wrap_HtmlWindow_HistoryClear
, METH_VARARGS
| METH_KEYWORDS
},
10963 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction
) _wrap_HtmlWindow_GetInternalRepresentation
, METH_VARARGS
| METH_KEYWORDS
},
10964 { (char *)"HtmlWindow_GetParser", (PyCFunction
) _wrap_HtmlWindow_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
10965 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction
) _wrap_HtmlWindow_ScrollToAnchor
, METH_VARARGS
| METH_KEYWORDS
},
10966 { (char *)"HtmlWindow_HasAnchor", (PyCFunction
) _wrap_HtmlWindow_HasAnchor
, METH_VARARGS
| METH_KEYWORDS
},
10967 { (char *)"HtmlWindow_AddFilter", (PyCFunction
) _wrap_HtmlWindow_AddFilter
, METH_VARARGS
| METH_KEYWORDS
},
10968 { (char *)"HtmlWindow_SelectWord", (PyCFunction
) _wrap_HtmlWindow_SelectWord
, METH_VARARGS
| METH_KEYWORDS
},
10969 { (char *)"HtmlWindow_SelectLine", (PyCFunction
) _wrap_HtmlWindow_SelectLine
, METH_VARARGS
| METH_KEYWORDS
},
10970 { (char *)"HtmlWindow_SelectAll", (PyCFunction
) _wrap_HtmlWindow_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
10971 { (char *)"HtmlWindow_SelectionToText", (PyCFunction
) _wrap_HtmlWindow_SelectionToText
, METH_VARARGS
| METH_KEYWORDS
},
10972 { (char *)"HtmlWindow_ToText", (PyCFunction
) _wrap_HtmlWindow_ToText
, METH_VARARGS
| METH_KEYWORDS
},
10973 { (char *)"HtmlWindow_base_OnLinkClicked", (PyCFunction
) _wrap_HtmlWindow_base_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
},
10974 { (char *)"HtmlWindow_base_OnSetTitle", (PyCFunction
) _wrap_HtmlWindow_base_OnSetTitle
, METH_VARARGS
| METH_KEYWORDS
},
10975 { (char *)"HtmlWindow_base_OnCellMouseHover", (PyCFunction
) _wrap_HtmlWindow_base_OnCellMouseHover
, METH_VARARGS
| METH_KEYWORDS
},
10976 { (char *)"HtmlWindow_base_OnCellClicked", (PyCFunction
) _wrap_HtmlWindow_base_OnCellClicked
, METH_VARARGS
| METH_KEYWORDS
},
10977 { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_HtmlWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
10978 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister
, METH_VARARGS
},
10979 { (char *)"new_HtmlDCRenderer", (PyCFunction
) _wrap_new_HtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
},
10980 { (char *)"delete_HtmlDCRenderer", (PyCFunction
) _wrap_delete_HtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
},
10981 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction
) _wrap_HtmlDCRenderer_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
10982 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction
) _wrap_HtmlDCRenderer_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
10983 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction
) _wrap_HtmlDCRenderer_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
},
10984 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction
) _wrap_HtmlDCRenderer_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
10985 { (char *)"HtmlDCRenderer_NormalizeFontSizes", (PyCFunction
) _wrap_HtmlDCRenderer_NormalizeFontSizes
, METH_VARARGS
| METH_KEYWORDS
},
10986 { (char *)"HtmlDCRenderer_Render", (PyCFunction
) _wrap_HtmlDCRenderer_Render
, METH_VARARGS
| METH_KEYWORDS
},
10987 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction
) _wrap_HtmlDCRenderer_GetTotalHeight
, METH_VARARGS
| METH_KEYWORDS
},
10988 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister
, METH_VARARGS
},
10989 { (char *)"new_HtmlPrintout", (PyCFunction
) _wrap_new_HtmlPrintout
, METH_VARARGS
| METH_KEYWORDS
},
10990 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction
) _wrap_HtmlPrintout_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
},
10991 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction
) _wrap_HtmlPrintout_SetHtmlFile
, METH_VARARGS
| METH_KEYWORDS
},
10992 { (char *)"HtmlPrintout_SetHeader", (PyCFunction
) _wrap_HtmlPrintout_SetHeader
, METH_VARARGS
| METH_KEYWORDS
},
10993 { (char *)"HtmlPrintout_SetFooter", (PyCFunction
) _wrap_HtmlPrintout_SetFooter
, METH_VARARGS
| METH_KEYWORDS
},
10994 { (char *)"HtmlPrintout_SetFonts", (PyCFunction
) _wrap_HtmlPrintout_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
10995 { (char *)"HtmlPrintout_NormalizeFontSizes", (PyCFunction
) _wrap_HtmlPrintout_NormalizeFontSizes
, METH_VARARGS
| METH_KEYWORDS
},
10996 { (char *)"HtmlPrintout_SetMargins", (PyCFunction
) _wrap_HtmlPrintout_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
10997 { (char *)"HtmlPrintout_AddFilter", (PyCFunction
) _wrap_HtmlPrintout_AddFilter
, METH_VARARGS
| METH_KEYWORDS
},
10998 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction
) _wrap_HtmlPrintout_CleanUpStatics
, METH_VARARGS
| METH_KEYWORDS
},
10999 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister
, METH_VARARGS
},
11000 { (char *)"new_HtmlEasyPrinting", (PyCFunction
) _wrap_new_HtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
},
11001 { (char *)"delete_HtmlEasyPrinting", (PyCFunction
) _wrap_delete_HtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
},
11002 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction
) _wrap_HtmlEasyPrinting_PreviewFile
, METH_VARARGS
| METH_KEYWORDS
},
11003 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction
) _wrap_HtmlEasyPrinting_PreviewText
, METH_VARARGS
| METH_KEYWORDS
},
11004 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction
) _wrap_HtmlEasyPrinting_PrintFile
, METH_VARARGS
| METH_KEYWORDS
},
11005 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction
) _wrap_HtmlEasyPrinting_PrintText
, METH_VARARGS
| METH_KEYWORDS
},
11006 { (char *)"HtmlEasyPrinting_PrinterSetup", (PyCFunction
) _wrap_HtmlEasyPrinting_PrinterSetup
, METH_VARARGS
| METH_KEYWORDS
},
11007 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction
) _wrap_HtmlEasyPrinting_PageSetup
, METH_VARARGS
| METH_KEYWORDS
},
11008 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction
) _wrap_HtmlEasyPrinting_SetHeader
, METH_VARARGS
| METH_KEYWORDS
},
11009 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction
) _wrap_HtmlEasyPrinting_SetFooter
, METH_VARARGS
| METH_KEYWORDS
},
11010 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction
) _wrap_HtmlEasyPrinting_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
11011 { (char *)"HtmlEasyPrinting_NormalizeFontSizes", (PyCFunction
) _wrap_HtmlEasyPrinting_NormalizeFontSizes
, METH_VARARGS
| METH_KEYWORDS
},
11012 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction
) _wrap_HtmlEasyPrinting_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
11013 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction
) _wrap_HtmlEasyPrinting_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
11014 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister
, METH_VARARGS
},
11015 { (char *)"new_HtmlBookRecord", (PyCFunction
) _wrap_new_HtmlBookRecord
, METH_VARARGS
| METH_KEYWORDS
},
11016 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction
) _wrap_HtmlBookRecord_GetBookFile
, METH_VARARGS
| METH_KEYWORDS
},
11017 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction
) _wrap_HtmlBookRecord_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
11018 { (char *)"HtmlBookRecord_GetStart", (PyCFunction
) _wrap_HtmlBookRecord_GetStart
, METH_VARARGS
| METH_KEYWORDS
},
11019 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction
) _wrap_HtmlBookRecord_GetBasePath
, METH_VARARGS
| METH_KEYWORDS
},
11020 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction
) _wrap_HtmlBookRecord_SetContentsRange
, METH_VARARGS
| METH_KEYWORDS
},
11021 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction
) _wrap_HtmlBookRecord_GetContentsStart
, METH_VARARGS
| METH_KEYWORDS
},
11022 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction
) _wrap_HtmlBookRecord_GetContentsEnd
, METH_VARARGS
| METH_KEYWORDS
},
11023 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction
) _wrap_HtmlBookRecord_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
11024 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction
) _wrap_HtmlBookRecord_SetBasePath
, METH_VARARGS
| METH_KEYWORDS
},
11025 { (char *)"HtmlBookRecord_SetStart", (PyCFunction
) _wrap_HtmlBookRecord_SetStart
, METH_VARARGS
| METH_KEYWORDS
},
11026 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction
) _wrap_HtmlBookRecord_GetFullPath
, METH_VARARGS
| METH_KEYWORDS
},
11027 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister
, METH_VARARGS
},
11028 { (char *)"HtmlContentsItem_GetLevel", (PyCFunction
) _wrap_HtmlContentsItem_GetLevel
, METH_VARARGS
| METH_KEYWORDS
},
11029 { (char *)"HtmlContentsItem_GetID", (PyCFunction
) _wrap_HtmlContentsItem_GetID
, METH_VARARGS
| METH_KEYWORDS
},
11030 { (char *)"HtmlContentsItem_GetName", (PyCFunction
) _wrap_HtmlContentsItem_GetName
, METH_VARARGS
| METH_KEYWORDS
},
11031 { (char *)"HtmlContentsItem_GetPage", (PyCFunction
) _wrap_HtmlContentsItem_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
11032 { (char *)"HtmlContentsItem_GetBook", (PyCFunction
) _wrap_HtmlContentsItem_GetBook
, METH_VARARGS
| METH_KEYWORDS
},
11033 { (char *)"HtmlContentsItem_swigregister", HtmlContentsItem_swigregister
, METH_VARARGS
},
11034 { (char *)"HtmlSearchStatus_Search", (PyCFunction
) _wrap_HtmlSearchStatus_Search
, METH_VARARGS
| METH_KEYWORDS
},
11035 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction
) _wrap_HtmlSearchStatus_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
11036 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction
) _wrap_HtmlSearchStatus_GetCurIndex
, METH_VARARGS
| METH_KEYWORDS
},
11037 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction
) _wrap_HtmlSearchStatus_GetMaxIndex
, METH_VARARGS
| METH_KEYWORDS
},
11038 { (char *)"HtmlSearchStatus_GetName", (PyCFunction
) _wrap_HtmlSearchStatus_GetName
, METH_VARARGS
| METH_KEYWORDS
},
11039 { (char *)"HtmlSearchStatus_GetContentsItem", (PyCFunction
) _wrap_HtmlSearchStatus_GetContentsItem
, METH_VARARGS
| METH_KEYWORDS
},
11040 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister
, METH_VARARGS
},
11041 { (char *)"new_HtmlHelpData", (PyCFunction
) _wrap_new_HtmlHelpData
, METH_VARARGS
| METH_KEYWORDS
},
11042 { (char *)"delete_HtmlHelpData", (PyCFunction
) _wrap_delete_HtmlHelpData
, METH_VARARGS
| METH_KEYWORDS
},
11043 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction
) _wrap_HtmlHelpData_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
},
11044 { (char *)"HtmlHelpData_AddBook", (PyCFunction
) _wrap_HtmlHelpData_AddBook
, METH_VARARGS
| METH_KEYWORDS
},
11045 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction
) _wrap_HtmlHelpData_FindPageByName
, METH_VARARGS
| METH_KEYWORDS
},
11046 { (char *)"HtmlHelpData_FindPageById", (PyCFunction
) _wrap_HtmlHelpData_FindPageById
, METH_VARARGS
| METH_KEYWORDS
},
11047 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction
) _wrap_HtmlHelpData_GetBookRecArray
, METH_VARARGS
| METH_KEYWORDS
},
11048 { (char *)"HtmlHelpData_GetContents", (PyCFunction
) _wrap_HtmlHelpData_GetContents
, METH_VARARGS
| METH_KEYWORDS
},
11049 { (char *)"HtmlHelpData_GetContentsCnt", (PyCFunction
) _wrap_HtmlHelpData_GetContentsCnt
, METH_VARARGS
| METH_KEYWORDS
},
11050 { (char *)"HtmlHelpData_GetIndex", (PyCFunction
) _wrap_HtmlHelpData_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
11051 { (char *)"HtmlHelpData_GetIndexCnt", (PyCFunction
) _wrap_HtmlHelpData_GetIndexCnt
, METH_VARARGS
| METH_KEYWORDS
},
11052 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister
, METH_VARARGS
},
11053 { (char *)"new_HtmlHelpFrame", (PyCFunction
) _wrap_new_HtmlHelpFrame
, METH_VARARGS
| METH_KEYWORDS
},
11054 { (char *)"HtmlHelpFrame_GetData", (PyCFunction
) _wrap_HtmlHelpFrame_GetData
, METH_VARARGS
| METH_KEYWORDS
},
11055 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpFrame_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
},
11056 { (char *)"HtmlHelpFrame_Display", (PyCFunction
) _wrap_HtmlHelpFrame_Display
, METH_VARARGS
| METH_KEYWORDS
},
11057 { (char *)"HtmlHelpFrame_DisplayID", (PyCFunction
) _wrap_HtmlHelpFrame_DisplayID
, METH_VARARGS
| METH_KEYWORDS
},
11058 { (char *)"HtmlHelpFrame_DisplayContents", (PyCFunction
) _wrap_HtmlHelpFrame_DisplayContents
, METH_VARARGS
| METH_KEYWORDS
},
11059 { (char *)"HtmlHelpFrame_DisplayIndex", (PyCFunction
) _wrap_HtmlHelpFrame_DisplayIndex
, METH_VARARGS
| METH_KEYWORDS
},
11060 { (char *)"HtmlHelpFrame_KeywordSearch", (PyCFunction
) _wrap_HtmlHelpFrame_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
},
11061 { (char *)"HtmlHelpFrame_UseConfig", (PyCFunction
) _wrap_HtmlHelpFrame_UseConfig
, METH_VARARGS
| METH_KEYWORDS
},
11062 { (char *)"HtmlHelpFrame_ReadCustomization", (PyCFunction
) _wrap_HtmlHelpFrame_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
11063 { (char *)"HtmlHelpFrame_WriteCustomization", (PyCFunction
) _wrap_HtmlHelpFrame_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
11064 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister
, METH_VARARGS
},
11065 { (char *)"new_HtmlHelpController", (PyCFunction
) _wrap_new_HtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
},
11066 { (char *)"delete_HtmlHelpController", (PyCFunction
) _wrap_delete_HtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
},
11067 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpController_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
},
11068 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction
) _wrap_HtmlHelpController_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
},
11069 { (char *)"HtmlHelpController_AddBook", (PyCFunction
) _wrap_HtmlHelpController_AddBook
, METH_VARARGS
| METH_KEYWORDS
},
11070 { (char *)"HtmlHelpController_Display", (PyCFunction
) _wrap_HtmlHelpController_Display
, METH_VARARGS
| METH_KEYWORDS
},
11071 { (char *)"HtmlHelpController_DisplayID", (PyCFunction
) _wrap_HtmlHelpController_DisplayID
, METH_VARARGS
| METH_KEYWORDS
},
11072 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction
) _wrap_HtmlHelpController_DisplayContents
, METH_VARARGS
| METH_KEYWORDS
},
11073 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction
) _wrap_HtmlHelpController_DisplayIndex
, METH_VARARGS
| METH_KEYWORDS
},
11074 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction
) _wrap_HtmlHelpController_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
},
11075 { (char *)"HtmlHelpController_UseConfig", (PyCFunction
) _wrap_HtmlHelpController_UseConfig
, METH_VARARGS
| METH_KEYWORDS
},
11076 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction
) _wrap_HtmlHelpController_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
11077 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction
) _wrap_HtmlHelpController_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
11078 { (char *)"HtmlHelpController_GetFrame", (PyCFunction
) _wrap_HtmlHelpController_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
11079 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister
, METH_VARARGS
},
11084 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
11086 static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x
) {
11087 return (void *)((wxHtmlRenderingStyle
*) ((wxDefaultHtmlRenderingStyle
*) x
));
11089 static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x
) {
11090 return (void *)((wxHtmlParser
*) ((wxHtmlWinParser
*) x
));
11092 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
11093 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
11095 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
11096 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
11098 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
11099 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
11101 static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x
) {
11102 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
11104 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
11105 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
11107 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
11108 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
11110 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
11111 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
11113 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
11114 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
11116 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
11117 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
11119 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
11120 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
11122 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
11123 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
11125 static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x
) {
11126 return (void *)((wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
11128 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
11129 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
11131 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
11132 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
11134 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
11135 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
11137 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
11138 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
11140 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
11141 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
11143 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
11144 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
11146 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
11147 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
11149 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
11150 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
11152 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
11153 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
11155 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
11156 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
11158 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
11159 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
11161 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
11162 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
11164 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
11165 return (void *)((wxWindow
*) ((wxPanel
*) x
));
11167 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
11168 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
11170 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
11171 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
11173 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
11174 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
11176 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
11177 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
11179 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
11180 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
11182 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
11183 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
11185 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
11186 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
11188 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
11189 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
11191 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
11192 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
11194 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
11195 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
11197 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
11198 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
11200 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
11201 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
11203 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
11204 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
11206 static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x
) {
11207 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
11209 static void *_p_wxControlTo_p_wxWindow(void *x
) {
11210 return (void *)((wxWindow
*) ((wxControl
*) x
));
11212 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
11213 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
11215 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
11216 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
11218 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
11219 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
11221 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
11222 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
11224 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
11225 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
11227 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
11228 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
11230 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
11231 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
11233 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
11234 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
11236 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
11237 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
11239 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
11240 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
11242 static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x
) {
11243 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
11245 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
11246 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
11248 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
11249 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
11251 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
11252 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
11254 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
11255 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
11257 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
11258 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
11260 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
11261 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
11263 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
11264 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
11266 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
11267 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
11269 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
11270 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
11272 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
11273 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
11275 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
11276 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
11278 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
11279 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
11281 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
11282 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
11284 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
11285 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
11287 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
11288 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
11290 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
11291 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
11293 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
11294 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
11296 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
11297 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
11299 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
11300 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
11302 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
11303 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
11305 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
11306 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
11308 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
11309 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
11311 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
11312 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
11314 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
11315 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
11317 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
11318 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
11320 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
11321 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
11323 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
11324 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
11326 static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x
) {
11327 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxHtmlHelpFrame
*) x
));
11329 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
11330 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
11332 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
11333 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
11335 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
11336 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
11338 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
11339 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
11341 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
11342 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
11344 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
11345 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
11347 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
11348 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
11350 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
11351 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
11353 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
11354 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
11356 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
11357 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
11359 static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x
) {
11360 return (void *)((wxObject
*) ((wxHtmlLinkInfo
*) x
));
11362 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
11363 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
11365 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
11366 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
11368 static void *_p_wxSizerTo_p_wxObject(void *x
) {
11369 return (void *)((wxObject
*) ((wxSizer
*) x
));
11371 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
11372 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
11374 static void *_p_wxHtmlFontCellTo_p_wxObject(void *x
) {
11375 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlFontCell
*) x
));
11377 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
11378 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
11380 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
11381 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
11383 static void *_p_wxEventTo_p_wxObject(void *x
) {
11384 return (void *)((wxObject
*) ((wxEvent
*) x
));
11386 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
11387 return (void *)((wxObject
*) ((wxFontData
*) x
));
11389 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
11390 return (void *)((wxObject
*) ((wxPrintData
*) x
));
11392 static void *_p_wxHtmlTagTo_p_wxObject(void *x
) {
11393 return (void *)((wxObject
*) ((wxHtmlTag
*) x
));
11395 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
11396 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
11398 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
11399 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
11401 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
11402 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
11404 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
11405 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
11407 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
11408 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
11410 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
11411 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
11413 static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x
) {
11414 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
11416 static void *_p_wxHtmlCellTo_p_wxObject(void *x
) {
11417 return (void *)((wxObject
*) ((wxHtmlCell
*) x
));
11419 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
11420 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
11422 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
11423 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
11425 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
11426 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
11428 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
11429 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
11431 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
11432 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
11434 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
11435 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
11437 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
11438 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
11440 static void *_p_wxControlTo_p_wxObject(void *x
) {
11441 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
11443 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
11444 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
11446 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
11447 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
11449 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
11450 return (void *)((wxObject
*) ((wxFSFile
*) x
));
11452 static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x
) {
11453 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlWidgetCell
*) x
));
11455 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
11456 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
11458 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
11459 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
11461 static void *_p_wxHtmlColourCellTo_p_wxObject(void *x
) {
11462 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlColourCell
*) x
));
11464 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
11465 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
11467 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
11468 return (void *)((wxObject
*) ((wxColourData
*) x
));
11470 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
11471 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
11473 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
11474 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
11476 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
11477 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
11479 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
11480 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
11482 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
11483 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
11485 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
11486 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
11488 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
11489 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
11491 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
11492 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
11494 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
11495 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
11497 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
11498 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
11500 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
11501 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
11503 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
11504 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
11506 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
11507 return (void *)((wxObject
*) ((wxPrinter
*) x
));
11509 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
11510 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
11512 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
11513 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
11515 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
11516 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
11518 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
11519 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
11521 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
11522 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
11524 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
11525 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
11527 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
11528 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
11530 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
11531 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
11533 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
11534 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
11536 static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x
) {
11537 return (void *)((wxObject
*) ((wxPyHtmlFilter
*) x
));
11539 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
11540 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
11542 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
11543 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
11545 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
11546 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
11548 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
11549 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
11551 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
11552 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
11554 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
11555 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
11557 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
11558 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
11560 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
11561 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
11563 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
11564 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
11566 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
11567 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
11569 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
11570 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
11572 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
11573 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
11575 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
11576 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
11578 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
11579 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
11581 static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x
) {
11582 return (void *)((wxObject
*) ((wxPyHtmlTagHandler
*) x
));
11584 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x
) {
11585 return (void *)((wxObject
*) (wxPyHtmlTagHandler
*) ((wxPyHtmlWinTagHandler
*) x
));
11587 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
11588 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
11590 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
11591 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
11593 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
11594 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
11596 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
11597 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
11599 static void *_p_wxImageTo_p_wxObject(void *x
) {
11600 return (void *)((wxObject
*) ((wxImage
*) x
));
11602 static void *_p_wxFrameTo_p_wxObject(void *x
) {
11603 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
11605 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
11606 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
11608 static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x
) {
11609 return (void *)((wxObject
*) (wxPyPrintout
*) ((wxHtmlPrintout
*) x
));
11611 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
11612 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
11614 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
11615 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
11617 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
11618 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
11620 static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x
) {
11621 return (void *)((wxObject
*) ((wxHtmlDCRenderer
*) x
));
11623 static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x
) {
11624 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlContainerCell
*) x
));
11626 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
11627 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
11629 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
11630 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
11632 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
11633 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
11635 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
11636 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
11638 static void *_p_wxWindowTo_p_wxObject(void *x
) {
11639 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
11641 static void *_p_wxMenuTo_p_wxObject(void *x
) {
11642 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
11644 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
11645 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
11647 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
11648 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
11650 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
11651 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
11653 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
11654 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
11656 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
11657 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
11659 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
11660 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
11662 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
11663 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
11665 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
11666 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
11668 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
11669 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
11671 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
11672 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
11674 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
11675 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
11677 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
11678 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
11680 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
11681 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
11683 static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x
) {
11684 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
11686 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
11687 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
11689 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
11690 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
11692 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
11693 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
11695 static void *_p_wxPanelTo_p_wxObject(void *x
) {
11696 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
11698 static void *_p_wxDialogTo_p_wxObject(void *x
) {
11699 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
11701 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
11702 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
11704 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
11705 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
11707 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
11708 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
11710 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
11711 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
11713 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
11714 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
11716 static void *_p_wxHtmlParserTo_p_wxObject(void *x
) {
11717 return (void *)((wxObject
*) ((wxHtmlParser
*) x
));
11719 static void *_p_wxHtmlWinParserTo_p_wxObject(void *x
) {
11720 return (void *)((wxObject
*) (wxHtmlParser
*) ((wxHtmlWinParser
*) x
));
11722 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
11723 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
11725 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
11726 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
11728 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
11729 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
11731 static void *_p_wxHtmlWordCellTo_p_wxObject(void *x
) {
11732 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlWordCell
*) x
));
11734 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
11735 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
11737 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
11738 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
11740 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
11741 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
11743 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
11744 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
11746 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
11747 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
11749 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
11750 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
11752 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
11753 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
11755 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
11756 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
11758 static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x
) {
11759 return (void *)((wxObject
*) ((wxHtmlEasyPrinting
*) x
));
11761 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
11762 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
11764 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
11765 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
11767 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
11768 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
11770 static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x
) {
11771 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxHtmlHelpController
*) x
));
11773 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
11774 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
11776 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
11777 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
11779 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
11780 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
11782 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
11783 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
11785 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
11786 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
11788 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x
) {
11789 return (void *)((wxPyHtmlTagHandler
*) ((wxPyHtmlWinTagHandler
*) x
));
11791 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
11792 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
11794 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
11795 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
11797 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
11798 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
11800 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
11801 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
11803 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
11804 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
11806 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
11807 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
11809 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
11810 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
11812 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
11813 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
11815 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
11816 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
11818 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
11819 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
11821 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
11822 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
11824 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
11825 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
11827 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
11828 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
11830 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
11831 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
11833 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
11834 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
11836 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
11837 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
11839 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
11840 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
11842 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
11843 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
11845 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
11846 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
11848 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
11849 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
11851 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
11852 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
11854 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
11855 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
11857 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
11858 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
11860 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
11861 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
11863 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
11864 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
11866 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
11867 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
11869 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
11870 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
11872 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
11873 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
11875 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
11876 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
11878 static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x
) {
11879 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
11881 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
11882 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
11884 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
11885 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
11887 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
11888 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
11890 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
11891 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
11893 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
11894 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
11896 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
11897 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
11899 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
11900 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
11902 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
11903 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
11905 static void *_p_wxHtmlHelpControllerTo_p_wxEvtHandler(void *x
) {
11906 return (void *)((wxEvtHandler
*) ((wxHtmlHelpController
*) x
));
11908 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
11909 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
11911 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
11912 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
11914 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
11915 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
11917 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
11918 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
11920 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
11921 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
11923 static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x
) {
11924 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
11926 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
11927 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
11929 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
11930 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
11932 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
11933 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
11935 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
11936 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
11938 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
11939 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
11941 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
11942 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
11944 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
11945 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
11947 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
11948 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
11950 static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x
) {
11951 return (void *)((wxPyPrintout
*) ((wxHtmlPrintout
*) x
));
11953 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
11954 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
11956 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
11957 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
11959 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
11960 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
11962 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
11963 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
11965 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
11966 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
11968 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
11969 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
11971 static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x
) {
11972 return (void *)((wxFrame
*) ((wxHtmlHelpFrame
*) x
));
11974 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
11975 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
11977 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
11978 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
11980 static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x
) {
11981 return (void *)((wxHtmlCell
*) ((wxHtmlContainerCell
*) x
));
11983 static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x
) {
11984 return (void *)((wxHtmlCell
*) ((wxHtmlWidgetCell
*) x
));
11986 static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x
) {
11987 return (void *)((wxHtmlCell
*) ((wxHtmlColourCell
*) x
));
11989 static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x
) {
11990 return (void *)((wxHtmlCell
*) ((wxHtmlWordCell
*) x
));
11992 static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x
) {
11993 return (void *)((wxHtmlCell
*) ((wxHtmlFontCell
*) x
));
11995 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}};
11996 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}};
11997 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}};
11998 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}};
11999 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}};
12000 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}};
12001 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}};
12002 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}};
12003 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}};
12004 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}};
12005 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}};
12006 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}};
12007 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}};
12008 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}};
12009 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}};
12010 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}};
12011 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}};
12012 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}};
12013 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_wxTipWindow", _p_wxTipWindowTo_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_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}};
12014 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_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_wxColourDialog", _p_wxColourDialogTo_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_wxTipWindow", _p_wxTipWindowTo_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_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12015 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}};
12016 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}};
12017 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}};
12018 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}};
12019 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}};
12020 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_wxTipWindow", _p_wxTipWindowTo_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_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}};
12021 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}};
12022 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}};
12023 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}};
12024 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}};
12025 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_wxTipWindow", _p_wxTipWindowTo_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_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}};
12026 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}};
12027 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}};
12028 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}};
12029 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}};
12030 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}};
12031 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}};
12032 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}};
12033 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}};
12034 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}};
12035 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}};
12036 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}};
12037 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}};
12038 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}};
12039 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_wxTipWindow", _p_wxTipWindowTo_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}};
12040 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}};
12041 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}};
12042 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}};
12043 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}};
12044 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}};
12045 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}};
12046 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}};
12047 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}};
12049 static swig_type_info
*swig_types_initial
[] = {
12050 _swigt__p_wxHtmlDCRenderer
,
12051 _swigt__p_wxColour
,
12052 _swigt__p_wxPageSetupDialogData
,
12054 _swigt__p_wxDefaultHtmlRenderingStyle
,
12055 _swigt__p_wxHtmlRenderingStyle
,
12056 _swigt__p_wxMouseEvent
,
12057 _swigt__p_wxHtmlWordCell
,
12058 _swigt__p_wxVisualAttributes
,
12059 _swigt__p_wxHtmlHelpData
,
12061 _swigt__p_wxHtmlWinParser
,
12062 _swigt__p_wxHtmlParser
,
12065 _swigt__p_wxHtmlColourCell
,
12066 _swigt__p_wxPyHtmlWindow
,
12067 _swigt__p_wxScrolledWindow
,
12068 _swigt__p_wxWindow
,
12069 _swigt__p_wxTopLevelWindow
,
12070 _swigt__p_wxHtmlFontCell
,
12071 _swigt__p_wxHtmlEasyPrinting
,
12072 _swigt__p_wxHtmlSelection
,
12073 _swigt__p_wxHtmlRenderingInfo
,
12074 _swigt__p_wxHtmlWidgetCell
,
12075 _swigt__p_wxObject
,
12076 _swigt__p_wxString
,
12077 _swigt__p_wxPyHtmlWinTagHandler
,
12078 _swigt__p_wxHtmlTagHandler
,
12079 _swigt__p_wxPyHtmlTagHandler
,
12080 _swigt__p_wxEvtHandler
,
12082 _swigt__p_wxHtmlHelpController
,
12083 _swigt__p_wxCursor
,
12084 _swigt__p_wxFileSystem
,
12085 _swigt__p_wxHtmlBookRecArray
,
12086 _swigt__p_wxPyPrintout
,
12087 _swigt__p_wxHtmlPrintout
,
12088 _swigt__p_wxHtmlSearchStatus
,
12089 _swigt__p_wxHtmlContentsItem
,
12090 _swigt__p_wxConfigBase
,
12091 _swigt__p_wxPrintData
,
12092 _swigt__p_wxHtmlHelpFrame
,
12093 _swigt__p_wxHtmlRenderingState
,
12095 _swigt__p_wxPyHtmlFilter
,
12096 _swigt__p_wxHtmlFilter
,
12097 _swigt__p_wxHtmlCell
,
12098 _swigt__p_wxHtmlContainerCell
,
12099 _swigt__p_wxHtmlTag
,
12100 _swigt__p_wxHtmlLinkInfo
,
12102 _swigt__p_wxHtmlBookRecord
,
12107 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
12109 static swig_const_info swig_const_table
[] = {
12119 SWIGEXPORT(void) SWIG_init(void) {
12120 static PyObject
*SWIG_globals
= 0;
12121 static int typeinit
= 0;
12124 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
12125 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
12126 d
= PyModule_GetDict(m
);
12129 for (i
= 0; swig_types_initial
[i
]; i
++) {
12130 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
12134 SWIG_InstallConstants(d
,swig_const_table
);
12136 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
12137 SWIG_addvarlink(SWIG_globals
,(char*)"HtmlWindowNameStr",_wrap_HtmlWindowNameStr_get
, _wrap_HtmlWindowNameStr_set
);
12138 SWIG_addvarlink(SWIG_globals
,(char*)"HtmlPrintoutTitleStr",_wrap_HtmlPrintoutTitleStr_get
, _wrap_HtmlPrintoutTitleStr_set
);
12139 SWIG_addvarlink(SWIG_globals
,(char*)"HtmlPrintingTitleStr",_wrap_HtmlPrintingTitleStr_get
, _wrap_HtmlPrintingTitleStr_set
);
12140 PyDict_SetItemString(d
,"HTML_ALIGN_LEFT", SWIG_FromInt((int)wxHTML_ALIGN_LEFT
));
12141 PyDict_SetItemString(d
,"HTML_ALIGN_CENTER", SWIG_FromInt((int)wxHTML_ALIGN_CENTER
));
12142 PyDict_SetItemString(d
,"HTML_ALIGN_RIGHT", SWIG_FromInt((int)wxHTML_ALIGN_RIGHT
));
12143 PyDict_SetItemString(d
,"HTML_ALIGN_BOTTOM", SWIG_FromInt((int)wxHTML_ALIGN_BOTTOM
));
12144 PyDict_SetItemString(d
,"HTML_ALIGN_TOP", SWIG_FromInt((int)wxHTML_ALIGN_TOP
));
12145 PyDict_SetItemString(d
,"HTML_CLR_FOREGROUND", SWIG_FromInt((int)wxHTML_CLR_FOREGROUND
));
12146 PyDict_SetItemString(d
,"HTML_CLR_BACKGROUND", SWIG_FromInt((int)wxHTML_CLR_BACKGROUND
));
12147 PyDict_SetItemString(d
,"HTML_UNITS_PIXELS", SWIG_FromInt((int)wxHTML_UNITS_PIXELS
));
12148 PyDict_SetItemString(d
,"HTML_UNITS_PERCENT", SWIG_FromInt((int)wxHTML_UNITS_PERCENT
));
12149 PyDict_SetItemString(d
,"HTML_INDENT_LEFT", SWIG_FromInt((int)wxHTML_INDENT_LEFT
));
12150 PyDict_SetItemString(d
,"HTML_INDENT_RIGHT", SWIG_FromInt((int)wxHTML_INDENT_RIGHT
));
12151 PyDict_SetItemString(d
,"HTML_INDENT_TOP", SWIG_FromInt((int)wxHTML_INDENT_TOP
));
12152 PyDict_SetItemString(d
,"HTML_INDENT_BOTTOM", SWIG_FromInt((int)wxHTML_INDENT_BOTTOM
));
12153 PyDict_SetItemString(d
,"HTML_INDENT_HORIZONTAL", SWIG_FromInt((int)wxHTML_INDENT_HORIZONTAL
));
12154 PyDict_SetItemString(d
,"HTML_INDENT_VERTICAL", SWIG_FromInt((int)wxHTML_INDENT_VERTICAL
));
12155 PyDict_SetItemString(d
,"HTML_INDENT_ALL", SWIG_FromInt((int)wxHTML_INDENT_ALL
));
12156 PyDict_SetItemString(d
,"HTML_COND_ISANCHOR", SWIG_FromInt((int)wxHTML_COND_ISANCHOR
));
12157 PyDict_SetItemString(d
,"HTML_COND_ISIMAGEMAP", SWIG_FromInt((int)wxHTML_COND_ISIMAGEMAP
));
12158 PyDict_SetItemString(d
,"HTML_COND_USER", SWIG_FromInt((int)wxHTML_COND_USER
));
12159 PyDict_SetItemString(d
,"HTML_FONT_SIZE_1", SWIG_FromInt((int)wxHTML_FONT_SIZE_1
));
12160 PyDict_SetItemString(d
,"HTML_FONT_SIZE_2", SWIG_FromInt((int)wxHTML_FONT_SIZE_2
));
12161 PyDict_SetItemString(d
,"HTML_FONT_SIZE_3", SWIG_FromInt((int)wxHTML_FONT_SIZE_3
));
12162 PyDict_SetItemString(d
,"HTML_FONT_SIZE_4", SWIG_FromInt((int)wxHTML_FONT_SIZE_4
));
12163 PyDict_SetItemString(d
,"HTML_FONT_SIZE_5", SWIG_FromInt((int)wxHTML_FONT_SIZE_5
));
12164 PyDict_SetItemString(d
,"HTML_FONT_SIZE_6", SWIG_FromInt((int)wxHTML_FONT_SIZE_6
));
12165 PyDict_SetItemString(d
,"HTML_FONT_SIZE_7", SWIG_FromInt((int)wxHTML_FONT_SIZE_7
));
12166 PyDict_SetItemString(d
,"HW_SCROLLBAR_NEVER", SWIG_FromInt((int)wxHW_SCROLLBAR_NEVER
));
12167 PyDict_SetItemString(d
,"HW_SCROLLBAR_AUTO", SWIG_FromInt((int)wxHW_SCROLLBAR_AUTO
));
12168 PyDict_SetItemString(d
,"HW_NO_SELECTION", SWIG_FromInt((int)wxHW_NO_SELECTION
));
12169 PyDict_SetItemString(d
,"HW_DEFAULT_STYLE", SWIG_FromInt((int)wxHW_DEFAULT_STYLE
));
12170 PyDict_SetItemString(d
,"HTML_OPEN", SWIG_FromInt((int)wxHTML_OPEN
));
12171 PyDict_SetItemString(d
,"HTML_BLOCK", SWIG_FromInt((int)wxHTML_BLOCK
));
12172 PyDict_SetItemString(d
,"HTML_REDIRECT", SWIG_FromInt((int)wxHTML_REDIRECT
));
12173 PyDict_SetItemString(d
,"HTML_URL_PAGE", SWIG_FromInt((int)wxHTML_URL_PAGE
));
12174 PyDict_SetItemString(d
,"HTML_URL_IMAGE", SWIG_FromInt((int)wxHTML_URL_IMAGE
));
12175 PyDict_SetItemString(d
,"HTML_URL_OTHER", SWIG_FromInt((int)wxHTML_URL_OTHER
));
12176 PyDict_SetItemString(d
,"HTML_SEL_OUT", SWIG_FromInt((int)wxHTML_SEL_OUT
));
12177 PyDict_SetItemString(d
,"HTML_SEL_IN", SWIG_FromInt((int)wxHTML_SEL_IN
));
12178 PyDict_SetItemString(d
,"HTML_SEL_CHANGING", SWIG_FromInt((int)wxHTML_SEL_CHANGING
));
12179 PyDict_SetItemString(d
,"HTML_FIND_EXACT", SWIG_FromInt((int)wxHTML_FIND_EXACT
));
12180 PyDict_SetItemString(d
,"HTML_FIND_NEAREST_BEFORE", SWIG_FromInt((int)wxHTML_FIND_NEAREST_BEFORE
));
12181 PyDict_SetItemString(d
,"HTML_FIND_NEAREST_AFTER", SWIG_FromInt((int)wxHTML_FIND_NEAREST_AFTER
));
12182 PyDict_SetItemString(d
,"PAGE_ODD", SWIG_FromInt((int)wxPAGE_ODD
));
12183 PyDict_SetItemString(d
,"PAGE_EVEN", SWIG_FromInt((int)wxPAGE_EVEN
));
12184 PyDict_SetItemString(d
,"PAGE_ALL", SWIG_FromInt((int)wxPAGE_ALL
));
12185 PyDict_SetItemString(d
,"HF_TOOLBAR", SWIG_FromInt((int)wxHF_TOOLBAR
));
12186 PyDict_SetItemString(d
,"HF_FLATTOOLBAR", SWIG_FromInt((int)wxHF_FLATTOOLBAR
));
12187 PyDict_SetItemString(d
,"HF_CONTENTS", SWIG_FromInt((int)wxHF_CONTENTS
));
12188 PyDict_SetItemString(d
,"HF_INDEX", SWIG_FromInt((int)wxHF_INDEX
));
12189 PyDict_SetItemString(d
,"HF_SEARCH", SWIG_FromInt((int)wxHF_SEARCH
));
12190 PyDict_SetItemString(d
,"HF_BOOKMARKS", SWIG_FromInt((int)wxHF_BOOKMARKS
));
12191 PyDict_SetItemString(d
,"HF_OPENFILES", SWIG_FromInt((int)wxHF_OPENFILES
));
12192 PyDict_SetItemString(d
,"HF_PRINT", SWIG_FromInt((int)wxHF_PRINT
));
12193 PyDict_SetItemString(d
,"HF_DEFAULTSTYLE", SWIG_FromInt((int)wxHF_DEFAULTSTYLE
));
12195 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
12196 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
12197 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
12198 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");