Linup API of wxRadioBox::Show on all ports. Move wxRadioBox::IsValid from wxUniversal to base class (+ GTK which do not use base class) and use it where applicable. Minor source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -329,11 +329,11 @@ bool wxRadioBox::Enable(int n, bool enable)
|
||||
return m_buttons[n]->Enable(enable);
|
||||
}
|
||||
|
||||
void wxRadioBox::Show(int n, bool show)
|
||||
bool wxRadioBox::Show(int n, bool show)
|
||||
{
|
||||
wxCHECK_RET( IsValid(n), _T("invalid index in wxRadioBox::Show") );
|
||||
wxCHECK_MSG( IsValid(n), false, _T("invalid index in wxRadioBox::Show") );
|
||||
|
||||
m_buttons[n]->Show(show);
|
||||
return m_buttons[n]->Show(show);
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user