// Licence: wxWindows Licence
/////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "encconv.h"
#endif
m_Table[out_tbl[i]] = (tchar)(128 + i);
m_UnicodeInput = TRUE;
- return TRUE;
}
-
- else
+ else // input !Unicode
{
if ((in_tbl = GetEncTable(input_enc)) == NULL) return FALSE;
if (output_enc != wxFONTENCODING_UNICODE)
}
// FIXME: write a substitute for bsearch
#ifndef __WXWINCE__
- else
+ else // output !Unicode
{
CharsetItem *rev = BuildReverseTable(out_tbl);
CharsetItem *item;
}
delete[] rev;
- return TRUE;
}
-#endif
- return TRUE;
+#endif // !__WXWINCE__
}
+
+ return TRUE;
}