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