]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/mmedia/sndmsad.cpp
fixed bug with the caret positioning after SetValue() introduced by the last commit
[wxWidgets.git] / contrib / src / mmedia / sndmsad.cpp
index 81068016fcb006fd3228308b15ebfe5b79b86906..dbc6505d5bf409262a2b6dd247b91468bba73d2c 100644 (file)
@@ -9,7 +9,7 @@
 #pragma implementation "sndmsad.cpp"
 #endif
 
-#include <wx/wxprec.h>
+#include "wx/wxprec.h"
 
 #ifndef WX_PRECOMP
   #include "wx/defs.h"
@@ -77,7 +77,7 @@ void wxSoundFormatMSAdpcm::SetCoefs(wxInt16 **coefs, wxUint16 ncoefs,
         delete[] m_coefs;
     }
     // TODO: Add some memory checking here
-    m_coefs = new (wxInt16 *)[ncoefs];
+    m_coefs = new wxInt16 *[ncoefs];
 
     for (i=0;i<ncoefs;i++)
        m_coefs[i] = new wxInt16[coefs_len];