]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/sound.h
don't leak wxImageList if wxHF_CONTENTS is not used in wxHtmlHelpWindow
[wxWidgets.git] / include / wx / mac / carbon / sound.h
index cec0de6bc1bc41681f7b26717baabf529e336d01..ab2555f5e9da9f57a80141666ad97dd4c67f78a3 100644 (file)
@@ -23,7 +23,7 @@ public:
   wxSound();
   wxSound(const wxString& fileName, bool isResource = FALSE);
   wxSound(int size, const wxByte* data);
-  ~wxSound();
+  virtual ~wxSound();
 
 public:
   bool  Create(const wxString& fileName, bool isResource = FALSE);