X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4d5009f903386992cdc15db5d6a81c4a51ca4b04..0d2653ff9752af0cb4ba2b9fc9090700805cb4c5:/wxPython/src/media.i diff --git a/wxPython/src/media.i b/wxPython/src/media.i index c3e549df9b..03268b6872 100644 --- a/wxPython/src/media.i +++ b/wxPython/src/media.i @@ -60,7 +60,7 @@ enum wxMediaTimeFormat wxMEDIATIMEFORMAT_TIME=0 }; -class WXDLLIMPEXP_MEDIA wxMediaEvent : public wxNotifyEvent +class wxMediaEvent : public wxNotifyEvent { public: wxMediaEvent(wxEventType, int ) { wxPyRaiseNotImplemented(); } @@ -179,7 +179,8 @@ public: %pythonAppend wxMediaCtrl() "" - wxMediaCtrl(wxWindow* parent, wxWindowID id=-1, + wxMediaCtrl(wxWindow* parent, + wxWindowID id=-1, const wxString& fileName = wxPyEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, @@ -192,7 +193,8 @@ public: %extend { %name(MediaCtrlFromURI) - wxMediaCtrl(wxWindow* parent, wxWindowID id=-1, + wxMediaCtrl(wxWindow* parent, + wxWindowID id=-1, const wxString& location=wxPyEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, @@ -205,7 +207,8 @@ public: pos, size, style, szBackend, validator, name); } - bool CreateFromURI(wxWindow* parent, wxWindowID id=-1, + bool CreateFromURI(wxWindow* parent, + wxWindowID id=-1, const wxString& location=wxPyEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, @@ -220,7 +223,8 @@ public: } - bool Create(wxWindow* parent, wxWindowID id=-1, + bool Create(wxWindow* parent, + wxWindowID id=-1, const wxString& fileName = wxPyEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, @@ -249,9 +253,9 @@ public: double GetPlaybackRate(); bool SetPlaybackRate(double dRate); - bool SetPosition(wxLongLong where); - wxLongLong GetPosition(); - wxLongLong GetDuration(); + %name(SetMediaPosition) bool SetPosition(wxLongLong where); + %name(GetMediaPosition) wxLongLong GetPosition(); + %name(GetMediaDuration) wxLongLong GetDuration(); };