X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/99f0cdf2e9f61b3095356d3eea75082797ddae69..5625d0d4cae9261e1571220f883b7b6c9ddb01f8:/src/mgl/utils.cpp diff --git a/src/mgl/utils.cpp b/src/mgl/utils.cpp index 563089b2f5..7bd3338d3b 100644 --- a/src/mgl/utils.cpp +++ b/src/mgl/utils.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: utils.cpp +// Name: src/mgl/utils.cpp // Purpose: // Author: Vaclav Slavik // Id: $Id$ @@ -15,11 +15,14 @@ #endif #include "wx/utils.h" -#include "wx/string.h" -#include "wx/intl.h" +#ifndef WX_PRECOMP + #include "wx/string.h" + #include "wx/intl.h" + #include "wx/log.h" +#endif + #include "wx/apptrait.h" -#include "wx/log.h" #include "wx/process.h" #include @@ -90,27 +93,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()