Remove wxCFDictKeyToInt which became unused after recent changes
75831d232c
removed all references to this
function, but left the function itself, resulting in -Wunused-function clang
warnings (and compiling an unused function, of course).
This commit is contained in:
parent
a5bcf1dafd
commit
aa8c9e1b86
@ -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<CFStringRef> pixelEncoding( CGDisplayModeCopyPixelEncoding(theValue) );
|
||||
|
Loading…
Reference in New Issue
Block a user