]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/webkit_wrap.cpp
Warning fix to avoid typecasting with OW elsewhere.
[wxWidgets.git] / wxPython / src / gtk / webkit_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_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_wxControl swig_types[0]
212 #define SWIGTYPE_p_wxWebKitCtrl swig_types[1]
213 #define SWIGTYPE_p_wxWindow swig_types[2]
214 #define SWIGTYPE_p_wxEvtHandler swig_types[3]
215 #define SWIGTYPE_p_wxObject swig_types[4]
216 #define SWIGTYPE_p_char swig_types[5]
217 #define SWIGTYPE_p_wxValidator swig_types[6]
218 static swig_type_info *swig_types[8];
219
220 /* -------- TYPES TABLE (END) -------- */
221
222
223 /*-----------------------------------------------
224 @(target):= _webkit.so
225 ------------------------------------------------*/
226 #define SWIG_init init_webkit
227
228 #define SWIG_name "_webkit"
229
230 /* Auxiliar swig macros that appear in the header */
231
232 #define SWIG_OLDOBJ 1
233 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
234 #define SWIG_PYSTR SWIG_NEWOBJ + 1
235
236 #ifdef __cplusplus
237 #define SWIGSTATICINLINE(a) static inline a
238 #define SWIGSTATIC(a) static a
239 #define swig_new_array(size,Type) (new Type[(size)])
240 #define swig_delete(cptr) delete cptr
241 #define swig_delete_array(cptr) delete[] cptr
242 #define swig_const_cast(a,Type) const_cast<Type >(a)
243 #define swig_static_cast(a,Type) static_cast<Type >(a)
244 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
245 #define swig_new_copy(ptr,Type) (new Type(*ptr))
246 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
247
248 #else /* C case */
249
250 #define SWIGSTATICINLINE(a) static a
251 #define SWIGSTATIC(a) static a
252 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
253 #define swig_delete(cptr) free((char*)cptr)
254 #define swig_delete_array(cptr) free((char*)cptr)
255 #define swig_const_cast(a,Type) (Type)(a)
256 #define swig_static_cast(a,Type) (Type)(a)
257 #define swig_reinterpret_cast(a,Type) (Type)(a)
258 #define swig_numeric_cast(a,Type) (Type)(a)
259 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
260
261 #endif /* __cplusplus */
262
263
264 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
265 #define SWIG_From_signed_SS_char PyInt_FromLong
266 /*@@*/
267 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
268 #define SWIG_From_unsigned_SS_char PyInt_FromLong
269 /*@@*/
270 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
271 #define SWIG_From_short PyInt_FromLong
272 /*@@*/
273 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
274 #define SWIG_From_unsigned_SS_short PyInt_FromLong
275 /*@@*/
276 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
277 #define SWIG_From_int PyInt_FromLong
278 /*@@*/
279 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
280 #define SWIG_From_long PyInt_FromLong
281 /*@@*/
282 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
283 #define SWIG_From_float PyFloat_FromDouble
284 /*@@*/
285 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
286 #define SWIG_From_double PyFloat_FromDouble
287 /*@@*/
288
289
290
291 #include "wx/wxPython/wxPython.h"
292 #include "wx/wxPython/pyclasses.h"
293 #include "wx/wxPython/pyistream.h"
294
295 #ifdef __WXMAC__ // avoid a bug in Carbon headers
296 #define scalb scalbn
297 #endif
298
299 #if wxUSE_WEBKIT
300 #include "wx/html/webkit.h"
301 #endif
302
303 static const wxString wxPyEmptyString(wxEmptyString);
304 static const wxString wxPyWebKitNameStr(wxT("webkitctrl"));
305
306 #if !wxUSE_WEBKIT
307 // a dummy class for ports that don't have wxWebKitCtrl
308 class wxWebKitCtrl : public wxControl
309 {
310 public:
311 wxWebKitCtrl(wxWindow *parent,
312 wxWindowID winID,
313 const wxString& strURL,
314 const wxPoint& pos = wxDefaultPosition,
315 const wxSize& size = wxDefaultSize, long style = 0,
316 const wxValidator& validator = wxDefaultValidator,
317 const wxString& name = wxPyWebKitNameStr)
318 { wxPyRaiseNotImplemented(); }
319
320 wxWebKitCtrl() { wxPyRaiseNotImplemented(); }
321
322 bool Create(wxWindow *parent,
323 wxWindowID winID,
324 const wxString& strURL,
325 const wxPoint& pos = wxDefaultPosition,
326 const wxSize& size = wxDefaultSize, long style = 0,
327 const wxValidator& validator = wxDefaultValidator,
328 const wxString& name = wxPyWebKitNameStr)
329 { return false; }
330
331 void LoadURL(const wxString &url) {}
332
333 bool CanGoBack() { return false; }
334 bool CanGoForward() { return false; }
335 bool GoBack() { return false; }
336 bool GoForward() { return false; }
337 void Reload() {}
338 void Stop() {}
339 bool CanGetPageSource() { return false; }
340 wxString GetPageSource() { return wxEmptyString; }
341 void SetPageSource(wxString& source, const wxString& baseUrl = wxEmptyString) {}
342 };
343 #endif
344
345
346 #include <limits.h>
347
348
349 SWIGSTATICINLINE(int)
350 SWIG_CheckLongInRange(long value, long min_value, long max_value,
351 const char *errmsg)
352 {
353 if (value < min_value) {
354 if (errmsg) {
355 PyErr_Format(PyExc_OverflowError,
356 "value %ld is less than '%s' minimum %ld",
357 value, errmsg, min_value);
358 }
359 return 0;
360 } else if (value > max_value) {
361 if (errmsg) {
362 PyErr_Format(PyExc_OverflowError,
363 "value %ld is greater than '%s' maximum %ld",
364 value, errmsg, max_value);
365 }
366 return 0;
367 }
368 return 1;
369 }
370
371
372 // See my_fragments.i
373 SWIGSTATICINLINE(int)
374 SWIG_AsVal_long(PyObject* obj, long* val)
375 {
376 if (PyNumber_Check(obj)) {
377 if (val) *val = PyInt_AsLong(obj);
378 return 1;
379 }
380 else {
381 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
382 obj->ob_type->tp_name);
383 PyErr_SetObject(PyExc_TypeError, errmsg);
384 Py_DECREF(errmsg);
385 }
386 return 0;
387 }
388
389
390 #if INT_MAX != LONG_MAX
391 SWIGSTATICINLINE(int)
392 SWIG_AsVal_int(PyObject *obj, int *val)
393 {
394 const char* errmsg = val ? "int" : 0;
395 long v;
396 if (SWIG_AsVal_long(obj, &v)) {
397 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
398 if (val) *val = swig_numeric_cast(v, int);
399 return 1;
400 } else {
401 return 0;
402 }
403 } else {
404 PyErr_Clear();
405 }
406 if (val) {
407 PyErr_SetString(PyExc_TypeError, "an int is expected");
408 }
409 return 0;
410 }
411 #else
412 SWIGSTATICINLINE(int)
413 SWIG_AsVal_int(PyObject *obj, int *val)
414 {
415 return SWIG_AsVal_long(obj,(long*)val);
416 }
417 #endif
418
419
420 SWIGSTATICINLINE(int)
421 SWIG_As_int(PyObject* obj)
422 {
423 int v;
424 if (!SWIG_AsVal_int(obj, &v)) {
425 /*
426 this is needed to make valgrind/purify happier. the other
427 solution is throw an exception, but since this code should work
428 with plain C ....
429 */
430 memset((void*)&v, 0, sizeof(int));
431 }
432 return v;
433 }
434
435
436 SWIGSTATICINLINE(long)
437 SWIG_As_long(PyObject* obj)
438 {
439 long v;
440 if (!SWIG_AsVal_long(obj, &v)) {
441 /*
442 this is needed to make valgrind/purify happier. the other
443 solution is throw an exception, but since this code should work
444 with plain C ....
445 */
446 memset((void*)&v, 0, sizeof(long));
447 }
448 return v;
449 }
450
451
452 SWIGSTATICINLINE(int)
453 SWIG_Check_int(PyObject* obj)
454 {
455 return SWIG_AsVal_int(obj, (int*)0);
456 }
457
458
459 SWIGSTATICINLINE(int)
460 SWIG_Check_long(PyObject* obj)
461 {
462 return SWIG_AsVal_long(obj, (long*)0);
463 }
464
465 #ifdef __cplusplus
466 extern "C" {
467 #endif
468 static int _wrap_WebKitNameStr_set(PyObject *) {
469 PyErr_SetString(PyExc_TypeError,"Variable WebKitNameStr is read-only.");
470 return 1;
471 }
472
473
474 static PyObject *_wrap_WebKitNameStr_get() {
475 PyObject *pyobj;
476
477 {
478 #if wxUSE_UNICODE
479 pyobj = PyUnicode_FromWideChar((&wxPyWebKitNameStr)->c_str(), (&wxPyWebKitNameStr)->Len());
480 #else
481 pyobj = PyString_FromStringAndSize((&wxPyWebKitNameStr)->c_str(), (&wxPyWebKitNameStr)->Len());
482 #endif
483 }
484 return pyobj;
485 }
486
487
488 static PyObject *_wrap_new_WebKitCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
489 PyObject *resultobj;
490 wxWindow *arg1 = (wxWindow *) 0 ;
491 int arg2 ;
492 wxString *arg3 = 0 ;
493 wxPoint const &arg4_defvalue = wxDefaultPosition ;
494 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
495 wxSize const &arg5_defvalue = wxDefaultSize ;
496 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
497 long arg6 = (long) 0 ;
498 wxValidator const &arg7_defvalue = wxDefaultValidator ;
499 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
500 wxString const &arg8_defvalue = wxPyWebKitNameStr ;
501 wxString *arg8 = (wxString *) &arg8_defvalue ;
502 wxWebKitCtrl *result;
503 bool temp3 = false ;
504 wxPoint temp4 ;
505 wxSize temp5 ;
506 bool temp8 = false ;
507 PyObject * obj0 = 0 ;
508 PyObject * obj1 = 0 ;
509 PyObject * obj2 = 0 ;
510 PyObject * obj3 = 0 ;
511 PyObject * obj4 = 0 ;
512 PyObject * obj5 = 0 ;
513 PyObject * obj6 = 0 ;
514 PyObject * obj7 = 0 ;
515 char *kwnames[] = {
516 (char *) "parent",(char *) "winID",(char *) "strURL",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
517 };
518
519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_WebKitCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
522 arg2 = (int)SWIG_As_int(obj1);
523 if (PyErr_Occurred()) SWIG_fail;
524 {
525 arg3 = wxString_in_helper(obj2);
526 if (arg3 == NULL) SWIG_fail;
527 temp3 = true;
528 }
529 if (obj3) {
530 {
531 arg4 = &temp4;
532 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
533 }
534 }
535 if (obj4) {
536 {
537 arg5 = &temp5;
538 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
539 }
540 }
541 if (obj5) {
542 arg6 = (long)SWIG_As_long(obj5);
543 if (PyErr_Occurred()) SWIG_fail;
544 }
545 if (obj6) {
546 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
547 SWIG_POINTER_EXCEPTION | 0)) == -1)
548 SWIG_fail;
549 if (arg7 == NULL) {
550 PyErr_SetString(PyExc_TypeError,"null reference");
551 SWIG_fail;
552 }
553 }
554 if (obj7) {
555 {
556 arg8 = wxString_in_helper(obj7);
557 if (arg8 == NULL) SWIG_fail;
558 temp8 = true;
559 }
560 }
561 {
562 PyThreadState* __tstate = wxPyBeginAllowThreads();
563 result = (wxWebKitCtrl *)new wxWebKitCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
564
565 wxPyEndAllowThreads(__tstate);
566 if (PyErr_Occurred()) SWIG_fail;
567 }
568 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWebKitCtrl, 1);
569 {
570 if (temp3)
571 delete arg3;
572 }
573 {
574 if (temp8)
575 delete arg8;
576 }
577 return resultobj;
578 fail:
579 {
580 if (temp3)
581 delete arg3;
582 }
583 {
584 if (temp8)
585 delete arg8;
586 }
587 return NULL;
588 }
589
590
591 static PyObject *_wrap_new_PreWebKitCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
592 PyObject *resultobj;
593 wxWebKitCtrl *result;
594 char *kwnames[] = {
595 NULL
596 };
597
598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreWebKitCtrl",kwnames)) goto fail;
599 {
600 PyThreadState* __tstate = wxPyBeginAllowThreads();
601 result = (wxWebKitCtrl *)new wxWebKitCtrl();
602
603 wxPyEndAllowThreads(__tstate);
604 if (PyErr_Occurred()) SWIG_fail;
605 }
606 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWebKitCtrl, 1);
607 return resultobj;
608 fail:
609 return NULL;
610 }
611
612
613 static PyObject *_wrap_WebKitCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
614 PyObject *resultobj;
615 wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ;
616 wxWindow *arg2 = (wxWindow *) 0 ;
617 int arg3 ;
618 wxString *arg4 = 0 ;
619 wxPoint const &arg5_defvalue = wxDefaultPosition ;
620 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
621 wxSize const &arg6_defvalue = wxDefaultSize ;
622 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
623 long arg7 = (long) 0 ;
624 wxValidator const &arg8_defvalue = wxDefaultValidator ;
625 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
626 wxString const &arg9_defvalue = wxPyWebKitNameStr ;
627 wxString *arg9 = (wxString *) &arg9_defvalue ;
628 bool result;
629 bool temp4 = false ;
630 wxPoint temp5 ;
631 wxSize temp6 ;
632 bool temp9 = false ;
633 PyObject * obj0 = 0 ;
634 PyObject * obj1 = 0 ;
635 PyObject * obj2 = 0 ;
636 PyObject * obj3 = 0 ;
637 PyObject * obj4 = 0 ;
638 PyObject * obj5 = 0 ;
639 PyObject * obj6 = 0 ;
640 PyObject * obj7 = 0 ;
641 PyObject * obj8 = 0 ;
642 char *kwnames[] = {
643 (char *) "self",(char *) "parent",(char *) "winID",(char *) "strURL",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
644 };
645
646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:WebKitCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitCtrl,
648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
649 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
651 arg3 = (int)SWIG_As_int(obj2);
652 if (PyErr_Occurred()) SWIG_fail;
653 {
654 arg4 = wxString_in_helper(obj3);
655 if (arg4 == NULL) SWIG_fail;
656 temp4 = true;
657 }
658 if (obj4) {
659 {
660 arg5 = &temp5;
661 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
662 }
663 }
664 if (obj5) {
665 {
666 arg6 = &temp6;
667 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
668 }
669 }
670 if (obj6) {
671 arg7 = (long)SWIG_As_long(obj6);
672 if (PyErr_Occurred()) SWIG_fail;
673 }
674 if (obj7) {
675 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
676 SWIG_POINTER_EXCEPTION | 0)) == -1)
677 SWIG_fail;
678 if (arg8 == NULL) {
679 PyErr_SetString(PyExc_TypeError,"null reference");
680 SWIG_fail;
681 }
682 }
683 if (obj8) {
684 {
685 arg9 = wxString_in_helper(obj8);
686 if (arg9 == NULL) SWIG_fail;
687 temp9 = true;
688 }
689 }
690 {
691 PyThreadState* __tstate = wxPyBeginAllowThreads();
692 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
693
694 wxPyEndAllowThreads(__tstate);
695 if (PyErr_Occurred()) SWIG_fail;
696 }
697 {
698 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
699 }
700 {
701 if (temp4)
702 delete arg4;
703 }
704 {
705 if (temp9)
706 delete arg9;
707 }
708 return resultobj;
709 fail:
710 {
711 if (temp4)
712 delete arg4;
713 }
714 {
715 if (temp9)
716 delete arg9;
717 }
718 return NULL;
719 }
720
721
722 static PyObject *_wrap_WebKitCtrl_LoadURL(PyObject *, PyObject *args, PyObject *kwargs) {
723 PyObject *resultobj;
724 wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ;
725 wxString *arg2 = 0 ;
726 bool temp2 = false ;
727 PyObject * obj0 = 0 ;
728 PyObject * obj1 = 0 ;
729 char *kwnames[] = {
730 (char *) "self",(char *) "url", NULL
731 };
732
733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:WebKitCtrl_LoadURL",kwnames,&obj0,&obj1)) goto fail;
734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitCtrl,
735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
736 {
737 arg2 = wxString_in_helper(obj1);
738 if (arg2 == NULL) SWIG_fail;
739 temp2 = true;
740 }
741 {
742 PyThreadState* __tstate = wxPyBeginAllowThreads();
743 (arg1)->LoadURL((wxString const &)*arg2);
744
745 wxPyEndAllowThreads(__tstate);
746 if (PyErr_Occurred()) SWIG_fail;
747 }
748 Py_INCREF(Py_None); resultobj = Py_None;
749 {
750 if (temp2)
751 delete arg2;
752 }
753 return resultobj;
754 fail:
755 {
756 if (temp2)
757 delete arg2;
758 }
759 return NULL;
760 }
761
762
763 static PyObject *_wrap_WebKitCtrl_CanGoBack(PyObject *, PyObject *args, PyObject *kwargs) {
764 PyObject *resultobj;
765 wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ;
766 bool result;
767 PyObject * obj0 = 0 ;
768 char *kwnames[] = {
769 (char *) "self", NULL
770 };
771
772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WebKitCtrl_CanGoBack",kwnames,&obj0)) goto fail;
773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitCtrl,
774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
775 {
776 PyThreadState* __tstate = wxPyBeginAllowThreads();
777 result = (bool)(arg1)->CanGoBack();
778
779 wxPyEndAllowThreads(__tstate);
780 if (PyErr_Occurred()) SWIG_fail;
781 }
782 {
783 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
784 }
785 return resultobj;
786 fail:
787 return NULL;
788 }
789
790
791 static PyObject *_wrap_WebKitCtrl_CanGoForward(PyObject *, PyObject *args, PyObject *kwargs) {
792 PyObject *resultobj;
793 wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ;
794 bool result;
795 PyObject * obj0 = 0 ;
796 char *kwnames[] = {
797 (char *) "self", NULL
798 };
799
800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WebKitCtrl_CanGoForward",kwnames,&obj0)) goto fail;
801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitCtrl,
802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
803 {
804 PyThreadState* __tstate = wxPyBeginAllowThreads();
805 result = (bool)(arg1)->CanGoForward();
806
807 wxPyEndAllowThreads(__tstate);
808 if (PyErr_Occurred()) SWIG_fail;
809 }
810 {
811 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
812 }
813 return resultobj;
814 fail:
815 return NULL;
816 }
817
818
819 static PyObject *_wrap_WebKitCtrl_GoBack(PyObject *, PyObject *args, PyObject *kwargs) {
820 PyObject *resultobj;
821 wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ;
822 bool result;
823 PyObject * obj0 = 0 ;
824 char *kwnames[] = {
825 (char *) "self", NULL
826 };
827
828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WebKitCtrl_GoBack",kwnames,&obj0)) goto fail;
829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitCtrl,
830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
831 {
832 PyThreadState* __tstate = wxPyBeginAllowThreads();
833 result = (bool)(arg1)->GoBack();
834
835 wxPyEndAllowThreads(__tstate);
836 if (PyErr_Occurred()) SWIG_fail;
837 }
838 {
839 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
840 }
841 return resultobj;
842 fail:
843 return NULL;
844 }
845
846
847 static PyObject *_wrap_WebKitCtrl_GoForward(PyObject *, PyObject *args, PyObject *kwargs) {
848 PyObject *resultobj;
849 wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ;
850 bool result;
851 PyObject * obj0 = 0 ;
852 char *kwnames[] = {
853 (char *) "self", NULL
854 };
855
856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WebKitCtrl_GoForward",kwnames,&obj0)) goto fail;
857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitCtrl,
858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
859 {
860 PyThreadState* __tstate = wxPyBeginAllowThreads();
861 result = (bool)(arg1)->GoForward();
862
863 wxPyEndAllowThreads(__tstate);
864 if (PyErr_Occurred()) SWIG_fail;
865 }
866 {
867 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
868 }
869 return resultobj;
870 fail:
871 return NULL;
872 }
873
874
875 static PyObject *_wrap_WebKitCtrl_Reload(PyObject *, PyObject *args, PyObject *kwargs) {
876 PyObject *resultobj;
877 wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ;
878 PyObject * obj0 = 0 ;
879 char *kwnames[] = {
880 (char *) "self", NULL
881 };
882
883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WebKitCtrl_Reload",kwnames,&obj0)) goto fail;
884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitCtrl,
885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
886 {
887 PyThreadState* __tstate = wxPyBeginAllowThreads();
888 (arg1)->Reload();
889
890 wxPyEndAllowThreads(__tstate);
891 if (PyErr_Occurred()) SWIG_fail;
892 }
893 Py_INCREF(Py_None); resultobj = Py_None;
894 return resultobj;
895 fail:
896 return NULL;
897 }
898
899
900 static PyObject *_wrap_WebKitCtrl_Stop(PyObject *, PyObject *args, PyObject *kwargs) {
901 PyObject *resultobj;
902 wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ;
903 PyObject * obj0 = 0 ;
904 char *kwnames[] = {
905 (char *) "self", NULL
906 };
907
908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WebKitCtrl_Stop",kwnames,&obj0)) goto fail;
909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitCtrl,
910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
911 {
912 PyThreadState* __tstate = wxPyBeginAllowThreads();
913 (arg1)->Stop();
914
915 wxPyEndAllowThreads(__tstate);
916 if (PyErr_Occurred()) SWIG_fail;
917 }
918 Py_INCREF(Py_None); resultobj = Py_None;
919 return resultobj;
920 fail:
921 return NULL;
922 }
923
924
925 static PyObject *_wrap_WebKitCtrl_CanGetPageSource(PyObject *, PyObject *args, PyObject *kwargs) {
926 PyObject *resultobj;
927 wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ;
928 bool result;
929 PyObject * obj0 = 0 ;
930 char *kwnames[] = {
931 (char *) "self", NULL
932 };
933
934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WebKitCtrl_CanGetPageSource",kwnames,&obj0)) goto fail;
935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitCtrl,
936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
937 {
938 PyThreadState* __tstate = wxPyBeginAllowThreads();
939 result = (bool)(arg1)->CanGetPageSource();
940
941 wxPyEndAllowThreads(__tstate);
942 if (PyErr_Occurred()) SWIG_fail;
943 }
944 {
945 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
946 }
947 return resultobj;
948 fail:
949 return NULL;
950 }
951
952
953 static PyObject *_wrap_WebKitCtrl_GetPageSource(PyObject *, PyObject *args, PyObject *kwargs) {
954 PyObject *resultobj;
955 wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ;
956 wxString result;
957 PyObject * obj0 = 0 ;
958 char *kwnames[] = {
959 (char *) "self", NULL
960 };
961
962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WebKitCtrl_GetPageSource",kwnames,&obj0)) goto fail;
963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitCtrl,
964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
965 {
966 PyThreadState* __tstate = wxPyBeginAllowThreads();
967 result = (arg1)->GetPageSource();
968
969 wxPyEndAllowThreads(__tstate);
970 if (PyErr_Occurred()) SWIG_fail;
971 }
972 {
973 #if wxUSE_UNICODE
974 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
975 #else
976 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
977 #endif
978 }
979 return resultobj;
980 fail:
981 return NULL;
982 }
983
984
985 static PyObject *_wrap_WebKitCtrl_SetPageSource(PyObject *, PyObject *args, PyObject *kwargs) {
986 PyObject *resultobj;
987 wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ;
988 wxString *arg2 = 0 ;
989 wxString const &arg3_defvalue = wxPyEmptyString ;
990 wxString *arg3 = (wxString *) &arg3_defvalue ;
991 bool temp2 = false ;
992 bool temp3 = false ;
993 PyObject * obj0 = 0 ;
994 PyObject * obj1 = 0 ;
995 PyObject * obj2 = 0 ;
996 char *kwnames[] = {
997 (char *) "self",(char *) "source",(char *) "baseUrl", NULL
998 };
999
1000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:WebKitCtrl_SetPageSource",kwnames,&obj0,&obj1,&obj2)) goto fail;
1001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitCtrl,
1002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1003 {
1004 arg2 = wxString_in_helper(obj1);
1005 if (arg2 == NULL) SWIG_fail;
1006 temp2 = true;
1007 }
1008 if (obj2) {
1009 {
1010 arg3 = wxString_in_helper(obj2);
1011 if (arg3 == NULL) SWIG_fail;
1012 temp3 = true;
1013 }
1014 }
1015 {
1016 PyThreadState* __tstate = wxPyBeginAllowThreads();
1017 (arg1)->SetPageSource(*arg2,(wxString const &)*arg3);
1018
1019 wxPyEndAllowThreads(__tstate);
1020 if (PyErr_Occurred()) SWIG_fail;
1021 }
1022 Py_INCREF(Py_None); resultobj = Py_None;
1023 {
1024 if (temp2)
1025 delete arg2;
1026 }
1027 {
1028 if (temp3)
1029 delete arg3;
1030 }
1031 return resultobj;
1032 fail:
1033 {
1034 if (temp2)
1035 delete arg2;
1036 }
1037 {
1038 if (temp3)
1039 delete arg3;
1040 }
1041 return NULL;
1042 }
1043
1044
1045 static PyObject * WebKitCtrl_swigregister(PyObject *, PyObject *args) {
1046 PyObject *obj;
1047 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1048 SWIG_TypeClientData(SWIGTYPE_p_wxWebKitCtrl, obj);
1049 Py_INCREF(obj);
1050 return Py_BuildValue((char *)"");
1051 }
1052 static PyMethodDef SwigMethods[] = {
1053 { (char *)"new_WebKitCtrl", (PyCFunction) _wrap_new_WebKitCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
1054 { (char *)"new_PreWebKitCtrl", (PyCFunction) _wrap_new_PreWebKitCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
1055 { (char *)"WebKitCtrl_Create", (PyCFunction) _wrap_WebKitCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
1056 { (char *)"WebKitCtrl_LoadURL", (PyCFunction) _wrap_WebKitCtrl_LoadURL, METH_VARARGS | METH_KEYWORDS, NULL },
1057 { (char *)"WebKitCtrl_CanGoBack", (PyCFunction) _wrap_WebKitCtrl_CanGoBack, METH_VARARGS | METH_KEYWORDS, NULL },
1058 { (char *)"WebKitCtrl_CanGoForward", (PyCFunction) _wrap_WebKitCtrl_CanGoForward, METH_VARARGS | METH_KEYWORDS, NULL },
1059 { (char *)"WebKitCtrl_GoBack", (PyCFunction) _wrap_WebKitCtrl_GoBack, METH_VARARGS | METH_KEYWORDS, NULL },
1060 { (char *)"WebKitCtrl_GoForward", (PyCFunction) _wrap_WebKitCtrl_GoForward, METH_VARARGS | METH_KEYWORDS, NULL },
1061 { (char *)"WebKitCtrl_Reload", (PyCFunction) _wrap_WebKitCtrl_Reload, METH_VARARGS | METH_KEYWORDS, NULL },
1062 { (char *)"WebKitCtrl_Stop", (PyCFunction) _wrap_WebKitCtrl_Stop, METH_VARARGS | METH_KEYWORDS, NULL },
1063 { (char *)"WebKitCtrl_CanGetPageSource", (PyCFunction) _wrap_WebKitCtrl_CanGetPageSource, METH_VARARGS | METH_KEYWORDS, NULL },
1064 { (char *)"WebKitCtrl_GetPageSource", (PyCFunction) _wrap_WebKitCtrl_GetPageSource, METH_VARARGS | METH_KEYWORDS, NULL },
1065 { (char *)"WebKitCtrl_SetPageSource", (PyCFunction) _wrap_WebKitCtrl_SetPageSource, METH_VARARGS | METH_KEYWORDS, NULL },
1066 { (char *)"WebKitCtrl_swigregister", WebKitCtrl_swigregister, METH_VARARGS, NULL },
1067 { NULL, NULL, 0, NULL }
1068 };
1069
1070
1071 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
1072
1073 static void *_p_wxWebKitCtrlTo_p_wxControl(void *x) {
1074 return (void *)((wxControl *) ((wxWebKitCtrl *) x));
1075 }
1076 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
1077 return (void *)((wxControl *) ((wxControlWithItems *) x));
1078 }
1079 static void *_p_wxControlTo_p_wxWindow(void *x) {
1080 return (void *)((wxWindow *) ((wxControl *) x));
1081 }
1082 static void *_p_wxWebKitCtrlTo_p_wxWindow(void *x) {
1083 return (void *)((wxWindow *) (wxControl *) ((wxWebKitCtrl *) x));
1084 }
1085 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
1086 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
1087 }
1088 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
1089 return (void *)((wxWindow *) ((wxMenuBar *) x));
1090 }
1091 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
1092 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
1093 }
1094 static void *_p_wxWebKitCtrlTo_p_wxEvtHandler(void *x) {
1095 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxWebKitCtrl *) x));
1096 }
1097 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
1098 return (void *)((wxEvtHandler *) ((wxWindow *) x));
1099 }
1100 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
1101 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
1102 }
1103 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
1104 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
1105 }
1106 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
1107 return (void *)((wxEvtHandler *) ((wxValidator *) x));
1108 }
1109 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
1110 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
1111 }
1112 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
1113 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
1114 }
1115 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
1116 return (void *)((wxEvtHandler *) ((wxMenu *) x));
1117 }
1118 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
1119 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
1120 }
1121 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
1122 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
1123 }
1124 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
1125 return (void *)((wxObject *) ((wxSizerItem *) x));
1126 }
1127 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
1128 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
1129 }
1130 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
1131 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
1132 }
1133 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
1134 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
1135 }
1136 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
1137 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
1138 }
1139 static void *_p_wxSizerTo_p_wxObject(void *x) {
1140 return (void *)((wxObject *) ((wxSizer *) x));
1141 }
1142 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
1143 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
1144 }
1145 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
1146 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
1147 }
1148 static void *_p_wxEventTo_p_wxObject(void *x) {
1149 return (void *)((wxObject *) ((wxEvent *) x));
1150 }
1151 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
1152 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
1153 }
1154 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
1155 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
1156 }
1157 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
1158 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
1159 }
1160 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
1161 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
1162 }
1163 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
1164 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
1165 }
1166 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
1167 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
1168 }
1169 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
1170 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
1171 }
1172 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
1173 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
1174 }
1175 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
1176 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
1177 }
1178 static void *_p_wxControlTo_p_wxObject(void *x) {
1179 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
1180 }
1181 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
1182 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
1183 }
1184 static void *_p_wxFSFileTo_p_wxObject(void *x) {
1185 return (void *)((wxObject *) ((wxFSFile *) x));
1186 }
1187 static void *_p_wxPySizerTo_p_wxObject(void *x) {
1188 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
1189 }
1190 static void *_p_wxPyEventTo_p_wxObject(void *x) {
1191 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
1192 }
1193 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
1194 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
1195 }
1196 static void *_p_wxShowEventTo_p_wxObject(void *x) {
1197 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
1198 }
1199 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
1200 return (void *)((wxObject *) ((wxMenuItem *) x));
1201 }
1202 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
1203 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
1204 }
1205 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
1206 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
1207 }
1208 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
1209 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
1210 }
1211 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
1212 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
1213 }
1214 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
1215 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
1216 }
1217 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
1218 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
1219 }
1220 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
1221 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
1222 }
1223 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
1224 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
1225 }
1226 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
1227 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
1228 }
1229 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
1230 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
1231 }
1232 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
1233 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
1234 }
1235 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
1236 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
1237 }
1238 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
1239 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
1240 }
1241 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
1242 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
1243 }
1244 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
1245 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
1246 }
1247 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
1248 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
1249 }
1250 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
1251 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
1252 }
1253 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
1254 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
1255 }
1256 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
1257 return (void *)((wxObject *) ((wxImageHandler *) x));
1258 }
1259 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
1260 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
1261 }
1262 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
1263 return (void *)((wxObject *) ((wxEvtHandler *) x));
1264 }
1265 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
1266 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
1267 }
1268 static void *_p_wxImageTo_p_wxObject(void *x) {
1269 return (void *)((wxObject *) ((wxImage *) x));
1270 }
1271 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
1272 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
1273 }
1274 static void *_p_wxWebKitCtrlTo_p_wxObject(void *x) {
1275 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxWebKitCtrl *) x));
1276 }
1277 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
1278 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
1279 }
1280 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
1281 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
1282 }
1283 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
1284 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
1285 }
1286 static void *_p_wxWindowTo_p_wxObject(void *x) {
1287 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
1288 }
1289 static void *_p_wxMenuTo_p_wxObject(void *x) {
1290 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
1291 }
1292 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
1293 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
1294 }
1295 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
1296 return (void *)((wxObject *) ((wxFileSystem *) x));
1297 }
1298 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
1299 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
1300 }
1301 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
1302 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
1303 }
1304 static void *_p_wxPyAppTo_p_wxObject(void *x) {
1305 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
1306 }
1307 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
1308 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
1309 }
1310 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
1311 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
1312 }
1313 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
1314 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
1315 }
1316 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
1317 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
1318 }
1319 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
1320 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
1321 }
1322 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
1323 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
1324 }
1325 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
1326 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
1327 }
1328 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
1329 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
1330 }
1331 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
1332 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
1333 }
1334 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
1335 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
1336 }
1337 static void *_p_wxValidatorTo_p_wxObject(void *x) {
1338 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
1339 }
1340 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
1341 return (void *)((wxValidator *) ((wxPyValidator *) x));
1342 }
1343 static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxWebKitCtrl", _p_wxWebKitCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
1344 static swig_type_info _swigt__p_wxWebKitCtrl[] = {{"_p_wxWebKitCtrl", 0, "wxWebKitCtrl *", 0, 0, 0, 0},{"_p_wxWebKitCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
1345 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_wxWebKitCtrl", _p_wxWebKitCtrlTo_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}};
1346 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_wxWebKitCtrl", _p_wxWebKitCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_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}};
1347 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_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_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_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_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_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_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_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_wxMoveEvent", _p_wxMoveEventTo_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_wxWebKitCtrl", _p_wxWebKitCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_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_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_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_wxDropFilesEvent", _p_wxDropFilesEventTo_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}};
1348 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}};
1349 static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0, 0, 0, 0},{"_p_wxValidator", 0, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
1350
1351 static swig_type_info *swig_types_initial[] = {
1352 _swigt__p_wxControl,
1353 _swigt__p_wxWebKitCtrl,
1354 _swigt__p_wxWindow,
1355 _swigt__p_wxEvtHandler,
1356 _swigt__p_wxObject,
1357 _swigt__p_char,
1358 _swigt__p_wxValidator,
1359 0
1360 };
1361
1362
1363 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
1364
1365 static swig_const_info swig_const_table[] = {
1366 {0, 0, 0, 0.0, 0, 0}};
1367
1368 #ifdef __cplusplus
1369 }
1370 #endif
1371
1372 #ifdef __cplusplus
1373 extern "C"
1374 #endif
1375 SWIGEXPORT(void) SWIG_init(void) {
1376 static PyObject *SWIG_globals = 0;
1377 static int typeinit = 0;
1378 PyObject *m, *d;
1379 int i;
1380 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
1381 m = Py_InitModule((char *) SWIG_name, SwigMethods);
1382 d = PyModule_GetDict(m);
1383
1384 if (!typeinit) {
1385 for (i = 0; swig_types_initial[i]; i++) {
1386 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
1387 }
1388 typeinit = 1;
1389 }
1390 SWIG_InstallConstants(d,swig_const_table);
1391
1392 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
1393 SWIG_addvarlink(SWIG_globals,(char*)"WebKitNameStr",_wrap_WebKitNameStr_get, _wrap_WebKitNameStr_set);
1394
1395
1396
1397 }
1398