]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/iewin/iewin_wrap.cpp
%addtofunc --> %pythonAppend
[wxWidgets.git] / wxPython / contrib / iewin / iewin_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
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 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
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; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
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
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
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
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
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
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
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);
120
121
122 #ifdef __cplusplus
123 }
124
125 #endif
126
127
128 /***********************************************************************
129 * pyrun.swg for wxPython
130 *
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 * anyway.
135 *
136 ************************************************************************/
137
138 #include "Python.h"
139
140 #include <limits.h>
141 #include <float.h>
142
143 #ifdef __cplusplus
144 #define SWIG_STATIC_INLINE static inline
145 #else
146 #define SWIG_STATIC_INLINE static
147 #endif
148
149 SWIG_STATIC_INLINE long
150 SPyObj_AsLong(PyObject * obj)
151 {
152 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
153 }
154
155 SWIG_STATIC_INLINE unsigned long
156 SPyObj_AsUnsignedLong(PyObject * obj)
157 {
158 if (PyLong_Check(obj)) {
159 return PyLong_AsUnsignedLong(obj);
160 } else {
161 long i = PyInt_AsLong(obj);
162 if ( !PyErr_Occurred() && (i < 0)) {
163 PyErr_SetString(PyExc_TypeError, "negative value for unsigned type");
164 }
165 return i;
166 }
167 }
168
169 #if !defined(_MSC_VER)
170 SWIG_STATIC_INLINE PyObject*
171 SPyObj_FromLongLong(long long value)
172 {
173 return (value > (long)(LONG_MAX)) ?
174 PyLong_FromLongLong(value) : PyInt_FromLong((long)value);
175 }
176 #endif
177
178 SWIG_STATIC_INLINE PyObject*
179 SPyObj_FromUnsignedLong(unsigned long value)
180 {
181 return (value > (unsigned long)(LONG_MAX)) ?
182 PyLong_FromUnsignedLong(value) : PyInt_FromLong((long)value);
183 }
184
185 #if !defined(_MSC_VER)
186 SWIG_STATIC_INLINE PyObject*
187 SPyObj_FromUnsignedLongLong(unsigned long long value)
188 {
189 return (value > (unsigned long long)(LONG_MAX)) ?
190 PyLong_FromUnsignedLongLong(value) : PyInt_FromLong((long)value);
191 }
192 #endif
193
194 SWIG_STATIC_INLINE long
195 SPyObj_AsLongInRange(PyObject * obj, long min_value, long max_value)
196 {
197 long value = SPyObj_AsLong(obj);
198 if (!PyErr_Occurred()) {
199 if (value < min_value) {
200 PyErr_SetString(PyExc_OverflowError,"value is smaller than type minimum");
201 } else if (value > max_value) {
202 PyErr_SetString(PyExc_OverflowError,"value is greater than type maximum");
203 }
204 }
205 return value;
206 }
207
208 SWIG_STATIC_INLINE unsigned long
209 SPyObj_AsUnsignedLongInRange(PyObject *obj, unsigned long max_value)
210 {
211 unsigned long value = SPyObj_AsUnsignedLong(obj);
212 if (!PyErr_Occurred()) {
213 if (value > max_value) {
214 PyErr_SetString(PyExc_OverflowError,"value is greater than type maximum");
215 }
216 }
217 return value;
218 }
219
220 SWIG_STATIC_INLINE signed char
221 SPyObj_AsSignedChar(PyObject *obj) {
222 return (signed char)SPyObj_AsLongInRange(obj, SCHAR_MIN, SCHAR_MAX);
223 }
224
225 SWIG_STATIC_INLINE short
226 SPyObj_AsShort(PyObject *obj) {
227 return (short)SPyObj_AsLongInRange(obj, SHRT_MIN, SHRT_MAX);
228 }
229
230 SWIG_STATIC_INLINE int
231 SPyObj_AsInt(PyObject *obj) {
232 return SPyObj_AsLongInRange(obj, INT_MIN, INT_MAX);
233 }
234
235 SWIG_STATIC_INLINE unsigned char
236 SPyObj_AsUnsignedChar(PyObject *obj) {
237 return (unsigned char)SPyObj_AsUnsignedLongInRange(obj, UCHAR_MAX);
238 }
239
240 SWIG_STATIC_INLINE unsigned short
241 SPyObj_AsUnsignedShort(PyObject *obj) {
242 return (unsigned short)SPyObj_AsUnsignedLongInRange(obj, USHRT_MAX);
243 }
244
245 SWIG_STATIC_INLINE unsigned int
246 SPyObj_AsUnsignedInt(PyObject *obj) {
247 return SPyObj_AsUnsignedLongInRange(obj, UINT_MAX);
248 }
249
250 #if !defined(_MSC_VER)
251 SWIG_STATIC_INLINE long long
252 SPyObj_AsLongLong(PyObject *obj) {
253 return PyInt_Check(obj) ?
254 PyInt_AsLong(obj) : PyLong_AsLongLong(obj);
255 }
256
257 SWIG_STATIC_INLINE unsigned long long
258 SPyObj_AsUnsignedLongLong(PyObject *obj) {
259 return PyLong_Check(obj) ?
260 PyLong_AsUnsignedLongLong(obj) : SPyObj_AsUnsignedLong(obj);
261 }
262 #endif
263
264 SWIG_STATIC_INLINE double
265 SPyObj_AsDouble(PyObject *obj) {
266 return (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
267 (double)((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
268 }
269
270 SWIG_STATIC_INLINE float
271 SPyObj_AsFloat(PyObject *obj) {
272 double value = SPyObj_AsDouble(obj);
273 if (!PyErr_Occurred()) {
274 if (value < FLT_MIN) {
275 PyErr_SetString(PyExc_OverflowError,"float is smaller than flt_min");
276 } else if (value > FLT_MAX) {
277 PyErr_SetString(PyExc_OverflowError,"float is greater than flt_max");
278 }
279 }
280 return (float) value;
281 }
282
283 SWIG_STATIC_INLINE char
284 SPyObj_AsChar(PyObject *obj) {
285 char c = (PyString_Check(obj) && PyString_Size(obj) == 1) ?
286 PyString_AsString(obj)[0]
287 : (char) SPyObj_AsLongInRange(obj, CHAR_MIN, CHAR_MAX);
288 if (PyErr_Occurred()) {
289 PyErr_Clear();
290 PyErr_SetString(PyExc_TypeError, "a char is required");
291 }
292 return c;
293 }
294
295 SWIG_STATIC_INLINE PyObject *
296 SPyObj_FromChar(char c) {
297 return PyString_FromStringAndSize(&c,1);
298 }
299
300 SWIG_STATIC_INLINE PyObject *
301 SPyObj_FromCharPtr(const char* cptr) {
302 return cptr ? PyString_FromString(cptr) : Py_BuildValue((char*)"");
303 }
304
305 SWIG_STATIC_INLINE int
306 SPyObj_AsBool(PyObject *obj) {
307 return SPyObj_AsLong/*Long*/(obj) ? 1 : 0;
308 }
309
310
311
312 #ifdef __cplusplus
313 extern "C" {
314 #endif
315
316 #define SWIG_PY_INT 1
317 #define SWIG_PY_FLOAT 2
318 #define SWIG_PY_STRING 3
319 #define SWIG_PY_POINTER 4
320 #define SWIG_PY_BINARY 5
321
322 /* Flags for pointer conversion */
323
324 #define SWIG_POINTER_EXCEPTION 0x1
325 #define SWIG_POINTER_DISOWN 0x2
326
327 /* Exception handling in wrappers */
328 #define SWIG_fail goto fail
329
330 /* Constant information structure */
331 typedef struct swig_const_info {
332 int type;
333 char *name;
334 long lvalue;
335 double dvalue;
336 void *pvalue;
337 swig_type_info **ptype;
338 } swig_const_info;
339
340 /* Common SWIG API */
341 #define SWIG_ConvertPtr(obj, pp, type, flags) \
342 SWIG_Python_ConvertPtr(obj, pp, type, flags)
343 #define SWIG_NewPointerObj(p, type, flags) \
344 SWIG_Python_NewPointerObj(p, type, flags)
345 #define SWIG_MustGetPtr(p, type, argnum, flags) \
346 SWIG_Python_MustGetPtr(p, type, argnum, flags)
347
348 /* Python-specific SWIG API */
349 #define SWIG_newvarlink() \
350 SWIG_Python_newvarlink()
351 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
352 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
353 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
354 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
355 #define SWIG_NewPackedObj(ptr, sz, type) \
356 SWIG_Python_NewPackedObj(ptr, sz, type)
357 #define SWIG_InstallConstants(d, constants) \
358 SWIG_Python_InstallConstants(d, constants)
359
360
361 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
362 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
363 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
364 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
365 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
366 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
367 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
368 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
369
370
371
372 /* Contract support */
373
374 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
375
376 #ifdef __cplusplus
377 }
378 #endif
379
380
381
382 /* -------- TYPES TABLE (BEGIN) -------- */
383
384 #define SWIGTYPE_p_wxMSHTMLEvent swig_types[0]
385 #define SWIGTYPE_p_wxIEHtmlWin swig_types[1]
386 #define SWIGTYPE_p_wxWindow swig_types[2]
387 #define SWIGTYPE_p_wxEvent swig_types[3]
388 #define SWIGTYPE_p_wxObject swig_types[4]
389 #define SWIGTYPE_p_wxEvtHandler swig_types[5]
390 #define SWIGTYPE_p_wxString swig_types[6]
391 #define SWIGTYPE_p_wxNotifyEvent swig_types[7]
392 #define SWIGTYPE_p_wxCommandEvent swig_types[8]
393 #define SWIGTYPE_p_wxInputStream swig_types[9]
394 static swig_type_info *swig_types[11];
395
396 /* -------- TYPES TABLE (END) -------- */
397
398
399 /*-----------------------------------------------
400 @(target):= _iewin.so
401 ------------------------------------------------*/
402 #define SWIG_init init_iewin
403
404 #define SWIG_name "_iewin"
405
406 #include "wx/wxPython/wxPython.h"
407 #include "wx/wxPython/pyclasses.h"
408 #include "wx/wxPython/pyistream.h"
409
410 #include "IEHtmlWin.h"
411
412 static const wxString wxPyPanelNameStr(wxPanelNameStr);
413 #ifdef __cplusplus
414 extern "C" {
415 #endif
416 static PyObject *_wrap_new_MSHTMLEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
417 PyObject *resultobj;
418 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
419 int arg2 = (int) 0 ;
420 wxMSHTMLEvent *result;
421 char *kwnames[] = {
422 (char *) "commandType",(char *) "id", NULL
423 };
424
425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_MSHTMLEvent",kwnames,&arg1,&arg2)) goto fail;
426 {
427 PyThreadState* __tstate = wxPyBeginAllowThreads();
428 result = (wxMSHTMLEvent *)new wxMSHTMLEvent(arg1,arg2);
429
430 wxPyEndAllowThreads(__tstate);
431 if (PyErr_Occurred()) SWIG_fail;
432 }
433 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMSHTMLEvent, 1);
434 return resultobj;
435 fail:
436 return NULL;
437 }
438
439
440 static PyObject *_wrap_MSHTMLEvent_GetText1(PyObject *self, PyObject *args, PyObject *kwargs) {
441 PyObject *resultobj;
442 wxMSHTMLEvent *arg1 = (wxMSHTMLEvent *) 0 ;
443 wxString result;
444 PyObject * obj0 = 0 ;
445 char *kwnames[] = {
446 (char *) "self", NULL
447 };
448
449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MSHTMLEvent_GetText1",kwnames,&obj0)) goto fail;
450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMSHTMLEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
451 {
452 PyThreadState* __tstate = wxPyBeginAllowThreads();
453 result = (arg1)->GetText1();
454
455 wxPyEndAllowThreads(__tstate);
456 if (PyErr_Occurred()) SWIG_fail;
457 }
458 {
459 #if wxUSE_UNICODE
460 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
461 #else
462 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
463 #endif
464 }
465 return resultobj;
466 fail:
467 return NULL;
468 }
469
470
471 static PyObject *_wrap_MSHTMLEvent_GetLong1(PyObject *self, PyObject *args, PyObject *kwargs) {
472 PyObject *resultobj;
473 wxMSHTMLEvent *arg1 = (wxMSHTMLEvent *) 0 ;
474 long result;
475 PyObject * obj0 = 0 ;
476 char *kwnames[] = {
477 (char *) "self", NULL
478 };
479
480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MSHTMLEvent_GetLong1",kwnames,&obj0)) goto fail;
481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMSHTMLEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
482 {
483 PyThreadState* __tstate = wxPyBeginAllowThreads();
484 result = (long)(arg1)->GetLong1();
485
486 wxPyEndAllowThreads(__tstate);
487 if (PyErr_Occurred()) SWIG_fail;
488 }
489 resultobj = PyInt_FromLong((long)result);
490 return resultobj;
491 fail:
492 return NULL;
493 }
494
495
496 static PyObject *_wrap_MSHTMLEvent_GetLong2(PyObject *self, PyObject *args, PyObject *kwargs) {
497 PyObject *resultobj;
498 wxMSHTMLEvent *arg1 = (wxMSHTMLEvent *) 0 ;
499 long result;
500 PyObject * obj0 = 0 ;
501 char *kwnames[] = {
502 (char *) "self", NULL
503 };
504
505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MSHTMLEvent_GetLong2",kwnames,&obj0)) goto fail;
506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMSHTMLEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
507 {
508 PyThreadState* __tstate = wxPyBeginAllowThreads();
509 result = (long)(arg1)->GetLong2();
510
511 wxPyEndAllowThreads(__tstate);
512 if (PyErr_Occurred()) SWIG_fail;
513 }
514 resultobj = PyInt_FromLong((long)result);
515 return resultobj;
516 fail:
517 return NULL;
518 }
519
520
521 static PyObject * MSHTMLEvent_swigregister(PyObject *self, PyObject *args) {
522 PyObject *obj;
523 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
524 SWIG_TypeClientData(SWIGTYPE_p_wxMSHTMLEvent, obj);
525 Py_INCREF(obj);
526 return Py_BuildValue((char *)"");
527 }
528 static PyObject *_wrap_new_IEHtmlWin(PyObject *self, PyObject *args, PyObject *kwargs) {
529 PyObject *resultobj;
530 wxWindow *arg1 = (wxWindow *) 0 ;
531 int arg2 = (int) -1 ;
532 wxPoint const &arg3_defvalue = wxDefaultPosition ;
533 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
534 wxSize const &arg4_defvalue = wxDefaultSize ;
535 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
536 long arg5 = (long) 0 ;
537 wxString const &arg6_defvalue = wxPyPanelNameStr ;
538 wxString *arg6 = (wxString *) &arg6_defvalue ;
539 wxIEHtmlWin *result;
540 wxPoint temp3 ;
541 wxSize temp4 ;
542 bool temp6 = False ;
543 PyObject * obj0 = 0 ;
544 PyObject * obj2 = 0 ;
545 PyObject * obj3 = 0 ;
546 PyObject * obj5 = 0 ;
547 char *kwnames[] = {
548 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
549 };
550
551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_IEHtmlWin",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
553 if (obj2) {
554 {
555 arg3 = &temp3;
556 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
557 }
558 }
559 if (obj3) {
560 {
561 arg4 = &temp4;
562 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
563 }
564 }
565 if (obj5) {
566 {
567 arg6 = wxString_in_helper(obj5);
568 if (arg6 == NULL) SWIG_fail;
569 temp6 = True;
570 }
571 }
572 {
573 PyThreadState* __tstate = wxPyBeginAllowThreads();
574 result = (wxIEHtmlWin *)new wxIEHtmlWin(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
575
576 wxPyEndAllowThreads(__tstate);
577 if (PyErr_Occurred()) SWIG_fail;
578 }
579 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIEHtmlWin, 1);
580 {
581 if (temp6)
582 delete arg6;
583 }
584 return resultobj;
585 fail:
586 {
587 if (temp6)
588 delete arg6;
589 }
590 return NULL;
591 }
592
593
594 static PyObject *_wrap_IEHtmlWin_LoadUrl(PyObject *self, PyObject *args, PyObject *kwargs) {
595 PyObject *resultobj;
596 wxIEHtmlWin *arg1 = (wxIEHtmlWin *) 0 ;
597 wxString *arg2 = 0 ;
598 bool temp2 = False ;
599 PyObject * obj0 = 0 ;
600 PyObject * obj1 = 0 ;
601 char *kwnames[] = {
602 (char *) "self","arg2", NULL
603 };
604
605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IEHtmlWin_LoadUrl",kwnames,&obj0,&obj1)) goto fail;
606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIEHtmlWin,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
607 {
608 arg2 = wxString_in_helper(obj1);
609 if (arg2 == NULL) SWIG_fail;
610 temp2 = True;
611 }
612 {
613 PyThreadState* __tstate = wxPyBeginAllowThreads();
614 (arg1)->LoadUrl((wxString const &)*arg2);
615
616 wxPyEndAllowThreads(__tstate);
617 if (PyErr_Occurred()) SWIG_fail;
618 }
619 Py_INCREF(Py_None); resultobj = Py_None;
620 {
621 if (temp2)
622 delete arg2;
623 }
624 return resultobj;
625 fail:
626 {
627 if (temp2)
628 delete arg2;
629 }
630 return NULL;
631 }
632
633
634 static PyObject *_wrap_IEHtmlWin_LoadString(PyObject *self, PyObject *args, PyObject *kwargs) {
635 PyObject *resultobj;
636 wxIEHtmlWin *arg1 = (wxIEHtmlWin *) 0 ;
637 wxString arg2 ;
638 bool result;
639 PyObject * obj0 = 0 ;
640 PyObject * obj1 = 0 ;
641 char *kwnames[] = {
642 (char *) "self",(char *) "html", NULL
643 };
644
645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IEHtmlWin_LoadString",kwnames,&obj0,&obj1)) goto fail;
646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIEHtmlWin,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
647 {
648 wxString* sptr = wxString_in_helper(obj1);
649 if (sptr == NULL) SWIG_fail;
650 arg2 = *sptr;
651 delete sptr;
652 }
653 {
654 PyThreadState* __tstate = wxPyBeginAllowThreads();
655 result = (bool)(arg1)->LoadString(arg2);
656
657 wxPyEndAllowThreads(__tstate);
658 if (PyErr_Occurred()) SWIG_fail;
659 }
660 resultobj = PyInt_FromLong((long)result);
661 return resultobj;
662 fail:
663 return NULL;
664 }
665
666
667 static PyObject *_wrap_IEHtmlWin_LoadStream(PyObject *self, PyObject *args, PyObject *kwargs) {
668 PyObject *resultobj;
669 wxIEHtmlWin *arg1 = (wxIEHtmlWin *) 0 ;
670 wxInputStream *arg2 = (wxInputStream *) 0 ;
671 bool result;
672 wxPyInputStream *temp2 ;
673 bool created2 ;
674 PyObject * obj0 = 0 ;
675 PyObject * obj1 = 0 ;
676 char *kwnames[] = {
677 (char *) "self",(char *) "is", NULL
678 };
679
680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IEHtmlWin_LoadStream",kwnames,&obj0,&obj1)) goto fail;
681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIEHtmlWin,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
682 {
683 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
684 arg2 = temp2->m_wxis;
685 created2 = False;
686 } else {
687 PyErr_Clear(); // clear the failure of the wxPyConvert above
688 arg2 = wxPyCBInputStream_create(obj1, False);
689 if (arg2 == NULL) {
690 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
691 SWIG_fail;
692 }
693 created2 = True;
694 }
695 }
696 {
697 PyThreadState* __tstate = wxPyBeginAllowThreads();
698 result = (bool)(arg1)->LoadStream(arg2);
699
700 wxPyEndAllowThreads(__tstate);
701 if (PyErr_Occurred()) SWIG_fail;
702 }
703 resultobj = PyInt_FromLong((long)result);
704 {
705 if (created2)
706 delete arg2;
707 }
708 return resultobj;
709 fail:
710 {
711 if (created2)
712 delete arg2;
713 }
714 return NULL;
715 }
716
717
718 static PyObject *_wrap_IEHtmlWin_SetCharset(PyObject *self, PyObject *args, PyObject *kwargs) {
719 PyObject *resultobj;
720 wxIEHtmlWin *arg1 = (wxIEHtmlWin *) 0 ;
721 wxString arg2 ;
722 PyObject * obj0 = 0 ;
723 PyObject * obj1 = 0 ;
724 char *kwnames[] = {
725 (char *) "self",(char *) "charset", NULL
726 };
727
728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IEHtmlWin_SetCharset",kwnames,&obj0,&obj1)) goto fail;
729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIEHtmlWin,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
730 {
731 wxString* sptr = wxString_in_helper(obj1);
732 if (sptr == NULL) SWIG_fail;
733 arg2 = *sptr;
734 delete sptr;
735 }
736 {
737 PyThreadState* __tstate = wxPyBeginAllowThreads();
738 (arg1)->SetCharset(arg2);
739
740 wxPyEndAllowThreads(__tstate);
741 if (PyErr_Occurred()) SWIG_fail;
742 }
743 Py_INCREF(Py_None); resultobj = Py_None;
744 return resultobj;
745 fail:
746 return NULL;
747 }
748
749
750 static PyObject *_wrap_IEHtmlWin_SetEditMode(PyObject *self, PyObject *args, PyObject *kwargs) {
751 PyObject *resultobj;
752 wxIEHtmlWin *arg1 = (wxIEHtmlWin *) 0 ;
753 bool arg2 ;
754 PyObject * obj0 = 0 ;
755 PyObject * obj1 = 0 ;
756 char *kwnames[] = {
757 (char *) "self",(char *) "seton", NULL
758 };
759
760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IEHtmlWin_SetEditMode",kwnames,&obj0,&obj1)) goto fail;
761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIEHtmlWin,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
762 {
763 arg2 = (bool) SPyObj_AsBool(obj1);
764 if (PyErr_Occurred()) SWIG_fail;
765 }
766 {
767 PyThreadState* __tstate = wxPyBeginAllowThreads();
768 (arg1)->SetEditMode(arg2);
769
770 wxPyEndAllowThreads(__tstate);
771 if (PyErr_Occurred()) SWIG_fail;
772 }
773 Py_INCREF(Py_None); resultobj = Py_None;
774 return resultobj;
775 fail:
776 return NULL;
777 }
778
779
780 static PyObject *_wrap_IEHtmlWin_GetEditMode(PyObject *self, PyObject *args, PyObject *kwargs) {
781 PyObject *resultobj;
782 wxIEHtmlWin *arg1 = (wxIEHtmlWin *) 0 ;
783 bool result;
784 PyObject * obj0 = 0 ;
785 char *kwnames[] = {
786 (char *) "self", NULL
787 };
788
789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IEHtmlWin_GetEditMode",kwnames,&obj0)) goto fail;
790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIEHtmlWin,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
791 {
792 PyThreadState* __tstate = wxPyBeginAllowThreads();
793 result = (bool)(arg1)->GetEditMode();
794
795 wxPyEndAllowThreads(__tstate);
796 if (PyErr_Occurred()) SWIG_fail;
797 }
798 resultobj = PyInt_FromLong((long)result);
799 return resultobj;
800 fail:
801 return NULL;
802 }
803
804
805 static PyObject *_wrap_IEHtmlWin_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
806 PyObject *resultobj;
807 wxIEHtmlWin *arg1 = (wxIEHtmlWin *) 0 ;
808 bool arg2 = (bool) False ;
809 wxString result;
810 PyObject * obj0 = 0 ;
811 PyObject * obj1 = 0 ;
812 char *kwnames[] = {
813 (char *) "self",(char *) "asHTML", NULL
814 };
815
816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:IEHtmlWin_GetStringSelection",kwnames,&obj0,&obj1)) goto fail;
817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIEHtmlWin,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
818 if (obj1) {
819 {
820 arg2 = (bool) SPyObj_AsBool(obj1);
821 if (PyErr_Occurred()) SWIG_fail;
822 }
823 }
824 {
825 PyThreadState* __tstate = wxPyBeginAllowThreads();
826 result = (arg1)->GetStringSelection(arg2);
827
828 wxPyEndAllowThreads(__tstate);
829 if (PyErr_Occurred()) SWIG_fail;
830 }
831 {
832 #if wxUSE_UNICODE
833 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
834 #else
835 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
836 #endif
837 }
838 return resultobj;
839 fail:
840 return NULL;
841 }
842
843
844 static PyObject *_wrap_IEHtmlWin_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
845 PyObject *resultobj;
846 wxIEHtmlWin *arg1 = (wxIEHtmlWin *) 0 ;
847 bool arg2 = (bool) False ;
848 wxString result;
849 PyObject * obj0 = 0 ;
850 PyObject * obj1 = 0 ;
851 char *kwnames[] = {
852 (char *) "self",(char *) "asHTML", NULL
853 };
854
855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:IEHtmlWin_GetText",kwnames,&obj0,&obj1)) goto fail;
856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIEHtmlWin,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
857 if (obj1) {
858 {
859 arg2 = (bool) SPyObj_AsBool(obj1);
860 if (PyErr_Occurred()) SWIG_fail;
861 }
862 }
863 {
864 PyThreadState* __tstate = wxPyBeginAllowThreads();
865 result = (arg1)->GetText(arg2);
866
867 wxPyEndAllowThreads(__tstate);
868 if (PyErr_Occurred()) SWIG_fail;
869 }
870 {
871 #if wxUSE_UNICODE
872 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
873 #else
874 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
875 #endif
876 }
877 return resultobj;
878 fail:
879 return NULL;
880 }
881
882
883 static PyObject *_wrap_IEHtmlWin_GoBack(PyObject *self, PyObject *args, PyObject *kwargs) {
884 PyObject *resultobj;
885 wxIEHtmlWin *arg1 = (wxIEHtmlWin *) 0 ;
886 bool result;
887 PyObject * obj0 = 0 ;
888 char *kwnames[] = {
889 (char *) "self", NULL
890 };
891
892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IEHtmlWin_GoBack",kwnames,&obj0)) goto fail;
893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIEHtmlWin,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
894 {
895 PyThreadState* __tstate = wxPyBeginAllowThreads();
896 result = (bool)(arg1)->GoBack();
897
898 wxPyEndAllowThreads(__tstate);
899 if (PyErr_Occurred()) SWIG_fail;
900 }
901 resultobj = PyInt_FromLong((long)result);
902 return resultobj;
903 fail:
904 return NULL;
905 }
906
907
908 static PyObject *_wrap_IEHtmlWin_GoForward(PyObject *self, PyObject *args, PyObject *kwargs) {
909 PyObject *resultobj;
910 wxIEHtmlWin *arg1 = (wxIEHtmlWin *) 0 ;
911 bool result;
912 PyObject * obj0 = 0 ;
913 char *kwnames[] = {
914 (char *) "self", NULL
915 };
916
917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IEHtmlWin_GoForward",kwnames,&obj0)) goto fail;
918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIEHtmlWin,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
919 {
920 PyThreadState* __tstate = wxPyBeginAllowThreads();
921 result = (bool)(arg1)->GoForward();
922
923 wxPyEndAllowThreads(__tstate);
924 if (PyErr_Occurred()) SWIG_fail;
925 }
926 resultobj = PyInt_FromLong((long)result);
927 return resultobj;
928 fail:
929 return NULL;
930 }
931
932
933 static PyObject *_wrap_IEHtmlWin_GoHome(PyObject *self, PyObject *args, PyObject *kwargs) {
934 PyObject *resultobj;
935 wxIEHtmlWin *arg1 = (wxIEHtmlWin *) 0 ;
936 bool result;
937 PyObject * obj0 = 0 ;
938 char *kwnames[] = {
939 (char *) "self", NULL
940 };
941
942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IEHtmlWin_GoHome",kwnames,&obj0)) goto fail;
943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIEHtmlWin,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
944 {
945 PyThreadState* __tstate = wxPyBeginAllowThreads();
946 result = (bool)(arg1)->GoHome();
947
948 wxPyEndAllowThreads(__tstate);
949 if (PyErr_Occurred()) SWIG_fail;
950 }
951 resultobj = PyInt_FromLong((long)result);
952 return resultobj;
953 fail:
954 return NULL;
955 }
956
957
958 static PyObject *_wrap_IEHtmlWin_GoSearch(PyObject *self, PyObject *args, PyObject *kwargs) {
959 PyObject *resultobj;
960 wxIEHtmlWin *arg1 = (wxIEHtmlWin *) 0 ;
961 bool result;
962 PyObject * obj0 = 0 ;
963 char *kwnames[] = {
964 (char *) "self", NULL
965 };
966
967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IEHtmlWin_GoSearch",kwnames,&obj0)) goto fail;
968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIEHtmlWin,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
969 {
970 PyThreadState* __tstate = wxPyBeginAllowThreads();
971 result = (bool)(arg1)->GoSearch();
972
973 wxPyEndAllowThreads(__tstate);
974 if (PyErr_Occurred()) SWIG_fail;
975 }
976 resultobj = PyInt_FromLong((long)result);
977 return resultobj;
978 fail:
979 return NULL;
980 }
981
982
983 static PyObject *_wrap_IEHtmlWin_RefreshPage(PyObject *self, PyObject *args, PyObject *kwargs) {
984 PyObject *resultobj;
985 wxIEHtmlWin *arg1 = (wxIEHtmlWin *) 0 ;
986 int arg2 ;
987 bool result;
988 PyObject * obj0 = 0 ;
989 char *kwnames[] = {
990 (char *) "self",(char *) "level", NULL
991 };
992
993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:IEHtmlWin_RefreshPage",kwnames,&obj0,&arg2)) goto fail;
994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIEHtmlWin,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
995 {
996 PyThreadState* __tstate = wxPyBeginAllowThreads();
997 result = (bool)(arg1)->Refresh((wxIEHtmlRefreshLevel )arg2);
998
999 wxPyEndAllowThreads(__tstate);
1000 if (PyErr_Occurred()) SWIG_fail;
1001 }
1002 resultobj = PyInt_FromLong((long)result);
1003 return resultobj;
1004 fail:
1005 return NULL;
1006 }
1007
1008
1009 static PyObject *_wrap_IEHtmlWin_Stop(PyObject *self, PyObject *args, PyObject *kwargs) {
1010 PyObject *resultobj;
1011 wxIEHtmlWin *arg1 = (wxIEHtmlWin *) 0 ;
1012 bool result;
1013 PyObject * obj0 = 0 ;
1014 char *kwnames[] = {
1015 (char *) "self", NULL
1016 };
1017
1018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IEHtmlWin_Stop",kwnames,&obj0)) goto fail;
1019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIEHtmlWin,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1020 {
1021 PyThreadState* __tstate = wxPyBeginAllowThreads();
1022 result = (bool)(arg1)->Stop();
1023
1024 wxPyEndAllowThreads(__tstate);
1025 if (PyErr_Occurred()) SWIG_fail;
1026 }
1027 resultobj = PyInt_FromLong((long)result);
1028 return resultobj;
1029 fail:
1030 return NULL;
1031 }
1032
1033
1034 static PyObject * IEHtmlWin_swigregister(PyObject *self, PyObject *args) {
1035 PyObject *obj;
1036 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1037 SWIG_TypeClientData(SWIGTYPE_p_wxIEHtmlWin, obj);
1038 Py_INCREF(obj);
1039 return Py_BuildValue((char *)"");
1040 }
1041 static PyMethodDef SwigMethods[] = {
1042 { (char *)"new_MSHTMLEvent", (PyCFunction) _wrap_new_MSHTMLEvent, METH_VARARGS | METH_KEYWORDS },
1043 { (char *)"MSHTMLEvent_GetText1", (PyCFunction) _wrap_MSHTMLEvent_GetText1, METH_VARARGS | METH_KEYWORDS },
1044 { (char *)"MSHTMLEvent_GetLong1", (PyCFunction) _wrap_MSHTMLEvent_GetLong1, METH_VARARGS | METH_KEYWORDS },
1045 { (char *)"MSHTMLEvent_GetLong2", (PyCFunction) _wrap_MSHTMLEvent_GetLong2, METH_VARARGS | METH_KEYWORDS },
1046 { (char *)"MSHTMLEvent_swigregister", MSHTMLEvent_swigregister, METH_VARARGS },
1047 { (char *)"new_IEHtmlWin", (PyCFunction) _wrap_new_IEHtmlWin, METH_VARARGS | METH_KEYWORDS },
1048 { (char *)"IEHtmlWin_LoadUrl", (PyCFunction) _wrap_IEHtmlWin_LoadUrl, METH_VARARGS | METH_KEYWORDS },
1049 { (char *)"IEHtmlWin_LoadString", (PyCFunction) _wrap_IEHtmlWin_LoadString, METH_VARARGS | METH_KEYWORDS },
1050 { (char *)"IEHtmlWin_LoadStream", (PyCFunction) _wrap_IEHtmlWin_LoadStream, METH_VARARGS | METH_KEYWORDS },
1051 { (char *)"IEHtmlWin_SetCharset", (PyCFunction) _wrap_IEHtmlWin_SetCharset, METH_VARARGS | METH_KEYWORDS },
1052 { (char *)"IEHtmlWin_SetEditMode", (PyCFunction) _wrap_IEHtmlWin_SetEditMode, METH_VARARGS | METH_KEYWORDS },
1053 { (char *)"IEHtmlWin_GetEditMode", (PyCFunction) _wrap_IEHtmlWin_GetEditMode, METH_VARARGS | METH_KEYWORDS },
1054 { (char *)"IEHtmlWin_GetStringSelection", (PyCFunction) _wrap_IEHtmlWin_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
1055 { (char *)"IEHtmlWin_GetText", (PyCFunction) _wrap_IEHtmlWin_GetText, METH_VARARGS | METH_KEYWORDS },
1056 { (char *)"IEHtmlWin_GoBack", (PyCFunction) _wrap_IEHtmlWin_GoBack, METH_VARARGS | METH_KEYWORDS },
1057 { (char *)"IEHtmlWin_GoForward", (PyCFunction) _wrap_IEHtmlWin_GoForward, METH_VARARGS | METH_KEYWORDS },
1058 { (char *)"IEHtmlWin_GoHome", (PyCFunction) _wrap_IEHtmlWin_GoHome, METH_VARARGS | METH_KEYWORDS },
1059 { (char *)"IEHtmlWin_GoSearch", (PyCFunction) _wrap_IEHtmlWin_GoSearch, METH_VARARGS | METH_KEYWORDS },
1060 { (char *)"IEHtmlWin_RefreshPage", (PyCFunction) _wrap_IEHtmlWin_RefreshPage, METH_VARARGS | METH_KEYWORDS },
1061 { (char *)"IEHtmlWin_Stop", (PyCFunction) _wrap_IEHtmlWin_Stop, METH_VARARGS | METH_KEYWORDS },
1062 { (char *)"IEHtmlWin_swigregister", IEHtmlWin_swigregister, METH_VARARGS },
1063 { NULL, NULL }
1064 };
1065
1066
1067 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
1068
1069 static void *_p_wxControlTo_p_wxWindow(void *x) {
1070 return (void *)((wxWindow *) ((wxControl *) x));
1071 }
1072 static void *_p_wxIEHtmlWinTo_p_wxWindow(void *x) {
1073 return (void *)((wxWindow *) ((wxIEHtmlWin *) x));
1074 }
1075 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
1076 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
1077 }
1078 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
1079 return (void *)((wxWindow *) ((wxMenuBar *) x));
1080 }
1081 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
1082 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
1083 }
1084 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
1085 return (void *)((wxEvent *) ((wxMenuEvent *) x));
1086 }
1087 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
1088 return (void *)((wxEvent *) ((wxCloseEvent *) x));
1089 }
1090 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
1091 return (void *)((wxEvent *) ((wxMouseEvent *) x));
1092 }
1093 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
1094 return (void *)((wxEvent *) ((wxEraseEvent *) x));
1095 }
1096 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
1097 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
1098 }
1099 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
1100 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
1101 }
1102 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
1103 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
1104 }
1105 static void *_p_wxMSHTMLEventTo_p_wxEvent(void *x) {
1106 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxMSHTMLEvent *) x));
1107 }
1108 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
1109 return (void *)((wxEvent *) ((wxPyEvent *) x));
1110 }
1111 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
1112 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
1113 }
1114 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
1115 return (void *)((wxEvent *) ((wxIdleEvent *) x));
1116 }
1117 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
1118 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
1119 }
1120 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
1121 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
1122 }
1123 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
1124 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
1125 }
1126 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
1127 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
1128 }
1129 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
1130 return (void *)((wxEvent *) ((wxActivateEvent *) x));
1131 }
1132 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
1133 return (void *)((wxEvent *) ((wxSizeEvent *) x));
1134 }
1135 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
1136 return (void *)((wxEvent *) ((wxMoveEvent *) x));
1137 }
1138 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
1139 return (void *)((wxEvent *) ((wxPaintEvent *) x));
1140 }
1141 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
1142 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
1143 }
1144 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
1145 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
1146 }
1147 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
1148 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
1149 }
1150 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
1151 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
1152 }
1153 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
1154 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
1155 }
1156 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
1157 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
1158 }
1159 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
1160 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
1161 }
1162 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
1163 return (void *)((wxEvent *) ((wxFocusEvent *) x));
1164 }
1165 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
1166 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
1167 }
1168 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
1169 return (void *)((wxEvent *) ((wxShowEvent *) x));
1170 }
1171 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
1172 return (void *)((wxEvent *) ((wxCommandEvent *) x));
1173 }
1174 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
1175 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
1176 }
1177 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
1178 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
1179 }
1180 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
1181 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
1182 }
1183 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
1184 return (void *)((wxEvent *) ((wxKeyEvent *) x));
1185 }
1186 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
1187 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
1188 }
1189 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
1190 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
1191 }
1192 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
1193 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
1194 }
1195 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
1196 return (void *)((wxObject *) ((wxSizerItem *) x));
1197 }
1198 static void *_p_wxMSHTMLEventTo_p_wxObject(void *x) {
1199 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxMSHTMLEvent *) x));
1200 }
1201 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
1202 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
1203 }
1204 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
1205 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
1206 }
1207 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
1208 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
1209 }
1210 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
1211 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
1212 }
1213 static void *_p_wxSizerTo_p_wxObject(void *x) {
1214 return (void *)((wxObject *) ((wxSizer *) x));
1215 }
1216 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
1217 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
1218 }
1219 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
1220 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
1221 }
1222 static void *_p_wxEventTo_p_wxObject(void *x) {
1223 return (void *)((wxObject *) ((wxEvent *) x));
1224 }
1225 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
1226 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
1227 }
1228 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
1229 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
1230 }
1231 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
1232 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
1233 }
1234 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
1235 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
1236 }
1237 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
1238 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
1239 }
1240 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
1241 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
1242 }
1243 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
1244 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
1245 }
1246 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
1247 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
1248 }
1249 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
1250 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
1251 }
1252 static void *_p_wxControlTo_p_wxObject(void *x) {
1253 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
1254 }
1255 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
1256 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
1257 }
1258 static void *_p_wxFSFileTo_p_wxObject(void *x) {
1259 return (void *)((wxObject *) ((wxFSFile *) x));
1260 }
1261 static void *_p_wxIEHtmlWinTo_p_wxObject(void *x) {
1262 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxIEHtmlWin *) x));
1263 }
1264 static void *_p_wxPySizerTo_p_wxObject(void *x) {
1265 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
1266 }
1267 static void *_p_wxPyEventTo_p_wxObject(void *x) {
1268 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
1269 }
1270 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
1271 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
1272 }
1273 static void *_p_wxShowEventTo_p_wxObject(void *x) {
1274 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
1275 }
1276 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
1277 return (void *)((wxObject *) ((wxMenuItem *) x));
1278 }
1279 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
1280 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
1281 }
1282 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
1283 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
1284 }
1285 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
1286 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
1287 }
1288 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
1289 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
1290 }
1291 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
1292 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
1293 }
1294 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
1295 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
1296 }
1297 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
1298 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
1299 }
1300 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
1301 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
1302 }
1303 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
1304 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
1305 }
1306 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
1307 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
1308 }
1309 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
1310 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
1311 }
1312 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
1313 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
1314 }
1315 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
1316 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
1317 }
1318 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
1319 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
1320 }
1321 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
1322 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
1323 }
1324 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
1325 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
1326 }
1327 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
1328 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
1329 }
1330 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
1331 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
1332 }
1333 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
1334 return (void *)((wxObject *) ((wxImageHandler *) x));
1335 }
1336 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
1337 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
1338 }
1339 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
1340 return (void *)((wxObject *) ((wxEvtHandler *) x));
1341 }
1342 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
1343 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
1344 }
1345 static void *_p_wxImageTo_p_wxObject(void *x) {
1346 return (void *)((wxObject *) ((wxImage *) x));
1347 }
1348 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
1349 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
1350 }
1351 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
1352 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
1353 }
1354 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
1355 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
1356 }
1357 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
1358 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
1359 }
1360 static void *_p_wxWindowTo_p_wxObject(void *x) {
1361 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
1362 }
1363 static void *_p_wxMenuTo_p_wxObject(void *x) {
1364 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
1365 }
1366 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
1367 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
1368 }
1369 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
1370 return (void *)((wxObject *) ((wxFileSystem *) x));
1371 }
1372 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
1373 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
1374 }
1375 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
1376 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
1377 }
1378 static void *_p_wxPyAppTo_p_wxObject(void *x) {
1379 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
1380 }
1381 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
1382 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
1383 }
1384 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
1385 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
1386 }
1387 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
1388 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
1389 }
1390 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
1391 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
1392 }
1393 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
1394 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
1395 }
1396 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
1397 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
1398 }
1399 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
1400 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
1401 }
1402 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
1403 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
1404 }
1405 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
1406 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
1407 }
1408 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
1409 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
1410 }
1411 static void *_p_wxValidatorTo_p_wxObject(void *x) {
1412 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
1413 }
1414 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
1415 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
1416 }
1417 static void *_p_wxIEHtmlWinTo_p_wxEvtHandler(void *x) {
1418 return (void *)((wxEvtHandler *) (wxWindow *) ((wxIEHtmlWin *) x));
1419 }
1420 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
1421 return (void *)((wxEvtHandler *) ((wxWindow *) x));
1422 }
1423 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
1424 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
1425 }
1426 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
1427 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
1428 }
1429 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
1430 return (void *)((wxEvtHandler *) ((wxValidator *) x));
1431 }
1432 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
1433 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
1434 }
1435 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
1436 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
1437 }
1438 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
1439 return (void *)((wxEvtHandler *) ((wxMenu *) x));
1440 }
1441 static void *_p_wxMSHTMLEventTo_p_wxNotifyEvent(void *x) {
1442 return (void *)((wxNotifyEvent *) ((wxMSHTMLEvent *) x));
1443 }
1444 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
1445 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
1446 }
1447 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
1448 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
1449 }
1450 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
1451 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
1452 }
1453 static void *_p_wxMSHTMLEventTo_p_wxCommandEvent(void *x) {
1454 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxMSHTMLEvent *) x));
1455 }
1456 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
1457 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
1458 }
1459 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
1460 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
1461 }
1462 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
1463 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
1464 }
1465 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
1466 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
1467 }
1468 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
1469 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
1470 }
1471 static swig_type_info _swigt__p_wxMSHTMLEvent[] = {{"_p_wxMSHTMLEvent", 0, "wxMSHTMLEvent *", 0},{"_p_wxMSHTMLEvent"},{0}};
1472 static swig_type_info _swigt__p_wxIEHtmlWin[] = {{"_p_wxIEHtmlWin", 0, "wxIEHtmlWin *", 0},{"_p_wxIEHtmlWin"},{0}};
1473 static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow},{"_p_wxIEHtmlWin", _p_wxIEHtmlWinTo_p_wxWindow},{"_p_wxWindow"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow},{0}};
1474 static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent},{"_p_wxMSHTMLEvent", _p_wxMSHTMLEventTo_p_wxEvent},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent},{"_p_wxEvent"},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent},{0}};
1475 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxMSHTMLEvent", _p_wxMSHTMLEventTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxIEHtmlWin", _p_wxIEHtmlWinTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{0}};
1476 static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler},{"_p_wxIEHtmlWin", _p_wxIEHtmlWinTo_p_wxEvtHandler},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler},{"_p_wxEvtHandler"},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler},{0}};
1477 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
1478 static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxMSHTMLEvent", _p_wxMSHTMLEventTo_p_wxNotifyEvent},{"_p_wxNotifyEvent"},{0}};
1479 static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent},{"_p_wxMSHTMLEvent", _p_wxMSHTMLEventTo_p_wxCommandEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent},{"_p_wxCommandEvent"},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent},{0}};
1480 static swig_type_info _swigt__p_wxInputStream[] = {{"_p_wxInputStream", 0, "wxInputStream *", 0},{"_p_wxInputStream"},{0}};
1481
1482 static swig_type_info *swig_types_initial[] = {
1483 _swigt__p_wxMSHTMLEvent,
1484 _swigt__p_wxIEHtmlWin,
1485 _swigt__p_wxWindow,
1486 _swigt__p_wxEvent,
1487 _swigt__p_wxObject,
1488 _swigt__p_wxEvtHandler,
1489 _swigt__p_wxString,
1490 _swigt__p_wxNotifyEvent,
1491 _swigt__p_wxCommandEvent,
1492 _swigt__p_wxInputStream,
1493 0
1494 };
1495
1496
1497 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
1498
1499 static swig_const_info swig_const_table[] = {
1500 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_MSHTML_BEFORENAVIGATE2", (long) wxEVT_COMMAND_MSHTML_BEFORENAVIGATE2, 0, 0, 0},
1501 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_MSHTML_NEWWINDOW2", (long) wxEVT_COMMAND_MSHTML_NEWWINDOW2, 0, 0, 0},
1502 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_MSHTML_DOCUMENTCOMPLETE", (long) wxEVT_COMMAND_MSHTML_DOCUMENTCOMPLETE, 0, 0, 0},
1503 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_MSHTML_PROGRESSCHANGE", (long) wxEVT_COMMAND_MSHTML_PROGRESSCHANGE, 0, 0, 0},
1504 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_MSHTML_STATUSTEXTCHANGE", (long) wxEVT_COMMAND_MSHTML_STATUSTEXTCHANGE, 0, 0, 0},
1505 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_MSHTML_TITLECHANGE", (long) wxEVT_COMMAND_MSHTML_TITLECHANGE, 0, 0, 0},
1506 { SWIG_PY_INT, (char *)"IEHTML_REFRESH_NORMAL", (long) wxIEHTML_REFRESH_NORMAL, 0, 0, 0},
1507 { SWIG_PY_INT, (char *)"IEHTML_REFRESH_IFEXPIRED", (long) wxIEHTML_REFRESH_IFEXPIRED, 0, 0, 0},
1508 { SWIG_PY_INT, (char *)"IEHTML_REFRESH_CONTINUE", (long) wxIEHTML_REFRESH_CONTINUE, 0, 0, 0},
1509 { SWIG_PY_INT, (char *)"IEHTML_REFRESH_COMPLETELY", (long) wxIEHTML_REFRESH_COMPLETELY, 0, 0, 0},
1510 {0}};
1511
1512 #ifdef __cplusplus
1513 }
1514 #endif
1515
1516 #ifdef __cplusplus
1517 extern "C"
1518 #endif
1519 SWIGEXPORT(void) SWIG_init(void) {
1520 static PyObject *SWIG_globals = 0;
1521 static int typeinit = 0;
1522 PyObject *m, *d;
1523 int i;
1524 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
1525 m = Py_InitModule((char *) SWIG_name, SwigMethods);
1526 d = PyModule_GetDict(m);
1527
1528 if (!typeinit) {
1529 for (i = 0; swig_types_initial[i]; i++) {
1530 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
1531 }
1532 typeinit = 1;
1533 }
1534 SWIG_InstallConstants(d,swig_const_table);
1535
1536 }
1537