wxCHECK/wxCHECK_RET changes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1998-06-22 22:17:39 +00:00
parent a539b39f6b
commit 1311c7a9bb
8 changed files with 23 additions and 19 deletions

View File

@@ -122,7 +122,7 @@ const size_t wxRegKey::nStdKeys = WXSIZEOF(aStdKeys);
const char *wxRegKey::GetStdKeyName(uint key)
{
// return empty string if key is invalid
wxCHECK_RET( key < nStdKeys, "" );
wxCHECK_MSG( key < nStdKeys, "", "invalid key in wxRegKey::GetStdKeyName" );
return aStdKeys[key].szName;
}
@@ -130,7 +130,7 @@ const char *wxRegKey::GetStdKeyName(uint key)
const char *wxRegKey::GetStdKeyShortName(uint key)
{
// return empty string if key is invalid
wxCHECK_RET( key < nStdKeys, "" );
wxCHECK( key < nStdKeys, "" );
return aStdKeys[key].szShortName;
}