]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/scopedarray.h
Ensure that key events are sent to focused window first in wxGTK.
[wxWidgets.git] / include / wx / scopedarray.h
index 4175fcee62304a0ac966e966854b5ec597809a0a..d8bd2e78175fc21636dc46a36d59b9ee623ad22c 100644 (file)
@@ -41,7 +41,7 @@ public:
     {
         if ( array != m_array )
         {
-            delete m_array;
+            delete [] m_array;
             m_array = array;
         }
     }