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:
@@ -263,7 +263,10 @@ WXDLLEXPORT_DATA(extern wxMBConv *) wxConvCurrent;
|
|||||||
#define FNSTRINGCAST WXSTRINGCAST
|
#define FNSTRINGCAST WXSTRINGCAST
|
||||||
#endif
|
#endif
|
||||||
#else//!wxUSE_WCHAR_T
|
#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;
|
WXDLLEXPORT_DATA(extern wxMBConv) wxConvLibc, wxConvFile;
|
||||||
#define wxConv_libc wxConvLibc
|
#define wxConv_libc wxConvLibc
|
||||||
#define wxConv_file wxConvFile
|
#define wxConv_file wxConvFile
|
||||||
|
Reference in New Issue
Block a user