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