X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/35f95708e3aee076d779ba31c6b871afb5c50daf..e86aa7a62cc8be79ffaeb0d07b70161cb9ea2c74:/src/osx/cocoa/nonownedwnd.mm?ds=sidebyside diff --git a/src/osx/cocoa/nonownedwnd.mm b/src/osx/cocoa/nonownedwnd.mm index 3901a71c69..030b1e6a23 100644 --- a/src/osx/cocoa/nonownedwnd.mm +++ b/src/osx/cocoa/nonownedwnd.mm @@ -1035,16 +1035,6 @@ void wxNonOwnedWindowCocoaImpl::WindowToScreen( int *x, int *y ) *y = p.y; } -double wxNonOwnedWindowCocoaImpl::GetMagnificationFactor() const -{ -#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_7 - if ( [ m_macWindow respondsToSelector:@selector(backingScaleFactor) ] ) - return [m_macWindow backingScaleFactor]; - else -#endif - return 1.0; -} - bool wxNonOwnedWindowCocoaImpl::IsActive() { return [m_macWindow isKeyWindow];