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