diff --git a/src/osx/core/display.cpp b/src/osx/core/display.cpp index b77018084b..fa4fec60a8 100644 --- a/src/osx/core/display.cpp +++ b/src/osx/core/display.cpp @@ -215,18 +215,6 @@ wxRect wxDisplayImplMacOSX::GetClientArea() const return wxDisplayImpl::GetClientArea(); } -static int wxCFDictKeyToInt( CFDictionaryRef desc, CFStringRef key ) -{ - CFNumberRef value = (CFNumberRef) CFDictionaryGetValue( desc, key ); - if (value == NULL) - return 0; - - int num = 0; - CFNumberGetValue( value, kCFNumberIntType, &num ); - - return num; -} - static int wxOSXCGDisplayModeGetBitsPerPixel( CGDisplayModeRef theValue ) { wxCFRef pixelEncoding( CGDisplayModeCopyPixelEncoding(theValue) );