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_wxLongLong swig_types[0]
212 #define SWIGTYPE_p_wxControl swig_types[1]
213 #define SWIGTYPE_p_wxWindow swig_types[2]
214 #define SWIGTYPE_p_wxEvent swig_types[3]
215 #define SWIGTYPE_p_wxObject swig_types[4]
216 #define SWIGTYPE_p_wxEvtHandler swig_types[5]
217 #define SWIGTYPE_p_char swig_types[6]
218 #define SWIGTYPE_p_wxMediaCtrl swig_types[7]
219 #define SWIGTYPE_p_wxValidator swig_types[8]
220 #define SWIGTYPE_p_wxNotifyEvent swig_types[9]
221 #define SWIGTYPE_p_wxCommandEvent swig_types[10]
222 #define SWIGTYPE_p_wxMediaEvent swig_types[11]
223 static swig_type_info
*swig_types
[13];
225 /* -------- TYPES TABLE (END) -------- */
228 /*-----------------------------------------------
229 @(target):= _media.so
230 ------------------------------------------------*/
231 #define SWIG_init init_media
233 #define SWIG_name "_media"
235 /* Auxiliar swig macros that appear in the header */
237 #define SWIG_OLDOBJ 1
238 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
239 #define SWIG_PYSTR SWIG_NEWOBJ + 1
242 #define SWIGSTATICINLINE(a) static inline a
243 #define SWIGSTATIC(a) static a
244 #define swig_new_array(size,Type) (new Type[(size)])
245 #define swig_delete(cptr) delete cptr
246 #define swig_delete_array(cptr) delete[] cptr
247 #define swig_const_cast(a,Type) const_cast<Type >(a)
248 #define swig_static_cast(a,Type) static_cast<Type >(a)
249 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
250 #define swig_new_copy(ptr,Type) (new Type(*ptr))
251 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
255 #define SWIGSTATICINLINE(a) static a
256 #define SWIGSTATIC(a) static a
257 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
258 #define swig_delete(cptr) free((char*)cptr)
259 #define swig_delete_array(cptr) free((char*)cptr)
260 #define swig_const_cast(a,Type) (Type)(a)
261 #define swig_static_cast(a,Type) (Type)(a)
262 #define swig_reinterpret_cast(a,Type) (Type)(a)
263 #define swig_numeric_cast(a,Type) (Type)(a)
264 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
266 #endif /* __cplusplus */
269 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
270 #define SWIG_From_signed_SS_char PyInt_FromLong
272 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
273 #define SWIG_From_unsigned_SS_char PyInt_FromLong
275 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
276 #define SWIG_From_short PyInt_FromLong
278 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
279 #define SWIG_From_unsigned_SS_short PyInt_FromLong
281 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
282 #define SWIG_From_int PyInt_FromLong
284 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
285 #define SWIG_From_long PyInt_FromLong
287 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
288 #define SWIG_From_float PyFloat_FromDouble
290 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
291 #define SWIG_From_double PyFloat_FromDouble
295 #include "wx/wxPython/wxPython.h"
296 #include "wx/wxPython/pyclasses.h"
298 #include <wx/mediactrl.h>
305 wxMEDIASTATE_STOPPED
=0,
306 wxMEDIASTATE_PAUSED
=0,
307 wxMEDIASTATE_PLAYING
=0
310 enum wxMediaTimeFormat
312 wxMEDIATIMEFORMAT_TIME
=0
315 class wxMediaEvent
: public wxNotifyEvent
318 wxMediaEvent(wxEventType
, int ) { wxPyRaiseNotImplemented(); }
321 class wxMediaCtrl
: public wxControl
324 wxMediaCtrl() { wxPyRaiseNotImplemented(); }
326 wxMediaCtrl(wxWindow
* , wxWindowID
,
333 const wxString
& ) { wxPyRaiseNotImplemented(); }
335 wxMediaCtrl(wxWindow
* ,
343 const wxString
& ) { wxPyRaiseNotImplemented(); }
345 bool Create(wxWindow
* , wxWindowID
,
352 const wxString
& ) { return false; }
354 bool Create(wxWindow
* ,
362 const wxString
& ) { return false; }
364 bool Play() { return false; }
365 bool Pause() { return false; }
366 bool Stop() { return false; }
368 bool Load(const wxString
& fileName
) { return false; }
369 bool Load(const wxURI
& location
) { return false; }
371 void Loop(bool bLoop
= true) {}
372 bool IsLooped() { return false; }
374 wxMediaState
GetState() { return wxMEDIASTATE_STOPPED
; }
376 double GetPlaybackRate() { return 0.0; };
377 bool SetPlaybackRate(double dRate
) { return false; }
379 bool SetPosition(wxLongLong where
) { return false; }
380 wxLongLong
GetPosition() { return 0; }
381 wxLongLong
GetDuration() { return 0; }
384 const wxEventType wxEVT_MEDIA_FINISHED
= 0;
385 const wxEventType wxEVT_MEDIA_STOP
= 0;
393 SWIGSTATICINLINE(int)
394 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
397 if (value
< min_value
) {
399 PyErr_Format(PyExc_OverflowError
,
400 "value %ld is less than '%s' minimum %ld",
401 value
, errmsg
, min_value
);
404 } else if (value
> max_value
) {
406 PyErr_Format(PyExc_OverflowError
,
407 "value %ld is greater than '%s' maximum %ld",
408 value
, errmsg
, max_value
);
416 // See my_fragments.i
417 SWIGSTATICINLINE(int)
418 SWIG_AsVal_long(PyObject
* obj
, long* val
)
420 if (PyNumber_Check(obj
)) {
421 if (val
) *val
= PyInt_AsLong(obj
);
425 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
426 obj
->ob_type
->tp_name
);
427 PyErr_SetObject(PyExc_TypeError
, errmsg
);
434 #if INT_MAX != LONG_MAX
435 SWIGSTATICINLINE(int)
436 SWIG_AsVal_int(PyObject
*obj
, int *val
)
438 const char* errmsg
= val
? "int" : 0;
440 if (SWIG_AsVal_long(obj
, &v
)) {
441 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
442 if (val
) *val
= swig_numeric_cast(v
, int);
451 PyErr_SetString(PyExc_TypeError
, "an int is expected");
456 SWIGSTATICINLINE(int)
457 SWIG_AsVal_int(PyObject
*obj
, int *val
)
459 return SWIG_AsVal_long(obj
,(long*)val
);
464 SWIGSTATICINLINE(int)
465 SWIG_As_int(PyObject
* obj
)
468 if (!SWIG_AsVal_int(obj
, &v
)) {
470 this is needed to make valgrind/purify happier. the other
471 solution is throw an exception, but since this code should work
474 memset((void*)&v
, 0, sizeof(int));
480 SWIGSTATICINLINE(int)
481 SWIG_Check_int(PyObject
* obj
)
483 return SWIG_AsVal_int(obj
, (int*)0);
486 static const wxString
wxPyEmptyString(wxEmptyString
);
487 static const wxString
wxPyMediaCtrlNameStr(wxT("mediaCtrl"));
489 SWIGSTATICINLINE(long)
490 SWIG_As_long(PyObject
* obj
)
493 if (!SWIG_AsVal_long(obj
, &v
)) {
495 this is needed to make valgrind/purify happier. the other
496 solution is throw an exception, but since this code should work
499 memset((void*)&v
, 0, sizeof(long));
505 SWIGSTATICINLINE(int)
506 SWIG_Check_long(PyObject
* obj
)
508 return SWIG_AsVal_long(obj
, (long*)0);
511 wxMediaCtrl
*new_wxMediaCtrl(wxWindow
*parent
,int id
,wxString
const &location
,wxPoint
const &pos
,wxSize
const &size
,long style
,wxString
const &szBackend
,wxValidator
const &validator
,wxString
const &name
){
512 return new wxMediaCtrl(parent
, id
, wxURI(location
),
513 pos
, size
, style
, szBackend
, validator
, name
);
515 bool wxMediaCtrl_CreateFromURI(wxMediaCtrl
*self
,wxWindow
*parent
,int id
,wxString
const &location
,wxPoint
const &pos
,wxSize
const &size
,long style
,wxString
const &szBackend
,wxValidator
const &validator
,wxString
const &name
){
516 return self
->Create(parent
, id
, wxURI(location
),
517 pos
, size
, style
, szBackend
, validator
, name
);
519 bool wxMediaCtrl_LoadFromURI(wxMediaCtrl
*self
,wxString
const &location
){
520 return self
->Load(wxURI(location
));
523 SWIGSTATICINLINE(int)
524 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
526 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
527 if (obj
== Py_True
) {
528 if (val
) *val
= true;
531 if (obj
== Py_False
) {
532 if (val
) *val
= false;
536 if (SWIG_AsVal_int(obj
, &res
)) {
537 if (val
) *val
= (bool)res
;
541 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
547 SWIGSTATICINLINE(bool)
548 SWIG_As_bool(PyObject
* obj
)
551 if (!SWIG_AsVal_bool(obj
, &v
)) {
553 this is needed to make valgrind/purify happier. the other
554 solution is throw an exception, but since this code should work
557 memset((void*)&v
, 0, sizeof(bool));
563 SWIGSTATICINLINE(int)
564 SWIG_Check_bool(PyObject
* obj
)
566 return SWIG_AsVal_bool(obj
, (bool*)0);
570 // See my_fragments.i
571 SWIGSTATICINLINE(int)
572 SWIG_AsVal_double(PyObject
*obj
, double* val
)
574 if (PyNumber_Check(obj
)) {
575 if (val
) *val
= PyFloat_AsDouble(obj
);
579 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
580 obj
->ob_type
->tp_name
);
581 PyErr_SetObject(PyExc_TypeError
, errmsg
);
588 SWIGSTATICINLINE(double)
589 SWIG_As_double(PyObject
* obj
)
592 if (!SWIG_AsVal_double(obj
, &v
)) {
594 this is needed to make valgrind/purify happier. the other
595 solution is throw an exception, but since this code should work
598 memset((void*)&v
, 0, sizeof(double));
604 SWIGSTATICINLINE(int)
605 SWIG_Check_double(PyObject
* obj
)
607 return SWIG_AsVal_double(obj
, (double*)0);
613 static PyObject
*_wrap_new_MediaEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
615 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
617 wxMediaEvent
*result
;
618 PyObject
* obj0
= 0 ;
619 PyObject
* obj1
= 0 ;
621 (char *) "commandType",(char *) "id", NULL
624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MediaEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
626 arg1
= (wxEventType
)SWIG_As_int(obj0
);
627 if (PyErr_Occurred()) SWIG_fail
;
630 arg2
= (int)SWIG_As_int(obj1
);
631 if (PyErr_Occurred()) SWIG_fail
;
634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
635 result
= (wxMediaEvent
*)new wxMediaEvent(arg1
,arg2
);
637 wxPyEndAllowThreads(__tstate
);
638 if (PyErr_Occurred()) SWIG_fail
;
640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMediaEvent
, 1);
647 static PyObject
* MediaEvent_swigregister(PyObject
*, PyObject
*args
) {
649 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
650 SWIG_TypeClientData(SWIGTYPE_p_wxMediaEvent
, obj
);
652 return Py_BuildValue((char *)"");
654 static int _wrap_MediaCtrlNameStr_set(PyObject
*) {
655 PyErr_SetString(PyExc_TypeError
,"Variable MediaCtrlNameStr is read-only.");
660 static PyObject
*_wrap_MediaCtrlNameStr_get() {
665 pyobj
= PyUnicode_FromWideChar((&wxPyMediaCtrlNameStr
)->c_str(), (&wxPyMediaCtrlNameStr
)->Len());
667 pyobj
= PyString_FromStringAndSize((&wxPyMediaCtrlNameStr
)->c_str(), (&wxPyMediaCtrlNameStr
)->Len());
674 static PyObject
*_wrap_new_MediaCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
676 wxWindow
*arg1
= (wxWindow
*) 0 ;
677 int arg2
= (int) -1 ;
678 wxString
const &arg3_defvalue
= wxPyEmptyString
;
679 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
680 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
681 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
682 wxSize
const &arg5_defvalue
= wxDefaultSize
;
683 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
684 long arg6
= (long) 0 ;
685 wxString
const &arg7_defvalue
= wxPyEmptyString
;
686 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
687 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
688 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
689 wxString
const &arg9_defvalue
= wxPyMediaCtrlNameStr
;
690 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
697 PyObject
* obj0
= 0 ;
698 PyObject
* obj1
= 0 ;
699 PyObject
* obj2
= 0 ;
700 PyObject
* obj3
= 0 ;
701 PyObject
* obj4
= 0 ;
702 PyObject
* obj5
= 0 ;
703 PyObject
* obj6
= 0 ;
704 PyObject
* obj7
= 0 ;
705 PyObject
* obj8
= 0 ;
707 (char *) "parent",(char *) "id",(char *) "fileName",(char *) "pos",(char *) "size",(char *) "style",(char *) "szBackend",(char *) "validator",(char *) "name", NULL
710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_MediaCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
714 arg2
= (int)SWIG_As_int(obj1
);
715 if (PyErr_Occurred()) SWIG_fail
;
719 arg3
= wxString_in_helper(obj2
);
720 if (arg3
== NULL
) SWIG_fail
;
727 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
733 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
737 arg6
= (long)SWIG_As_long(obj5
);
738 if (PyErr_Occurred()) SWIG_fail
;
742 arg7
= wxString_in_helper(obj6
);
743 if (arg7
== NULL
) SWIG_fail
;
748 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
749 SWIG_POINTER_EXCEPTION
| 0)) == -1)
752 PyErr_SetString(PyExc_TypeError
,"null reference");
758 arg9
= wxString_in_helper(obj8
);
759 if (arg9
== NULL
) SWIG_fail
;
764 if (!wxPyCheckForApp()) SWIG_fail
;
765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
766 result
= (wxMediaCtrl
*)new wxMediaCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
768 wxPyEndAllowThreads(__tstate
);
769 if (PyErr_Occurred()) SWIG_fail
;
771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMediaCtrl
, 1);
802 static PyObject
*_wrap_new_PreMediaCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMediaCtrl",kwnames
)) goto fail
;
811 if (!wxPyCheckForApp()) SWIG_fail
;
812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
813 result
= (wxMediaCtrl
*)new wxMediaCtrl();
815 wxPyEndAllowThreads(__tstate
);
816 if (PyErr_Occurred()) SWIG_fail
;
818 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMediaCtrl
, 1);
825 static PyObject
*_wrap_new_MediaCtrlFromURI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
827 wxWindow
*arg1
= (wxWindow
*) 0 ;
828 int arg2
= (int) -1 ;
829 wxString
const &arg3_defvalue
= wxPyEmptyString
;
830 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
831 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
832 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
833 wxSize
const &arg5_defvalue
= wxDefaultSize
;
834 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
835 long arg6
= (long) 0 ;
836 wxString
const &arg7_defvalue
= wxPyEmptyString
;
837 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
838 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
839 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
840 wxString
const &arg9_defvalue
= wxPyMediaCtrlNameStr
;
841 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
848 PyObject
* obj0
= 0 ;
849 PyObject
* obj1
= 0 ;
850 PyObject
* obj2
= 0 ;
851 PyObject
* obj3
= 0 ;
852 PyObject
* obj4
= 0 ;
853 PyObject
* obj5
= 0 ;
854 PyObject
* obj6
= 0 ;
855 PyObject
* obj7
= 0 ;
856 PyObject
* obj8
= 0 ;
858 (char *) "parent",(char *) "id",(char *) "location",(char *) "pos",(char *) "size",(char *) "style",(char *) "szBackend",(char *) "validator",(char *) "name", NULL
861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_MediaCtrlFromURI",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
865 arg2
= (int)SWIG_As_int(obj1
);
866 if (PyErr_Occurred()) SWIG_fail
;
870 arg3
= wxString_in_helper(obj2
);
871 if (arg3
== NULL
) SWIG_fail
;
878 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
884 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
888 arg6
= (long)SWIG_As_long(obj5
);
889 if (PyErr_Occurred()) SWIG_fail
;
893 arg7
= wxString_in_helper(obj6
);
894 if (arg7
== NULL
) SWIG_fail
;
899 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
900 SWIG_POINTER_EXCEPTION
| 0)) == -1)
903 PyErr_SetString(PyExc_TypeError
,"null reference");
909 arg9
= wxString_in_helper(obj8
);
910 if (arg9
== NULL
) SWIG_fail
;
915 if (!wxPyCheckForApp()) SWIG_fail
;
916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
917 result
= (wxMediaCtrl
*)new_wxMediaCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
919 wxPyEndAllowThreads(__tstate
);
920 if (PyErr_Occurred()) SWIG_fail
;
922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMediaCtrl
, 1);
953 static PyObject
*_wrap_MediaCtrl_CreateFromURI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
955 wxMediaCtrl
*arg1
= (wxMediaCtrl
*) 0 ;
956 wxWindow
*arg2
= (wxWindow
*) 0 ;
957 int arg3
= (int) -1 ;
958 wxString
const &arg4_defvalue
= wxPyEmptyString
;
959 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
960 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
961 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
962 wxSize
const &arg6_defvalue
= wxDefaultSize
;
963 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
964 long arg7
= (long) 0 ;
965 wxString
const &arg8_defvalue
= wxPyEmptyString
;
966 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
967 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
968 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
969 wxString
const &arg10_defvalue
= wxPyMediaCtrlNameStr
;
970 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
976 bool temp10
= false ;
977 PyObject
* obj0
= 0 ;
978 PyObject
* obj1
= 0 ;
979 PyObject
* obj2
= 0 ;
980 PyObject
* obj3
= 0 ;
981 PyObject
* obj4
= 0 ;
982 PyObject
* obj5
= 0 ;
983 PyObject
* obj6
= 0 ;
984 PyObject
* obj7
= 0 ;
985 PyObject
* obj8
= 0 ;
986 PyObject
* obj9
= 0 ;
988 (char *) "self",(char *) "parent",(char *) "id",(char *) "location",(char *) "pos",(char *) "size",(char *) "style",(char *) "szBackend",(char *) "validator",(char *) "name", NULL
991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:MediaCtrl_CreateFromURI",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMediaCtrl
,
993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
994 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
997 arg3
= (int)SWIG_As_int(obj2
);
998 if (PyErr_Occurred()) SWIG_fail
;
1002 arg4
= wxString_in_helper(obj3
);
1003 if (arg4
== NULL
) SWIG_fail
;
1010 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1016 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1020 arg7
= (long)SWIG_As_long(obj6
);
1021 if (PyErr_Occurred()) SWIG_fail
;
1025 arg8
= wxString_in_helper(obj7
);
1026 if (arg8
== NULL
) SWIG_fail
;
1031 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
1032 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1035 PyErr_SetString(PyExc_TypeError
,"null reference");
1041 arg10
= wxString_in_helper(obj9
);
1042 if (arg10
== NULL
) SWIG_fail
;
1047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1048 result
= (bool)wxMediaCtrl_CreateFromURI(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
1050 wxPyEndAllowThreads(__tstate
);
1051 if (PyErr_Occurred()) SWIG_fail
;
1054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1086 static PyObject
*_wrap_MediaCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1087 PyObject
*resultobj
;
1088 wxMediaCtrl
*arg1
= (wxMediaCtrl
*) 0 ;
1089 wxWindow
*arg2
= (wxWindow
*) 0 ;
1090 int arg3
= (int) -1 ;
1091 wxString
const &arg4_defvalue
= wxPyEmptyString
;
1092 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
1093 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1094 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1095 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1096 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1097 long arg7
= (long) 0 ;
1098 wxString
const &arg8_defvalue
= wxPyEmptyString
;
1099 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1100 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
1101 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
1102 wxString
const &arg10_defvalue
= wxPyMediaCtrlNameStr
;
1103 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
1105 bool temp4
= false ;
1108 bool temp8
= false ;
1109 bool temp10
= false ;
1110 PyObject
* obj0
= 0 ;
1111 PyObject
* obj1
= 0 ;
1112 PyObject
* obj2
= 0 ;
1113 PyObject
* obj3
= 0 ;
1114 PyObject
* obj4
= 0 ;
1115 PyObject
* obj5
= 0 ;
1116 PyObject
* obj6
= 0 ;
1117 PyObject
* obj7
= 0 ;
1118 PyObject
* obj8
= 0 ;
1119 PyObject
* obj9
= 0 ;
1121 (char *) "self",(char *) "parent",(char *) "id",(char *) "fileName",(char *) "pos",(char *) "size",(char *) "style",(char *) "szBackend",(char *) "validator",(char *) "name", NULL
1124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:MediaCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
1125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMediaCtrl
,
1126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1127 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1130 arg3
= (int)SWIG_As_int(obj2
);
1131 if (PyErr_Occurred()) SWIG_fail
;
1135 arg4
= wxString_in_helper(obj3
);
1136 if (arg4
== NULL
) SWIG_fail
;
1143 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1149 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1153 arg7
= (long)SWIG_As_long(obj6
);
1154 if (PyErr_Occurred()) SWIG_fail
;
1158 arg8
= wxString_in_helper(obj7
);
1159 if (arg8
== NULL
) SWIG_fail
;
1164 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
1165 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1168 PyErr_SetString(PyExc_TypeError
,"null reference");
1174 arg10
= wxString_in_helper(obj9
);
1175 if (arg10
== NULL
) SWIG_fail
;
1180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1181 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
1183 wxPyEndAllowThreads(__tstate
);
1184 if (PyErr_Occurred()) SWIG_fail
;
1187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1219 static PyObject
*_wrap_MediaCtrl_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1220 PyObject
*resultobj
;
1221 wxMediaCtrl
*arg1
= (wxMediaCtrl
*) 0 ;
1223 PyObject
* obj0
= 0 ;
1225 (char *) "self", NULL
1228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MediaCtrl_Play",kwnames
,&obj0
)) goto fail
;
1229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMediaCtrl
,
1230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1233 result
= (bool)(arg1
)->Play();
1235 wxPyEndAllowThreads(__tstate
);
1236 if (PyErr_Occurred()) SWIG_fail
;
1239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1247 static PyObject
*_wrap_MediaCtrl_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1248 PyObject
*resultobj
;
1249 wxMediaCtrl
*arg1
= (wxMediaCtrl
*) 0 ;
1251 PyObject
* obj0
= 0 ;
1253 (char *) "self", NULL
1256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MediaCtrl_Pause",kwnames
,&obj0
)) goto fail
;
1257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMediaCtrl
,
1258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1261 result
= (bool)(arg1
)->Pause();
1263 wxPyEndAllowThreads(__tstate
);
1264 if (PyErr_Occurred()) SWIG_fail
;
1267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1275 static PyObject
*_wrap_MediaCtrl_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1276 PyObject
*resultobj
;
1277 wxMediaCtrl
*arg1
= (wxMediaCtrl
*) 0 ;
1279 PyObject
* obj0
= 0 ;
1281 (char *) "self", NULL
1284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MediaCtrl_Stop",kwnames
,&obj0
)) goto fail
;
1285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMediaCtrl
,
1286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1289 result
= (bool)(arg1
)->Stop();
1291 wxPyEndAllowThreads(__tstate
);
1292 if (PyErr_Occurred()) SWIG_fail
;
1295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1303 static PyObject
*_wrap_MediaCtrl_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1304 PyObject
*resultobj
;
1305 wxMediaCtrl
*arg1
= (wxMediaCtrl
*) 0 ;
1306 wxString
*arg2
= 0 ;
1308 bool temp2
= false ;
1309 PyObject
* obj0
= 0 ;
1310 PyObject
* obj1
= 0 ;
1312 (char *) "self",(char *) "fileName", NULL
1315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MediaCtrl_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
1316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMediaCtrl
,
1317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1319 arg2
= wxString_in_helper(obj1
);
1320 if (arg2
== NULL
) SWIG_fail
;
1324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1325 result
= (bool)(arg1
)->Load((wxString
const &)*arg2
);
1327 wxPyEndAllowThreads(__tstate
);
1328 if (PyErr_Occurred()) SWIG_fail
;
1331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1347 static PyObject
*_wrap_MediaCtrl_LoadFromURI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1348 PyObject
*resultobj
;
1349 wxMediaCtrl
*arg1
= (wxMediaCtrl
*) 0 ;
1350 wxString
*arg2
= 0 ;
1352 bool temp2
= false ;
1353 PyObject
* obj0
= 0 ;
1354 PyObject
* obj1
= 0 ;
1356 (char *) "self",(char *) "location", NULL
1359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MediaCtrl_LoadFromURI",kwnames
,&obj0
,&obj1
)) goto fail
;
1360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMediaCtrl
,
1361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1363 arg2
= wxString_in_helper(obj1
);
1364 if (arg2
== NULL
) SWIG_fail
;
1368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1369 result
= (bool)wxMediaCtrl_LoadFromURI(arg1
,(wxString
const &)*arg2
);
1371 wxPyEndAllowThreads(__tstate
);
1372 if (PyErr_Occurred()) SWIG_fail
;
1375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1391 static PyObject
*_wrap_MediaCtrl_Loop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1392 PyObject
*resultobj
;
1393 wxMediaCtrl
*arg1
= (wxMediaCtrl
*) 0 ;
1394 bool arg2
= (bool) true ;
1395 PyObject
* obj0
= 0 ;
1396 PyObject
* obj1
= 0 ;
1398 (char *) "self",(char *) "bLoop", NULL
1401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MediaCtrl_Loop",kwnames
,&obj0
,&obj1
)) goto fail
;
1402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMediaCtrl
,
1403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1405 arg2
= (bool)SWIG_As_bool(obj1
);
1406 if (PyErr_Occurred()) SWIG_fail
;
1409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1412 wxPyEndAllowThreads(__tstate
);
1413 if (PyErr_Occurred()) SWIG_fail
;
1415 Py_INCREF(Py_None
); resultobj
= Py_None
;
1422 static PyObject
*_wrap_MediaCtrl_IsLooped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1423 PyObject
*resultobj
;
1424 wxMediaCtrl
*arg1
= (wxMediaCtrl
*) 0 ;
1426 PyObject
* obj0
= 0 ;
1428 (char *) "self", NULL
1431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MediaCtrl_IsLooped",kwnames
,&obj0
)) goto fail
;
1432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMediaCtrl
,
1433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1436 result
= (bool)(arg1
)->IsLooped();
1438 wxPyEndAllowThreads(__tstate
);
1439 if (PyErr_Occurred()) SWIG_fail
;
1442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1450 static PyObject
*_wrap_MediaCtrl_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1451 PyObject
*resultobj
;
1452 wxMediaCtrl
*arg1
= (wxMediaCtrl
*) 0 ;
1454 PyObject
* obj0
= 0 ;
1456 (char *) "self", NULL
1459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MediaCtrl_GetState",kwnames
,&obj0
)) goto fail
;
1460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMediaCtrl
,
1461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1464 result
= (int)(arg1
)->GetState();
1466 wxPyEndAllowThreads(__tstate
);
1467 if (PyErr_Occurred()) SWIG_fail
;
1469 resultobj
= SWIG_From_int((int)result
);
1476 static PyObject
*_wrap_MediaCtrl_GetPlaybackRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1477 PyObject
*resultobj
;
1478 wxMediaCtrl
*arg1
= (wxMediaCtrl
*) 0 ;
1480 PyObject
* obj0
= 0 ;
1482 (char *) "self", NULL
1485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MediaCtrl_GetPlaybackRate",kwnames
,&obj0
)) goto fail
;
1486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMediaCtrl
,
1487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1490 result
= (double)(arg1
)->GetPlaybackRate();
1492 wxPyEndAllowThreads(__tstate
);
1493 if (PyErr_Occurred()) SWIG_fail
;
1495 resultobj
= SWIG_From_double((double)result
);
1502 static PyObject
*_wrap_MediaCtrl_SetPlaybackRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1503 PyObject
*resultobj
;
1504 wxMediaCtrl
*arg1
= (wxMediaCtrl
*) 0 ;
1507 PyObject
* obj0
= 0 ;
1508 PyObject
* obj1
= 0 ;
1510 (char *) "self",(char *) "dRate", NULL
1513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MediaCtrl_SetPlaybackRate",kwnames
,&obj0
,&obj1
)) goto fail
;
1514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMediaCtrl
,
1515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1516 arg2
= (double)SWIG_As_double(obj1
);
1517 if (PyErr_Occurred()) SWIG_fail
;
1519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1520 result
= (bool)(arg1
)->SetPlaybackRate(arg2
);
1522 wxPyEndAllowThreads(__tstate
);
1523 if (PyErr_Occurred()) SWIG_fail
;
1526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1534 static PyObject
*_wrap_MediaCtrl_SetMediaPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1535 PyObject
*resultobj
;
1536 wxMediaCtrl
*arg1
= (wxMediaCtrl
*) 0 ;
1539 PyObject
* obj0
= 0 ;
1540 PyObject
* obj1
= 0 ;
1542 (char *) "self",(char *) "where", NULL
1545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MediaCtrl_SetMediaPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
1546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMediaCtrl
,
1547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1549 arg2
= PyLong_AsLongLong(obj1
);
1552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1553 result
= (bool)(arg1
)->SetPosition(arg2
);
1555 wxPyEndAllowThreads(__tstate
);
1556 if (PyErr_Occurred()) SWIG_fail
;
1559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1567 static PyObject
*_wrap_MediaCtrl_GetMediaPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1568 PyObject
*resultobj
;
1569 wxMediaCtrl
*arg1
= (wxMediaCtrl
*) 0 ;
1571 PyObject
* obj0
= 0 ;
1573 (char *) "self", NULL
1576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MediaCtrl_GetMediaPosition",kwnames
,&obj0
)) goto fail
;
1577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMediaCtrl
,
1578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1581 result
= (arg1
)->GetPosition();
1583 wxPyEndAllowThreads(__tstate
);
1584 if (PyErr_Occurred()) SWIG_fail
;
1587 resultobj
= PyLong_FromLongLong((&result
)->GetValue());
1595 static PyObject
*_wrap_MediaCtrl_GetMediaDuration(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1596 PyObject
*resultobj
;
1597 wxMediaCtrl
*arg1
= (wxMediaCtrl
*) 0 ;
1599 PyObject
* obj0
= 0 ;
1601 (char *) "self", NULL
1604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MediaCtrl_GetMediaDuration",kwnames
,&obj0
)) goto fail
;
1605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMediaCtrl
,
1606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1609 result
= (arg1
)->GetDuration();
1611 wxPyEndAllowThreads(__tstate
);
1612 if (PyErr_Occurred()) SWIG_fail
;
1615 resultobj
= PyLong_FromLongLong((&result
)->GetValue());
1623 static PyObject
* MediaCtrl_swigregister(PyObject
*, PyObject
*args
) {
1625 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1626 SWIG_TypeClientData(SWIGTYPE_p_wxMediaCtrl
, obj
);
1628 return Py_BuildValue((char *)"");
1630 static PyMethodDef SwigMethods
[] = {
1631 { (char *)"new_MediaEvent", (PyCFunction
) _wrap_new_MediaEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1632 { (char *)"MediaEvent_swigregister", MediaEvent_swigregister
, METH_VARARGS
, NULL
},
1633 { (char *)"new_MediaCtrl", (PyCFunction
) _wrap_new_MediaCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1634 { (char *)"new_PreMediaCtrl", (PyCFunction
) _wrap_new_PreMediaCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1635 { (char *)"new_MediaCtrlFromURI", (PyCFunction
) _wrap_new_MediaCtrlFromURI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1636 { (char *)"MediaCtrl_CreateFromURI", (PyCFunction
) _wrap_MediaCtrl_CreateFromURI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1637 { (char *)"MediaCtrl_Create", (PyCFunction
) _wrap_MediaCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1638 { (char *)"MediaCtrl_Play", (PyCFunction
) _wrap_MediaCtrl_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1639 { (char *)"MediaCtrl_Pause", (PyCFunction
) _wrap_MediaCtrl_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1640 { (char *)"MediaCtrl_Stop", (PyCFunction
) _wrap_MediaCtrl_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1641 { (char *)"MediaCtrl_Load", (PyCFunction
) _wrap_MediaCtrl_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1642 { (char *)"MediaCtrl_LoadFromURI", (PyCFunction
) _wrap_MediaCtrl_LoadFromURI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1643 { (char *)"MediaCtrl_Loop", (PyCFunction
) _wrap_MediaCtrl_Loop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1644 { (char *)"MediaCtrl_IsLooped", (PyCFunction
) _wrap_MediaCtrl_IsLooped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1645 { (char *)"MediaCtrl_GetState", (PyCFunction
) _wrap_MediaCtrl_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1646 { (char *)"MediaCtrl_GetPlaybackRate", (PyCFunction
) _wrap_MediaCtrl_GetPlaybackRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1647 { (char *)"MediaCtrl_SetPlaybackRate", (PyCFunction
) _wrap_MediaCtrl_SetPlaybackRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1648 { (char *)"MediaCtrl_SetMediaPosition", (PyCFunction
) _wrap_MediaCtrl_SetMediaPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1649 { (char *)"MediaCtrl_GetMediaPosition", (PyCFunction
) _wrap_MediaCtrl_GetMediaPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1650 { (char *)"MediaCtrl_GetMediaDuration", (PyCFunction
) _wrap_MediaCtrl_GetMediaDuration
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1651 { (char *)"MediaCtrl_swigregister", MediaCtrl_swigregister
, METH_VARARGS
, NULL
},
1652 { NULL
, NULL
, 0, NULL
}
1656 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
1658 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
1659 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
1661 static void *_p_wxMediaCtrlTo_p_wxControl(void *x
) {
1662 return (void *)((wxControl
*) ((wxMediaCtrl
*) x
));
1664 static void *_p_wxControlTo_p_wxWindow(void *x
) {
1665 return (void *)((wxWindow
*) ((wxControl
*) x
));
1667 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
1668 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
1670 static void *_p_wxMediaCtrlTo_p_wxWindow(void *x
) {
1671 return (void *)((wxWindow
*) (wxControl
*) ((wxMediaCtrl
*) x
));
1673 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
1674 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
1676 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
1677 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
1679 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
1680 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
1682 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
1683 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
1685 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
1686 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
1688 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
1689 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
1691 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
1692 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
1694 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
1695 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
1697 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
1698 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
1700 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
1701 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
1703 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
1704 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
1706 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
1707 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
1709 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
1710 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
1712 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
1713 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
1715 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
1716 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
1718 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
1719 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
1721 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
1722 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
1724 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
1725 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
1727 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
1728 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
1730 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
1731 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
1733 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
1734 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
1736 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
1737 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
1739 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
1740 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
1742 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
1743 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
1745 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
1746 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
1748 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
1749 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
1751 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
1752 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
1754 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
1755 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
1757 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
1758 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
1760 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
1761 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
1763 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
1764 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
1766 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
1767 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
1769 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
1770 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
1772 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
1773 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
1775 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
1776 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
1778 static void *_p_wxMediaEventTo_p_wxEvent(void *x
) {
1779 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxMediaEvent
*) x
));
1781 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
1782 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
1784 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
1785 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
1787 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
1788 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
1790 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
1791 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
1793 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
1794 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
1796 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
1797 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
1799 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
1800 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
1802 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
1803 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
1805 static void *_p_wxSizerTo_p_wxObject(void *x
) {
1806 return (void *)((wxObject
*) ((wxSizer
*) x
));
1808 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
1809 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
1811 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
1812 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
1814 static void *_p_wxEventTo_p_wxObject(void *x
) {
1815 return (void *)((wxObject
*) ((wxEvent
*) x
));
1817 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
1818 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
1820 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
1821 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
1823 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
1824 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
1826 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
1827 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
1829 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
1830 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
1832 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
1833 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
1835 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
1836 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
1838 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
1839 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
1841 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
1842 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
1844 static void *_p_wxMediaCtrlTo_p_wxObject(void *x
) {
1845 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxMediaCtrl
*) x
));
1847 static void *_p_wxControlTo_p_wxObject(void *x
) {
1848 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
1850 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
1851 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
1853 static void *_p_wxMediaEventTo_p_wxObject(void *x
) {
1854 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxMediaEvent
*) x
));
1856 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
1857 return (void *)((wxObject
*) ((wxFSFile
*) x
));
1859 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
1860 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
1862 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
1863 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
1865 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
1866 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
1868 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
1869 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
1871 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
1872 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
1874 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
1875 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
1877 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
1878 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
1880 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
1881 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
1883 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
1884 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
1886 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
1887 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
1889 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
1890 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
1892 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
1893 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
1895 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
1896 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
1898 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
1899 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
1901 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
1902 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
1904 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
1905 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
1907 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
1908 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
1910 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
1911 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
1913 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
1914 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
1916 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
1917 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
1919 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
1920 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
1922 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
1923 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
1925 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
1926 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
1928 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
1929 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
1931 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
1932 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
1934 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
1935 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
1937 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
1938 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
1940 static void *_p_wxImageTo_p_wxObject(void *x
) {
1941 return (void *)((wxObject
*) ((wxImage
*) x
));
1943 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
1944 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
1946 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
1947 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
1949 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
1950 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
1952 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
1953 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
1955 static void *_p_wxWindowTo_p_wxObject(void *x
) {
1956 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
1958 static void *_p_wxMenuTo_p_wxObject(void *x
) {
1959 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
1961 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
1962 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
1964 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
1965 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
1967 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
1968 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
1970 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
1971 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
1973 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
1974 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
1976 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
1977 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
1979 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
1980 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
1982 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
1983 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
1985 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
1986 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
1988 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
1989 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
1991 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
1992 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
1994 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
1995 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
1997 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
1998 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2000 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
2001 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
2003 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
2004 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
2006 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
2007 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
2009 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
2010 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
2012 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
2013 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
2015 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
2016 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
2018 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
2019 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
2021 static void *_p_wxMediaCtrlTo_p_wxEvtHandler(void *x
) {
2022 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxMediaCtrl
*) x
));
2024 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
2025 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
2027 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
2028 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
2030 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
2031 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
2033 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
2034 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
2036 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
2037 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
2039 static void *_p_wxMediaEventTo_p_wxNotifyEvent(void *x
) {
2040 return (void *)((wxNotifyEvent
*) ((wxMediaEvent
*) x
));
2042 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
2043 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2045 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
2046 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
2048 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
2049 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2051 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
2052 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2054 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
2055 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2057 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
2058 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2060 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
2061 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2063 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
2064 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2066 static void *_p_wxMediaEventTo_p_wxCommandEvent(void *x
) {
2067 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxMediaEvent
*) x
));
2069 static swig_type_info _swigt__p_wxLongLong
[] = {{"_p_wxLongLong", 0, "wxLongLong *", 0, 0, 0, 0},{"_p_wxLongLong", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2070 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxMediaCtrl", _p_wxMediaCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2071 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_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMediaCtrl", _p_wxMediaCtrlTo_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}};
2072 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_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMediaEvent", _p_wxMediaEventTo_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}};
2073 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_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMediaCtrl", _p_wxMediaCtrlTo_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_wxMediaEvent", _p_wxMediaEventTo_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_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}};
2074 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_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_wxMediaCtrl", _p_wxMediaCtrlTo_p_wxEvtHandler
, 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}};
2075 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}};
2076 static swig_type_info _swigt__p_wxMediaCtrl
[] = {{"_p_wxMediaCtrl", 0, "wxMediaCtrl *", 0, 0, 0, 0},{"_p_wxMediaCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2077 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}};
2078 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{"_p_wxMediaEvent", _p_wxMediaEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2079 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_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxMediaEvent", _p_wxMediaEventTo_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}};
2080 static swig_type_info _swigt__p_wxMediaEvent
[] = {{"_p_wxMediaEvent", 0, "wxMediaEvent *", 0, 0, 0, 0},{"_p_wxMediaEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2082 static swig_type_info
*swig_types_initial
[] = {
2083 _swigt__p_wxLongLong
,
2084 _swigt__p_wxControl
,
2088 _swigt__p_wxEvtHandler
,
2090 _swigt__p_wxMediaCtrl
,
2091 _swigt__p_wxValidator
,
2092 _swigt__p_wxNotifyEvent
,
2093 _swigt__p_wxCommandEvent
,
2094 _swigt__p_wxMediaEvent
,
2099 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
2101 static swig_const_info swig_const_table
[] = {
2102 {0, 0, 0, 0.0, 0, 0}};
2111 SWIGEXPORT(void) SWIG_init(void) {
2112 static PyObject
*SWIG_globals
= 0;
2113 static int typeinit
= 0;
2116 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
2117 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
2118 d
= PyModule_GetDict(m
);
2121 for (i
= 0; swig_types_initial
[i
]; i
++) {
2122 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
2126 SWIG_InstallConstants(d
,swig_const_table
);
2128 PyDict_SetItemString(d
,"MEDIASTATE_STOPPED", SWIG_From_int((int)wxMEDIASTATE_STOPPED
));
2129 PyDict_SetItemString(d
,"MEDIASTATE_PAUSED", SWIG_From_int((int)wxMEDIASTATE_PAUSED
));
2130 PyDict_SetItemString(d
,"MEDIASTATE_PLAYING", SWIG_From_int((int)wxMEDIASTATE_PLAYING
));
2131 PyDict_SetItemString(d
,"MEDIATIMEFORMAT_TIME", SWIG_From_int((int)wxMEDIATIMEFORMAT_TIME
));
2132 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
2133 SWIG_addvarlink(SWIG_globals
,(char*)"MediaCtrlNameStr",_wrap_MediaCtrlNameStr_get
, _wrap_MediaCtrlNameStr_set
);
2134 PyDict_SetItemString(d
, "wxEVT_MEDIA_FINISHED", PyInt_FromLong(wxEVT_MEDIA_FINISHED
));
2135 PyDict_SetItemString(d
, "wxEVT_MEDIA_STOP", PyInt_FromLong(wxEVT_MEDIA_STOP
));