corrected wxCHECK messages

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2005-12-03 12:47:55 +00:00
parent d281db8b42
commit f2be55804a

View File

@ -387,7 +387,7 @@ bool wxRadioBox::Enable(int item, bool enable)
bool wxRadioBox::IsItemEnabled(int item) const
{
wxCHECK_MSG( IsValid(item), false,
wxT("invalid item in wxRadioBox::Enable()") );
wxT("invalid item in wxRadioBox::IsItemEnabled()") );
return ::IsWindowEnabled((*m_radioButtons)[item]) != 0;
}
@ -412,7 +412,7 @@ bool wxRadioBox::Show(int item, bool show)
bool wxRadioBox::IsItemShown(int item) const
{
wxCHECK_MSG( IsValid(item), false,
wxT("invalid item in wxRadioBox::Enable()") );
wxT("invalid item in wxRadioBox::IsItemShown()") );
// don't use IsWindowVisible() here because it would return false if the
// radiobox itself is hidden while we want to only return false if this