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