Remove unused and outdated code in OS X wxGetOsVersion.
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user