support 3.X deployment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
472b795e53
commit
f27479e6bd
@ -595,7 +595,10 @@ void wxWidgetIPhoneImpl::SetControlSize( wxWindowVariant variant )
|
||||
|
||||
float wxWidgetIPhoneImpl::GetContentScaleFactor() const
|
||||
{
|
||||
return [m_osxView contentScaleFactor];
|
||||
if ( [m_osxView respondsToSelector:@selector(contentScaleFactor) ])
|
||||
return [m_osxView contentScaleFactor];
|
||||
else
|
||||
return 1.0;
|
||||
}
|
||||
|
||||
void wxWidgetIPhoneImpl::SetFont( const wxFont & font , const wxColour& foreground , long windowStyle, bool ignoreBlack )
|
||||
|
Loading…
Reference in New Issue
Block a user