/////////////////////////////////////////////////////////////////////////////
-// Name: encconv.cpp
+// Name: src/common/encconv.cpp
// Purpose: wxEncodingConverter class for converting between different
// font encodings
// Author: Vaclav Slavik
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;}
{
if (platform == wxPLATFORM_CURRENT)
{
-#if defined(__WXMSW__)
+#if defined(__WINDOWS__)
platform = wxPLATFORM_WINDOWS;
#elif defined(__WXGTK__) || defined(__WXMOTIF__)
platform = wxPLATFORM_UNIX;