git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57989
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxMacControl::SetValue( v + 1 );
}
- wxInt32 GetValue()
+ wxInt32 GetValue() const
{
return wxMacControl::GetValue() - 1;
}
// ----------------------------------------------------------------------------
int wxChoice::GetSelection() const
{
- return m_peer->GetValue() -1;
+ return m_peer->GetValue();
}
void wxChoice::SetSelection( int n )
{
- m_peer->SetValue( n ) ;
+ m_peer->SetValue( n );
}
// ----------------------------------------------------------------------------