WXUNUSED warning fixes - unicode compilo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -178,12 +178,14 @@ public:
|
|||||||
|
|
||||||
virtual ~wxMediaBackend();
|
virtual ~wxMediaBackend();
|
||||||
|
|
||||||
virtual bool CreateControl(wxControl* ctrl, wxWindow* parent,
|
virtual bool CreateControl(wxControl* WXUNUSED(ctrl),
|
||||||
wxWindowID id,
|
wxWindow* WXUNUSED(parent),
|
||||||
const wxPoint& pos, const wxSize& size,
|
wxWindowID WXUNUSED(id),
|
||||||
long style,
|
const wxPoint& WXUNUSED(pos),
|
||||||
const wxValidator& validator,
|
const wxSize& WXUNUSED(size),
|
||||||
const wxString& name)
|
long WXUNUSED(style),
|
||||||
|
const wxValidator& WXUNUSED(validator),
|
||||||
|
const wxString& WXUNUSED(name))
|
||||||
{ return false; }
|
{ return false; }
|
||||||
|
|
||||||
virtual bool Play()
|
virtual bool Play()
|
||||||
|
@@ -1414,7 +1414,8 @@ bool wxQTMediaBackend::Load(const wxString& fileName)
|
|||||||
short movieResFile;
|
short movieResFile;
|
||||||
FSSpec sfFile;
|
FSSpec sfFile;
|
||||||
|
|
||||||
if (NativePathNameToFSSpec ((char*) fileName.mb_str(), &sfFile, 0) != noErr)
|
if (NativePathNameToFSSpec ((char*) (const char*) fileName.mb_str(),
|
||||||
|
&sfFile, 0) != noErr)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (OpenMovieFile (&sfFile, &movieResFile, fsRdPerm) != noErr)
|
if (OpenMovieFile (&sfFile, &movieResFile, fsRdPerm) != noErr)
|
||||||
|
Reference in New Issue
Block a user