X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14f355c2b5c71fc7c3d680aea366582d2ac60f7b..d2ebf0b7303be387d2d5a55ea0cd672fdf0c4f25:/src/common/radiocmn.cpp?ds=sidebyside diff --git a/src/common/radiocmn.cpp b/src/common/radiocmn.cpp index c732658d75..66254736c6 100644 --- a/src/common/radiocmn.cpp +++ b/src/common/radiocmn.cpp @@ -98,7 +98,7 @@ int wxRadioBoxBase::GetNextItem(int item, wxDirection dir, long style) const default: wxFAIL_MSG( _T("unexpected wxDirection value") ); - return -1; + return wxNOT_FOUND; } // ensure that the item is in range [0..count)