From f2be55804aaea9a0829c19a626177be1d8beb131 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 3 Dec 2005 12:47:55 +0000 Subject: [PATCH] corrected wxCHECK messages git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/radiobox.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/msw/radiobox.cpp b/src/msw/radiobox.cpp index f7800b103b..ceb87c924b 100644 --- a/src/msw/radiobox.cpp +++ b/src/msw/radiobox.cpp @@ -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