]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/sound.cpp
Fix for wxMac when the tree doesn't have the focus and the
[wxWidgets.git] / src / unix / sound.cpp
index ce7557247174a2fe5fb96cd1e4dd442a07273bd1..fbd980238369c95ecb1ccf271164dadcb1ca212a 100644 (file)
@@ -447,7 +447,8 @@ wxSound::~wxSound()
     Free();
 }
 
-bool wxSound::Create(const wxString& fileName, bool isResource)
+bool wxSound::Create(const wxString& fileName,
+                     bool WXUNUSED_UNLESS_DEBUG(isResource))
 {
     wxASSERT_MSG( !isResource,
              _T("Loading sound from resources is only supported on Windows") );