X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a3c0d7684a8e960ddf90401b716b196695b94cfd..ed97f493ab59a3fc510b50bad9e1cc8648fc490f:/src/msdos/utilsdos.cpp diff --git a/src/msdos/utilsdos.cpp b/src/msdos/utilsdos.cpp index ff98148001..c8b1151512 100644 --- a/src/msdos/utilsdos.cpp +++ b/src/msdos/utilsdos.cpp @@ -207,17 +207,6 @@ wxChar *wxGetUserHome(const wxString& user) return _T(""); } -#if WXWIN_COMPATIBILITY_2_2 -void wxFatalError(const wxString &msg, const wxString &title) -{ - wxFprintf( stderr, _("Error ") ); - if (!title.IsNull()) wxFprintf( stderr, wxT("%s "), WXSTRINGCAST(title) ); - if (!msg.IsNull()) wxFprintf( stderr, wxT(": %s"), WXSTRINGCAST(msg) ); - wxFprintf( stderr, wxT(".\n") ); - exit(3); // the same exit code as for abort() -} -#endif // WXWIN_COMPATIBILITY_2_2 - // returns %UserName%, $USER or just "user" // bool wxGetUserId(wxChar *buf, int n) @@ -488,3 +477,13 @@ wxToolkitInfo& wxConsoleAppTraits::GetToolkitInfo() info.os = wxDOS; return info; } + +//---------------------------------------------------------------------------- +// OS Description +//---------------------------------------------------------------------------- + +wxString wxGetOsDescription() +{ + wxString osname(_T("DOS")); + return osname; +}