Remove unused and outdated code in OS X wxGetOsVersion.

This commit is contained in:
Tobias Taschner
2015-08-06 10:16:50 +02:00
parent 93324ebe62
commit d8e291c27a

View File

@@ -70,16 +70,6 @@ wxOperatingSystemId wxGetOsVersion(int *majorVsn, int *minorVsn)
if ( minorVsn != NULL ) if ( minorVsn != NULL )
*minorVsn = min; *minorVsn = min;
#if 0
SInt32 theSystem;
Gestalt(gestaltSystemVersion, &theSystem);
if ( majorVsn != NULL )
*majorVsn = (theSystem >> 8);
if ( minorVsn != NULL )
*minorVsn = (theSystem & 0xFF);
#endif
return wxOS_MAC_OSX_DARWIN; return wxOS_MAC_OSX_DARWIN;
} }