From d8e291c27af9dd2c467c38a6a8911ea2a4e09c28 Mon Sep 17 00:00:00 2001 From: Tobias Taschner Date: Thu, 6 Aug 2015 10:16:50 +0200 Subject: [PATCH] Remove unused and outdated code in OS X wxGetOsVersion. --- src/osx/core/utilsexc_base.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/osx/core/utilsexc_base.cpp b/src/osx/core/utilsexc_base.cpp index 22b9f43302..c33b88a235 100644 --- a/src/osx/core/utilsexc_base.cpp +++ b/src/osx/core/utilsexc_base.cpp @@ -70,16 +70,6 @@ wxOperatingSystemId wxGetOsVersion(int *majorVsn, int *minorVsn) if ( minorVsn != NULL ) *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; }