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 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
268 #define SWIG_From_signed_SS_char PyInt_FromLong
270 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
271 #define SWIG_From_unsigned_SS_char PyInt_FromLong
273 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
274 #define SWIG_From_short PyInt_FromLong
276 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
277 #define SWIG_From_unsigned_SS_short PyInt_FromLong
279 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
280 #define SWIG_From_int PyInt_FromLong
282 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
283 #define SWIG_From_long PyInt_FromLong
285 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
286 #define SWIG_From_float PyFloat_FromDouble
288 /*@/opt/swig/share/swig/1.3.22/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,
357 class wxWebKitStateChangedEvent
: public wxCommandEvent
360 wxWebKitStateChangedEvent( wxWindow
* win
= NULL
)
361 { wxPyRaiseNotImplemented(); }
363 int GetState() { return 0 }
364 void SetState(const int state
) {}
365 wxString
GetURL() { return wxEmptyString
; }
366 void SetURL(const wxString
& url
) {}
376 SWIGSTATICINLINE(int)
377 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
380 if (value
< min_value
) {
382 PyErr_Format(PyExc_OverflowError
,
383 "value %ld is less than '%s' minimum %ld",
384 value
, errmsg
, min_value
);
387 } else if (value
> max_value
) {
389 PyErr_Format(PyExc_OverflowError
,
390 "value %ld is greater than '%s' maximum %ld",
391 value
, errmsg
, max_value
);
399 // See my_fragments.i
400 SWIGSTATICINLINE(int)
401 SWIG_AsVal_long(PyObject
* obj
, long* val
)
403 if (PyNumber_Check(obj
)) {
404 if (val
) *val
= PyInt_AsLong(obj
);
408 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
409 obj
->ob_type
->tp_name
);
410 PyErr_SetObject(PyExc_TypeError
, errmsg
);
417 #if INT_MAX != LONG_MAX
418 SWIGSTATICINLINE(int)
419 SWIG_AsVal_int(PyObject
*obj
, int *val
)
421 const char* errmsg
= val
? "int" : 0;
423 if (SWIG_AsVal_long(obj
, &v
)) {
424 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
425 if (val
) *val
= swig_numeric_cast(v
, int);
434 PyErr_SetString(PyExc_TypeError
, "an int is expected");
439 SWIGSTATICINLINE(int)
440 SWIG_AsVal_int(PyObject
*obj
, int *val
)
442 return SWIG_AsVal_long(obj
,(long*)val
);
447 SWIGSTATICINLINE(int)
448 SWIG_As_int(PyObject
* obj
)
451 if (!SWIG_AsVal_int(obj
, &v
)) {
453 this is needed to make valgrind/purify happier. the other
454 solution is throw an exception, but since this code should work
457 memset((void*)&v
, 0, sizeof(int));
463 SWIGSTATICINLINE(long)
464 SWIG_As_long(PyObject
* obj
)
467 if (!SWIG_AsVal_long(obj
, &v
)) {
469 this is needed to make valgrind/purify happier. the other
470 solution is throw an exception, but since this code should work
473 memset((void*)&v
, 0, sizeof(long));
479 SWIGSTATICINLINE(int)
480 SWIG_Check_int(PyObject
* obj
)
482 return SWIG_AsVal_int(obj
, (int*)0);
486 SWIGSTATICINLINE(int)
487 SWIG_Check_long(PyObject
* obj
)
489 return SWIG_AsVal_long(obj
, (long*)0);
495 static int _wrap_WebKitNameStr_set(PyObject
*) {
496 PyErr_SetString(PyExc_TypeError
,"Variable WebKitNameStr is read-only.");
501 static PyObject
*_wrap_WebKitNameStr_get() {
506 pyobj
= PyUnicode_FromWideChar((&wxPyWebKitNameStr
)->c_str(), (&wxPyWebKitNameStr
)->Len());
508 pyobj
= PyString_FromStringAndSize((&wxPyWebKitNameStr
)->c_str(), (&wxPyWebKitNameStr
)->Len());
515 static PyObject
*_wrap_new_WebKitCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
517 wxWindow
*arg1
= (wxWindow
*) 0 ;
518 int arg2
= (int) -1 ;
519 wxString
const &arg3_defvalue
= wxPyEmptyString
;
520 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
521 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
522 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
523 wxSize
const &arg5_defvalue
= wxDefaultSize
;
524 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
525 long arg6
= (long) 0 ;
526 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
527 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
528 wxString
const &arg8_defvalue
= wxPyWebKitNameStr
;
529 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
530 wxWebKitCtrl
*result
;
535 PyObject
* obj0
= 0 ;
536 PyObject
* obj1
= 0 ;
537 PyObject
* obj2
= 0 ;
538 PyObject
* obj3
= 0 ;
539 PyObject
* obj4
= 0 ;
540 PyObject
* obj5
= 0 ;
541 PyObject
* obj6
= 0 ;
542 PyObject
* obj7
= 0 ;
544 (char *) "parent",(char *) "winID",(char *) "strURL",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_WebKitCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
551 arg2
= (int)SWIG_As_int(obj1
);
552 if (PyErr_Occurred()) SWIG_fail
;
556 arg3
= wxString_in_helper(obj2
);
557 if (arg3
== NULL
) SWIG_fail
;
564 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
570 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
574 arg6
= (long)SWIG_As_long(obj5
);
575 if (PyErr_Occurred()) SWIG_fail
;
578 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
579 SWIG_POINTER_EXCEPTION
| 0)) == -1)
582 PyErr_SetString(PyExc_TypeError
,"null reference");
588 arg8
= wxString_in_helper(obj7
);
589 if (arg8
== NULL
) SWIG_fail
;
594 if (!wxPyCheckForApp()) SWIG_fail
;
595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
596 result
= (wxWebKitCtrl
*)new wxWebKitCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
598 wxPyEndAllowThreads(__tstate
);
599 if (PyErr_Occurred()) SWIG_fail
;
601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWebKitCtrl
, 1);
624 static PyObject
*_wrap_new_PreWebKitCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
626 wxWebKitCtrl
*result
;
631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWebKitCtrl",kwnames
)) goto fail
;
633 if (!wxPyCheckForApp()) SWIG_fail
;
634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
635 result
= (wxWebKitCtrl
*)new wxWebKitCtrl();
637 wxPyEndAllowThreads(__tstate
);
638 if (PyErr_Occurred()) SWIG_fail
;
640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWebKitCtrl
, 1);
647 static PyObject
*_wrap_WebKitCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
649 wxWebKitCtrl
*arg1
= (wxWebKitCtrl
*) 0 ;
650 wxWindow
*arg2
= (wxWindow
*) 0 ;
651 int arg3
= (int) -1 ;
652 wxString
const &arg4_defvalue
= wxPyEmptyString
;
653 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
654 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
655 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
656 wxSize
const &arg6_defvalue
= wxDefaultSize
;
657 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
658 long arg7
= (long) 0 ;
659 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
660 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
661 wxString
const &arg9_defvalue
= wxPyWebKitNameStr
;
662 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
668 PyObject
* obj0
= 0 ;
669 PyObject
* obj1
= 0 ;
670 PyObject
* obj2
= 0 ;
671 PyObject
* obj3
= 0 ;
672 PyObject
* obj4
= 0 ;
673 PyObject
* obj5
= 0 ;
674 PyObject
* obj6
= 0 ;
675 PyObject
* obj7
= 0 ;
676 PyObject
* obj8
= 0 ;
678 (char *) "self",(char *) "parent",(char *) "winID",(char *) "strURL",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:WebKitCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWebKitCtrl
,
683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
684 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
687 arg3
= (int)SWIG_As_int(obj2
);
688 if (PyErr_Occurred()) SWIG_fail
;
692 arg4
= wxString_in_helper(obj3
);
693 if (arg4
== NULL
) SWIG_fail
;
700 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
706 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
710 arg7
= (long)SWIG_As_long(obj6
);
711 if (PyErr_Occurred()) SWIG_fail
;
714 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
715 SWIG_POINTER_EXCEPTION
| 0)) == -1)
718 PyErr_SetString(PyExc_TypeError
,"null reference");
724 arg9
= wxString_in_helper(obj8
);
725 if (arg9
== NULL
) SWIG_fail
;
730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
731 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
733 wxPyEndAllowThreads(__tstate
);
734 if (PyErr_Occurred()) SWIG_fail
;
737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
761 static PyObject
*_wrap_WebKitCtrl_LoadURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
763 wxWebKitCtrl
*arg1
= (wxWebKitCtrl
*) 0 ;
766 PyObject
* obj0
= 0 ;
767 PyObject
* obj1
= 0 ;
769 (char *) "self",(char *) "url", NULL
772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:WebKitCtrl_LoadURL",kwnames
,&obj0
,&obj1
)) goto fail
;
773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWebKitCtrl
,
774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
776 arg2
= wxString_in_helper(obj1
);
777 if (arg2
== NULL
) SWIG_fail
;
781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
782 (arg1
)->LoadURL((wxString
const &)*arg2
);
784 wxPyEndAllowThreads(__tstate
);
785 if (PyErr_Occurred()) SWIG_fail
;
787 Py_INCREF(Py_None
); resultobj
= Py_None
;
802 static PyObject
*_wrap_WebKitCtrl_CanGoBack(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
804 wxWebKitCtrl
*arg1
= (wxWebKitCtrl
*) 0 ;
806 PyObject
* obj0
= 0 ;
808 (char *) "self", NULL
811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WebKitCtrl_CanGoBack",kwnames
,&obj0
)) goto fail
;
812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWebKitCtrl
,
813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
816 result
= (bool)(arg1
)->CanGoBack();
818 wxPyEndAllowThreads(__tstate
);
819 if (PyErr_Occurred()) SWIG_fail
;
822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
830 static PyObject
*_wrap_WebKitCtrl_CanGoForward(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
832 wxWebKitCtrl
*arg1
= (wxWebKitCtrl
*) 0 ;
834 PyObject
* obj0
= 0 ;
836 (char *) "self", NULL
839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WebKitCtrl_CanGoForward",kwnames
,&obj0
)) goto fail
;
840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWebKitCtrl
,
841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
844 result
= (bool)(arg1
)->CanGoForward();
846 wxPyEndAllowThreads(__tstate
);
847 if (PyErr_Occurred()) SWIG_fail
;
850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
858 static PyObject
*_wrap_WebKitCtrl_GoBack(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
860 wxWebKitCtrl
*arg1
= (wxWebKitCtrl
*) 0 ;
862 PyObject
* obj0
= 0 ;
864 (char *) "self", NULL
867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WebKitCtrl_GoBack",kwnames
,&obj0
)) goto fail
;
868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWebKitCtrl
,
869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
872 result
= (bool)(arg1
)->GoBack();
874 wxPyEndAllowThreads(__tstate
);
875 if (PyErr_Occurred()) SWIG_fail
;
878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
886 static PyObject
*_wrap_WebKitCtrl_GoForward(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
888 wxWebKitCtrl
*arg1
= (wxWebKitCtrl
*) 0 ;
890 PyObject
* obj0
= 0 ;
892 (char *) "self", NULL
895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WebKitCtrl_GoForward",kwnames
,&obj0
)) goto fail
;
896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWebKitCtrl
,
897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
900 result
= (bool)(arg1
)->GoForward();
902 wxPyEndAllowThreads(__tstate
);
903 if (PyErr_Occurred()) SWIG_fail
;
906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
914 static PyObject
*_wrap_WebKitCtrl_Reload(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
916 wxWebKitCtrl
*arg1
= (wxWebKitCtrl
*) 0 ;
917 PyObject
* obj0
= 0 ;
919 (char *) "self", NULL
922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WebKitCtrl_Reload",kwnames
,&obj0
)) goto fail
;
923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWebKitCtrl
,
924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
929 wxPyEndAllowThreads(__tstate
);
930 if (PyErr_Occurred()) SWIG_fail
;
932 Py_INCREF(Py_None
); resultobj
= Py_None
;
939 static PyObject
*_wrap_WebKitCtrl_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
941 wxWebKitCtrl
*arg1
= (wxWebKitCtrl
*) 0 ;
942 PyObject
* obj0
= 0 ;
944 (char *) "self", NULL
947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WebKitCtrl_Stop",kwnames
,&obj0
)) goto fail
;
948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWebKitCtrl
,
949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
954 wxPyEndAllowThreads(__tstate
);
955 if (PyErr_Occurred()) SWIG_fail
;
957 Py_INCREF(Py_None
); resultobj
= Py_None
;
964 static PyObject
*_wrap_WebKitCtrl_CanGetPageSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
966 wxWebKitCtrl
*arg1
= (wxWebKitCtrl
*) 0 ;
968 PyObject
* obj0
= 0 ;
970 (char *) "self", NULL
973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WebKitCtrl_CanGetPageSource",kwnames
,&obj0
)) goto fail
;
974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWebKitCtrl
,
975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
978 result
= (bool)(arg1
)->CanGetPageSource();
980 wxPyEndAllowThreads(__tstate
);
981 if (PyErr_Occurred()) SWIG_fail
;
984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
992 static PyObject
*_wrap_WebKitCtrl_GetPageSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
994 wxWebKitCtrl
*arg1
= (wxWebKitCtrl
*) 0 ;
996 PyObject
* obj0
= 0 ;
998 (char *) "self", NULL
1001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WebKitCtrl_GetPageSource",kwnames
,&obj0
)) goto fail
;
1002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWebKitCtrl
,
1003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1006 result
= (arg1
)->GetPageSource();
1008 wxPyEndAllowThreads(__tstate
);
1009 if (PyErr_Occurred()) SWIG_fail
;
1013 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1015 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1024 static PyObject
*_wrap_WebKitCtrl_SetPageSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1025 PyObject
*resultobj
;
1026 wxWebKitCtrl
*arg1
= (wxWebKitCtrl
*) 0 ;
1027 wxString
*arg2
= 0 ;
1028 wxString
const &arg3_defvalue
= wxPyEmptyString
;
1029 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
1030 bool temp2
= false ;
1031 bool temp3
= false ;
1032 PyObject
* obj0
= 0 ;
1033 PyObject
* obj1
= 0 ;
1034 PyObject
* obj2
= 0 ;
1036 (char *) "self",(char *) "source",(char *) "baseUrl", NULL
1039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:WebKitCtrl_SetPageSource",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWebKitCtrl
,
1041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1043 arg2
= wxString_in_helper(obj1
);
1044 if (arg2
== NULL
) SWIG_fail
;
1049 arg3
= wxString_in_helper(obj2
);
1050 if (arg3
== NULL
) SWIG_fail
;
1055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1056 (arg1
)->SetPageSource(*arg2
,(wxString
const &)*arg3
);
1058 wxPyEndAllowThreads(__tstate
);
1059 if (PyErr_Occurred()) SWIG_fail
;
1061 Py_INCREF(Py_None
); resultobj
= Py_None
;
1084 static PyObject
* WebKitCtrl_swigregister(PyObject
*, PyObject
*args
) {
1086 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1087 SWIG_TypeClientData(SWIGTYPE_p_wxWebKitCtrl
, obj
);
1089 return Py_BuildValue((char *)"");
1091 static PyObject
*_wrap_new_WebKitStateChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1092 PyObject
*resultobj
;
1093 wxWindow
*arg1
= (wxWindow
*) NULL
;
1094 wxWebKitStateChangedEvent
*result
;
1095 PyObject
* obj0
= 0 ;
1097 (char *) "win", NULL
1100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WebKitStateChangedEvent",kwnames
,&obj0
)) goto fail
;
1102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1107 result
= (wxWebKitStateChangedEvent
*)new wxWebKitStateChangedEvent(arg1
);
1109 wxPyEndAllowThreads(__tstate
);
1110 if (PyErr_Occurred()) SWIG_fail
;
1112 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWebKitStateChangedEvent
, 1);
1119 static PyObject
*_wrap_WebKitStateChangedEvent_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1120 PyObject
*resultobj
;
1121 wxWebKitStateChangedEvent
*arg1
= (wxWebKitStateChangedEvent
*) 0 ;
1123 PyObject
* obj0
= 0 ;
1125 (char *) "self", NULL
1128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WebKitStateChangedEvent_GetState",kwnames
,&obj0
)) goto fail
;
1129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWebKitStateChangedEvent
,
1130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1133 result
= (int)(arg1
)->GetState();
1135 wxPyEndAllowThreads(__tstate
);
1136 if (PyErr_Occurred()) SWIG_fail
;
1138 resultobj
= SWIG_From_int((int)result
);
1145 static PyObject
*_wrap_WebKitStateChangedEvent_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1146 PyObject
*resultobj
;
1147 wxWebKitStateChangedEvent
*arg1
= (wxWebKitStateChangedEvent
*) 0 ;
1149 PyObject
* obj0
= 0 ;
1150 PyObject
* obj1
= 0 ;
1152 (char *) "self",(char *) "state", NULL
1155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:WebKitStateChangedEvent_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
1156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWebKitStateChangedEvent
,
1157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1158 arg2
= (int)SWIG_As_int(obj1
);
1159 if (PyErr_Occurred()) SWIG_fail
;
1161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1162 (arg1
)->SetState(arg2
);
1164 wxPyEndAllowThreads(__tstate
);
1165 if (PyErr_Occurred()) SWIG_fail
;
1167 Py_INCREF(Py_None
); resultobj
= Py_None
;
1174 static PyObject
*_wrap_WebKitStateChangedEvent_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1175 PyObject
*resultobj
;
1176 wxWebKitStateChangedEvent
*arg1
= (wxWebKitStateChangedEvent
*) 0 ;
1178 PyObject
* obj0
= 0 ;
1180 (char *) "self", NULL
1183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WebKitStateChangedEvent_GetURL",kwnames
,&obj0
)) goto fail
;
1184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWebKitStateChangedEvent
,
1185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1188 result
= (arg1
)->GetURL();
1190 wxPyEndAllowThreads(__tstate
);
1191 if (PyErr_Occurred()) SWIG_fail
;
1195 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1197 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1206 static PyObject
*_wrap_WebKitStateChangedEvent_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1207 PyObject
*resultobj
;
1208 wxWebKitStateChangedEvent
*arg1
= (wxWebKitStateChangedEvent
*) 0 ;
1209 wxString
*arg2
= 0 ;
1210 bool temp2
= false ;
1211 PyObject
* obj0
= 0 ;
1212 PyObject
* obj1
= 0 ;
1214 (char *) "self",(char *) "url", NULL
1217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:WebKitStateChangedEvent_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
1218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWebKitStateChangedEvent
,
1219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1221 arg2
= wxString_in_helper(obj1
);
1222 if (arg2
== NULL
) SWIG_fail
;
1226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1227 (arg1
)->SetURL((wxString
const &)*arg2
);
1229 wxPyEndAllowThreads(__tstate
);
1230 if (PyErr_Occurred()) SWIG_fail
;
1232 Py_INCREF(Py_None
); resultobj
= Py_None
;
1247 static PyObject
* WebKitStateChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
1249 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1250 SWIG_TypeClientData(SWIGTYPE_p_wxWebKitStateChangedEvent
, obj
);
1252 return Py_BuildValue((char *)"");
1254 static PyMethodDef SwigMethods
[] = {
1255 { (char *)"new_WebKitCtrl", (PyCFunction
) _wrap_new_WebKitCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1256 { (char *)"new_PreWebKitCtrl", (PyCFunction
) _wrap_new_PreWebKitCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1257 { (char *)"WebKitCtrl_Create", (PyCFunction
) _wrap_WebKitCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1258 { (char *)"WebKitCtrl_LoadURL", (PyCFunction
) _wrap_WebKitCtrl_LoadURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1259 { (char *)"WebKitCtrl_CanGoBack", (PyCFunction
) _wrap_WebKitCtrl_CanGoBack
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1260 { (char *)"WebKitCtrl_CanGoForward", (PyCFunction
) _wrap_WebKitCtrl_CanGoForward
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1261 { (char *)"WebKitCtrl_GoBack", (PyCFunction
) _wrap_WebKitCtrl_GoBack
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1262 { (char *)"WebKitCtrl_GoForward", (PyCFunction
) _wrap_WebKitCtrl_GoForward
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1263 { (char *)"WebKitCtrl_Reload", (PyCFunction
) _wrap_WebKitCtrl_Reload
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1264 { (char *)"WebKitCtrl_Stop", (PyCFunction
) _wrap_WebKitCtrl_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1265 { (char *)"WebKitCtrl_CanGetPageSource", (PyCFunction
) _wrap_WebKitCtrl_CanGetPageSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1266 { (char *)"WebKitCtrl_GetPageSource", (PyCFunction
) _wrap_WebKitCtrl_GetPageSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1267 { (char *)"WebKitCtrl_SetPageSource", (PyCFunction
) _wrap_WebKitCtrl_SetPageSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1268 { (char *)"WebKitCtrl_swigregister", WebKitCtrl_swigregister
, METH_VARARGS
, NULL
},
1269 { (char *)"new_WebKitStateChangedEvent", (PyCFunction
) _wrap_new_WebKitStateChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1270 { (char *)"WebKitStateChangedEvent_GetState", (PyCFunction
) _wrap_WebKitStateChangedEvent_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1271 { (char *)"WebKitStateChangedEvent_SetState", (PyCFunction
) _wrap_WebKitStateChangedEvent_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1272 { (char *)"WebKitStateChangedEvent_GetURL", (PyCFunction
) _wrap_WebKitStateChangedEvent_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1273 { (char *)"WebKitStateChangedEvent_SetURL", (PyCFunction
) _wrap_WebKitStateChangedEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1274 { (char *)"WebKitStateChangedEvent_swigregister", WebKitStateChangedEvent_swigregister
, METH_VARARGS
, NULL
},
1275 { NULL
, NULL
, 0, NULL
}
1279 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
1281 static void *_p_wxWebKitCtrlTo_p_wxControl(void *x
) {
1282 return (void *)((wxControl
*) ((wxWebKitCtrl
*) x
));
1284 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
1285 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
1287 static void *_p_wxControlTo_p_wxWindow(void *x
) {
1288 return (void *)((wxWindow
*) ((wxControl
*) x
));
1290 static void *_p_wxWebKitCtrlTo_p_wxWindow(void *x
) {
1291 return (void *)((wxWindow
*) (wxControl
*) ((wxWebKitCtrl
*) x
));
1293 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
1294 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
1296 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
1297 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
1299 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
1300 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
1302 static void *_p_wxWebKitCtrlTo_p_wxEvtHandler(void *x
) {
1303 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxWebKitCtrl
*) x
));
1305 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
1306 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
1308 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
1309 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
1311 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
1312 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
1314 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
1315 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
1317 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
1318 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
1320 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
1321 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
1323 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
1324 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
1326 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
1327 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
1329 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
1330 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
1332 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
1333 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
1335 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
1336 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
1338 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
1339 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
1341 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
1342 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
1344 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
1345 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
1347 static void *_p_wxSizerTo_p_wxObject(void *x
) {
1348 return (void *)((wxObject
*) ((wxSizer
*) x
));
1350 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
1351 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
1353 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
1354 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
1356 static void *_p_wxEventTo_p_wxObject(void *x
) {
1357 return (void *)((wxObject
*) ((wxEvent
*) x
));
1359 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
1360 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
1362 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
1363 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
1365 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
1366 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
1368 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
1369 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
1371 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
1372 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
1374 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
1375 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
1377 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
1378 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
1380 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
1381 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
1383 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
1384 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
1386 static void *_p_wxWebKitStateChangedEventTo_p_wxObject(void *x
) {
1387 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWebKitStateChangedEvent
*) x
));
1389 static void *_p_wxControlTo_p_wxObject(void *x
) {
1390 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
1392 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
1393 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
1395 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
1396 return (void *)((wxObject
*) ((wxFSFile
*) x
));
1398 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
1399 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
1401 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
1402 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
1404 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
1405 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
1407 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
1408 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
1410 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
1411 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
1413 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
1414 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
1416 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
1417 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
1419 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
1420 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
1422 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
1423 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
1425 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
1426 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
1428 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
1429 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
1431 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
1432 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
1434 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
1435 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
1437 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
1438 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
1440 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
1441 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
1443 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
1444 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
1446 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
1447 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
1449 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
1450 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
1452 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
1453 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
1455 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
1456 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
1458 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
1459 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
1461 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
1462 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
1464 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
1465 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
1467 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
1468 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
1470 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
1471 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
1473 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
1474 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
1476 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
1477 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
1479 static void *_p_wxImageTo_p_wxObject(void *x
) {
1480 return (void *)((wxObject
*) ((wxImage
*) x
));
1482 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
1483 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
1485 static void *_p_wxWebKitCtrlTo_p_wxObject(void *x
) {
1486 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxWebKitCtrl
*) x
));
1488 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
1489 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
1491 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
1492 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
1494 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
1495 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
1497 static void *_p_wxWindowTo_p_wxObject(void *x
) {
1498 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
1500 static void *_p_wxMenuTo_p_wxObject(void *x
) {
1501 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
1503 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
1504 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
1506 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
1507 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
1509 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
1510 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
1512 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
1513 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
1515 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
1516 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
1518 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
1519 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
1521 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
1522 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
1524 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
1525 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
1527 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
1528 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
1530 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
1531 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
1533 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
1534 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
1536 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
1537 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
1539 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
1540 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
1542 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
1543 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
1545 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
1546 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
1548 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
1549 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
1551 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
1552 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
1554 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
1555 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
1557 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
1558 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
1560 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
1561 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
1563 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
1564 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
1566 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
1567 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
1569 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
1570 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
1572 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
1573 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
1575 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
1576 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
1578 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
1579 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
1581 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
1582 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
1584 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
1585 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
1587 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
1588 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
1590 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
1591 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
1593 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
1594 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
1596 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
1597 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
1599 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
1600 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
1602 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
1603 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
1605 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
1606 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
1608 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
1609 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
1611 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
1612 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
1614 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
1615 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
1617 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
1618 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
1620 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
1621 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
1623 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
1624 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
1626 static void *_p_wxWebKitStateChangedEventTo_p_wxEvent(void *x
) {
1627 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWebKitStateChangedEvent
*) x
));
1629 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
1630 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
1632 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
1633 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
1635 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
1636 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
1638 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
1639 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
1641 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
1642 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
1644 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
1645 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
1647 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
1648 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
1650 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
1651 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
1653 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
1654 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
1656 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
1657 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
1659 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
1660 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
1662 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
1663 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
1665 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
1666 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
1668 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
1669 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
1671 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
1672 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
1674 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
1675 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
1677 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
1678 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
1680 static void *_p_wxWebKitStateChangedEventTo_p_wxCommandEvent(void *x
) {
1681 return (void *)((wxCommandEvent
*) ((wxWebKitStateChangedEvent
*) x
));
1683 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
1684 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
1686 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
1687 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
1689 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}};
1690 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}};
1691 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}};
1692 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}};
1693 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}};
1694 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}};
1695 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}};
1696 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}};
1697 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}};
1698 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}};
1700 static swig_type_info
*swig_types_initial
[] = {
1701 _swigt__p_wxControl
,
1702 _swigt__p_wxWebKitCtrl
,
1704 _swigt__p_wxEvtHandler
,
1708 _swigt__p_wxValidator
,
1709 _swigt__p_wxWebKitStateChangedEvent
,
1710 _swigt__p_wxCommandEvent
,
1715 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
1717 static swig_const_info swig_const_table
[] = {
1718 {0, 0, 0, 0.0, 0, 0}};
1727 SWIGEXPORT(void) SWIG_init(void) {
1728 static PyObject
*SWIG_globals
= 0;
1729 static int typeinit
= 0;
1732 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
1733 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
1734 d
= PyModule_GetDict(m
);
1737 for (i
= 0; swig_types_initial
[i
]; i
++) {
1738 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
1742 SWIG_InstallConstants(d
,swig_const_table
);
1744 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
1745 SWIG_addvarlink(SWIG_globals
,(char*)"WebKitNameStr",_wrap_WebKitNameStr_get
, _wrap_WebKitNameStr_set
);
1746 PyDict_SetItemString(d
,"WEBKIT_STATE_START", SWIG_From_int((int)wxWEBKIT_STATE_START
));
1747 PyDict_SetItemString(d
,"WEBKIT_STATE_NEGOTIATING", SWIG_From_int((int)wxWEBKIT_STATE_NEGOTIATING
));
1748 PyDict_SetItemString(d
,"WEBKIT_STATE_REDIRECTING", SWIG_From_int((int)wxWEBKIT_STATE_REDIRECTING
));
1749 PyDict_SetItemString(d
,"WEBKIT_STATE_TRANSFERRING", SWIG_From_int((int)wxWEBKIT_STATE_TRANSFERRING
));
1750 PyDict_SetItemString(d
,"WEBKIT_STATE_STOP", SWIG_From_int((int)wxWEBKIT_STATE_STOP
));
1751 PyDict_SetItemString(d
,"WEBKIT_STATE_FAILED", SWIG_From_int((int)wxWEBKIT_STATE_FAILED
));
1752 PyDict_SetItemString(d
, "wxEVT_WEBKIT_STATE_CHANGED", PyInt_FromLong(wxEVT_WEBKIT_STATE_CHANGED
));