Changed obsolete OS names to Unknown, but keep the array entries to avoid breaking indexes.
This commit is contained in:
@@ -42,15 +42,17 @@ static wxPlatformInfo gs_platInfo(wxPORT_UNKNOWN);
|
|||||||
// constants
|
// constants
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
// Keep "Unknown" entries to avoid breaking the indexes
|
||||||
|
|
||||||
static const wxChar* const wxOperatingSystemIdNames[] =
|
static const wxChar* const wxOperatingSystemIdNames[] =
|
||||||
{
|
{
|
||||||
wxT("Apple Mac OS"),
|
wxT("Apple Mac OS"),
|
||||||
wxT("Apple Mac OS X"),
|
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 NT"),
|
||||||
wxT("Microsoft Windows Micro"),
|
wxT("Unknown"),
|
||||||
wxT("Microsoft Windows CE"),
|
wxT("Unknown"),
|
||||||
|
|
||||||
wxT("Linux"),
|
wxT("Linux"),
|
||||||
wxT("FreeBSD"),
|
wxT("FreeBSD"),
|
||||||
@@ -64,8 +66,8 @@ static const wxChar* const wxOperatingSystemIdNames[] =
|
|||||||
wxT("Other Unix"),
|
wxT("Other Unix"),
|
||||||
wxT("Other Unix"),
|
wxT("Other Unix"),
|
||||||
|
|
||||||
wxT("DOS"),
|
wxT("Unknown"),
|
||||||
wxT("OS/2"),
|
wxT("Unknown"),
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -77,10 +79,10 @@ static const wxChar* const wxPortIdNames[] =
|
|||||||
wxT("wxGTK"),
|
wxT("wxGTK"),
|
||||||
wxT("wxDFB"),
|
wxT("wxDFB"),
|
||||||
wxT("wxX11"),
|
wxT("wxX11"),
|
||||||
wxT("wxOS2"),
|
wxT("Unknown"),
|
||||||
wxT("wxMac"),
|
wxT("wxMac"),
|
||||||
wxT("wxCocoa"),
|
wxT("wxCocoa"),
|
||||||
wxT("wxWinCE"),
|
wxT("Unknown"),
|
||||||
wxT("wxQT")
|
wxT("wxQT")
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -365,4 +367,3 @@ wxEndianness wxPlatformInfo::GetEndianness(const wxString& end)
|
|||||||
|
|
||||||
return wxENDIAN_INVALID;
|
return wxENDIAN_INVALID;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user