]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/sound.h
Cast for argument to delete[] - VC6 doesn't want to delete a const pointer
[wxWidgets.git] / include / wx / cocoa / sound.h
index c85e7d39783f35918b8cc0a52681af9a1b5ad043..10c3d81893f4e4c76b61f3813815496e44c6118e 100644 (file)
@@ -16,7 +16,7 @@
 #include "wx/object.h"
 #include "wx/cocoa/ObjcRef.h"
 
-class WXDLLEXPORT wxSound : public wxSoundBase
+class WXDLLIMPEXP_ADV wxSound : public wxSoundBase
 {
 public:
     wxSound()
@@ -29,7 +29,7 @@ public:
     :   m_cocoaNSSound(NULL)
     {   LoadWAV(data,size,true); }
     wxSound(const wxSound& sound); // why not?
-    ~wxSound();
+    virtual ~wxSound();
 
 public:
     bool Create(const wxString& fileName, bool isResource = false);