Remove wxGetOsDescription from MGL's utils, and add it to msdos's

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Wetherell 2006-01-21 01:34:42 +00:00
parent 487eedb8d8
commit b5d09a5fb8
2 changed files with 10 additions and 21 deletions

View File

@ -90,27 +90,6 @@ int wxDisplayDepth()
return g_displayDC->getBitsPerPixel();
}
wxString wxGetOsDescription()
{
wxString osname(
#if defined(__UNIX__)
_T("Unix")
#elif defined(__OS2__)
_T("OS/2")
#elif defined(__WIN32__)
_T("Windows")
#elif defined(__DOS__)
_T("DOS")
#else
_T("unknown")
#endif
);
return osname;
}
#if wxUSE_GUI
wxToolkitInfo& wxGUIAppTraits::GetToolkitInfo()

View File

@ -477,3 +477,13 @@ wxToolkitInfo& wxConsoleAppTraits::GetToolkitInfo()
info.os = wxDOS;
return info;
}
//----------------------------------------------------------------------------
// OS Description
//----------------------------------------------------------------------------
wxString wxGetOsDescription()
{
wxString osname(_T("DOS"));
return osname;
}