// Created: 29/01/98
// RCS-ID: $Id$
// Copyright: (c) 1999 Ove Kaaven, Robert Roebling, Vadim Zeitlin, Vaclav Slavik
-// Licence: wxWindows license
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// ============================================================================
WXDLLEXPORT_DATA(wxMBConv) wxConvLibc,
wxConvFile,
wxConvISO8859_1,
- wxConvLocal;
+ wxConvLocal,
+ wxConvUTF8;
#endif // wxUSE_WCHAR_T
WXDLLEXPORT_DATA(wxMBConv *) wxConvCurrent = &wxConvLibc;
#if defined(__WIN32__) && !defined(__WXMICROWIN__) && !defined(__WXUNIVERSAL__)
-#ifdef __WXWINE__
- #define WINE_CAST (WCHAR *)
-#else
- #define WINE_CAST
-#endif
-
extern long wxCharsetToCodepage(const wxChar *charset); // from utils.cpp
class CP_CharSet : public wxCharacterSet
0, // flags (none)
psz, // input string
-1, // its length (NUL-terminated)
- WINE_CAST buf, // output string
+ buf, // output string
buf ? n : 0 // size of output buffer
);
(
m_CodePage, // code page
0, // flags (none)
- WINE_CAST psz, // input string
+ psz, // input string
-1, // it is (wide) NUL-terminated
buf, // output buffer
buf ? n : 0, // and its size