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:
Ryan Norton
2004-11-15 07:18:22 +00:00
parent c16ab217c1
commit 78450975b2
2 changed files with 10 additions and 7 deletions

View File

@@ -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()

View File

@@ -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)