]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/sound.cpp
Correct drawing of mnemonics in wxStaticBox label under wxMSW.
[wxWidgets.git] / src / msw / sound.cpp
index 1996676888ca4575dcc03ac2c02d3fd9a1ce86f1..b87032146975dc6271332ac7e93a196fe1114b7f 100644 (file)
@@ -144,11 +144,7 @@ wxSound::~wxSound()
 
 void wxSound::Free()
 {
-    if ( m_data )
-    {
-        delete m_data;
-        m_data = NULL;
-    }
+    wxDELETE(m_data);
 }
 
 bool wxSound::CheckCreatedOk()