Consistent wxWindow::Enable with wxRadioBox::Enable for control and its items. wxRadioBox of PalmOS. Little source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -322,11 +322,11 @@ void wxRadioBox::SetString(int n, const wxString& label)
|
||||
m_buttons[n]->SetLabel(label);
|
||||
}
|
||||
|
||||
void wxRadioBox::Enable(int n, bool enable)
|
||||
bool wxRadioBox::Enable(int n, bool enable)
|
||||
{
|
||||
wxCHECK_RET( IsValid(n), _T("invalid index in wxRadioBox::Enable") );
|
||||
wxCHECK_MSG( IsValid(n), false, _T("invalid index in wxRadioBox::Enable") );
|
||||
|
||||
m_buttons[n]->Enable(enable);
|
||||
return m_buttons[n]->Enable(enable);
|
||||
}
|
||||
|
||||
void wxRadioBox::Show(int n, bool show)
|
||||
|
||||
Reference in New Issue
Block a user