1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
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 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
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
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
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
53 /***********************************************************************
54 * common.swg for wxPython
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
61 ************************************************************************/
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
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
91 # define SWIGRUNTIME(a) static a
98 typedef void *(*swig_converter_func
)(void *);
99 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
101 typedef struct swig_type_info
{
103 swig_converter_func converter
;
106 swig_dycast_func dcast
;
107 struct swig_type_info
*next
;
108 struct swig_type_info
*prev
;
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);
129 /***********************************************************************
130 * pyrun.swg for wxPython
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
137 ************************************************************************/
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
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
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)
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)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
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
[]);
199 /* Contract support */
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
209 /* -------- TYPES TABLE (BEGIN) -------- */
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_wxEvent swig_types[5]
217 #define SWIGTYPE_p_char swig_types[6]
218 #define SWIGTYPE_p_wxValidator swig_types[7]
219 #define SWIGTYPE_p_wxWebKitStateChangedEvent swig_types[8]
220 #define SWIGTYPE_p_wxCommandEvent swig_types[9]
221 static swig_type_info
*swig_types
[11];
223 /* -------- TYPES TABLE (END) -------- */
226 /*-----------------------------------------------
227 @(target):= _webkit.so
228 ------------------------------------------------*/
229 #define SWIG_init init_webkit
231 #define SWIG_name "_webkit"
233 /* Auxiliar swig macros that appear in the header */
235 #define SWIG_OLDOBJ 1
236 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
237 #define SWIG_PYSTR SWIG_NEWOBJ + 1
240 #define SWIGSTATICINLINE(a) static inline a
241 #define SWIGSTATIC(a) static a
242 #define swig_new_array(size,Type) (new Type[(size)])
243 #define swig_delete(cptr) delete cptr
244 #define swig_delete_array(cptr) delete[] cptr
245 #define swig_const_cast(a,Type) const_cast<Type >(a)
246 #define swig_static_cast(a,Type) static_cast<Type >(a)
247 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
248 #define swig_new_copy(ptr,Type) (new Type(*ptr))
249 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
253 #define SWIGSTATICINLINE(a) static a
254 #define SWIGSTATIC(a) static a
255 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
256 #define swig_delete(cptr) free((char*)cptr)
257 #define swig_delete_array(cptr) free((char*)cptr)
258 #define swig_const_cast(a,Type) (Type)(a)
259 #define swig_static_cast(a,Type) (Type)(a)
260 #define swig_reinterpret_cast(a,Type) (Type)(a)
261 #define swig_numeric_cast(a,Type) (Type)(a)
262 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
264 #endif /* __cplusplus */
267 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
268 #define SWIG_From_signed_SS_char PyInt_FromLong
270 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
271 #define SWIG_From_unsigned_SS_char PyInt_FromLong
273 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
274 #define SWIG_From_short PyInt_FromLong
276 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
277 #define SWIG_From_unsigned_SS_short PyInt_FromLong
279 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
280 #define SWIG_From_int PyInt_FromLong
282 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
283 #define SWIG_From_long PyInt_FromLong
285 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
286 #define SWIG_From_float PyFloat_FromDouble
288 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
289 #define SWIG_From_double PyFloat_FromDouble
294 #include "wx/wxPython/wxPython.h"
295 #include "wx/wxPython/pyclasses.h"
296 #include "wx/wxPython/pyistream.h"
298 #ifdef __WXMAC__ // avoid a bug in Carbon headers
303 #include "wx/html/webkit.h"
306 static const wxString
wxPyEmptyString(wxEmptyString
);
307 static const wxString
wxPyWebKitNameStr(wxT("webkitctrl"));
310 // a dummy class for ports that don't have wxWebKitCtrl
311 class wxWebKitCtrl
: public wxControl
314 wxWebKitCtrl(wxWindow
*parent
,
316 const wxString
& strURL
,
317 const wxPoint
& pos
= wxDefaultPosition
,
318 const wxSize
& size
= wxDefaultSize
, long style
= 0,
319 const wxValidator
& validator
= wxDefaultValidator
,
320 const wxString
& name
= wxPyWebKitNameStr
)
321 { wxPyRaiseNotImplemented(); }
323 wxWebKitCtrl() { wxPyRaiseNotImplemented(); }
325 bool Create(wxWindow
*parent
,
327 const wxString
& strURL
,
328 const wxPoint
& pos
= wxDefaultPosition
,
329 const wxSize
& size
= wxDefaultSize
, long style
= 0,
330 const wxValidator
& validator
= wxDefaultValidator
,
331 const wxString
& name
= wxPyWebKitNameStr
)
334 void LoadURL(const wxString
&url
) {}
336 bool CanGoBack() { return false; }
337 bool CanGoForward() { return false; }
338 bool GoBack() { return false; }
339 bool GoForward() { return false; }
342 bool CanGetPageSource() { return false; }
343 wxString
GetPageSource() { return wxEmptyString
; }
344 void SetPageSource(wxString
& source
, const wxString
& baseUrl
= wxEmptyString
) {}
349 wxWEBKIT_STATE_START
= 0,
350 wxWEBKIT_STATE_NEGOTIATING
= 0,
351 wxWEBKIT_STATE_REDIRECTING
= 0,
352 wxWEBKIT_STATE_TRANSFERRING
= 0,
353 wxWEBKIT_STATE_STOP
= 0,
354 wxWEBKIT_STATE_FAILED
= 0,
356 wxEVT_WEBKIT_STATE_CHANGED
= 0
359 class wxWebKitStateChangedEvent
: public wxCommandEvent
362 wxWebKitStateChangedEvent( wxWindow
* win
= NULL
)
363 { wxPyRaiseNotImplemented(); }
365 int GetState() { return 0; }
366 void SetState(const int state
) {}
367 wxString
GetURL() { return wxEmptyString
; }
368 void SetURL(const wxString
& url
) {}
378 SWIGSTATICINLINE(int)
379 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
382 if (value
< min_value
) {
384 PyErr_Format(PyExc_OverflowError
,
385 "value %ld is less than '%s' minimum %ld",
386 value
, errmsg
, min_value
);
389 } else if (value
> max_value
) {
391 PyErr_Format(PyExc_OverflowError
,
392 "value %ld is greater than '%s' maximum %ld",
393 value
, errmsg
, max_value
);
401 // See my_fragments.i
402 SWIGSTATICINLINE(int)
403 SWIG_AsVal_long(PyObject
* obj
, long* val
)
405 if (PyNumber_Check(obj
)) {
406 if (val
) *val
= PyInt_AsLong(obj
);
410 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
411 obj
->ob_type
->tp_name
);
412 PyErr_SetObject(PyExc_TypeError
, errmsg
);
419 #if INT_MAX != LONG_MAX
420 SWIGSTATICINLINE(int)
421 SWIG_AsVal_int(PyObject
*obj
, int *val
)
423 const char* errmsg
= val
? "int" : 0;
425 if (SWIG_AsVal_long(obj
, &v
)) {
426 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
427 if (val
) *val
= swig_numeric_cast(v
, int);
436 PyErr_SetString(PyExc_TypeError
, "an int is expected");
441 SWIGSTATICINLINE(int)
442 SWIG_AsVal_int(PyObject
*obj
, int *val
)
444 return SWIG_AsVal_long(obj
,(long*)val
);
449 SWIGSTATICINLINE(int)
450 SWIG_As_int(PyObject
* obj
)
453 if (!SWIG_AsVal_int(obj
, &v
)) {
455 this is needed to make valgrind/purify happier. the other
456 solution is throw an exception, but since this code should work
459 memset((void*)&v
, 0, sizeof(int));
465 SWIGSTATICINLINE(long)
466 SWIG_As_long(PyObject
* obj
)
469 if (!SWIG_AsVal_long(obj
, &v
)) {
471 this is needed to make valgrind/purify happier. the other
472 solution is throw an exception, but since this code should work
475 memset((void*)&v
, 0, sizeof(long));
481 SWIGSTATICINLINE(int)
482 SWIG_Check_int(PyObject
* obj
)
484 return SWIG_AsVal_int(obj
, (int*)0);
488 SWIGSTATICINLINE(int)
489 SWIG_Check_long(PyObject
* obj
)
491 return SWIG_AsVal_long(obj
, (long*)0);
497 static int _wrap_WebKitNameStr_set(PyObject
*) {
498 PyErr_SetString(PyExc_TypeError
,"Variable WebKitNameStr is read-only.");
503 static PyObject
*_wrap_WebKitNameStr_get() {
508 pyobj
= PyUnicode_FromWideChar((&wxPyWebKitNameStr
)->c_str(), (&wxPyWebKitNameStr
)->Len());
510 pyobj
= PyString_FromStringAndSize((&wxPyWebKitNameStr
)->c_str(), (&wxPyWebKitNameStr
)->Len());
517 static PyObject
*_wrap_new_WebKitCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
519 wxWindow
*arg1
= (wxWindow
*) 0 ;
520 int arg2
= (int) -1 ;
521 wxString
const &arg3_defvalue
= wxPyEmptyString
;
522 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
523 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
524 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
525 wxSize
const &arg5_defvalue
= wxDefaultSize
;
526 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
527 long arg6
= (long) 0 ;
528 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
529 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
530 wxString
const &arg8_defvalue
= wxPyWebKitNameStr
;
531 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
532 wxWebKitCtrl
*result
;
537 PyObject
* obj0
= 0 ;
538 PyObject
* obj1
= 0 ;
539 PyObject
* obj2
= 0 ;
540 PyObject
* obj3
= 0 ;
541 PyObject
* obj4
= 0 ;
542 PyObject
* obj5
= 0 ;
543 PyObject
* obj6
= 0 ;
544 PyObject
* obj7
= 0 ;
546 (char *) "parent",(char *) "winID",(char *) "strURL",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_WebKitCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
553 arg2
= (int)SWIG_As_int(obj1
);
554 if (PyErr_Occurred()) SWIG_fail
;
558 arg3
= wxString_in_helper(obj2
);
559 if (arg3
== NULL
) SWIG_fail
;
566 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
572 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
576 arg6
= (long)SWIG_As_long(obj5
);
577 if (PyErr_Occurred()) SWIG_fail
;
580 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
581 SWIG_POINTER_EXCEPTION
| 0)) == -1)
584 PyErr_SetString(PyExc_TypeError
,"null reference");
590 arg8
= wxString_in_helper(obj7
);
591 if (arg8
== NULL
) SWIG_fail
;
596 if (!wxPyCheckForApp()) SWIG_fail
;
597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
598 result
= (wxWebKitCtrl
*)new wxWebKitCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
600 wxPyEndAllowThreads(__tstate
);
601 if (PyErr_Occurred()) SWIG_fail
;
603 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWebKitCtrl
, 1);
626 static PyObject
*_wrap_new_PreWebKitCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
628 wxWebKitCtrl
*result
;
633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWebKitCtrl",kwnames
)) goto fail
;
635 if (!wxPyCheckForApp()) SWIG_fail
;
636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
637 result
= (wxWebKitCtrl
*)new wxWebKitCtrl();
639 wxPyEndAllowThreads(__tstate
);
640 if (PyErr_Occurred()) SWIG_fail
;
642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWebKitCtrl
, 1);
649 static PyObject
*_wrap_WebKitCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
651 wxWebKitCtrl
*arg1
= (wxWebKitCtrl
*) 0 ;
652 wxWindow
*arg2
= (wxWindow
*) 0 ;
653 int arg3
= (int) -1 ;
654 wxString
const &arg4_defvalue
= wxPyEmptyString
;
655 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
656 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
657 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
658 wxSize
const &arg6_defvalue
= wxDefaultSize
;
659 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
660 long arg7
= (long) 0 ;
661 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
662 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
663 wxString
const &arg9_defvalue
= wxPyWebKitNameStr
;
664 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
670 PyObject
* obj0
= 0 ;
671 PyObject
* obj1
= 0 ;
672 PyObject
* obj2
= 0 ;
673 PyObject
* obj3
= 0 ;
674 PyObject
* obj4
= 0 ;
675 PyObject
* obj5
= 0 ;
676 PyObject
* obj6
= 0 ;
677 PyObject
* obj7
= 0 ;
678 PyObject
* obj8
= 0 ;
680 (char *) "self",(char *) "parent",(char *) "winID",(char *) "strURL",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:WebKitCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWebKitCtrl
,
685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
686 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
689 arg3
= (int)SWIG_As_int(obj2
);
690 if (PyErr_Occurred()) SWIG_fail
;
694 arg4
= wxString_in_helper(obj3
);
695 if (arg4
== NULL
) SWIG_fail
;
702 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
708 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
712 arg7
= (long)SWIG_As_long(obj6
);
713 if (PyErr_Occurred()) SWIG_fail
;
716 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
717 SWIG_POINTER_EXCEPTION
| 0)) == -1)
720 PyErr_SetString(PyExc_TypeError
,"null reference");
726 arg9
= wxString_in_helper(obj8
);
727 if (arg9
== NULL
) SWIG_fail
;
732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
733 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
735 wxPyEndAllowThreads(__tstate
);
736 if (PyErr_Occurred()) SWIG_fail
;
739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
763 static PyObject
*_wrap_WebKitCtrl_LoadURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
765 wxWebKitCtrl
*arg1
= (wxWebKitCtrl
*) 0 ;
768 PyObject
* obj0
= 0 ;
769 PyObject
* obj1
= 0 ;
771 (char *) "self",(char *) "url", NULL
774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:WebKitCtrl_LoadURL",kwnames
,&obj0
,&obj1
)) goto fail
;
775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWebKitCtrl
,
776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
778 arg2
= wxString_in_helper(obj1
);
779 if (arg2
== NULL
) SWIG_fail
;
783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
784 (arg1
)->LoadURL((wxString
const &)*arg2
);
786 wxPyEndAllowThreads(__tstate
);
787 if (PyErr_Occurred()) SWIG_fail
;
789 Py_INCREF(Py_None
); resultobj
= Py_None
;
804 static PyObject
*_wrap_WebKitCtrl_CanGoBack(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
806 wxWebKitCtrl
*arg1
= (wxWebKitCtrl
*) 0 ;
808 PyObject
* obj0
= 0 ;
810 (char *) "self", NULL
813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WebKitCtrl_CanGoBack",kwnames
,&obj0
)) goto fail
;
814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWebKitCtrl
,
815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
818 result
= (bool)(arg1
)->CanGoBack();
820 wxPyEndAllowThreads(__tstate
);
821 if (PyErr_Occurred()) SWIG_fail
;
824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
832 static PyObject
*_wrap_WebKitCtrl_CanGoForward(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
834 wxWebKitCtrl
*arg1
= (wxWebKitCtrl
*) 0 ;
836 PyObject
* obj0
= 0 ;
838 (char *) "self", NULL
841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WebKitCtrl_CanGoForward",kwnames
,&obj0
)) goto fail
;
842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWebKitCtrl
,
843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
846 result
= (bool)(arg1
)->CanGoForward();
848 wxPyEndAllowThreads(__tstate
);
849 if (PyErr_Occurred()) SWIG_fail
;
852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
860 static PyObject
*_wrap_WebKitCtrl_GoBack(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
862 wxWebKitCtrl
*arg1
= (wxWebKitCtrl
*) 0 ;
864 PyObject
* obj0
= 0 ;
866 (char *) "self", NULL
869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WebKitCtrl_GoBack",kwnames
,&obj0
)) goto fail
;
870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWebKitCtrl
,
871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
874 result
= (bool)(arg1
)->GoBack();
876 wxPyEndAllowThreads(__tstate
);
877 if (PyErr_Occurred()) SWIG_fail
;
880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
888 static PyObject
*_wrap_WebKitCtrl_GoForward(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
890 wxWebKitCtrl
*arg1
= (wxWebKitCtrl
*) 0 ;
892 PyObject
* obj0
= 0 ;
894 (char *) "self", NULL
897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WebKitCtrl_GoForward",kwnames
,&obj0
)) goto fail
;
898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWebKitCtrl
,
899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
902 result
= (bool)(arg1
)->GoForward();
904 wxPyEndAllowThreads(__tstate
);
905 if (PyErr_Occurred()) SWIG_fail
;
908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
916 static PyObject
*_wrap_WebKitCtrl_Reload(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
918 wxWebKitCtrl
*arg1
= (wxWebKitCtrl
*) 0 ;
919 PyObject
* obj0
= 0 ;
921 (char *) "self", NULL
924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WebKitCtrl_Reload",kwnames
,&obj0
)) goto fail
;
925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWebKitCtrl
,
926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
931 wxPyEndAllowThreads(__tstate
);
932 if (PyErr_Occurred()) SWIG_fail
;
934 Py_INCREF(Py_None
); resultobj
= Py_None
;
941 static PyObject
*_wrap_WebKitCtrl_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
943 wxWebKitCtrl
*arg1
= (wxWebKitCtrl
*) 0 ;
944 PyObject
* obj0
= 0 ;
946 (char *) "self", NULL
949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WebKitCtrl_Stop",kwnames
,&obj0
)) goto fail
;
950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWebKitCtrl
,
951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
956 wxPyEndAllowThreads(__tstate
);
957 if (PyErr_Occurred()) SWIG_fail
;
959 Py_INCREF(Py_None
); resultobj
= Py_None
;
966 static PyObject
*_wrap_WebKitCtrl_CanGetPageSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
968 wxWebKitCtrl
*arg1
= (wxWebKitCtrl
*) 0 ;
970 PyObject
* obj0
= 0 ;
972 (char *) "self", NULL
975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WebKitCtrl_CanGetPageSource",kwnames
,&obj0
)) goto fail
;
976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWebKitCtrl
,
977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
980 result
= (bool)(arg1
)->CanGetPageSource();
982 wxPyEndAllowThreads(__tstate
);
983 if (PyErr_Occurred()) SWIG_fail
;
986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
994 static PyObject
*_wrap_WebKitCtrl_GetPageSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
996 wxWebKitCtrl
*arg1
= (wxWebKitCtrl
*) 0 ;
998 PyObject
* obj0
= 0 ;
1000 (char *) "self", NULL
1003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WebKitCtrl_GetPageSource",kwnames
,&obj0
)) goto fail
;
1004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWebKitCtrl
,
1005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1008 result
= (arg1
)->GetPageSource();
1010 wxPyEndAllowThreads(__tstate
);
1011 if (PyErr_Occurred()) SWIG_fail
;
1015 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1017 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1026 static PyObject
*_wrap_WebKitCtrl_SetPageSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1027 PyObject
*resultobj
;
1028 wxWebKitCtrl
*arg1
= (wxWebKitCtrl
*) 0 ;
1029 wxString
*arg2
= 0 ;
1030 wxString
const &arg3_defvalue
= wxPyEmptyString
;
1031 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
1032 bool temp2
= false ;
1033 bool temp3
= false ;
1034 PyObject
* obj0
= 0 ;
1035 PyObject
* obj1
= 0 ;
1036 PyObject
* obj2
= 0 ;
1038 (char *) "self",(char *) "source",(char *) "baseUrl", NULL
1041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:WebKitCtrl_SetPageSource",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWebKitCtrl
,
1043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1045 arg2
= wxString_in_helper(obj1
);
1046 if (arg2
== NULL
) SWIG_fail
;
1051 arg3
= wxString_in_helper(obj2
);
1052 if (arg3
== NULL
) SWIG_fail
;
1057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1058 (arg1
)->SetPageSource(*arg2
,(wxString
const &)*arg3
);
1060 wxPyEndAllowThreads(__tstate
);
1061 if (PyErr_Occurred()) SWIG_fail
;
1063 Py_INCREF(Py_None
); resultobj
= Py_None
;
1086 static PyObject
* WebKitCtrl_swigregister(PyObject
*, PyObject
*args
) {
1088 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1089 SWIG_TypeClientData(SWIGTYPE_p_wxWebKitCtrl
, obj
);
1091 return Py_BuildValue((char *)"");
1093 static PyObject
*_wrap_new_WebKitStateChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1094 PyObject
*resultobj
;
1095 wxWindow
*arg1
= (wxWindow
*) NULL
;
1096 wxWebKitStateChangedEvent
*result
;
1097 PyObject
* obj0
= 0 ;
1099 (char *) "win", NULL
1102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WebKitStateChangedEvent",kwnames
,&obj0
)) goto fail
;
1104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1109 result
= (wxWebKitStateChangedEvent
*)new wxWebKitStateChangedEvent(arg1
);
1111 wxPyEndAllowThreads(__tstate
);
1112 if (PyErr_Occurred()) SWIG_fail
;
1114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWebKitStateChangedEvent
, 1);
1121 static PyObject
*_wrap_WebKitStateChangedEvent_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1122 PyObject
*resultobj
;
1123 wxWebKitStateChangedEvent
*arg1
= (wxWebKitStateChangedEvent
*) 0 ;
1125 PyObject
* obj0
= 0 ;
1127 (char *) "self", NULL
1130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WebKitStateChangedEvent_GetState",kwnames
,&obj0
)) goto fail
;
1131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWebKitStateChangedEvent
,
1132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1135 result
= (int)(arg1
)->GetState();
1137 wxPyEndAllowThreads(__tstate
);
1138 if (PyErr_Occurred()) SWIG_fail
;
1140 resultobj
= SWIG_From_int((int)result
);
1147 static PyObject
*_wrap_WebKitStateChangedEvent_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1148 PyObject
*resultobj
;
1149 wxWebKitStateChangedEvent
*arg1
= (wxWebKitStateChangedEvent
*) 0 ;
1151 PyObject
* obj0
= 0 ;
1152 PyObject
* obj1
= 0 ;
1154 (char *) "self",(char *) "state", NULL
1157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:WebKitStateChangedEvent_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
1158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWebKitStateChangedEvent
,
1159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1160 arg2
= (int)SWIG_As_int(obj1
);
1161 if (PyErr_Occurred()) SWIG_fail
;
1163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1164 (arg1
)->SetState(arg2
);
1166 wxPyEndAllowThreads(__tstate
);
1167 if (PyErr_Occurred()) SWIG_fail
;
1169 Py_INCREF(Py_None
); resultobj
= Py_None
;
1176 static PyObject
*_wrap_WebKitStateChangedEvent_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1177 PyObject
*resultobj
;
1178 wxWebKitStateChangedEvent
*arg1
= (wxWebKitStateChangedEvent
*) 0 ;
1180 PyObject
* obj0
= 0 ;
1182 (char *) "self", NULL
1185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WebKitStateChangedEvent_GetURL",kwnames
,&obj0
)) goto fail
;
1186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWebKitStateChangedEvent
,
1187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1190 result
= (arg1
)->GetURL();
1192 wxPyEndAllowThreads(__tstate
);
1193 if (PyErr_Occurred()) SWIG_fail
;
1197 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1199 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1208 static PyObject
*_wrap_WebKitStateChangedEvent_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1209 PyObject
*resultobj
;
1210 wxWebKitStateChangedEvent
*arg1
= (wxWebKitStateChangedEvent
*) 0 ;
1211 wxString
*arg2
= 0 ;
1212 bool temp2
= false ;
1213 PyObject
* obj0
= 0 ;
1214 PyObject
* obj1
= 0 ;
1216 (char *) "self",(char *) "url", NULL
1219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:WebKitStateChangedEvent_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
1220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWebKitStateChangedEvent
,
1221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1223 arg2
= wxString_in_helper(obj1
);
1224 if (arg2
== NULL
) SWIG_fail
;
1228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1229 (arg1
)->SetURL((wxString
const &)*arg2
);
1231 wxPyEndAllowThreads(__tstate
);
1232 if (PyErr_Occurred()) SWIG_fail
;
1234 Py_INCREF(Py_None
); resultobj
= Py_None
;
1249 static PyObject
* WebKitStateChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
1251 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1252 SWIG_TypeClientData(SWIGTYPE_p_wxWebKitStateChangedEvent
, obj
);
1254 return Py_BuildValue((char *)"");
1256 static PyMethodDef SwigMethods
[] = {
1257 { (char *)"new_WebKitCtrl", (PyCFunction
) _wrap_new_WebKitCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1258 { (char *)"new_PreWebKitCtrl", (PyCFunction
) _wrap_new_PreWebKitCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1259 { (char *)"WebKitCtrl_Create", (PyCFunction
) _wrap_WebKitCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1260 { (char *)"WebKitCtrl_LoadURL", (PyCFunction
) _wrap_WebKitCtrl_LoadURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1261 { (char *)"WebKitCtrl_CanGoBack", (PyCFunction
) _wrap_WebKitCtrl_CanGoBack
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1262 { (char *)"WebKitCtrl_CanGoForward", (PyCFunction
) _wrap_WebKitCtrl_CanGoForward
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1263 { (char *)"WebKitCtrl_GoBack", (PyCFunction
) _wrap_WebKitCtrl_GoBack
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1264 { (char *)"WebKitCtrl_GoForward", (PyCFunction
) _wrap_WebKitCtrl_GoForward
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1265 { (char *)"WebKitCtrl_Reload", (PyCFunction
) _wrap_WebKitCtrl_Reload
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1266 { (char *)"WebKitCtrl_Stop", (PyCFunction
) _wrap_WebKitCtrl_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1267 { (char *)"WebKitCtrl_CanGetPageSource", (PyCFunction
) _wrap_WebKitCtrl_CanGetPageSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1268 { (char *)"WebKitCtrl_GetPageSource", (PyCFunction
) _wrap_WebKitCtrl_GetPageSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1269 { (char *)"WebKitCtrl_SetPageSource", (PyCFunction
) _wrap_WebKitCtrl_SetPageSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1270 { (char *)"WebKitCtrl_swigregister", WebKitCtrl_swigregister
, METH_VARARGS
, NULL
},
1271 { (char *)"new_WebKitStateChangedEvent", (PyCFunction
) _wrap_new_WebKitStateChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1272 { (char *)"WebKitStateChangedEvent_GetState", (PyCFunction
) _wrap_WebKitStateChangedEvent_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1273 { (char *)"WebKitStateChangedEvent_SetState", (PyCFunction
) _wrap_WebKitStateChangedEvent_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1274 { (char *)"WebKitStateChangedEvent_GetURL", (PyCFunction
) _wrap_WebKitStateChangedEvent_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1275 { (char *)"WebKitStateChangedEvent_SetURL", (PyCFunction
) _wrap_WebKitStateChangedEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1276 { (char *)"WebKitStateChangedEvent_swigregister", WebKitStateChangedEvent_swigregister
, METH_VARARGS
, NULL
},
1277 { NULL
, NULL
, 0, NULL
}
1281 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
1283 static void *_p_wxWebKitCtrlTo_p_wxControl(void *x
) {
1284 return (void *)((wxControl
*) ((wxWebKitCtrl
*) x
));
1286 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
1287 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
1289 static void *_p_wxControlTo_p_wxWindow(void *x
) {
1290 return (void *)((wxWindow
*) ((wxControl
*) x
));
1292 static void *_p_wxWebKitCtrlTo_p_wxWindow(void *x
) {
1293 return (void *)((wxWindow
*) (wxControl
*) ((wxWebKitCtrl
*) x
));
1295 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
1296 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
1298 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
1299 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
1301 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
1302 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
1304 static void *_p_wxWebKitCtrlTo_p_wxEvtHandler(void *x
) {
1305 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxWebKitCtrl
*) x
));
1307 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
1308 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
1310 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
1311 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
1313 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
1314 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
1316 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
1317 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
1319 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
1320 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
1322 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
1323 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
1325 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
1326 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
1328 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
1329 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
1331 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
1332 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
1334 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
1335 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
1337 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
1338 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
1340 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
1341 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
1343 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
1344 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
1346 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
1347 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
1349 static void *_p_wxSizerTo_p_wxObject(void *x
) {
1350 return (void *)((wxObject
*) ((wxSizer
*) x
));
1352 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
1353 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
1355 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
1356 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
1358 static void *_p_wxEventTo_p_wxObject(void *x
) {
1359 return (void *)((wxObject
*) ((wxEvent
*) x
));
1361 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
1362 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
1364 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
1365 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
1367 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
1368 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
1370 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
1371 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
1373 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
1374 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
1376 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
1377 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
1379 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
1380 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
1382 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
1383 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
1385 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
1386 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
1388 static void *_p_wxWebKitStateChangedEventTo_p_wxObject(void *x
) {
1389 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWebKitStateChangedEvent
*) x
));
1391 static void *_p_wxControlTo_p_wxObject(void *x
) {
1392 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
1394 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
1395 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
1397 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
1398 return (void *)((wxObject
*) ((wxFSFile
*) x
));
1400 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
1401 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
1403 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
1404 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
1406 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
1407 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
1409 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
1410 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
1412 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
1413 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
1415 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
1416 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
1418 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
1419 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
1421 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
1422 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
1424 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
1425 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
1427 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
1428 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
1430 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
1431 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
1433 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
1434 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
1436 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
1437 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
1439 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
1440 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
1442 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
1443 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
1445 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
1446 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
1448 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
1449 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
1451 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
1452 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
1454 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
1455 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
1457 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
1458 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
1460 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
1461 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
1463 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
1464 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
1466 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
1467 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
1469 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
1470 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
1472 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
1473 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
1475 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
1476 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
1478 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
1479 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
1481 static void *_p_wxImageTo_p_wxObject(void *x
) {
1482 return (void *)((wxObject
*) ((wxImage
*) x
));
1484 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
1485 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
1487 static void *_p_wxWebKitCtrlTo_p_wxObject(void *x
) {
1488 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxWebKitCtrl
*) x
));
1490 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
1491 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
1493 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
1494 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
1496 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
1497 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
1499 static void *_p_wxWindowTo_p_wxObject(void *x
) {
1500 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
1502 static void *_p_wxMenuTo_p_wxObject(void *x
) {
1503 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
1505 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
1506 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
1508 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
1509 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
1511 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
1512 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
1514 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
1515 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
1517 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
1518 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
1520 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
1521 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
1523 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
1524 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
1526 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
1527 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
1529 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
1530 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
1532 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
1533 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
1535 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
1536 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
1538 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
1539 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
1541 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
1542 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
1544 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
1545 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
1547 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
1548 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
1550 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
1551 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
1553 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
1554 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
1556 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
1557 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
1559 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
1560 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
1562 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
1563 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
1565 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
1566 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
1568 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
1569 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
1571 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
1572 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
1574 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
1575 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
1577 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
1578 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
1580 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
1581 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
1583 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
1584 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
1586 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
1587 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
1589 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
1590 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
1592 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
1593 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
1595 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
1596 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
1598 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
1599 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
1601 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
1602 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
1604 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
1605 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
1607 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
1608 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
1610 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
1611 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
1613 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
1614 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
1616 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
1617 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
1619 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
1620 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
1622 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
1623 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
1625 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
1626 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
1628 static void *_p_wxWebKitStateChangedEventTo_p_wxEvent(void *x
) {
1629 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWebKitStateChangedEvent
*) x
));
1631 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
1632 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
1634 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
1635 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
1637 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
1638 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
1640 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
1641 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
1643 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
1644 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
1646 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
1647 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
1649 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
1650 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
1652 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
1653 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
1655 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
1656 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
1658 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
1659 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
1661 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
1662 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
1664 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
1665 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
1667 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
1668 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
1670 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
1671 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
1673 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
1674 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
1676 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
1677 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
1679 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
1680 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
1682 static void *_p_wxWebKitStateChangedEventTo_p_wxCommandEvent(void *x
) {
1683 return (void *)((wxCommandEvent
*) ((wxWebKitStateChangedEvent
*) x
));
1685 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
1686 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
1688 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
1689 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
1691 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}};
1692 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}};
1693 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}};
1694 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}};
1695 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_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_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_wxWebKitStateChangedEvent", _p_wxWebKitStateChangedEventTo_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_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_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_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_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}};
1696 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_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_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
, 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_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_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_wxActivateEvent", _p_wxActivateEventTo_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_wxWebKitStateChangedEvent", _p_wxWebKitStateChangedEventTo_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}};
1697 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}};
1698 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}};
1699 static swig_type_info _swigt__p_wxWebKitStateChangedEvent
[] = {{"_p_wxWebKitStateChangedEvent", 0, "wxWebKitStateChangedEvent *", 0, 0, 0, 0},{"_p_wxWebKitStateChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
1700 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_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_wxWebKitStateChangedEvent", _p_wxWebKitStateChangedEventTo_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}};
1702 static swig_type_info
*swig_types_initial
[] = {
1703 _swigt__p_wxControl
,
1704 _swigt__p_wxWebKitCtrl
,
1706 _swigt__p_wxEvtHandler
,
1710 _swigt__p_wxValidator
,
1711 _swigt__p_wxWebKitStateChangedEvent
,
1712 _swigt__p_wxCommandEvent
,
1717 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
1719 static swig_const_info swig_const_table
[] = {
1720 {0, 0, 0, 0.0, 0, 0}};
1729 SWIGEXPORT(void) SWIG_init(void) {
1730 static PyObject
*SWIG_globals
= 0;
1731 static int typeinit
= 0;
1734 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
1735 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
1736 d
= PyModule_GetDict(m
);
1739 for (i
= 0; swig_types_initial
[i
]; i
++) {
1740 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
1744 SWIG_InstallConstants(d
,swig_const_table
);
1746 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
1747 SWIG_addvarlink(SWIG_globals
,(char*)"WebKitNameStr",_wrap_WebKitNameStr_get
, _wrap_WebKitNameStr_set
);
1748 PyDict_SetItemString(d
,"WEBKIT_STATE_START", SWIG_From_int((int)wxWEBKIT_STATE_START
));
1749 PyDict_SetItemString(d
,"WEBKIT_STATE_NEGOTIATING", SWIG_From_int((int)wxWEBKIT_STATE_NEGOTIATING
));
1750 PyDict_SetItemString(d
,"WEBKIT_STATE_REDIRECTING", SWIG_From_int((int)wxWEBKIT_STATE_REDIRECTING
));
1751 PyDict_SetItemString(d
,"WEBKIT_STATE_TRANSFERRING", SWIG_From_int((int)wxWEBKIT_STATE_TRANSFERRING
));
1752 PyDict_SetItemString(d
,"WEBKIT_STATE_STOP", SWIG_From_int((int)wxWEBKIT_STATE_STOP
));
1753 PyDict_SetItemString(d
,"WEBKIT_STATE_FAILED", SWIG_From_int((int)wxWEBKIT_STATE_FAILED
));
1754 PyDict_SetItemString(d
, "wxEVT_WEBKIT_STATE_CHANGED", PyInt_FromLong(wxEVT_WEBKIT_STATE_CHANGED
));