]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/accel.cpp
Select the entire spin control contents when changing its value.
[wxWidgets.git] / src / motif / accel.cpp
index ba59df93dd71daa315493d545859cc70ca12b741..d66f03b8af79db21800672fdd68fe2da97779cd4 100644 (file)
@@ -45,8 +45,7 @@ wxAcceleratorRefData::wxAcceleratorRefData()
 
 wxAcceleratorRefData::~wxAcceleratorRefData()
 {
 
 wxAcceleratorRefData::~wxAcceleratorRefData()
 {
-    delete[] m_entries;
-    m_entries = NULL;
+    wxDELETEA(m_entries);
     m_count = 0;
 }
 
     m_count = 0;
 }