-// ----------------------------------------------------------------------------
-// misc other stuff
-// ----------------------------------------------------------------------------
-
-// this is in mac/utils.cpp under Mac
-#ifndef __WXMAC__
-
-int wxConsoleAppTraits::GetOSVersion(int *verMaj, int *verMin)
-{
- int major, minor;
- char name[256];
-
- if ( sscanf(WXWIN_OS_DESCRIPTION, "%255s %d.%d", name, &major, &minor) != 3 )
- {
- // unreckognized uname string format
- major =
- minor = -1;
- }
-
- if ( verMaj )
- *verMaj = major;
- if ( verMin )
- *verMin = minor;
-
- return wxUNIX;
-}
-
-#endif // __WXMAC__
-