]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/radiocmn.cpp
unused variable warning fix - move unused stuff to proper place
[wxWidgets.git] / src / common / radiocmn.cpp
index c732658d751922db3879e930c7b048b2da9b2f47..66254736c6b246ab766cc5a81b19b13a9c9faf65 100644 (file)
@@ -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)