]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/strconv.cpp
Don't use wxDC in header
[wxWidgets.git] / src / common / strconv.cpp
index 7e7136ae9e96c9eb22e5c4054dcc24c6851d5441..a58245815d384024b342d57ce406a7e824a48989 100644 (file)
@@ -3013,10 +3013,9 @@ wxCSConv& wxCSConv::operator=(const wxCSConv& conv)
 void wxCSConv::Clear()
 {
     free(m_name);
-    delete m_convReal;
+    wxDELETE(m_convReal);
 
     m_name = NULL;
-    m_convReal = NULL;
 }
 
 void wxCSConv::SetName(const char *charset)