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_wxWindow swig_types[1]
213 #define SWIGTYPE_p_wxEvent swig_types[2]
214 #define SWIGTYPE_p_wxObject swig_types[3]
215 #define SWIGTYPE_p_wxEvtHandler swig_types[4]
216 #define SWIGTYPE_p_char swig_types[5]
217 #define SWIGTYPE_p_wxMediaCtrl swig_types[6]
218 #define SWIGTYPE_p_wxFileOffset 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
311 class wxMediaEvent
: public wxNotifyEvent
314 wxMediaEvent(wxEventType
, int ) { wxPyRaiseNotImplemented(); }
317 class wxMediaCtrl
: public wxControl
320 wxMediaCtrl() { wxPyRaiseNotImplemented(); }
322 wxMediaCtrl(wxWindow
* , wxWindowID
,
329 const wxString
& ) { wxPyRaiseNotImplemented(); }
331 // wxMediaCtrl(wxWindow* ,
338 // const wxValidator& ,
339 // const wxString& ) { wxPyRaiseNotImplemented(); }
341 bool Create(wxWindow
* , wxWindowID
,
348 const wxString
& ) { return false; }
350 // bool Create(wxWindow* ,
357 // const wxValidator& ,
358 // const wxString& ) { return false; }
360 bool Play() { return false; }
361 bool Pause() { return false; }
362 bool Stop() { return false; }
364 bool Load(const wxString
& fileName
) { return false; }
365 bool Load(const wxURI
& location
) { return false; }
367 void Loop(bool bLoop
= true) {}
368 bool IsLooped() { return false; }
370 wxMediaState
GetState() { return wxMEDIASTATE_STOPPED
; }
372 double GetPlaybackRate() { return 0.0; }
373 bool SetPlaybackRate(double dRate
) { return false; }
375 wxFileOffset
Seek(wxFileOffset where
, wxSeekMode mode
= wxFromStart
)
378 wxFileOffset
Tell() { return 0; }
379 wxFileOffset
Length() { return 0; }
382 const wxEventType wxEVT_MEDIA_FINISHED
= 0;
383 const wxEventType wxEVT_MEDIA_STOP
= 0;
391 SWIGSTATICINLINE(int)
392 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
395 if (value
< min_value
) {
397 PyErr_Format(PyExc_OverflowError
,
398 "value %ld is less than '%s' minimum %ld",
399 value
, errmsg
, min_value
);
402 } else if (value
> max_value
) {
404 PyErr_Format(PyExc_OverflowError
,
405 "value %ld is greater than '%s' maximum %ld",
406 value
, errmsg
, max_value
);
414 // See my_fragments.i
415 SWIGSTATICINLINE(int)
416 SWIG_AsVal_long(PyObject
* obj
, long* val
)
418 if (PyNumber_Check(obj
)) {
419 if (val
) *val
= PyInt_AsLong(obj
);
423 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
424 obj
->ob_type
->tp_name
);
425 PyErr_SetObject(PyExc_TypeError
, errmsg
);
432 #if INT_MAX != LONG_MAX
433 SWIGSTATICINLINE(int)
434 SWIG_AsVal_int(PyObject
*obj
, int *val
)
436 const char* errmsg
= val
? "int" : 0;
438 if (SWIG_AsVal_long(obj
, &v
)) {
439 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
440 if (val
) *val
= swig_numeric_cast(v
, int);
449 PyErr_SetString(PyExc_TypeError
, "an int is expected");
454 SWIGSTATICINLINE(int)
455 SWIG_AsVal_int(PyObject
*obj
, int *val
)
457 return SWIG_AsVal_long(obj
,(long*)val
);
462 SWIGSTATICINLINE(int)
463 SWIG_As_int(PyObject
* obj
)
466 if (!SWIG_AsVal_int(obj
, &v
)) {
468 this is needed to make valgrind/purify happier. the other
469 solution is throw an exception, but since this code should work
472 memset((void*)&v
, 0, sizeof(int));
478 SWIGSTATICINLINE(int)
479 SWIG_Check_int(PyObject
* obj
)
481 return SWIG_AsVal_int(obj
, (int*)0);
484 static const wxString
wxPyEmptyString(wxEmptyString
);
485 static const wxString
wxPyMediaCtrlNameStr(wxT("mediaCtrl"));
487 SWIGSTATICINLINE(long)
488 SWIG_As_long(PyObject
* obj
)
491 if (!SWIG_AsVal_long(obj
, &v
)) {
493 this is needed to make valgrind/purify happier. the other
494 solution is throw an exception, but since this code should work
497 memset((void*)&v
, 0, sizeof(long));
503 SWIGSTATICINLINE(int)
504 SWIG_Check_long(PyObject
* obj
)
506 return SWIG_AsVal_long(obj
, (long*)0);
509 bool wxMediaCtrl_LoadFromURI(wxMediaCtrl
*self
,wxString
const &location
){
510 return self
->Load(wxURI(location
));
513 SWIGSTATICINLINE(int)
514 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
516 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
517 if (obj
== Py_True
) {
518 if (val
) *val
= true;
521 if (obj
== Py_False
) {
522 if (val
) *val
= false;
526 if (SWIG_AsVal_int(obj
, &res
)) {
527 if (val
) *val
= (bool)res
;
531 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
537 SWIGSTATICINLINE(bool)
538 SWIG_As_bool(PyObject
* obj
)
541 if (!SWIG_AsVal_bool(obj
, &v
)) {
543 this is needed to make valgrind/purify happier. the other
544 solution is throw an exception, but since this code should work
547 memset((void*)&v
, 0, sizeof(bool));
553 SWIGSTATICINLINE(int)
554 SWIG_Check_bool(PyObject
* obj
)
556 return SWIG_AsVal_bool(obj
, (bool*)0);
560 // See my_fragments.i
561 SWIGSTATICINLINE(int)
562 SWIG_AsVal_double(PyObject
*obj
, double* val
)
564 if (PyNumber_Check(obj
)) {
565 if (val
) *val
= PyFloat_AsDouble(obj
);
569 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
570 obj
->ob_type
->tp_name
);
571 PyErr_SetObject(PyExc_TypeError
, errmsg
);
578 SWIGSTATICINLINE(double)
579 SWIG_As_double(PyObject
* obj
)
582 if (!SWIG_AsVal_double(obj
, &v
)) {
584 this is needed to make valgrind/purify happier. the other
585 solution is throw an exception, but since this code should work
588 memset((void*)&v
, 0, sizeof(double));
594 SWIGSTATICINLINE(int)
595 SWIG_Check_double(PyObject
* obj
)
597 return SWIG_AsVal_double(obj
, (double*)0);
603 static PyObject
*_wrap_new_MediaEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
605 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
607 wxMediaEvent
*result
;
608 PyObject
* obj0
= 0 ;
609 PyObject
* obj1
= 0 ;
611 (char *) "commandType",(char *) "id", NULL
614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MediaEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
616 arg1
= (wxEventType
)SWIG_As_int(obj0
);
617 if (PyErr_Occurred()) SWIG_fail
;
620 arg2
= (int)SWIG_As_int(obj1
);
621 if (PyErr_Occurred()) SWIG_fail
;
624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
625 result
= (wxMediaEvent
*)new wxMediaEvent(arg1
,arg2
);
627 wxPyEndAllowThreads(__tstate
);
628 if (PyErr_Occurred()) SWIG_fail
;
630 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMediaEvent
, 1);
637 static PyObject
* MediaEvent_swigregister(PyObject
*, PyObject
*args
) {
639 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
640 SWIG_TypeClientData(SWIGTYPE_p_wxMediaEvent
, obj
);
642 return Py_BuildValue((char *)"");
644 static int _wrap_MediaCtrlNameStr_set(PyObject
*) {
645 PyErr_SetString(PyExc_TypeError
,"Variable MediaCtrlNameStr is read-only.");
650 static PyObject
*_wrap_MediaCtrlNameStr_get() {
655 pyobj
= PyUnicode_FromWideChar((&wxPyMediaCtrlNameStr
)->c_str(), (&wxPyMediaCtrlNameStr
)->Len());
657 pyobj
= PyString_FromStringAndSize((&wxPyMediaCtrlNameStr
)->c_str(), (&wxPyMediaCtrlNameStr
)->Len());
664 static PyObject
*_wrap_new_MediaCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
666 wxWindow
*arg1
= (wxWindow
*) 0 ;
667 int arg2
= (int) -1 ;
668 wxString
const &arg3_defvalue
= wxPyEmptyString
;
669 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
670 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
671 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
672 wxSize
const &arg5_defvalue
= wxDefaultSize
;
673 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
674 long arg6
= (long) 0 ;
675 wxString
const &arg7_defvalue
= wxPyEmptyString
;
676 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
677 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
678 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
679 wxString
const &arg9_defvalue
= wxPyMediaCtrlNameStr
;
680 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
687 PyObject
* obj0
= 0 ;
688 PyObject
* obj1
= 0 ;
689 PyObject
* obj2
= 0 ;
690 PyObject
* obj3
= 0 ;
691 PyObject
* obj4
= 0 ;
692 PyObject
* obj5
= 0 ;
693 PyObject
* obj6
= 0 ;
694 PyObject
* obj7
= 0 ;
695 PyObject
* obj8
= 0 ;
697 (char *) "parent",(char *) "id",(char *) "fileName",(char *) "pos",(char *) "size",(char *) "style",(char *) "szBackend",(char *) "validator",(char *) "name", NULL
700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_MediaCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
704 arg2
= (int)SWIG_As_int(obj1
);
705 if (PyErr_Occurred()) SWIG_fail
;
709 arg3
= wxString_in_helper(obj2
);
710 if (arg3
== NULL
) SWIG_fail
;
717 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
723 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
727 arg6
= (long)SWIG_As_long(obj5
);
728 if (PyErr_Occurred()) SWIG_fail
;
732 arg7
= wxString_in_helper(obj6
);
733 if (arg7
== NULL
) SWIG_fail
;
738 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
739 SWIG_POINTER_EXCEPTION
| 0)) == -1)
742 PyErr_SetString(PyExc_TypeError
,"null reference");
748 arg9
= wxString_in_helper(obj8
);
749 if (arg9
== NULL
) SWIG_fail
;
754 if (!wxPyCheckForApp()) SWIG_fail
;
755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
756 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
);
758 wxPyEndAllowThreads(__tstate
);
759 if (PyErr_Occurred()) SWIG_fail
;
761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMediaCtrl
, 1);
792 static PyObject
*_wrap_new_PreMediaCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMediaCtrl",kwnames
)) goto fail
;
801 if (!wxPyCheckForApp()) SWIG_fail
;
802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
803 result
= (wxMediaCtrl
*)new wxMediaCtrl();
805 wxPyEndAllowThreads(__tstate
);
806 if (PyErr_Occurred()) SWIG_fail
;
808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMediaCtrl
, 1);
815 static PyObject
*_wrap_MediaCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
817 wxMediaCtrl
*arg1
= (wxMediaCtrl
*) 0 ;
818 wxWindow
*arg2
= (wxWindow
*) 0 ;
819 int arg3
= (int) -1 ;
820 wxString
const &arg4_defvalue
= wxPyEmptyString
;
821 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
822 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
823 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
824 wxSize
const &arg6_defvalue
= wxDefaultSize
;
825 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
826 long arg7
= (long) 0 ;
827 wxString
const &arg8_defvalue
= wxPyEmptyString
;
828 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
829 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
830 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
831 wxString
const &arg10_defvalue
= wxPyMediaCtrlNameStr
;
832 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
838 bool temp10
= false ;
839 PyObject
* obj0
= 0 ;
840 PyObject
* obj1
= 0 ;
841 PyObject
* obj2
= 0 ;
842 PyObject
* obj3
= 0 ;
843 PyObject
* obj4
= 0 ;
844 PyObject
* obj5
= 0 ;
845 PyObject
* obj6
= 0 ;
846 PyObject
* obj7
= 0 ;
847 PyObject
* obj8
= 0 ;
848 PyObject
* obj9
= 0 ;
850 (char *) "self",(char *) "parent",(char *) "id",(char *) "fileName",(char *) "pos",(char *) "size",(char *) "style",(char *) "szBackend",(char *) "validator",(char *) "name", NULL
853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:MediaCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMediaCtrl
,
855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
856 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
859 arg3
= (int)SWIG_As_int(obj2
);
860 if (PyErr_Occurred()) SWIG_fail
;
864 arg4
= wxString_in_helper(obj3
);
865 if (arg4
== NULL
) SWIG_fail
;
872 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
878 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
882 arg7
= (long)SWIG_As_long(obj6
);
883 if (PyErr_Occurred()) SWIG_fail
;
887 arg8
= wxString_in_helper(obj7
);
888 if (arg8
== NULL
) SWIG_fail
;
893 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
894 SWIG_POINTER_EXCEPTION
| 0)) == -1)
897 PyErr_SetString(PyExc_TypeError
,"null reference");
903 arg10
= wxString_in_helper(obj9
);
904 if (arg10
== NULL
) SWIG_fail
;
909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
910 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
);
912 wxPyEndAllowThreads(__tstate
);
913 if (PyErr_Occurred()) SWIG_fail
;
916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
948 static PyObject
*_wrap_MediaCtrl_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
950 wxMediaCtrl
*arg1
= (wxMediaCtrl
*) 0 ;
952 PyObject
* obj0
= 0 ;
954 (char *) "self", NULL
957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MediaCtrl_Play",kwnames
,&obj0
)) goto fail
;
958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMediaCtrl
,
959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
962 result
= (bool)(arg1
)->Play();
964 wxPyEndAllowThreads(__tstate
);
965 if (PyErr_Occurred()) SWIG_fail
;
968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
976 static PyObject
*_wrap_MediaCtrl_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
978 wxMediaCtrl
*arg1
= (wxMediaCtrl
*) 0 ;
980 PyObject
* obj0
= 0 ;
982 (char *) "self", NULL
985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MediaCtrl_Pause",kwnames
,&obj0
)) goto fail
;
986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMediaCtrl
,
987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
990 result
= (bool)(arg1
)->Pause();
992 wxPyEndAllowThreads(__tstate
);
993 if (PyErr_Occurred()) SWIG_fail
;
996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1004 static PyObject
*_wrap_MediaCtrl_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1005 PyObject
*resultobj
;
1006 wxMediaCtrl
*arg1
= (wxMediaCtrl
*) 0 ;
1008 PyObject
* obj0
= 0 ;
1010 (char *) "self", NULL
1013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MediaCtrl_Stop",kwnames
,&obj0
)) goto fail
;
1014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMediaCtrl
,
1015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1018 result
= (bool)(arg1
)->Stop();
1020 wxPyEndAllowThreads(__tstate
);
1021 if (PyErr_Occurred()) SWIG_fail
;
1024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1032 static PyObject
*_wrap_MediaCtrl_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1033 PyObject
*resultobj
;
1034 wxMediaCtrl
*arg1
= (wxMediaCtrl
*) 0 ;
1035 wxString
*arg2
= 0 ;
1037 bool temp2
= false ;
1038 PyObject
* obj0
= 0 ;
1039 PyObject
* obj1
= 0 ;
1041 (char *) "self",(char *) "fileName", NULL
1044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MediaCtrl_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
1045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMediaCtrl
,
1046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1048 arg2
= wxString_in_helper(obj1
);
1049 if (arg2
== NULL
) SWIG_fail
;
1053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1054 result
= (bool)(arg1
)->Load((wxString
const &)*arg2
);
1056 wxPyEndAllowThreads(__tstate
);
1057 if (PyErr_Occurred()) SWIG_fail
;
1060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1076 static PyObject
*_wrap_MediaCtrl_LoadFromURI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1077 PyObject
*resultobj
;
1078 wxMediaCtrl
*arg1
= (wxMediaCtrl
*) 0 ;
1079 wxString
*arg2
= 0 ;
1081 bool temp2
= false ;
1082 PyObject
* obj0
= 0 ;
1083 PyObject
* obj1
= 0 ;
1085 (char *) "self",(char *) "location", NULL
1088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MediaCtrl_LoadFromURI",kwnames
,&obj0
,&obj1
)) goto fail
;
1089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMediaCtrl
,
1090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1092 arg2
= wxString_in_helper(obj1
);
1093 if (arg2
== NULL
) SWIG_fail
;
1097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1098 result
= (bool)wxMediaCtrl_LoadFromURI(arg1
,(wxString
const &)*arg2
);
1100 wxPyEndAllowThreads(__tstate
);
1101 if (PyErr_Occurred()) SWIG_fail
;
1104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1120 static PyObject
*_wrap_MediaCtrl_Loop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1121 PyObject
*resultobj
;
1122 wxMediaCtrl
*arg1
= (wxMediaCtrl
*) 0 ;
1123 bool arg2
= (bool) true ;
1124 PyObject
* obj0
= 0 ;
1125 PyObject
* obj1
= 0 ;
1127 (char *) "self",(char *) "bLoop", NULL
1130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MediaCtrl_Loop",kwnames
,&obj0
,&obj1
)) goto fail
;
1131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMediaCtrl
,
1132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1134 arg2
= (bool)SWIG_As_bool(obj1
);
1135 if (PyErr_Occurred()) SWIG_fail
;
1138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1141 wxPyEndAllowThreads(__tstate
);
1142 if (PyErr_Occurred()) SWIG_fail
;
1144 Py_INCREF(Py_None
); resultobj
= Py_None
;
1151 static PyObject
*_wrap_MediaCtrl_IsLooped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1152 PyObject
*resultobj
;
1153 wxMediaCtrl
*arg1
= (wxMediaCtrl
*) 0 ;
1155 PyObject
* obj0
= 0 ;
1157 (char *) "self", NULL
1160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MediaCtrl_IsLooped",kwnames
,&obj0
)) goto fail
;
1161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMediaCtrl
,
1162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1165 result
= (bool)(arg1
)->IsLooped();
1167 wxPyEndAllowThreads(__tstate
);
1168 if (PyErr_Occurred()) SWIG_fail
;
1171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1179 static PyObject
*_wrap_MediaCtrl_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1180 PyObject
*resultobj
;
1181 wxMediaCtrl
*arg1
= (wxMediaCtrl
*) 0 ;
1183 PyObject
* obj0
= 0 ;
1185 (char *) "self", NULL
1188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MediaCtrl_GetState",kwnames
,&obj0
)) goto fail
;
1189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMediaCtrl
,
1190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1193 result
= (int)(arg1
)->GetState();
1195 wxPyEndAllowThreads(__tstate
);
1196 if (PyErr_Occurred()) SWIG_fail
;
1198 resultobj
= SWIG_From_int((int)result
);
1205 static PyObject
*_wrap_MediaCtrl_GetPlaybackRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1206 PyObject
*resultobj
;
1207 wxMediaCtrl
*arg1
= (wxMediaCtrl
*) 0 ;
1209 PyObject
* obj0
= 0 ;
1211 (char *) "self", NULL
1214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MediaCtrl_GetPlaybackRate",kwnames
,&obj0
)) goto fail
;
1215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMediaCtrl
,
1216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1219 result
= (double)(arg1
)->GetPlaybackRate();
1221 wxPyEndAllowThreads(__tstate
);
1222 if (PyErr_Occurred()) SWIG_fail
;
1224 resultobj
= SWIG_From_double((double)result
);
1231 static PyObject
*_wrap_MediaCtrl_SetPlaybackRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1232 PyObject
*resultobj
;
1233 wxMediaCtrl
*arg1
= (wxMediaCtrl
*) 0 ;
1236 PyObject
* obj0
= 0 ;
1237 PyObject
* obj1
= 0 ;
1239 (char *) "self",(char *) "dRate", NULL
1242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MediaCtrl_SetPlaybackRate",kwnames
,&obj0
,&obj1
)) goto fail
;
1243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMediaCtrl
,
1244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1245 arg2
= (double)SWIG_As_double(obj1
);
1246 if (PyErr_Occurred()) SWIG_fail
;
1248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1249 result
= (bool)(arg1
)->SetPlaybackRate(arg2
);
1251 wxPyEndAllowThreads(__tstate
);
1252 if (PyErr_Occurred()) SWIG_fail
;
1255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1263 static PyObject
*_wrap_MediaCtrl_Seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1264 PyObject
*resultobj
;
1265 wxMediaCtrl
*arg1
= (wxMediaCtrl
*) 0 ;
1267 int arg3
= (int) wxFromStart
;
1268 wxFileOffset result
;
1269 PyObject
* obj0
= 0 ;
1270 PyObject
* obj1
= 0 ;
1271 PyObject
* obj2
= 0 ;
1273 (char *) "self",(char *) "where",(char *) "mode", NULL
1276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MediaCtrl_Seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMediaCtrl
,
1278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1280 if (sizeof(wxFileOffset
) > sizeof(long))
1281 arg2
= PyLong_AsLongLong(obj1
);
1283 arg2
= PyInt_AsLong(obj1
);
1286 arg3
= (int)SWIG_As_int(obj2
);
1287 if (PyErr_Occurred()) SWIG_fail
;
1290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1291 result
= (arg1
)->Seek(arg2
,(wxSeekMode
)arg3
);
1293 wxPyEndAllowThreads(__tstate
);
1294 if (PyErr_Occurred()) SWIG_fail
;
1297 if (sizeof(wxFileOffset
) > sizeof(long))
1298 resultobj
= PyLong_FromLongLong(result
);
1300 resultobj
= PyInt_FromLong(result
);
1308 static PyObject
*_wrap_MediaCtrl_Tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1309 PyObject
*resultobj
;
1310 wxMediaCtrl
*arg1
= (wxMediaCtrl
*) 0 ;
1311 wxFileOffset result
;
1312 PyObject
* obj0
= 0 ;
1314 (char *) "self", NULL
1317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MediaCtrl_Tell",kwnames
,&obj0
)) goto fail
;
1318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMediaCtrl
,
1319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1322 result
= (arg1
)->Tell();
1324 wxPyEndAllowThreads(__tstate
);
1325 if (PyErr_Occurred()) SWIG_fail
;
1328 if (sizeof(wxFileOffset
) > sizeof(long))
1329 resultobj
= PyLong_FromLongLong(result
);
1331 resultobj
= PyInt_FromLong(result
);
1339 static PyObject
*_wrap_MediaCtrl_Length(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1340 PyObject
*resultobj
;
1341 wxMediaCtrl
*arg1
= (wxMediaCtrl
*) 0 ;
1342 wxFileOffset result
;
1343 PyObject
* obj0
= 0 ;
1345 (char *) "self", NULL
1348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MediaCtrl_Length",kwnames
,&obj0
)) goto fail
;
1349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMediaCtrl
,
1350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1353 result
= (arg1
)->Length();
1355 wxPyEndAllowThreads(__tstate
);
1356 if (PyErr_Occurred()) SWIG_fail
;
1359 if (sizeof(wxFileOffset
) > sizeof(long))
1360 resultobj
= PyLong_FromLongLong(result
);
1362 resultobj
= PyInt_FromLong(result
);
1370 static PyObject
* MediaCtrl_swigregister(PyObject
*, PyObject
*args
) {
1372 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1373 SWIG_TypeClientData(SWIGTYPE_p_wxMediaCtrl
, obj
);
1375 return Py_BuildValue((char *)"");
1377 static PyMethodDef SwigMethods
[] = {
1378 { (char *)"new_MediaEvent", (PyCFunction
) _wrap_new_MediaEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1379 { (char *)"MediaEvent_swigregister", MediaEvent_swigregister
, METH_VARARGS
, NULL
},
1380 { (char *)"new_MediaCtrl", (PyCFunction
) _wrap_new_MediaCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1381 { (char *)"new_PreMediaCtrl", (PyCFunction
) _wrap_new_PreMediaCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1382 { (char *)"MediaCtrl_Create", (PyCFunction
) _wrap_MediaCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1383 { (char *)"MediaCtrl_Play", (PyCFunction
) _wrap_MediaCtrl_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1384 { (char *)"MediaCtrl_Pause", (PyCFunction
) _wrap_MediaCtrl_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1385 { (char *)"MediaCtrl_Stop", (PyCFunction
) _wrap_MediaCtrl_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1386 { (char *)"MediaCtrl_Load", (PyCFunction
) _wrap_MediaCtrl_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1387 { (char *)"MediaCtrl_LoadFromURI", (PyCFunction
) _wrap_MediaCtrl_LoadFromURI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1388 { (char *)"MediaCtrl_Loop", (PyCFunction
) _wrap_MediaCtrl_Loop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1389 { (char *)"MediaCtrl_IsLooped", (PyCFunction
) _wrap_MediaCtrl_IsLooped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1390 { (char *)"MediaCtrl_GetState", (PyCFunction
) _wrap_MediaCtrl_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1391 { (char *)"MediaCtrl_GetPlaybackRate", (PyCFunction
) _wrap_MediaCtrl_GetPlaybackRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1392 { (char *)"MediaCtrl_SetPlaybackRate", (PyCFunction
) _wrap_MediaCtrl_SetPlaybackRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1393 { (char *)"MediaCtrl_Seek", (PyCFunction
) _wrap_MediaCtrl_Seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1394 { (char *)"MediaCtrl_Tell", (PyCFunction
) _wrap_MediaCtrl_Tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1395 { (char *)"MediaCtrl_Length", (PyCFunction
) _wrap_MediaCtrl_Length
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
1396 { (char *)"MediaCtrl_swigregister", MediaCtrl_swigregister
, METH_VARARGS
, NULL
},
1397 { NULL
, NULL
, 0, NULL
}
1401 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
1403 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
1404 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
1406 static void *_p_wxMediaCtrlTo_p_wxControl(void *x
) {
1407 return (void *)((wxControl
*) ((wxMediaCtrl
*) x
));
1409 static void *_p_wxControlTo_p_wxWindow(void *x
) {
1410 return (void *)((wxWindow
*) ((wxControl
*) x
));
1412 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
1413 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
1415 static void *_p_wxMediaCtrlTo_p_wxWindow(void *x
) {
1416 return (void *)((wxWindow
*) (wxControl
*) ((wxMediaCtrl
*) x
));
1418 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
1419 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
1421 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
1422 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
1424 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
1425 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
1427 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
1428 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
1430 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
1431 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
1433 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
1434 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
1436 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
1437 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
1439 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
1440 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
1442 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
1443 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
1445 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
1446 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
1448 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
1449 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
1451 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
1452 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
1454 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
1455 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
1457 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
1458 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
1460 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
1461 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
1463 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
1464 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
1466 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
1467 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
1469 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
1470 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
1472 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
1473 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
1475 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
1476 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
1478 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
1479 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
1481 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
1482 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
1484 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
1485 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
1487 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
1488 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
1490 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
1491 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
1493 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
1494 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
1496 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
1497 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
1499 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
1500 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
1502 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
1503 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
1505 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
1506 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
1508 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
1509 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
1511 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
1512 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
1514 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
1515 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
1517 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
1518 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
1520 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
1521 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
1523 static void *_p_wxMediaEventTo_p_wxEvent(void *x
) {
1524 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxMediaEvent
*) x
));
1526 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
1527 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
1529 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
1530 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
1532 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
1533 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
1535 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
1536 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
1538 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
1539 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
1541 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
1542 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
1544 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
1545 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
1547 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
1548 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
1550 static void *_p_wxSizerTo_p_wxObject(void *x
) {
1551 return (void *)((wxObject
*) ((wxSizer
*) x
));
1553 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
1554 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
1556 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
1557 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
1559 static void *_p_wxEventTo_p_wxObject(void *x
) {
1560 return (void *)((wxObject
*) ((wxEvent
*) x
));
1562 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
1563 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
1565 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
1566 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
1568 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
1569 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
1571 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
1572 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
1574 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
1575 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
1577 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
1578 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
1580 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
1581 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
1583 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
1584 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
1586 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
1587 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
1589 static void *_p_wxMediaCtrlTo_p_wxObject(void *x
) {
1590 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxMediaCtrl
*) x
));
1592 static void *_p_wxControlTo_p_wxObject(void *x
) {
1593 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
1595 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
1596 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
1598 static void *_p_wxMediaEventTo_p_wxObject(void *x
) {
1599 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxMediaEvent
*) x
));
1601 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
1602 return (void *)((wxObject
*) ((wxFSFile
*) x
));
1604 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
1605 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
1607 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
1608 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
1610 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
1611 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
1613 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
1614 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
1616 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
1617 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
1619 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
1620 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
1622 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
1623 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
1625 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
1626 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
1628 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
1629 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
1631 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
1632 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
1634 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
1635 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
1637 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
1638 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
1640 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
1641 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
1643 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
1644 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
1646 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
1647 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
1649 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
1650 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
1652 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
1653 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
1655 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
1656 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
1658 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
1659 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
1661 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
1662 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
1664 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
1665 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
1667 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
1668 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
1670 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
1671 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
1673 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
1674 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
1676 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
1677 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
1679 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
1680 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
1682 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
1683 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
1685 static void *_p_wxImageTo_p_wxObject(void *x
) {
1686 return (void *)((wxObject
*) ((wxImage
*) x
));
1688 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
1689 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
1691 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
1692 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
1694 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
1695 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
1697 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
1698 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
1700 static void *_p_wxWindowTo_p_wxObject(void *x
) {
1701 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
1703 static void *_p_wxMenuTo_p_wxObject(void *x
) {
1704 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
1706 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
1707 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
1709 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
1710 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
1712 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
1713 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
1715 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
1716 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
1718 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
1719 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
1721 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
1722 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
1724 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
1725 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
1727 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
1728 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
1730 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
1731 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
1733 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
1734 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
1736 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
1737 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
1739 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
1740 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
1742 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
1743 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
1745 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
1746 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
1748 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
1749 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
1751 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
1752 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
1754 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
1755 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
1757 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
1758 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
1760 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
1761 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
1763 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
1764 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
1766 static void *_p_wxMediaCtrlTo_p_wxEvtHandler(void *x
) {
1767 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxMediaCtrl
*) x
));
1769 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
1770 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
1772 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
1773 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
1775 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
1776 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
1778 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
1779 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
1781 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
1782 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
1784 static void *_p_wxMediaEventTo_p_wxNotifyEvent(void *x
) {
1785 return (void *)((wxNotifyEvent
*) ((wxMediaEvent
*) x
));
1787 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
1788 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
1790 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
1791 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
1793 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
1794 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
1796 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
1797 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
1799 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
1800 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
1802 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
1803 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
1805 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
1806 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
1808 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
1809 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
1811 static void *_p_wxMediaEventTo_p_wxCommandEvent(void *x
) {
1812 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxMediaEvent
*) x
));
1814 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}};
1815 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}};
1816 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}};
1817 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}};
1818 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}};
1819 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}};
1820 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}};
1821 static swig_type_info _swigt__p_wxFileOffset
[] = {{"_p_wxFileOffset", 0, "wxFileOffset *", 0, 0, 0, 0},{"_p_wxFileOffset", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
1822 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}};
1823 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}};
1824 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}};
1825 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}};
1827 static swig_type_info
*swig_types_initial
[] = {
1828 _swigt__p_wxControl
,
1832 _swigt__p_wxEvtHandler
,
1834 _swigt__p_wxMediaCtrl
,
1835 _swigt__p_wxFileOffset
,
1836 _swigt__p_wxValidator
,
1837 _swigt__p_wxNotifyEvent
,
1838 _swigt__p_wxCommandEvent
,
1839 _swigt__p_wxMediaEvent
,
1844 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
1846 static swig_const_info swig_const_table
[] = {
1847 {0, 0, 0, 0.0, 0, 0}};
1856 SWIGEXPORT(void) SWIG_init(void) {
1857 static PyObject
*SWIG_globals
= 0;
1858 static int typeinit
= 0;
1861 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
1862 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
1863 d
= PyModule_GetDict(m
);
1866 for (i
= 0; swig_types_initial
[i
]; i
++) {
1867 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
1871 SWIG_InstallConstants(d
,swig_const_table
);
1873 PyDict_SetItemString(d
,"MEDIASTATE_STOPPED", SWIG_From_int((int)wxMEDIASTATE_STOPPED
));
1874 PyDict_SetItemString(d
,"MEDIASTATE_PAUSED", SWIG_From_int((int)wxMEDIASTATE_PAUSED
));
1875 PyDict_SetItemString(d
,"MEDIASTATE_PLAYING", SWIG_From_int((int)wxMEDIASTATE_PLAYING
));
1876 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
1877 SWIG_addvarlink(SWIG_globals
,(char*)"MediaCtrlNameStr",_wrap_MediaCtrlNameStr_get
, _wrap_MediaCtrlNameStr_set
);
1878 PyDict_SetItemString(d
, "wxEVT_MEDIA_FINISHED", PyInt_FromLong(wxEVT_MEDIA_FINISHED
));
1879 PyDict_SetItemString(d
, "wxEVT_MEDIA_STOP", PyInt_FromLong(wxEVT_MEDIA_STOP
));