git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71970
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
bool wxWidgetIPhoneImpl::IsEnabled() const
{
bool wxWidgetIPhoneImpl::IsEnabled() const
{
+ UIView* targetView = m_osxView;
+ // TODO add support for documentViews
+
+ if ( [targetView respondsToSelector:@selector(isEnabled) ] )
+ return [targetView isEnabled];
+
+ return true;
}
void wxWidgetIPhoneImpl::Enable( bool enable )
{
}
void wxWidgetIPhoneImpl::Enable( bool enable )
{
+ UIView* targetView = m_osxView;
+ // TODO add support for documentViews
+
+ if ( [targetView respondsToSelector:@selector(setEnabled:) ] )
+ [targetView setEnabled:enable];
}
void wxWidgetIPhoneImpl::SetMinimum( wxInt32 v )
}
void wxWidgetIPhoneImpl::SetMinimum( wxInt32 v )
wxInt32 wxWidgetIPhoneImpl::GetMinimum() const
{
wxInt32 wxWidgetIPhoneImpl::GetMinimum() const
{
}
wxInt32 wxWidgetIPhoneImpl::GetMaximum() const
{
}
wxInt32 wxWidgetIPhoneImpl::GetMaximum() const
{
}
void wxWidgetIPhoneImpl::PulseGauge()
}
void wxWidgetIPhoneImpl::PulseGauge()