Applied patch [ 795423 ] Unicode and warning fixes in contrib/mmedia lib and sample

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-09-11 09:55:21 +00:00
parent c3f815fa63
commit 2bbf230a16
6 changed files with 30 additions and 19 deletions

View File

@@ -693,7 +693,7 @@ void wxSoundStreamWin::NotifyDoneBuffer(wxUint32 WXUNUSED(dev_handle), int flag)
// -------------------------------------------------------------------------
// SetSoundFormat()
// -------------------------------------------------------------------------
bool wxSoundStreamWin::SetSoundFormat(wxSoundFormatBase& base)
bool wxSoundStreamWin::SetSoundFormat(const wxSoundFormatBase& base)
{
// TODO: detect best format
return wxSoundStream::SetSoundFormat(base);

View File

@@ -155,7 +155,7 @@ bool wxVideoWindows::SetSize(wxSize WXUNUSED(size))
return TRUE;
}
bool wxVideoWindows::IsCapable(wxVideoType v_type)
bool wxVideoWindows::IsCapable(wxVideoType v_type) const
{
return (v_type == wxVIDEO_MSAVI);
}