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