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:
Stefan Csomor 2011-04-08 12:16:41 +00:00
parent 472b795e53
commit f27479e6bd

View File

@ -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 )