fixing selectors

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2011-01-04 08:28:43 +00:00
parent f437e1552a
commit f0c6b96336

View File

@ -1828,7 +1828,7 @@ void wxWidgetCocoaImpl::SetMaximum( wxInt32 v )
wxInt32 wxWidgetCocoaImpl::GetMinimum() const wxInt32 wxWidgetCocoaImpl::GetMinimum() const
{ {
if ( [m_osxView respondsToSelector:@selector(getMinValue:)] ) if ( [m_osxView respondsToSelector:@selector(minValue)] )
{ {
return (int)[m_osxView minValue]; return (int)[m_osxView minValue];
} }
@ -1837,7 +1837,7 @@ wxInt32 wxWidgetCocoaImpl::GetMinimum() const
wxInt32 wxWidgetCocoaImpl::GetMaximum() const wxInt32 wxWidgetCocoaImpl::GetMaximum() const
{ {
if ( [m_osxView respondsToSelector:@selector(getMaxValue:)] ) if ( [m_osxView respondsToSelector:@selector(maxValue)] )
{ {
return (int)[m_osxView maxValue]; return (int)[m_osxView maxValue];
} }