]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/sound.cpp
Don't close arcs drawn in wxPostScriptDC.
[wxWidgets.git] / src / msw / sound.cpp
index 1996676888ca4575dcc03ac2c02d3fd9a1ce86f1..334afd484d091357355dd11a3039b61b99719d9e 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        sound.cpp
+// Name:        src/msw/sound.cpp
 // Purpose:     wxSound
 // Author:      Julian Smart
 // Modified by: 2005-07-29: Vadim Zeitlin: redesign
@@ -144,11 +144,7 @@ wxSound::~wxSound()
 
 void wxSound::Free()
 {
-    if ( m_data )
-    {
-        delete m_data;
-        m_data = NULL;
-    }
+    wxDELETE(m_data);
 }
 
 bool wxSound::CheckCreatedOk()