]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/encconv.cpp
Allow user code to override key events in generic wxListCtrl.
[wxWidgets.git] / src / common / encconv.cpp
index a4b7143ff38981b27ec237acda1f7e03ac77e72d..efede1710e4079fd9de31ec5e55be4a4a25868e5 100644 (file)
@@ -116,7 +116,7 @@ bool wxEncodingConverter::Init(wxFontEncoding input_enc, wxFontEncoding output_e
     const wxUint16 *in_tbl;
     const wxUint16 *out_tbl = NULL;
 
-    if (m_Table) {delete[] m_Table; m_Table = NULL;}
+    wxDELETEA(m_Table);
 
     if (input_enc == output_enc) {m_JustCopy = true; return true;}