latest private API usage complaint, right now most subclasses are using their own implementation, so this shouldn't lead to problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -496,11 +496,13 @@ void wxWidgetIPhoneImpl::SetLabel(const wxString& title, wxFontEncoding encoding
|
|||||||
wxCFStringRef cf( title , encoding );
|
wxCFStringRef cf( title , encoding );
|
||||||
[m_osxView setTitle:cf.AsNSString() forState:UIControlStateNormal ];
|
[m_osxView setTitle:cf.AsNSString() forState:UIControlStateNormal ];
|
||||||
}
|
}
|
||||||
|
#if 0 // nonpublic API problems
|
||||||
else if ( [m_osxView respondsToSelector:@selector(setStringValue:) ] )
|
else if ( [m_osxView respondsToSelector:@selector(setStringValue:) ] )
|
||||||
{
|
{
|
||||||
wxCFStringRef cf( title , encoding );
|
wxCFStringRef cf( title , encoding );
|
||||||
[m_osxView setStringValue:cf.AsNSString()];
|
[m_osxView setStringValue:cf.AsNSString()];
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user