implemented IsItemEnabled/Shown()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -304,6 +304,13 @@ bool wxRadioBox::Enable(int n, bool enable)
|
||||
return m_buttons[n]->Enable(enable);
|
||||
}
|
||||
|
||||
bool wxRadioBox::IsItemEnabled(int n) const
|
||||
{
|
||||
wxCHECK_MSG( IsValid(n), false, _T("invalid index in wxRadioBox::IsItemEnabled") );
|
||||
|
||||
return m_buttons[n]->IsEnabled();
|
||||
}
|
||||
|
||||
bool wxRadioBox::Show(int n, bool show)
|
||||
{
|
||||
wxCHECK_MSG( IsValid(n), false, _T("invalid index in wxRadioBox::Show") );
|
||||
@@ -311,6 +318,13 @@ bool wxRadioBox::Show(int n, bool show)
|
||||
return m_buttons[n]->Show(show);
|
||||
}
|
||||
|
||||
bool wxRadioBox::IsItemShown(int n) const
|
||||
{
|
||||
wxCHECK_MSG( IsValid(n), false, _T("invalid index in wxRadioBox::IsItemShown") );
|
||||
|
||||
return m_buttons[n]->IsShown();
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// methods forwarded to the static box
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user