Removed old __WXWINE__ support (obsoleted by new __WINE__ symbol)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -784,12 +784,6 @@ size_t IC_CharSet::WC2MB(char *buf, const wchar_t *psz, size_t n)
|
||||
|
||||
#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
|
||||
@@ -809,7 +803,7 @@ public:
|
||||
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
|
||||
);
|
||||
|
||||
@@ -824,7 +818,7 @@ public:
|
||||
(
|
||||
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
|
||||
|
Reference in New Issue
Block a user