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