wxMEDIATIMEFORMAT_TIME=0
};
-class WXDLLIMPEXP_MEDIA wxMediaEvent : public wxNotifyEvent
+class wxMediaEvent : public wxNotifyEvent
{
public:
wxMediaEvent(wxEventType, int ) { wxPyRaiseNotImplemented(); }
%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,
%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,
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,
}
- 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,
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();
};