cWX2MB and cMB2WX should be available even when without wchar_t.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ove Kaaven 1999-05-05 14:20:05 +00:00
parent 7019025615
commit a55268db33

View File

@ -263,7 +263,10 @@ WXDLLEXPORT_DATA(extern wxMBConv *) wxConvCurrent;
#define FNSTRINGCAST WXSTRINGCAST
#endif
#else//!wxUSE_WCHAR_T
class WXDLLEXPORT wxMBConv {};
class WXDLLEXPORT wxMBConv {
const char* cMB2WX(const char *psz) const { return psz; }
const char* cWX2MB(const char *psz) const { return psz; }
};
WXDLLEXPORT_DATA(extern wxMBConv) wxConvLibc, wxConvFile;
#define wxConv_libc wxConvLibc
#define wxConv_file wxConvFile