Removed Loop and IsLooped methods, other cleanup

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2005-02-18 04:44:43 +00:00
parent 179e085f05
commit 4d2d4dde45

View File

@@ -76,16 +76,6 @@ public:
const wxValidator& , const wxValidator& ,
const wxString& ) { wxPyRaiseNotImplemented(); } const wxString& ) { wxPyRaiseNotImplemented(); }
// wxMediaCtrl(wxWindow* ,
// wxWindowID ,
// const wxURI& ,
// const wxPoint&,
// const wxSize& ,
// long style,
// const wxString& ,
// const wxValidator& ,
// const wxString& ) { wxPyRaiseNotImplemented(); }
bool Create(wxWindow* , wxWindowID , bool Create(wxWindow* , wxWindowID ,
const wxString& , const wxString& ,
const wxPoint& , const wxPoint& ,
@@ -95,16 +85,6 @@ public:
const wxValidator& , const wxValidator& ,
const wxString& ) { return false; } const wxString& ) { return false; }
// bool Create(wxWindow* ,
// wxWindowID ,
// const wxURI& ,
// const wxPoint&,
// const wxSize& ,
// long style,
// const wxString& ,
// const wxValidator& ,
// const wxString& ) { return false; }
bool Play() { return false; } bool Play() { return false; }
bool Pause() { return false; } bool Pause() { return false; }
bool Stop() { return false; } bool Stop() { return false; }
@@ -112,9 +92,6 @@ public:
bool Load(const wxString& fileName) { return false; } bool Load(const wxString& fileName) { return false; }
bool Load(const wxURI& location) { return false; } bool Load(const wxURI& location) { return false; }
void Loop(bool bLoop = true) {}
bool IsLooped() { return false; }
wxMediaState GetState() { return wxMEDIASTATE_STOPPED; } wxMediaState GetState() { return wxMEDIASTATE_STOPPED; }
double GetPlaybackRate() { return 0.0; } double GetPlaybackRate() { return 0.0; }
@@ -185,38 +162,6 @@ public:
%RenameCtor(PreMediaCtrl, wxMediaCtrl()); %RenameCtor(PreMediaCtrl, wxMediaCtrl());
// %extend {
// %RenameCtor(MediaCtrlFromURI,
// wxMediaCtrl(wxWindow* parent,
// wxWindowID id=-1,
// const wxString& location=wxPyEmptyString,
// const wxPoint& pos = wxDefaultPosition,
// const wxSize& size = wxDefaultSize,
// long style = 0,
// const wxString& szBackend = wxPyEmptyString,
// const wxValidator& validator = wxDefaultValidator,
// const wxString& name = wxPyMediaCtrlNameStr))
// {
// return new wxMediaCtrl(parent, id, wxURI(location),
// pos, size, style, szBackend, validator, name);
// }
// bool CreateFromURI(wxWindow* parent,
// wxWindowID id=-1,
// const wxString& location=wxPyEmptyString,
// const wxPoint& pos = wxDefaultPosition,
// const wxSize& size = wxDefaultSize,
// long style = 0,
// const wxString& szBackend = wxPyEmptyString,
// const wxValidator& validator = wxDefaultValidator,
// const wxString& name = wxPyMediaCtrlNameStr)
// {
// return self->Create(parent, id, wxURI(location),
// pos, size, style, szBackend, validator, name);
// }
// }
bool Create(wxWindow* parent, bool Create(wxWindow* parent,
wxWindowID id=-1, wxWindowID id=-1,
const wxString& fileName = wxPyEmptyString, const wxString& fileName = wxPyEmptyString,
@@ -239,9 +184,6 @@ public:
} }
} }
void Loop(bool bLoop = true);
bool IsLooped();
wxMediaState GetState(); wxMediaState GetState();
double GetPlaybackRate(); double GetPlaybackRate();