]> git.saurik.com Git - wxWidgets.git/commitdiff
WXUNUSED warning fixes - unicode compilo fix
authorRyan Norton <wxprojects@comcast.net>
Mon, 15 Nov 2004 07:18:22 +0000 (07:18 +0000)
committerRyan Norton <wxprojects@comcast.net>
Mon, 15 Nov 2004 07:18:22 +0000 (07:18 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/mediactrl.h
src/msw/mediactrl.cpp

index 69acc08e9077ecd4d55cf934b51a2336c5051734..fec8e979c50a218e66a15c0145fc5d20e25ae2d2 100644 (file)
@@ -178,12 +178,14 @@ public:
 
     virtual ~wxMediaBackend();
 
-    virtual bool CreateControl(wxControl* ctrl, wxWindow* parent, 
-                               wxWindowID id, 
-                               const wxPoint& pos, const wxSize& size,
-                               long style, 
-                               const wxValidator& validator,
-                               const wxString& name)
+    virtual bool CreateControl(wxControl* WXUNUSED(ctrl), 
+                               wxWindow* WXUNUSED(parent), 
+                               wxWindowID WXUNUSED(id), 
+                               const wxPoint& WXUNUSED(pos), 
+                               const wxSize& WXUNUSED(size),
+                               long WXUNUSED(style), 
+                               const wxValidator& WXUNUSED(validator),
+                               const wxString& WXUNUSED(name))
     {   return false;                   }
 
     virtual bool Play() 
index 1bde220f0ffe81a713ae845dea0ab397931280c9..287192c158c718a562194a22beaa3eee12a3fcf0 100644 (file)
@@ -1414,7 +1414,8 @@ bool wxQTMediaBackend::Load(const wxString& fileName)
     short movieResFile;
     FSSpec sfFile;
 
-    if (NativePathNameToFSSpec ((char*) fileName.mb_str(), &sfFile, 0) != noErr)
+    if (NativePathNameToFSSpec ((char*) (const char*) fileName.mb_str(), 
+                                &sfFile, 0) != noErr)
         return false;
     
     if (OpenMovieFile (&sfFile, &movieResFile, fsRdPerm) != noErr)