]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/sound_osx.cpp
Correct printf() format specifiers for long variables in life demo.
[wxWidgets.git] / src / osx / sound_osx.cpp
index 1155660e46ddb01ae0e634760927b6fb7f7ca83a..ba1f6bb943d287ff7d33cdde611c3c930dbfdd0e 100644 (file)
@@ -4,7 +4,7 @@
 // Author:      Stefan Csomor
 // Modified by: 
 // Created:     2009-09-01
-// RCS-ID:      $Id: sound.cpp 61475 2009-07-20 16:47:54Z VZ $
+// RCS-ID:      $Id$
 // Copyright:   (c) Stefan Csomor
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -73,11 +73,7 @@ void wxSoundData::MarkForDeletion()
 void wxSoundData::Stop()
 {
     DoStop();
-    if ( m_pTimer )
-    {
-        delete m_pTimer;
-        m_pTimer = NULL;
-    }
+    wxDELETE(m_pTimer);
 }
 
 //Time between timer calls