#endif // __WXMSW__
m_useMemory = false;
- delete m_sound;
- m_sound = NULL;
+ wxDELETE(m_sound);
NotifyUsingFile(m_soundFile);
}
#endif // wxUSE_FILEDLG
m_soundFile.clear();
m_useMemory = false;
- delete m_sound;
- m_sound = NULL;
+ wxDELETE(m_sound);
NotifyUsingFile(wxT("Windows WAV resource"));
}