summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
fc7ba04)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57989
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxMacControl::SetValue( v + 1 );
}
wxMacControl::SetValue( v + 1 );
}
+ wxInt32 GetValue() const
{
return wxMacControl::GetValue() - 1;
}
{
return wxMacControl::GetValue() - 1;
}
// ----------------------------------------------------------------------------
int wxChoice::GetSelection() const
{
// ----------------------------------------------------------------------------
int wxChoice::GetSelection() const
{
- return m_peer->GetValue() -1;
+ return m_peer->GetValue();
}
void wxChoice::SetSelection( int n )
{
}
void wxChoice::SetSelection( int n )
{
- m_peer->SetValue( n ) ;
}
// ----------------------------------------------------------------------------
}
// ----------------------------------------------------------------------------