Applied patch [ 658786 ] Removes unresolved symbols from strconv (wxUniv/MSW)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2002-12-27 14:59:35 +00:00
parent f9eee2db81
commit 317246dfcb
2 changed files with 5 additions and 5 deletions

View File

@ -199,7 +199,7 @@
//
// Recommended setting: 1 for win32 else 0
#if defined(__WIN32__)
#define wxUSE_WCHAR_T 0 //? unresolved external symbol wxCharsetToCodepage
#define wxUSE_WCHAR_T 1
#else
#define wxUSE_WCHAR_T 0
#endif

View File

@ -782,7 +782,7 @@ size_t IC_CharSet::WC2MB(char *buf, const wchar_t *psz, size_t n)
// Win32 conversion classes
// ============================================================================
#if defined(__WIN32__) && !defined(__WXMICROWIN__)
#if defined(__WIN32__) && !defined(__WXMICROWIN__) && !defined(__WXUNIVERSAL__)
#ifdef __WXWINE__
#define WINE_CAST (WCHAR *)
@ -842,7 +842,7 @@ public:
public:
long m_CodePage;
};
#endif // __WIN32__
#endif // defined(__WIN32__) && !defined(__WXMICROWIN__) && !defined(__WXUNIVERSAL__)
// ============================================================================
// wxEncodingConverter based conversion classes
@ -942,14 +942,14 @@ static wxCharacterSet *wxGetCharacterSet(const wxChar *name)
cset = NULL;
}
#if defined(__WIN32__) && !defined(__WXMICROWIN__)
#if defined(__WIN32__) && !defined(__WXMICROWIN__) && !defined(__WXUNIVERSAL__)
cset = new CP_CharSet(name);
if ( cset->usable() )
return cset;
delete cset;
cset = NULL;
#endif // __WIN32__
#endif // defined(__WIN32__) && !defined(__WXMICROWIN__) && !defined(__WXUNIVERSAL__)
#if wxUSE_FONTMAP
cset = new EC_CharSet(name);