fixing sdk compilo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1037,7 +1037,12 @@ void wxNonOwnedWindowCocoaImpl::WindowToScreen( int *x, int *y )
|
||||
|
||||
double wxNonOwnedWindowCocoaImpl::GetMagnificationFactor() const
|
||||
{
|
||||
return [m_macWindow backingScaleFactor];
|
||||
#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()
|
||||
|
Reference in New Issue
Block a user