// Author: Harm van der Heijden and Vaclav Slavik
// RCS-ID: $Id$
// Copyright: (c) Harm van der Heijden and Vaclav Slavik
-// Licence: wxWidgets licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
// Now store the contents range
bookr->SetContentsRange(cont_start, m_ContentsCnt);
+#if wxUSE_FONTMAP
// Convert encoding, if neccessary:
if (encoding != wxFONTENCODING_SYSTEM)
{
conv.Convert(m_Contents[i].m_Name);
}
}
+#else
+ wxUnusedVar(IndexOld);
+ wxUnusedVar(ContentsOld);
+ wxASSERT_MSG(encoding == wxFONTENCODING_SYSTEM, wxT("Encoding can't be converted"));
+#endif
m_BookRecords.Add(bookr);
if (m_IndexCnt > 0)