Remove obsolete mentions of Windows 9x, Windows CE and OS/2.
This commit is contained in:
Vadim Zeitlin
2017-02-20 17:46:45 +01:00
63 changed files with 133 additions and 674 deletions

View File

@@ -42,15 +42,17 @@ static wxPlatformInfo gs_platInfo(wxPORT_UNKNOWN);
// constants
// ----------------------------------------------------------------------------
// Keep "Unknown" entries to avoid breaking the indexes
static const wxChar* const wxOperatingSystemIdNames[] =
{
wxT("Apple Mac OS"),
wxT("Apple Mac OS X"),
wxT("Microsoft Windows 9X"),
wxT("Unknown"), // STL build: cannot use _() to translate strings here
wxT("Microsoft Windows NT"),
wxT("Microsoft Windows Micro"),
wxT("Microsoft Windows CE"),
wxT("Unknown"),
wxT("Unknown"),
wxT("Linux"),
wxT("FreeBSD"),
@@ -64,8 +66,8 @@ static const wxChar* const wxOperatingSystemIdNames[] =
wxT("Other Unix"),
wxT("Other Unix"),
wxT("DOS"),
wxT("OS/2"),
wxT("Unknown"),
wxT("Unknown"),
};
@@ -77,10 +79,10 @@ static const wxChar* const wxPortIdNames[] =
wxT("wxGTK"),
wxT("wxDFB"),
wxT("wxX11"),
wxT("wxOS2"),
wxT("Unknown"),
wxT("wxMac"),
wxT("wxCocoa"),
wxT("wxWinCE"),
wxT("Unknown"),
wxT("wxQT")
};
@@ -239,10 +241,6 @@ wxString wxPlatformInfo::GetOperatingSystemFamilyName(wxOperatingSystemId os)
string = wxT("Windows");
else if ( os & wxOS_UNIX )
string = wxT("Unix");
else if ( os == wxOS_DOS )
string = wxT("DOS");
else if ( os == wxOS_OS2 )
string = wxT("OS/2");
return string;
}
@@ -377,4 +375,3 @@ wxEndianness wxPlatformInfo::GetEndianness(const wxString& end)
return wxENDIAN_INVALID;
}